Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2017-07-06 02:56:19 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2017-07-06 02:56:19 +0300
commitb156edfee2b9629ad4751ee2a118a04f824ef9eb (patch)
tree6d9003fe75087f5b95a281d5537109b38515d2a8 /assets/stylesheets/bootstrap/_list-group.scss
parent7cdeca9a0e8db3bb7548d9fa5bdaad9b644fca32 (diff)
rake update[v4-dev]
Diffstat (limited to 'assets/stylesheets/bootstrap/_list-group.scss')
-rw-r--r--assets/stylesheets/bootstrap/_list-group.scss15
1 files changed, 7 insertions, 8 deletions
diff --git a/assets/stylesheets/bootstrap/_list-group.scss b/assets/stylesheets/bootstrap/_list-group.scss
index fef2c15..7e0b19e 100644
--- a/assets/stylesheets/bootstrap/_list-group.scss
+++ b/assets/stylesheets/bootstrap/_list-group.scss
@@ -19,19 +19,19 @@
.list-group-item-action {
width: 100%; // For `<button>`s (anchors become 100% by default though)
- color: $list-group-link-color;
+ color: $list-group-action-color;
text-align: inherit; // For `<button>`s (anchors inherit)
// Hover state
@include hover-focus {
- color: $list-group-link-hover-color;
+ color: $list-group-action-hover-color;
text-decoration: none;
background-color: $list-group-hover-bg;
}
&:active {
- color: $list-group-link-active-color;
- background-color: $list-group-link-active-bg;
+ color: $list-group-action-active-color;
+ background-color: $list-group-action-active-bg;
}
}
@@ -109,7 +109,6 @@
// Add modifier classes to change text and background color on individual items.
// Organizationally, this must come after the `:hover` states.
-@include list-group-item-variant(success, $state-success-bg, $state-success-text);
-@include list-group-item-variant(info, $state-info-bg, $state-info-text);
-@include list-group-item-variant(warning, $state-warning-bg, $state-warning-text);
-@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);
+@each $color, $value in $theme-colors {
+ @include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
+}