Skip to content

Commit 9d0e613

Browse files
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>
1 parent f1cc6cd commit 9d0e613

File tree

5 files changed

+85
-8
lines changed

5 files changed

+85
-8
lines changed

core/css/header.css

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/header.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/header.scss

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,35 @@
2121
-moz-user-select: none;
2222
-ms-user-select: none;
2323
a:not(.button):focus-visible, button:not(.button-vue):focus-visible, div[role="button"]:focus-visible {
24-
box-shadow: inset 0 0 0 2px var(--color-primary-text);
25-
border-radius: var(--border-radius);
2624
outline: none;
2725
}
26+
27+
a:not(.button):focus-visible::after, .button-vue:focus-visible::after, div[role=button]:focus-visible::after {
28+
content: " ";
29+
position: absolute;
30+
transform: translateX(-50%);
31+
width: 12px;
32+
height: 2px;
33+
border-radius: 3px;
34+
background-color: var(--color-primary-text);
35+
left: 50%;
36+
opacity: 1;
37+
}
38+
39+
a:not(.button):focus-visible::after, .button-vue:focus-visible::after {
40+
bottom: 2%;
41+
}
42+
43+
.header-right {
44+
a:not(.button):focus-visible::after, div[role=button]:focus-visible::after {
45+
bottom: 6%;
46+
}
47+
48+
#expand.menutoggle:focus-visible::after {
49+
left: 40%;
50+
}
51+
}
52+
2853
}
2954

3055
/* HEADERS ------------------------------------------------------------------ */

core/css/server.css

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)