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 footer colors as per the redesign specifications.

Sayam Samalbe5fbc1e3507
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 472ebe6bac7..24c211028d1 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -870,10 +870,6 @@
hsl(0deg 0% 76%),
color-mix(in oklch, hsl(0deg 0% 100%) 12%, transparent)
);
- --color-border-modal-footer: light-dark(
- hsl(0deg 0% 87%),
- hsl(0deg 0% 100% / 20%)
- );
--color-modal-selectable-icon: light-dark(
hsl(240deg 30% 40%),
hsl(240deg 35% 68%)
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 7c25e36f032..d1837a8b8a5 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -61,6 +61,13 @@
align-items: center;
/* 20px 24px at 16px/1em */
padding: 1.25em 1.5em;
+ background-color: var(--color-background-modal-bar);
+}
+
+.modal__content + .modal__footer {
+ /* These styles apply only when the modal content
+ is present in the modal. */
+ border-top: 1px solid var(--color-border-modal-bar);
}
.modal__title {
@@ -135,10 +142,6 @@
max-width: calc(100% + 3em);
}
- &.simplebar-scrollable-y + .modal__footer {
- border-top: 1px solid var(--color-border-modal-footer);
- }
-
.channel-privacy-type-icon {
/* This pushes back on suspect styles
in app_components.css. A fuller fix