aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 08:17:43 -0600
commitd0d5013114a61b1ca361f3bba564cc6f46ac528c (patch)
tree2b535080919d9e819e6b3b960449953afd061d51 /core
parent012dcbbccc16f7f868a750556f86e04c315ade18 (diff)
downloadnextcloud-server-d0d5013114a61b1ca361f3bba564cc6f46ac528c.tar.gz
nextcloud-server-d0d5013114a61b1ca361f3bba564cc6f46ac528c.zip
fix(core): enhanced contrast when UserMenuItem is focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Diffstat (limited to 'core')
-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);