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.

dark_theme: Clean up history-limited notice background.

Evy Kassirer65393306d92d
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 0433e9453f7..ad20976be2a 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1802,6 +1802,10 @@
transparent,
hsl(0deg 0% 0% / 20%)
);
+ --color-background-history-limited-box: light-dark(
+ transparent,
+ hsl(0deg 0% 0% / 20%)
+ );
/* Markdown colors */
--color-background-rendered-markdown-thead: light-dark(
hsl(0deg 0% 93%),
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 76902f85ec5..662e9e3a2f8 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -200,10 +200,6 @@
opacity: 0.7;
}
- .history-limited-box {
- background-color: hsl(0deg 0% 0% / 20%);
- }
-
.searching-for-more-topics img {
filter: invert(100%);
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 2aaee6491ab..fa16240fea5 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -228,6 +228,7 @@ p.n-margin {
padding-left: 26px;
text-indent: -10px;
color: hsl(16deg 60% 45%);
+ background-color: var(--color-background-history-limited-box);
border: 1px solid hsl(16deg 60% 45%);
box-shadow: 0 0 2px hsl(16deg 60% 45%);
}