mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Improve focus feedback for file list actions
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
2ba56b50ec
commit
6be889493f
1 changed files with 15 additions and 4 deletions
|
|
@ -473,9 +473,16 @@ table td.selection {
|
|||
}
|
||||
|
||||
/* Use label to have bigger clickable size for checkbox */
|
||||
#fileList tr td.selection>.selectCheckBox + label,
|
||||
.select-all + label {
|
||||
padding: 16px;
|
||||
#fileList tr td.selection>.selectCheckBox,
|
||||
.select-all {
|
||||
& + label {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
&:focus + label {
|
||||
background-color: var(--color-background-hover);
|
||||
border-radius: var(--border-radius-pill);
|
||||
}
|
||||
}
|
||||
|
||||
#fileList tr td.filename {
|
||||
|
|
@ -632,7 +639,11 @@ a.action > img {
|
|||
}
|
||||
}
|
||||
&:hover, &:focus {
|
||||
opacity: .7;
|
||||
opacity: 1;
|
||||
}
|
||||
&:focus {
|
||||
background-color: var(--color-background-hover);
|
||||
border-radius: var(--border-radius-pill);
|
||||
}
|
||||
}
|
||||
.fileActionsMenu a.action, a.action.action-share.shared-style {
|
||||
|
|
|
|||
Loading…
Reference in a new issue