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.

icons: Display focused icons only without default outline.

Karl Stolleyadb3b24cb290
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index e1b41a73cfe..9fcb9107664 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1208,8 +1208,16 @@ td.pointer {
transition: unset;
}
+ &:focus {
+ /* Remove the outline but do not color on focus;
+ focus-visible is more appropriate for the color
+ changes, as it only applies color when focus
+ is achieved from a keyboard or other pointerless
+ device. */
+ outline: 0;
+ }
+
&:hover,
- &:focus,
&:focus-visible {
outline: 0;
color: var(--color-message-action-interactive);