Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Make compose close cross button smaller and add active state.
N-Shar-mab85e41df474d
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 1b336ccc3a3..040d2b1294e 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -416,6 +416,9 @@--color-compose-embedded-button-background-hover: hsl(231deg 100% 90% / 50%);+ --color-compose-embedded-button-background-interactive: hsl(+ 231deg 100% 90% / 90%+ );--color-compose-chevron-arrow: hsl(0deg 0% 58%);--color-limit-indicator: hsl(38deg 100% 36%);--color-limit-indicator-over-limit: hsl(3deg 80% 40%);@@ -791,6 +794,9 @@--color-compose-embedded-button-background-hover: hsl(235deg 100% 70% / 11%);+ --color-compose-embedded-button-background-interactive: hsl(+ 235deg 100% 70% / 20%+ );--color-background-popover: hsl(212deg 32% 14%);--color-limit-indicator: hsl(38deg 100% 70%);--color-limit-indicator-over-limit: hsl(3deg 80% 60%);diff --git a/web/styles/compose.css b/web/styles/compose.cssindex f63fd1c7613..452781b7d32 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -469,12 +469,12 @@right: 0;color: var(--color-compose-send-control-button);background: transparent;- font-size: 15px;+ font-size: 12.5px;font-weight: normal;line-height: 20px;opacity: 0.7;border: 0;- padding: 5px 7px;+ padding: 3px 7px;border-radius: 8px;vertical-align: unset;text-shadow: none;@@ -485,6 +485,12 @@color: var(--color-compose-send-control-button-interactive);}+ &:active {+ background-color: var(+ --color-compose-embedded-button-background-interactive+ );+ }+&:focus:not(:focus-visible) {outline: none;}