0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-03 15:24:19 +01:00
Bootstrap/less/mixins/list-group.less
Zac Echola e46c998316 Adds button styles to .list-group-item
Includes buttons with anchor sytles and modifies buttons to match width
and text alignment.
2015-04-02 14:07:53 -05:00

31 lines
546 B
Plaintext

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