1
0
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:
Mark Otto
2017-06-25 18:30:24 -07:00
parent 36e482ed27
commit 9372eef9e1
5 changed files with 26 additions and 26 deletions

View File

@@ -122,8 +122,8 @@
// Inverse text within a card for use with dark backgrounds
//
.card-inverse {
@include card-inverse;
.card-dark {
@include card-dark;
}
//

View File

@@ -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;

View File

@@ -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;
}
}
}