mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
css: Redesign exit / close buttons.
We change the background colors for the close / cancel / exit buttons in modals and messages (when editing them or viewing their source). The border is also removed for those buttons in messages.
This commit is contained in:
@@ -768,9 +768,8 @@
|
|||||||
|
|
||||||
/* Button colors on modals and message editing. */
|
/* Button colors on modals and message editing. */
|
||||||
--color-exit-button-text: hsl(0deg 0% 100%);
|
--color-exit-button-text: hsl(0deg 0% 100%);
|
||||||
--color-exit-button-border: hsl(0deg 0% 0% / 60%);
|
--color-exit-button-background: hsl(226deg 1% 30% / 50%);
|
||||||
--color-exit-button-background: hsl(211deg 29% 14%);
|
--color-exit-button-background-interactive: hsl(226deg 1% 30% / 65%);
|
||||||
--color-exit-button-background-interactive: hsl(211deg 29% 17%);
|
|
||||||
|
|
||||||
/* Emoji-picker colors */
|
/* Emoji-picker colors */
|
||||||
--color-background-emoji-picker-popover: hsl(0deg 0% 0% / 20%);
|
--color-background-emoji-picker-popover: hsl(0deg 0% 0% / 20%);
|
||||||
|
|||||||
@@ -512,7 +512,6 @@
|
|||||||
.message_edit_close {
|
.message_edit_close {
|
||||||
color: var(--color-exit-button-text);
|
color: var(--color-exit-button-text);
|
||||||
background: var(--color-exit-button-background);
|
background: var(--color-exit-button-background);
|
||||||
border: 1px solid var(--color-exit-button-border);
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--color-exit-button-background-interactive);
|
background: var(--color-exit-button-background-interactive);
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
other "Nah, forget it" actions. */
|
other "Nah, forget it" actions. */
|
||||||
--color-exit-button-text: hsl(0deg 0% 0%);
|
--color-exit-button-text: hsl(0deg 0% 0%);
|
||||||
--color-exit-button-border: hsl(300deg 2% 11% / 30%);
|
--color-exit-button-border: hsl(300deg 2% 11% / 30%);
|
||||||
--color-exit-button-background: hsl(0deg 0% 100%);
|
--color-exit-button-background: hsl(226deg 1% 42% / 20%);
|
||||||
--color-exit-button-background-interactive: hsl(0deg 0% 97%);
|
--color-exit-button-background-interactive: hsl(226deg 1% 42% / 27%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal__overlay {
|
.modal__overlay {
|
||||||
|
|||||||
Reference in New Issue
Block a user