Files
upstream-zulip/web/styles/components.css
upstream-mirror 64898b2c79
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
snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
2026-09-15 15:05:30 +05:00

134 lines
3.3 KiB
CSS

/* Reusable, object-oriented CSS base components for all Zulip pages
(both web app and portico). */
label.checkbox {
padding: 0;
display: inline-block;
position: relative;
vertical-align: top;
min-height: 20px;
& input[type="checkbox"] {
position: absolute;
clip-path: rect(0 0 0 0);
~ .rendered-checkbox {
display: inline-block;
vertical-align: middle;
position: relative;
top: -2px;
padding: 2px;
margin: 0 5px 0 0;
height: 10px;
width: 10px;
font-weight: 300;
line-height: 0.8;
font-size: 1.3rem;
text-align: center;
/* Color variables are not imported to the portico, so we duplicate
the light-mode color value here as a fallback. */
border: 1px solid
var(--color-border-rendered-checkbox, hsl(0deg 0% 0% / 60%));
border-radius: 4px;
cursor: pointer;
}
&:checked ~ .rendered-checkbox {
/* As with the border color above, we duplicate
the light-mode SVG URL value here as a fallback. */
background-image: var(
--svg-url-rendered-checkbox,
url("../images/checkbox.svg")
);
background-size: 85%;
background-position: 50% 50%;
background-repeat: no-repeat;
}
&:disabled ~ .rendered-checkbox {
opacity: 0.5;
cursor: not-allowed;
}
}
&:has(.enter_sends) {
vertical-align: middle;
}
}
a.no-style {
color: inherit;
}
a.no-underline,
a.no-underline:hover,
a.no-underline:focus {
text-decoration: none;
}
.italic {
font-style: italic;
}
.simplebar-track {
.simplebar-scrollbar::before {
background-color: hsl(0deg 0% 0%);
box-shadow: 0 0 0 1px hsl(0deg 0% 100% / 33%);
}
&.simplebar-vertical {
transition: width 0.2s ease 1s; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
&.simplebar-hover {
width: 15px;
transition: width 0.2s ease; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
}
}
&.simplebar-horizontal {
transition: height 0.2s ease 1s; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
&.simplebar-hover {
height: 15px;
transition: height 0.2s ease; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
}
}
}
i.zulip-icon.zulip-icon-bot {
color: var(--color-icon-bot);
}
/* Hide the somewhat buggy browser show password feature in IE, Edge,
since it duplicates our own "show password" widget. */
input::-ms-reveal {
display: none;
}
.password-div {
position: relative;
.password_visibility_toggle {
position: absolute;
right: 10px;
top: 42px;
opacity: 0.6;
&:hover {
opacity: 1;
}
}
}
select.bootstrap-focus-style {
&:focus {
outline: 1px dotted hsl(0deg 0% 20%);
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
transition: none;
}
}