mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #42856 from nextcloud/fix/a11y/42688/menu-items-contrasts-are-not-enough
enh(a11y): improved contrast on user menu
This commit is contained in:
commit
efe35517f7
3 changed files with 8 additions and 12 deletions
|
|
@ -240,11 +240,15 @@ export default {
|
|||
&.active:not(:focus-visible) {
|
||||
background-color: var(--color-primary-element);
|
||||
color: var(--color-primary-element-text);
|
||||
|
||||
img,
|
||||
svg {
|
||||
filter: var(--primary-invert-if-dark);
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
padding-bottom: 0;
|
||||
color: var(--color-main-text);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -261,14 +265,6 @@ export default {
|
|||
svg {
|
||||
filter: var(--background-invert-if-dark);
|
||||
}
|
||||
|
||||
&:active:not(:focus-visible),
|
||||
&.active:not(:focus-visible) {
|
||||
img,
|
||||
svg {
|
||||
filter: var(--primary-invert-if-dark);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Override global button styles
|
||||
|
|
|
|||
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue