diff options
| author | Pierre-Denis Vanduynslager <[email protected]> | 2017-01-16 00:36:15 -0500 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-01-15 21:36:15 -0800 |
| commit | d6a5439a8cc7cb3f916efb36bf785bdbd836858d (patch) | |
| tree | 5484f79ed77abce06453f7eb7b3b6de6cbe15640 | |
| parent | a3bc607c1080df2d0bbca03c613aa9e992acb722 (diff) | |
| download | bootstrap-d6a5439a8cc7cb3f916efb36bf785bdbd836858d.tar.xz bootstrap-d6a5439a8cc7cb3f916efb36bf785bdbd836858d.zip | |
Remove list-group-item-heading and list-group-item-text (#21653)
| -rw-r--r-- | scss/_list-group.scss | 23 | ||||
| -rw-r--r-- | scss/_variables.scss | 3 | ||||
| -rw-r--r-- | scss/mixins/_list-group.scss | 4 |
3 files changed, 0 insertions, 30 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index ec813c807..bb8a8d103 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -22,10 +22,6 @@ color: $list-group-link-color; text-align: inherit; // For `<button>`s (anchors inherit) - .list-group-item-heading { - color: $list-group-link-heading-color; - } - // Hover state @include hover-focus { color: $list-group-link-hover-color; @@ -73,14 +69,6 @@ color: $list-group-disabled-color; cursor: $cursor-disabled; background-color: $list-group-disabled-bg; - - // Force color to inherit for custom content - .list-group-item-heading { - color: inherit; - } - .list-group-item-text { - color: $list-group-disabled-text-color; - } } // Include both here for `<a>`s and `<button>`s @@ -89,17 +77,6 @@ color: $list-group-active-color; background-color: $list-group-active-bg; border-color: $list-group-active-border; - - // Force color to inherit for custom content - .list-group-item-heading, - .list-group-item-heading > small, - .list-group-item-heading > .small { - color: inherit; - } - - .list-group-item-text { - color: $list-group-active-text-color; - } } } diff --git a/scss/_variables.scss b/scss/_variables.scss index 0f4c56f93..7a27f1e3b 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -852,14 +852,11 @@ $list-group-hover-bg: $gray-lightest !default; $list-group-active-color: $component-active-color !default; $list-group-active-bg: $component-active-bg !default; $list-group-active-border: $list-group-active-bg !default; -$list-group-active-text-color: lighten($list-group-active-bg, 50%) !default; $list-group-disabled-color: $gray-light !default; $list-group-disabled-bg: $list-group-bg !default; -$list-group-disabled-text-color: $list-group-disabled-color !default; $list-group-link-color: $gray !default; -$list-group-link-heading-color: $gray-dark !default; $list-group-link-hover-color: $list-group-link-color !default; $list-group-link-active-color: $list-group-color !default; diff --git a/scss/mixins/_list-group.scss b/scss/mixins/_list-group.scss index 3db5b096a..278787bbe 100644 --- a/scss/mixins/_list-group.scss +++ b/scss/mixins/_list-group.scss @@ -10,10 +10,6 @@ button.list-group-item-#{$state} { color: $color; - .list-group-item-heading { - color: inherit; - } - @include hover-focus { color: $color; background-color: darken($background, 5%); |
