diff options
author | Mark Otto <markdotto@gmail.com> | 2016-05-12 06:32:20 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2016-05-12 06:32:20 +0300 |
commit | f68b06a12368d3fbe79a41f26311cbcf11b85670 (patch) | |
tree | 2198558bd32edfbdb9b1371503e51d956e490cca /scss | |
parent | 964811d48d1e9b2c12d356163d9f3cfcbf758c8f (diff) |
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
Diffstat (limited to 'scss')
-rw-r--r-- | scss/mixins/_cards.scss | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scss/mixins/_cards.scss b/scss/mixins/_cards.scss index 1ce28f1ceb..bad98327d1 100644 --- a/scss/mixins/_cards.scss +++ b/scss/mixins/_cards.scss @@ -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 { |