Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

styles: Hide focus outline for active links.

Gittenburg797fb00791d1
diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss
index 5c28cf521b5..ee9fc15737d 100644
--- a/static/styles/night_mode.scss
+++ b/static/styles/night_mode.scss
@@ -978,7 +978,7 @@ on a dark background, and don't change the dark labels dark either. */
}
}
- div.popover-content a:focus {
+ a:not(:active):focus {
outline-color: hsl(0, 0%, 100%);
}
}
diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss
index 7074becc221..ab0280dc53c 100644
--- a/static/styles/zulip.scss
+++ b/static/styles/zulip.scss
@@ -380,7 +380,7 @@ label {
}
/* Bootstrap's focus outline uses -webkit-focus-ring-color which doesn't exist in Firefox */
-div.popover-content a:focus {
+a:not(:active):focus {
outline: 2px solid hsl(215, 47%, 50%);
// TODO: change solid to auto once the Chromium bug #1105822 is fixed
}