Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
  • Loading branch information
JuliaKirschenheuter authored and ChristophWurst committed Dec 20, 2022
commit 443206965d23a1fcfbbbb9b6a13ce7a5318ba9a0
30 changes: 28 additions & 2 deletions core/css/header.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/header.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 27 additions & 2 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------------------------ */
Expand Down
30 changes: 28 additions & 2 deletions core/css/server.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading