mirror of https://github.com/twbs/bootstrap.git
Merge cbb533b8fb
into 4c98145482
This commit is contained in:
commit
ea84a6ae38
|
@ -138,13 +138,17 @@
|
||||||
// Placed here since it has to come after the potential zebra striping
|
// Placed here since it has to come after the potential zebra striping
|
||||||
|
|
||||||
.table-hover {
|
.table-hover {
|
||||||
> tbody > tr:hover > * {
|
> tbody {
|
||||||
--#{$prefix}table-color-state: var(--#{$prefix}table-hover-color);
|
> tr:hover,
|
||||||
--#{$prefix}table-bg-state: var(--#{$prefix}table-hover-bg);
|
> tr:focus-within {
|
||||||
|
> * {
|
||||||
|
--#{$prefix}table-color-state: var(--#{$prefix}table-hover-color);
|
||||||
|
--#{$prefix}table-bg-state: var(--#{$prefix}table-hover-bg);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Table variants
|
// Table variants
|
||||||
//
|
//
|
||||||
// Table variants set the table cell backgrounds, border colors
|
// Table variants set the table cell backgrounds, border colors
|
||||||
|
|
Loading…
Reference in New Issue