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.

dropdown: Add light bg color for current selection.

Shubham Padia254de9f3fe62
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index b03c0f67e80..8792474a0d8 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -2342,7 +2342,7 @@
);
--background-color-current-selection-dropdown-item: color-mix(
in srgb,
- var(--color-active-dropdown-item) 7%,
+ var(--color-active-dropdown-item) 2%,
transparent
);
--background-color-current-setting-dropdown-item: color-mix(
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 96441250946..70fa3b006b9 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2360,6 +2360,13 @@ body:not(.spectator-view) {
&:focus,
&.current_selection {
outline: none;
+ background-color: var(
+ --background-color-current-selection-dropdown-item
+ );
+
+ &:not(.current_user_setting):hover {
+ background-color: transparent;
+ }
}
&:focus::before,