diff options
author | Eduardo Morales <emoral435@gmail.com> | 2024-01-16 13:40:24 -0600 |
---|---|---|
committer | Eduardo Morales <emoral435@gmail.com> | 2024-01-16 13:47:30 -0600 |
commit | bdb75b2e6ff61bdc62ec0bea2cf49fc1a014d2b3 (patch) | |
tree | e0a5eb038dd09a3bf8a3db3f9356a4c8e710b854 /core | |
parent | dfb9cd8738fbd7b7e329fd870fa24a96f1ef497f (diff) | |
download | nextcloud-server-bdb75b2e6ff61bdc62ec0bea2cf49fc1a014d2b3.tar.gz nextcloud-server-bdb75b2e6ff61bdc62ec0bea2cf49fc1a014d2b3.zip |
enh(a11y): improved contrast on user menu
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/views/UserMenu.vue | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/core/src/views/UserMenu.vue b/core/src/views/UserMenu.vue index 85f2956ce4d..0c5084842a1 100644 --- a/core/src/views/UserMenu.vue +++ b/core/src/views/UserMenu.vue @@ -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 |