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;
|
|
|
|
|
2018-01-18 00:36:57 +01:00
|
|
|
&.list-group-item-action {
|
2019-07-24 09:53:13 +02:00
|
|
|
@include hover-focus() {
|
2018-01-18 00:36:57 +01:00
|
|
|
color: $color;
|
|
|
|
background-color: darken($background, 5%);
|
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-01-18 00:36:57 +01:00
|
|
|
&.active {
|
2018-03-12 18:19:37 +01:00
|
|
|
color: $white;
|
2018-01-18 00:36:57 +01:00
|
|
|
background-color: $color;
|
|
|
|
border-color: $color;
|
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|