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: Consolidate outline color in modal for channel/group list.

Pratik Chanda328b4c2c84f9
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 41a31d0f46e..108b28e2fc8 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1599,10 +1599,6 @@
hsl(0deg 0% 100%),
hsl(0deg 0% 17%)
);
- --color-user-profile-list-item-hover: light-dark(
- hsl(0deg 0% 97%),
- hsl(0deg 0% 21%)
- );
/* Link colors */
--color-text-link: light-dark(hsl(210deg 94% 42%), hsl(200deg 100% 50%));
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 8e86ae0c29d..f130993e480 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -519,7 +519,7 @@
cursor: pointer;
&:focus-visible {
- outline: 1px solid var(--color-user-profile-list-item-hover);
+ outline: 1px solid var(--color-outline-focus);
outline-offset: -2px;
}
}
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 3b6b1f50679..91cdfa0c135 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -253,6 +253,11 @@
.hidden-remove-button:focus-visible {
opacity: 1;
+ /* TODO: We need to consolidate icon-button outline to this
+ outline color and separately define outline colors to specific
+ elements if needed. We should remove this after that. */
+ outline: 1px solid var(--color-outline-focus) !important;
+ outline-offset: -2px;
}
#stream-actions-menu-popover,