source: spip-zone/_plugins_/bootstrap/trunk/bootstrap/css/mixins/list-group.less @ 90741

Last change on this file since 90741 was 90741, checked in by cedric@…, 4 years ago

BS 3.3.5 dans la place, work in progress
le plugin passe en v3 dev
On s'occupera de la couche de compat BSv2 dans un second temps

File size: 546 bytes
Line 
1// List Groups
2
3.list-group-item-variant(@state; @background; @color) {
4  .list-group-item-@{state} {
5    color: @color;
6    background-color: @background;
7
8    a&,
9    button& {
10      color: @color;
11
12      .list-group-item-heading {
13        color: inherit;
14      }
15
16      &:hover,
17      &:focus {
18        color: @color;
19        background-color: darken(@background, 5%);
20      }
21      &.active,
22      &.active:hover,
23      &.active:focus {
24        color: #fff;
25        background-color: @color;
26        border-color: @color;
27      }
28    }
29  }
30}
Note: See TracBrowser for help on using the repository browser.