aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/header.scss
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2022-11-29 17:55:23 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-12-20 10:21:30 +0100
commit443206965d23a1fcfbbbb9b6a13ce7a5318ba9a0 (patch)
tree56e02c72dcc7bc6b4ca4cb55f8eb1b9578b13b3a /core/css/header.scss
parent0af4e9d4fe80ad3cffc6f3ff6a3d19d5f808cba9 (diff)
downloadnextcloud-server-443206965d23a1fcfbbbb9b6a13ce7a5318ba9a0.tar.gz
nextcloud-server-443206965d23a1fcfbbbb9b6a13ce7a5318ba9a0.zip
Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items. Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/css/header.scss')
-rw-r--r--core/css/header.scss29
1 files changed, 27 insertions, 2 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 8691d464bd0..528da26232b 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -21,10 +21,35 @@
-moz-user-select: none;
-ms-user-select: none;
a:not(.button):focus-visible, button:not(.button-vue):focus-visible, div[role="button"]:focus-visible {
- box-shadow: inset 0 0 0 2px var(--color-primary-text);
- border-radius: var(--border-radius);
outline: none;
}
+
+ a:not(.button):focus-visible::after, .button-vue:focus-visible::after, div[role=button]:focus-visible::after {
+ content: " ";
+ position: absolute;
+ transform: translateX(-50%);
+ width: 12px;
+ height: 2px;
+ border-radius: 3px;
+ background-color: var(--color-primary-text);
+ left: 50%;
+ opacity: 1;
+ }
+
+ a:not(.button):focus-visible::after, .button-vue:focus-visible::after {
+ bottom: 2px;
+ }
+
+ .header-right {
+ a:not(.button):focus-visible::after, div[role=button]:focus-visible::after {
+ bottom: 4px;
+ }
+
+ #expand.menutoggle:focus-visible::after {
+ left: 40%;
+ }
+ }
+
}
/* HEADERS ------------------------------------------------------------------ */