source: trip-planner-front/node_modules/bootstrap/less/mixins/table-row.less@ 6c1585f

Last change on this file since 6c1585f was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago

adding new components

  • Property mode set to 100644
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.