Commit 57a9051e authored by Evonne Cheung's avatar Evonne Cheung Committed by Robert Lyon
Browse files

Bug 1765276: Padding alignment

Adjusting padding of card-secondary header and body to be
flushed with margin, with exception of list-group.

behatnotneeded

Change-Id: If8a3193365c7b2e307149bd780a008e727b6c164
parent 92a6e5d5
......@@ -39,7 +39,23 @@ a:hover .collapse-indicator {
.card-secondary {
.card-header {
.move-indicator {
color: #FFFFFF !important;
}
.collapse-inline {
width: auto;
}
.collapse-indicator {
color: #FFFFFF;
&:hover,
&:focus {
color: #FFFFFF;
}
}
}
}
[data-toggle="collapse"].outer-link:focus ~ .collapse-indicator,
[data-toggle="collapse"].outer-link:hover ~ .collapse-indicator {
color: #FFFFFF;
}
......@@ -69,7 +69,7 @@
}
}
&:nth-child(3n+3) {
.car-secondary {
.card-secondary {
&:nth-child(5n+1) > .card-header, .card-header-nested {
background-color: $theme-accent-color-three;
color: #FFFFFF;
......
.card-secondary {
&.card {
@include box-shadow(none);
> .card-header {
border-bottom: 0;
font-family: $font-family-sans-serif;
}
}
.card.card-secondary {
@include box-shadow(none);
> .card-header {
font-family: $font-family-sans-serif;
border-radius: 0;
......@@ -13,7 +7,7 @@
}
> .card-header, .card-header-nested {
border-bottom: 0;
padding-left: 10px;
background-color: #047DB1;
color: #FFFFFF;
......
......@@ -54,7 +54,7 @@
}
}
&:hover, &:focus {
background: rgba($theme-text-color, 0.03);
background: none;
text-decoration: none;
}
.pieform > .collapsible-group:first-child &,
......
......@@ -22,7 +22,7 @@
}
> .card-header, .card-header-nested {
border-bottom: 2px solid $card-secondary-border;
padding: 10px 8px;
padding: 10px 8px 10px 0px;
background: transparent;
// In page builder we can choose to not have a heading,
......@@ -37,6 +37,9 @@
opacity:0.6;
}
}
&.drag-handle {
padding-left: 8px;
}
}
&.card-warning {
> .card-header, .card-header-nested {
......@@ -60,7 +63,7 @@
}
> .card-body,
> .block > .card-body {
padding: 15px 8px;
padding: 15px 0px;
&.flush {
padding: 15px 0 0 0;
}
......
......@@ -9,7 +9,7 @@
*/
.openbadgedisplayer {
padding: 10px;
padding: 15px 0 0 0;
}
.openbadgedisplayer img {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment