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: Move out --box-shadow-overlay out of dark_theme.css.

Shubham Padia66466760a017
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index c6c07868c46..2d3736b4353 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1118,6 +1118,12 @@ input.settings_text_input {
}
}
+div.overlay .flex.overlay-content > .overlay-container,
+#settings_page,
+.informational-overlays .overlay-content {
+ box-shadow: var(--box-shadow-overlay);
+}
+
.delete-selected-drafts-button-container {
display: flex;
}
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 45f5fd879de..837a1eac639 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -404,6 +404,9 @@
*/
--message-area-max-width: 57.4125em;
+ /* Box shadow for overlays across the web app */
+ --box-shadow-overlay: none;
+
/* Shared sidebar typography and effects values. */
--font-weight-sidebar-heading: 600;
--font-weight-sidebar-action-heading: 370;
@@ -3010,6 +3013,9 @@
the unread marker to the left. */
--unread-marker-left: 0;
+ /* Box shadow for overlays across the web app */
+ --box-shadow-overlay: 0 0 30px hsl(212deg 32% 7%);
+
/* Colors used across the app */
--color-recipient-bar-controls-spinner: hsl(0deg 0% 100%);
--box-shadow-unread-counter-normal: none;
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 5bb4f16241c..1c9cb928d67 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -107,12 +107,6 @@
border-color: hsl(0deg 0% 0% / 90%);
}
- & div.overlay .flex.overlay-content > .overlay-container,
- #settings_page,
- .informational-overlays .overlay-content {
- box-shadow: 0 0 30px hsl(212deg 32% 7%);
- }
-
.popover hr,
hr {
opacity: 0.2;