mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 12:40:58 +00:00
Merge pull request #17682 from Xerkus/feature/card-bg-variable
[V4]Add variable for card background color
This commit is contained in:
commit
eefd1a959e
@ -5,7 +5,7 @@
|
|||||||
.card {
|
.card {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: $card-spacer-y;
|
margin-bottom: $card-spacer-y;
|
||||||
background-color: #fff;
|
background-color: $card-bg;
|
||||||
border: $card-border-width solid $card-border-color;
|
border: $card-border-width solid $card-border-color;
|
||||||
@include border-radius($card-border-radius);
|
@include border-radius($card-border-radius);
|
||||||
}
|
}
|
||||||
|
@ -454,6 +454,7 @@ $card-border-radius: .25rem !default;
|
|||||||
$card-border-color: #e5e5e5 !default;
|
$card-border-color: #e5e5e5 !default;
|
||||||
$card-border-radius-inner: ($card-border-radius - $card-border-width) !default;
|
$card-border-radius-inner: ($card-border-radius - $card-border-width) !default;
|
||||||
$card-cap-bg: #f5f5f5 !default;
|
$card-cap-bg: #f5f5f5 !default;
|
||||||
|
$card-bg: #fff !default;
|
||||||
|
|
||||||
// Tooltips
|
// Tooltips
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user