mirror of
https://github.com/nextcloud/server.git
synced 2026-03-22 18:33:46 -04:00
enh(a11y): improved contrast on user menu
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
This commit is contained in:
parent
dfb9cd8738
commit
bdb75b2e6f
1 changed files with 5 additions and 9 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue