2014-12-02 22:02:35 +00:00
|
|
|
// List Groups
|
|
|
|
|
|
|
|
@mixin list-group-item-variant($state, $background, $color) {
|
2015-08-23 04:46:46 +00:00
|
|
|
.list-group-item-#{$state} {
|
2014-12-02 22:02:35 +00:00
|
|
|
color: $color;
|
|
|
|
background-color: $background;
|
|
|
|
|
2018-01-17 23:36:57 +00:00
|
|
|
&.list-group-item-action {
|
|
|
|
@include hover-focus {
|
|
|
|
color: $color;
|
|
|
|
background-color: darken($background, 5%);
|
|
|
|
}
|
2014-12-02 22:02:35 +00:00
|
|
|
|
2018-01-17 23:36:57 +00:00
|
|
|
&.active {
|
|
|
|
color: #fff;
|
|
|
|
background-color: $color;
|
|
|
|
border-color: $color;
|
|
|
|
}
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|