LESS: .table-row-variant mixin doesn't respect @table-bg-hover variable
Created by: drewbeck
I've got @table-bg-hover set to a color in variables.less but my color isn't being respected!
It comes down to the following code. Note where the arrow is (<--------): the :hover is being set to a darker version of @table-bg-active instead of to @table-bg-hover!
tables.less:121:
.table-hover {
> tbody > tr:hover {
> td,
> th {
background-color: @table-bg-hover;
}
}
}
tables.less:158:
.table-row-variant(active; @table-bg-active);
mixins.less:441:
.table-row-variant(@state; @background) {
... snip ...
// Hover states for `.table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.table-hover > tbody > tr {
> td.@{state}:hover,
> th.@{state}:hover,
&.@{state}:hover > td,
&.@{state}:hover > th {
background-color: darken(@background, 5%); <-----------
}
}
}