mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Fix unnecessary highlighting of selected element
Use focus-visible to only show focus ring on keyboard navigation Fix #34589 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
44d2eb8b4e
commit
e3d8fd6544
3 changed files with 5 additions and 5 deletions
|
|
@ -609,8 +609,8 @@ table td.selection {
|
|||
.select-all + label {
|
||||
padding: 16px;
|
||||
}
|
||||
.files-fileList tr td.selection > .selectCheckBox:focus + label,
|
||||
.select-all:focus + label {
|
||||
.files-fileList tr td.selection > .selectCheckBox:focus-visible + label,
|
||||
.select-all:focus-visible + label {
|
||||
background-color: var(--color-background-hover);
|
||||
border-radius: var(--border-radius-pill);
|
||||
outline: none !important;
|
||||
|
|
|
|||
|
|
@ -504,7 +504,7 @@ table td.selection {
|
|||
padding: 16px;
|
||||
}
|
||||
|
||||
&:focus + label {
|
||||
&:focus-visible + label {
|
||||
background-color: var(--color-background-hover);
|
||||
border-radius: var(--border-radius-pill);
|
||||
outline: none !important;
|
||||
|
|
|
|||
|
|
@ -609,8 +609,8 @@ table td.selection {
|
|||
.select-all + label {
|
||||
padding: 16px;
|
||||
}
|
||||
.files-fileList tr td.selection > .selectCheckBox:focus + label,
|
||||
.select-all:focus + label {
|
||||
.files-fileList tr td.selection > .selectCheckBox:focus-visible + label,
|
||||
.select-all:focus-visible + label {
|
||||
background-color: var(--color-background-hover);
|
||||
border-radius: var(--border-radius-pill);
|
||||
outline: none !important;
|
||||
|
|
|
|||
Loading…
Reference in a new issue