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 // 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