0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Update card variants

- Remove background-color from header and footer in inverse cards (fixes #19841)
- Update border override for header and footer in cards; only need to declare a new color
- Update the selector for targetting blockquote footers in cards
This commit is contained in:
Mark Otto 2016-05-11 20:32:20 -07:00
parent 964811d48d
commit f68b06a123

View File

@ -3,6 +3,11 @@
@mixin card-variant($background, $border) {
background-color: $background;
border-color: $border;
.card-header,
.card-footer {
background-color: transparent;
}
}
@mixin card-outline-variant($color) {
@ -17,7 +22,7 @@
@mixin card-inverse {
.card-header,
.card-footer {
border-bottom: $card-border-width solid rgba(255,255,255,.2);
border-color: rgba(255,255,255,.2);
}
.card-header,
.card-footer,
@ -27,7 +32,7 @@
}
.card-link,
.card-text,
.card-blockquote > footer {
.card-blockquote .blockquote-footer {
color: rgba(255,255,255,.65);
}
.card-link {