source: spip-zone/_plugins_/bootstrap/trunk/bootstrap/css/mixins/table-row.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: 700 bytes
Line 
1// Tables
2
3.table-row-variant(@state; @background) {
4  // Exact selectors below required to override `.table-striped` and prevent
5  // inheritance to nested tables.
6  .table > thead > tr,
7  .table > tbody > tr,
8  .table > tfoot > tr {
9    > td.@{state},
10    > th.@{state},
11    &.@{state} > td,
12    &.@{state} > th {
13      background-color: @background;
14    }
15  }
16
17  // Hover states for `.table-hover`
18  // Note: this is not available for cells or rows within `thead` or `tfoot`.
19  .table-hover > tbody > tr {
20    > td.@{state}:hover,
21    > th.@{state}:hover,
22    &.@{state}:hover > td,
23    &:hover > .@{state},
24    &.@{state}:hover > th {
25      background-color: darken(@background, 5%);
26    }
27  }
28}
Note: See TracBrowser for help on using the repository browser.