Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_card_popover: Update the hover and active colors of copy button.
Sayam Samaldd2739a7e1f2
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex df4a88918e0..07cfabdf015 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -678,6 +678,19 @@--color-tab-picker-icon: hsl(200deg 100% 40%);--color-user-circle-active: hsl(106deg 74% 44%);--color-user-circle-idle: hsl(29deg 84% 51%);+ --color-copy-btn: color-mix(in srgb, var(--grey-600) 70%, transparent);+ --color-copy-btn-hover: var(--green-600);+ --color-copy-btn-bg-hover: color-mix(+ in srgb,+ var(--green-600) 8%,+ transparent+ );+ --color-copy-btn-active: var(--green-500);+ --color-copy-btn-bg-active: color-mix(+ in srgb,+ var(--green-500) 12%,+ transparent+ );/* Reaction container colors */--color-message-reaction-border: hsl(0deg 0% 0% / 10%);@@ -1062,6 +1075,19 @@--color-left-sidebar-navigation-icon);--color-tab-picker-icon: hsl(0deg 0% 80%);+ --color-copy-btn: color-mix(in srgb, var(--grey-300) 70%, transparent);+ --color-copy-btn-hover: var(--green-300);+ --color-copy-btn-bg-hover: color-mix(+ in srgb,+ var(--green-600) 8%,+ transparent+ );+ --color-copy-btn-active: var(--green-300);+ --color-copy-btn-bg-active: color-mix(+ in srgb,+ var(--green-400) 17%,+ transparent+ );/* Reaction container colors */--color-message-reaction-border: hsl(0deg 0% 100% / 15%);diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex c9d203890a6..6bd71be0892 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -1078,13 +1078,21 @@ ul.popover-group-menu-member-list {& i {cursor: pointer;+ padding: 2px;+ border-radius: 4px;&.hide_copy_icon {display: none;}&:hover {- color: hsl(170deg 48% 54%);+ color: var(--color-copy-btn-hover);+ background-color: var(--color-copy-btn-bg-hover);+ }++ &:active {+ color: var(--color-copy-btn-active);+ background-color: var(--color-copy-btn-bg-active);}}}