summaryrefslogtreecommitdiffstats
path: root/core/css/server.css
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-10 13:03:28 +0200
committerJoas Schilling <coding@schilljs.com>2022-08-10 13:03:28 +0200
commit80402f025d5a9ff9c5bbc2e5268b75e963f27716 (patch)
tree30036465e98141b03bf76f827a63119f7fcf0c43 /core/css/server.css
parentbda2068ce06d11e31f4b0ea35d28c5cd31961f9c (diff)
downloadnextcloud-server-80402f025d5a9ff9c5bbc2e5268b75e963f27716.tar.gz
nextcloud-server-80402f025d5a9ff9c5bbc2e5268b75e963f27716.zip
Do not overwrite the focus-visible of vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/css/server.css')
-rw-r--r--core/css/server.css12
1 files changed, 3 insertions, 9 deletions
diff --git a/core/css/server.css b/core/css/server.css
index 734d586c297..89ccae7daf5 100644
--- a/core/css/server.css
+++ b/core/css/server.css
@@ -53,16 +53,10 @@ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pr
outline: none;
}
-:focus-visible {
- box-shadow: inset 0 0 0 2px var(--color-primary);
- outline: none;
-}
-
/** Let vue apps handle the focus themselves */
-#content-vue :focus-visible,
-#app-navigation-vue :focus-visible,
-.vue :focus-visible {
- box-shadow: none;
+.content:not(#content-vue) :focus-visible,
+.app-navigation:not(#app-navigation-vue) :focus-visible {
+ box-shadow: inset 0 0 0 2px var(--color-primary);
outline: none;
}