Merge pull request #34648 from nextcloud/backport/34634/stable25

[stable25] Fix unnecessary highlighting of selected element
This commit is contained in:
Simon L 2022-10-26 01:06:34 +02:00 committed by GitHub
commit 9df81090f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;