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: Use --color-active-row-modal for settings overlay active rows.

Shubham Padia0575db3ab65a
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 97290d1effb..7219c35d950 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -609,6 +609,7 @@
--color-unread-marker: hsl(217deg 64% 59%);
--color-masked-unread-marker: hsl(0deg 0% 80%);
--color-failed-message-send-icon: hsl(3.88deg 98.84% 66.27%);
+ --color-active-row-modal: hsl(0deg 0% 98%);
--color-background-modal: #ededed;
--color-background-modal-bar: #f5f5f5;
--color-border-modal: color-mix(in srgb, #8c8c8c 25%, transparent);
@@ -1367,6 +1368,7 @@
--color-navbar-bottom-border: hsl(0deg 0% 0% / 60%);
--color-unread-marker: hsl(217deg 64% 59%);
--color-masked-unread-marker: hsl(0deg 0% 30%);
+ --color-active-row-modal: hsl(0deg 0% 0% / 20%);
--color-background-modal: #242424;
--color-background-modal-bar: #333;
--color-border-modal: color-mix(in srgb, #fff 8%, transparent);
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index fad5bd2e211..285f8e8effc 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -546,7 +546,6 @@
.white-box,
.stream-email,
#generate-integration-url-modal .integration-url,
- #settings_page .sidebar li.active,
.table-striped tbody tr:nth-child(odd) th {
background-color: hsl(0deg 0% 0% / 20%);
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index e6309e0545c..b22de9e4d01 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1383,7 +1383,7 @@ $option_title_width: 180px;
&.active {
/* TODO: Check with Vlad about highlight
colors such as this. */
- background-color: hsl(0deg 0% 98%);
+ background-color: var(--color-active-row-modal);
}
.sidebar-item-icon {
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 0edc30bfa0a..6e8204b1c97 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -703,7 +703,7 @@ h4.user_group_setting_subsection_title {
}
&.active {
- background-color: hsl(0deg 0% 93%);
+ background-color: var(--color-active-row-modal);
}
.check:not(.checked, .disabled):hover svg,