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 {
|
2018-09-18 01:10:07 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-01-18 00:36:57 +01:00
|
|
|
color: $color;
|
2020-10-13 09:58:06 +02:00
|
|
|
background-color: shade-color($background, 10%);
|
2018-01-18 00:36:57 +01:00
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|