diff options
author | Mark Otto <markdotto@gmail.com> | 2017-06-26 04:30:24 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-06-26 04:30:24 +0300 |
commit | 9372eef9e10b5c5b31fa7e4fdf5d4237915cd419 (patch) | |
tree | d02383015f1dcea526e22e056ad8a72544db019e /scss | |
parent | 36e482ed2728eec37188b5ec486283334bb3034f (diff) |
rename .card-inverse to .card-dark, update docs to match
Diffstat (limited to 'scss')
-rw-r--r-- | scss/_card.scss | 4 | ||||
-rw-r--r-- | scss/_variables.scss | 2 | ||||
-rw-r--r-- | scss/mixins/_cards.scss | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index 746fa84513..42827f5f81 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -122,8 +122,8 @@ // Inverse text within a card for use with dark backgrounds // -.card-inverse { - @include card-inverse; +.card-dark { + @include card-dark; } // diff --git a/scss/_variables.scss b/scss/_variables.scss index af7404e98a..f01667ed81 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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; diff --git a/scss/mixins/_cards.scss b/scss/mixins/_cards.scss index c32ca689e2..d211d5814a 100644 --- a/scss/mixins/_cards.scss +++ b/scss/mixins/_cards.scss @@ -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; } } } |