diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-11 08:50:18 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-11 09:47:56 +0100 |
| commit | c36e52d330bfd14fe83b8b0743bc1a601325d3c3 (patch) | |
| tree | fc948cb7a1fe1ec182876a78ddae457cf0f63e75 | |
| parent | da00355b8532c46c2c29199b8dbff4c9adfe54f9 (diff) | |
also highlight table row when using keyboard navigation, fixes #6345
Closes #6345
Merge request studip/studip!4807
| -rw-r--r-- | resources/assets/stylesheets/less/tables.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/assets/stylesheets/less/tables.less b/resources/assets/stylesheets/less/tables.less index eb576dd..12754ed 100644 --- a/resources/assets/stylesheets/less/tables.less +++ b/resources/assets/stylesheets/less/tables.less @@ -479,10 +479,10 @@ table.default { border-bottom: 1px solid @brand-color-darker; } // Hover effect - &:not(.nohover) > tbody:not(.nohover) > tr:not(.nohover):hover > td:not(.nohover) { + &:not(.nohover) > tbody:not(.nohover) > tr:not(.nohover):is(:hover, :focus-within) > td:not(.nohover) { background-color: fadeout(@light-gray-color, 80%); } - &:not(.nohover) > tbody:not(.nohover) > tr.selected:not(.nohover):hover > td:not(.nohover) { + &:not(.nohover) > tbody:not(.nohover) > tr.selected:not(.nohover):is(:hover, :focus-within) > td:not(.nohover) { background-color: var(--yellow-40); } > tfoot { |
