3 @mixin table-row-variant($state, $background) {
4 // Exact selectors below required to override `.table-striped` and prevent
5 // inheritance to nested tables.
13 background-color: $background;
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 {
22 &.#{$state}:hover > td,
24 &.#{$state}:hover > th {
25 background-color: darken($background, 5%);