2014-12-02 23:02:35 +01:00
|
|
|
// List Groups
|
|
|
|
|
|
|
|
@mixin list-group-item-variant($state, $background, $color) {
|
2015-08-23 06:46:46 +02:00
|
|
|
.list-group-item-#{$state} {
|
2014-12-02 23:02:35 +01:00
|
|
|
color: $color;
|
|
|
|
background-color: $background;
|
|
|
|
}
|
|
|
|
|
2017-03-18 21:06:05 +01:00
|
|
|
//scss-lint:disable QualifyingElement
|
2015-08-23 06:46:46 +02:00
|
|
|
a.list-group-item-#{$state},
|
|
|
|
button.list-group-item-#{$state} {
|
2014-12-02 23:02:35 +01:00
|
|
|
color: $color;
|
|
|
|
|
2015-01-01 10:05:01 +01:00
|
|
|
@include hover-focus {
|
2014-12-02 23:02:35 +01:00
|
|
|
color: $color;
|
|
|
|
background-color: darken($background, 5%);
|
|
|
|
}
|
|
|
|
|
2015-01-01 10:05:01 +01:00
|
|
|
&.active {
|
2016-12-28 22:52:31 +01:00
|
|
|
color: #fff;
|
|
|
|
background-color: $color;
|
|
|
|
border-color: $color;
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2017-03-18 21:06:05 +01:00
|
|
|
// scss-lint:enable QualifyingElement
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|