aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/apps.css
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-07-20 08:42:13 +0200
committerJulius Härtl <jus@bitgrid.net>2022-07-20 08:43:03 +0200
commite165564607855af0d9bb4e461659fac4d7314e2c (patch)
tree83c8fbaf36d75be718ee0b1618bd319f92246380 /core/css/apps.css
parentf24ce9b530268139488827de954837dfc5f78a1b (diff)
downloadnextcloud-server-e165564607855af0d9bb4e461659fac4d7314e2c.tar.gz
nextcloud-server-e165564607855af0d9bb4e461659fac4d7314e2c.zip
Add legacy popover focus outline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/css/apps.css')
-rw-r--r--core/css/apps.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/css/apps.css b/core/css/apps.css
index 774a462307b..3a1528e4195 100644
--- a/core/css/apps.css
+++ b/core/css/apps.css
@@ -1135,6 +1135,25 @@ kbd {
.popovermenu li > .menuitem:focus {
background-color: var(--color-background-hover);
}
+.bubble li > button:focus, .bubble li > button:focus-visible,
+.bubble li > a:focus,
+.bubble li > a:focus-visible,
+.bubble li > .menuitem:focus,
+.bubble li > .menuitem:focus-visible,
+.app-navigation-entry-menu li > button:focus,
+.app-navigation-entry-menu li > button:focus-visible,
+.app-navigation-entry-menu li > a:focus,
+.app-navigation-entry-menu li > a:focus-visible,
+.app-navigation-entry-menu li > .menuitem:focus,
+.app-navigation-entry-menu li > .menuitem:focus-visible,
+.popovermenu li > button:focus,
+.popovermenu li > button:focus-visible,
+.popovermenu li > a:focus,
+.popovermenu li > a:focus-visible,
+.popovermenu li > .menuitem:focus,
+.popovermenu li > .menuitem:focus-visible {
+ box-shadow: 0 0 0 2px var(--color-primary-element);
+}
.bubble li > button.active,
.bubble li > a.active,
.bubble li > .menuitem.active,