diff --git a/htdocs/themes/math4-yellow/_theme-overrides.scss b/htdocs/themes/math4-yellow/_theme-overrides.scss index 2747ede72a..9db468ea94 100644 --- a/htdocs/themes/math4-yellow/_theme-overrides.scss +++ b/htdocs/themes/math4-yellow/_theme-overrides.scss @@ -27,5 +27,4 @@ a:not(.btn):focus { :root { --ww-site-nav-link-active-background-color: #{$primary}; - --ww-site-nav-link-active-color: #{color-contrast($primary)}; } diff --git a/htdocs/themes/math4/bootstrap.scss b/htdocs/themes/math4/bootstrap.scss index f52d52c920..4398ce7051 100644 --- a/htdocs/themes/math4/bootstrap.scss +++ b/htdocs/themes/math4/bootstrap.scss @@ -98,8 +98,4 @@ a:not(.btn):focus { outline-width: 1px; } -#site-links a:not(.btn):focus { - outline-width: 2px; -} - @import "theme-overrides"; diff --git a/htdocs/themes/math4/math4.scss b/htdocs/themes/math4/math4.scss index 04e4142d9a..f0fee9b40f 100644 --- a/htdocs/themes/math4/math4.scss +++ b/htdocs/themes/math4/math4.scss @@ -195,6 +195,10 @@ $site-nav-width: 250px !default; } } + a:not(.btn):focus { + outline-width: 2px; + } + .info-box { border-radius: 0; border: none; @@ -219,11 +223,10 @@ $site-nav-width: 250px !default; } } - &.list-group-item { - .nav-link:focus { - position: relative; - z-index: 2; - } + + .nav-link:focus { + position: relative; + z-index: 2; } } }