snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
103
web/styles/user_status.css
Normal file
103
web/styles/user_status.css
Normal file
@@ -0,0 +1,103 @@
|
||||
#set-user-status-modal {
|
||||
/* A narrower width is more attractive for this modal. */
|
||||
width: 384px;
|
||||
|
||||
.user-status-content-wrapper {
|
||||
display: grid;
|
||||
grid-template:
|
||||
"status-icon search-input clear-search" auto / auto minmax(0, 1fr)
|
||||
auto;
|
||||
align-items: center;
|
||||
outline: 1px solid hsl(0deg 0% 0% / 60%);
|
||||
outline-offset: -1px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--color-background-input);
|
||||
|
||||
& input.user-status {
|
||||
grid-area: search-input;
|
||||
line-height: 1.25em; /* 20px at 16px/em */
|
||||
padding: 0.5em 0.125em; /* 8px 2px at 16px/1em */
|
||||
width: 100%;
|
||||
/* Override default input height */
|
||||
height: unset;
|
||||
border: none;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
/* Transparent here is to allow the input
|
||||
background set on the wrapper to show
|
||||
through. */
|
||||
background-color: transparent;
|
||||
margin: 0;
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
#clear_status_message_button {
|
||||
grid-area: clear-search;
|
||||
padding: 0.5em; /* 8px at 16px/1em */
|
||||
margin: 0.125em; /* 2px at 16px/1em */
|
||||
}
|
||||
|
||||
.status-emoji-wrapper {
|
||||
display: flex;
|
||||
padding: 0.375em; /* 6px at 16px/1em */
|
||||
margin: 0.125em; /* 2px at 16px/1em */
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
|
||||
.selected-emoji,
|
||||
.smiley-icon {
|
||||
width: 1.25em; /* 20px at 16px/em */
|
||||
height: 1.25em; /* 20px at 16px/em */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.smiley-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-modal-selectable-icon);
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.active-emoji-picker-reference {
|
||||
background-color: var(
|
||||
--background-color-modal-selectable-icon-hover
|
||||
);
|
||||
|
||||
.smiley-icon {
|
||||
color: var(--color-modal-selectable-icon-hover);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-status-options {
|
||||
padding-top: 15px;
|
||||
|
||||
.user-status-value {
|
||||
/* We set the gap between the status emoji and text
|
||||
in the default user status options to match the gap
|
||||
between the corresponding emoji and text of the
|
||||
custom user status input.
|
||||
6px (emoji button padding)
|
||||
+ 2px (emoji button margin)
|
||||
+ 2px (input padding) */
|
||||
gap: 0.625em; /* 10px at 16px/em */
|
||||
|
||||
.status-emoji {
|
||||
/* Size and align status emoji to match
|
||||
the top line of the modal. */
|
||||
height: 1.25em; /* 20px at 16px/em */
|
||||
width: 1.25em; /* 20px at 16px/em */
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user