mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02:00
rename .card-inverse to .card-dark, update docs to match
This commit is contained in:
@@ -122,8 +122,8 @@
|
||||
// Inverse text within a card for use with dark backgrounds
|
||||
//
|
||||
|
||||
.card-inverse {
|
||||
@include card-inverse;
|
||||
.card-dark {
|
||||
@include card-dark;
|
||||
}
|
||||
|
||||
//
|
||||
|
@@ -681,7 +681,7 @@ $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width})
|
||||
$card-cap-bg: $gray-lightest !default;
|
||||
$card-bg: $white !default;
|
||||
|
||||
$card-inverse-link-hover-color: $white !default;
|
||||
$card-dark-link-hover-color: $white !default;
|
||||
|
||||
$card-img-overlay-padding: 1.25rem !default;
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
// Inverse text within a card for use with dark backgrounds
|
||||
//
|
||||
|
||||
@mixin card-inverse {
|
||||
@mixin card-dark {
|
||||
color: rgba(255,255,255,.65);
|
||||
|
||||
.card-header,
|
||||
@@ -47,7 +47,7 @@
|
||||
}
|
||||
.card-link {
|
||||
@include hover-focus {
|
||||
color: $card-inverse-link-hover-color;
|
||||
color: $card-dark-link-hover-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user