A platform for community discussion. Free, open, simple.
UX: switch header and sidebar footer buttons to focus-visible (#37412)
Krisb80d894b6df8
diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scssindex c76c231a9c2..d31ce91e10f 100644--- a/app/assets/stylesheets/common/base/header.scss+++ b/app/assets/stylesheets/common/base/header.scss@@ -178,7 +178,7 @@}.discourse-no-touch &:hover,- .discourse-no-touch &:focus {+ .discourse-no-touch &:focus-visible {background-color: var(--d-hover);}}@@ -304,7 +304,7 @@height: 2.2857em;padding: 0.2143em;- &:focus,+ &:focus-visible,.discourse-no-touch & {&:hover {background-color: var(--primary-low);diff --git a/app/assets/stylesheets/common/base/sidebar-footer.scss b/app/assets/stylesheets/common/base/sidebar-footer.scssindex 6d4e659222f..13bbef752a6 100644--- a/app/assets/stylesheets/common/base/sidebar-footer.scss+++ b/app/assets/stylesheets/common/base/sidebar-footer.scss@@ -60,7 +60,7 @@color: var(--d-sidebar-link-icon-color);}- &:focus,+ &:focus-visible,&:hover {background: var(--d-sidebar-highlight-background);