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.

modals: Update modal container according to the redesign specifications.

Sayam Samal5573d8523248
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index da4a8b7a558..764cfb973ca 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -853,11 +853,11 @@
hsl(0deg 0% 100% / 90%),
hsl(212deg 28% 8% / 75%)
);
- --color-background-modal: light-dark(#ededed, #242424);
+ --color-background-modal: light-dark(hsl(0deg 0% 93%), hsl(0deg 0% 14%));
--color-background-modal-bar: light-dark(#f5f5f5, #333);
--color-border-modal: light-dark(
- color-mix(in srgb, #8c8c8c 25%, transparent),
- color-mix(in srgb, #fff 8%, transparent)
+ hsl(0deg 0% 55%),
+ color-mix(in oklch, hsl(0deg 0% 100%) 15%, transparent)
);
--color-border-modal-bar: light-dark(
color-mix(in srgb, #c2c2c2 80%, transparent),
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 770099c5911..7da9db799ef 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -25,7 +25,9 @@
max-width: calc(100% - 32px);
max-height: 96%;
width: 37.1428em; /* 520px at 14px em */
- border-radius: 4px;
+ overflow: hidden;
+ border: 1px solid var(--color-border-modal);
+ border-radius: 7px;
box-sizing: border-box;
}