From 5dc10f7e732df41fcb220f2523fe934c9dd7586a Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Fri, 22 Sep 2023 10:34:36 +0200 Subject: [PATCH 1/3] Remove browser outline styling for focus-within --- app/assets/stylesheets/base.css.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 4bd3144e4f..549e15e8a8 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -115,3 +115,7 @@ figcaption { justify-content: space-between; flex-direction: row; } + +a:focus-visible { + outline: none; +} From cd159599e32e1be0d5b993a4f46e24107f5982db Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Fri, 22 Sep 2023 10:58:14 +0200 Subject: [PATCH 2/3] Make css more specific --- app/assets/stylesheets/base.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 549e15e8a8..3b438ef540 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -116,6 +116,6 @@ figcaption { flex-direction: row; } -a:focus-visible { +.nav.nav-tabs a:focus-visible { outline: none; } From 33bd646cfbc2e58affb8376254eea22bd000abdf Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Fri, 22 Sep 2023 11:09:05 +0200 Subject: [PATCH 3/3] Move css to better file --- app/assets/stylesheets/base.css.scss | 4 ---- app/assets/stylesheets/bootstrap_style_overrides.css.scss | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 3b438ef540..4bd3144e4f 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -115,7 +115,3 @@ figcaption { justify-content: space-between; flex-direction: row; } - -.nav.nav-tabs a:focus-visible { - outline: none; -} diff --git a/app/assets/stylesheets/bootstrap_style_overrides.css.scss b/app/assets/stylesheets/bootstrap_style_overrides.css.scss index 63fa559f57..bd11472f3c 100644 --- a/app/assets/stylesheets/bootstrap_style_overrides.css.scss +++ b/app/assets/stylesheets/bootstrap_style_overrides.css.scss @@ -242,3 +242,7 @@ blockquote { background: var(--d-background); color: var(--d-on-surface-muted); } + +.nav.nav-tabs a:focus-visible { + outline: none; +}