diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-05-27 20:31:29 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-06-09 00:09:57 +0000 |
commit | 0b0ef105c5e3b1c3295d0dc2993925bc535b155a (patch) | |
tree | dd115c47d08ea967e55ad29d03fc5e4cc9fb9448 /core/css/styles.scss | |
parent | 83e16b89a2c95ce72f861bb2057eb5de9782b928 (diff) | |
download | nextcloud-server-0b0ef105c5e3b1c3295d0dc2993925bc535b155a.tar.gz nextcloud-server-0b0ef105c5e3b1c3295d0dc2993925bc535b155a.zip |
Use button for grid view toggle instead of hidden checkbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r-- | core/css/styles.scss | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss index dbb692745b1..30757b233ee 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -760,8 +760,7 @@ code { } } - /* Grid view toggle */ - #picker-view-toggle { + #picker-showgridview { position: absolute; background-color: transparent; border: none; @@ -772,17 +771,13 @@ code { top: 0; &:hover, + &:active, &:focus { + box-shadow: 0 0 0 2px var(--color-primary); opacity: 1; } } - // keyboard focus - #picker-showgridview:focus + #picker-view-toggle { - box-shadow: 0 0 0 2px var(--color-primary); - opacity: 1; - } - .actions.creatable { flex-wrap: wrap; padding: 0px; |