Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user-pill: Present purple pills across the UI.
Karl Stolleyb34849a90f01
diff --git a/web/styles/input_pill.css b/web/styles/input_pill.cssindex 375334221e6..f66c31c3e9b 100644--- a/web/styles/input_pill.css+++ b/web/styles/input_pill.css@@ -236,6 +236,12 @@}}+.person_picker {+ .pill:hover {+ background-color: var(--color-background-input-pill-hover);+ }+}+#compose-direct-recipient .pill-container {border: 1px solid var(--color-compose-recipient-box-border-color);@@ -280,19 +286,47 @@flex-grow: 1;}-.display_only_pill {+.display_only_pill,+.display_only_group_pill {/* Ensure middle alignment in table contexts. */vertical-align: middle;/* Resetting these values to prevent unintended inheritance from .pill-container styles. */padding: 0;border: 0;++ /* Particularly in light mode, pill colors are almost identical+ to the settings modal background. We place a higher-contrast+ outline on them accordingly. */+ .pill,+ .pill:focus {+ outline: 1px solid var(--color-outline-low-attention-input-pill);+ /* We offset the outline so that pills do not grow in size+ when presented with an outline. */+ outline-offset: -1px;++ /* Display `(you)` with the same 5px padding to the right+ as ordinary .pill-value text. */+ .my_user_status {+ padding-right: 5px;+ }+ }++ .pill:focus {+ /* We don't want to flash a focus outline+ when clicking on display-only pills. */+ box-shadow: unset;+ /* We also suppress the border on the pill+ image. */+ .pill-image-border {+ border: 0;+ }+ }}/* These pill are similar to .not-editable, but are meant to showprofile cards when clicked. */.panel_user_list > .pill-container,.creator_details > .display_only_pill {- background-color: hsl(0deg 0% 0% / 7%);gap: 2px;flex-wrap: nowrap;@@ -306,7 +340,6 @@}> .pill {- background-color: transparent;border: none;text-decoration: none;