aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorEduardo Morales <emoral435@gmail.com>2024-01-08 15:49:58 -0600
committerEduardo Morales <emoral435@gmail.com>2024-01-09 10:15:35 -0600
commit47ccd75b4f5019ee931e24c5a1a769820ff73e5a (patch)
treef5ba07dc1066eb1255b14b5bbe91121d25734874 /core/src
parent2ef09404e07ef0a575fc95bd821b7e85816d5ff6 (diff)
downloadnextcloud-server-47ccd75b4f5019ee931e24c5a1a769820ff73e5a.tar.gz
nextcloud-server-47ccd75b4f5019ee931e24c5a1a769820ff73e5a.zip
fix(core): enhanced contrast when UserMenuItem is focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UserMenu.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/views/UserMenu.vue b/core/src/views/UserMenu.vue
index 3c57a8eecba..44b25d889f5 100644
--- a/core/src/views/UserMenu.vue
+++ b/core/src/views/UserMenu.vue
@@ -236,8 +236,8 @@ export default {
outline: none !important;
}
- &:active,
- &.active {
+ &:active:not(:focus-visible),
+ &.active:not(:focus-visible) {
background-color: var(--color-primary-element);
color: var(--color-primary-element-text);
}
@@ -262,8 +262,8 @@ export default {
filter: var(--background-invert-if-dark);
}
- &:active,
- &.active {
+ &:active:not(:focus-visible),
+ &.active:not(:focus-visible) {
img,
svg {
filter: var(--primary-invert-if-dark);