Fork-Awesome/assets/less/bootstrap-3.3.5/mixins/list-group.less

31 lines
546 B
Plaintext
Raw Normal View History

2014-08-27 00:51:53 +08:00
// List Groups
.list-group-item-variant(@state; @background; @color) {
.list-group-item-@{state} {
color: @color;
background-color: @background;
a&,
button& {
2014-08-27 00:51:53 +08: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;
}
}
}
}