diff options
| author | Andrew Pucci <[email protected]> | 2018-10-21 04:05:54 -0400 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-10-21 11:05:54 +0300 |
| commit | d13ae1fc1ac6a67464c353ffa9dfc6cdb195d02a (patch) | |
| tree | 5b7b74ac1b6db3ddc4bbad0f128318891e5f9632 /scss | |
| parent | becb6ce346a69fccccb1828e289ae4e4d3af8535 (diff) | |
| download | bootstrap-d13ae1fc1ac6a67464c353ffa9dfc6cdb195d02a.tar.xz bootstrap-d13ae1fc1ac6a67464c353ffa9dfc6cdb195d02a.zip | |
Card header color theming (#26573)
Define new variable for card header color
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_card.scss | 1 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index fcae56d63..f3de02708 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -68,6 +68,7 @@ .card-header { padding: $card-spacer-y $card-spacer-x; margin-bottom: 0; // Removes the default margin-bottom of <hN> + color: $card-cap-color; background-color: $card-cap-bg; border-bottom: $card-border-width solid $card-border-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index 318961147..eeeaf6767 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -767,6 +767,7 @@ $card-border-radius: $border-radius !default; $card-border-color: rgba($black, .125) !default; $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default; $card-cap-bg: rgba($black, .03) !default; +$card-cap-color: $body-color !default; $card-bg: $white !default; $card-img-overlay-padding: 1.25rem !default; |
