This commit is contained in:
tobiasnitsche 2025-05-02 08:45:36 +00:00 committed by GitHub
commit ea84a6ae38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -138,13 +138,17 @@
// Placed here since it has to come after the potential zebra striping
.table-hover {
> tbody > tr:hover > * {
--#{$prefix}table-color-state: var(--#{$prefix}table-hover-color);
--#{$prefix}table-bg-state: var(--#{$prefix}table-hover-bg);
> tbody {
> tr:hover,
> 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 set the table cell backgrounds, border colors