2014-07-12 12:31:57 +02:00
|
|
|
// List Groups
|
|
|
|
|
|
|
|
.list-group-item-variant(@state; @background; @color) {
|
|
|
|
.list-group-item-@{state} {
|
|
|
|
color: @color;
|
|
|
|
background-color: @background;
|
|
|
|
|
2015-07-21 18:45:40 +02:00
|
|
|
a&,
|
|
|
|
button& {
|
2014-07-12 12:31:57 +02:00
|
|
|
color: @color;
|
|
|
|
|
|
|
|
.list-group-item-heading {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: @color;
|
|
|
|
background-color: darken(@background, 5%);
|
|
|
|
}
|
|
|
|
&.active,
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
|
|
|
color: #fff;
|
|
|
|
background-color: @color;
|
|
|
|
border-color: @color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|