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.

css: Limit recent focus handler change to popovers.

Tim Abbott5150e1f8cf3c
diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss
index 6495b27b212..5c28cf521b5 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. */
}
}
- a:focus {
+ div.popover-content a:focus {
outline-color: hsl(0, 0%, 100%);
}
}
diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss
index 348be478e02..7074becc221 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 */
-a:focus {
+div.popover-content a:focus {
outline: 2px solid hsl(215, 47%, 50%);
// TODO: change solid to auto once the Chromium bug #1105822 is fixed
}