Skip to content

Commit

Permalink
Merge pull request #42664 from nextcloud/backport/stable28/42643/fix/…
Browse files Browse the repository at this point in the history
…core/42565/focus-for-user-menu-is-not-accessible

[stable28] fix(core): enhanced contrast when UserMenuItem is focused
  • Loading branch information
emoral435 authored Jan 9, 2024
2 parents 2ef0940 + 47ccd75 commit 4d0d0ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions core/src/views/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit 4d0d0ea

Please sign in to comment.