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;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
.list-group-item-heading {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
@include plain-hover-focus {
|
|
|
|
color: #fff;
|
|
|
|
background-color: $color;
|
|
|
|
border-color: $color;
|
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|