From f68b06a12368d3fbe79a41f26311cbcf11b85670 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 11 May 2016 20:32:20 -0700 Subject: [PATCH] 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 --- scss/mixins/_cards.scss | 9 +++++++-- 1 file 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 {