Skip to content

Commit e021061

Browse files
Merge remote-tracking branch 'origin/enh/enh-fix-styles-for-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border' into enh/enh-fix-styles-for-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Signed-off-by: nextcloud-command <[email protected]> # Conflicts: # core/css/header.css.map # core/css/server.css.map
2 parents 104a109 + 9d0e613 commit e021061

5 files changed

Lines changed: 85 additions & 8 deletions

File tree

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)