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: Redesign exit / close buttons.

N-Shar-ma528e7e4a0e4d
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 248ecb89735..b92931f731c 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -768,9 +768,8 @@
/* Button colors on modals and message editing. */
--color-exit-button-text: hsl(0deg 0% 100%);
- --color-exit-button-border: hsl(0deg 0% 0% / 60%);
- --color-exit-button-background: hsl(211deg 29% 14%);
- --color-exit-button-background-interactive: hsl(211deg 29% 17%);
+ --color-exit-button-background: hsl(226deg 1% 30% / 50%);
+ --color-exit-button-background-interactive: hsl(226deg 1% 30% / 65%);
/* Emoji-picker colors */
--color-background-emoji-picker-popover: hsl(0deg 0% 0% / 20%);
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index f49473c2807..2765744513b 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -512,7 +512,6 @@
.message_edit_close {
color: var(--color-exit-button-text);
background: var(--color-exit-button-background);
- border: 1px solid var(--color-exit-button-border);
&:hover {
background: var(--color-exit-button-background-interactive);
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 89587301980..467e94d55ba 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -4,8 +4,8 @@
other "Nah, forget it" actions. */
--color-exit-button-text: hsl(0deg 0% 0%);
--color-exit-button-border: hsl(300deg 2% 11% / 30%);
- --color-exit-button-background: hsl(0deg 0% 100%);
- --color-exit-button-background-interactive: hsl(0deg 0% 97%);
+ --color-exit-button-background: hsl(226deg 1% 42% / 20%);
+ --color-exit-button-background-interactive: hsl(226deg 1% 42% / 27%);
}
.modal__overlay {