mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +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:
parent
964811d48d
commit
f68b06a123
@ -3,6 +3,11 @@
|
|||||||
@mixin card-variant($background, $border) {
|
@mixin card-variant($background, $border) {
|
||||||
background-color: $background;
|
background-color: $background;
|
||||||
border-color: $border;
|
border-color: $border;
|
||||||
|
|
||||||
|
.card-header,
|
||||||
|
.card-footer {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin card-outline-variant($color) {
|
@mixin card-outline-variant($color) {
|
||||||
@ -17,7 +22,7 @@
|
|||||||
@mixin card-inverse {
|
@mixin card-inverse {
|
||||||
.card-header,
|
.card-header,
|
||||||
.card-footer {
|
.card-footer {
|
||||||
border-bottom: $card-border-width solid rgba(255,255,255,.2);
|
border-color: rgba(255,255,255,.2);
|
||||||
}
|
}
|
||||||
.card-header,
|
.card-header,
|
||||||
.card-footer,
|
.card-footer,
|
||||||
@ -27,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
.card-link,
|
.card-link,
|
||||||
.card-text,
|
.card-text,
|
||||||
.card-blockquote > footer {
|
.card-blockquote .blockquote-footer {
|
||||||
color: rgba(255,255,255,.65);
|
color: rgba(255,255,255,.65);
|
||||||
}
|
}
|
||||||
.card-link {
|
.card-link {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user