2017-10-04 23:41:56 +02:00
|
|
|
/* Reusable, object-oriented CSS base components for all Zulip pages
|
2021-05-14 00:16:30 +02:00
|
|
|
(both web app and portico). */
|
2016-10-31 23:29:58 +01:00
|
|
|
|
2024-09-04 17:32:16 +02:00
|
|
|
& label.checkbox {
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
min-height: 20px;
|
|
|
|
|
|
|
|
& input[type="checkbox"] {
|
|
|
|
position: absolute;
|
|
|
|
clip: 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 {
|
2024-09-16 18:14:59 +02:00
|
|
|
/* 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")
|
|
|
|
);
|
2024-09-04 17:32:16 +02:00
|
|
|
background-size: 85%;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled ~ .rendered-checkbox {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: not-allowed;
|
2019-05-23 19:07:00 +02:00
|
|
|
}
|
|
|
|
}
|
2016-11-01 22:32:10 +01:00
|
|
|
|
2024-09-04 17:32:16 +02:00
|
|
|
&:has(.enter_sends) {
|
2024-07-23 19:23:25 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2024-09-04 17:32:16 +02:00
|
|
|
}
|
2024-07-23 19:23:25 +02:00
|
|
|
|
2024-09-04 17:32:16 +02:00
|
|
|
a.no-style {
|
|
|
|
color: inherit;
|
2016-10-31 23:29:58 +01:00
|
|
|
}
|
2017-03-13 19:10:46 +01:00
|
|
|
|
2017-10-10 02:01:12 +02:00
|
|
|
a.no-underline,
|
|
|
|
a.no-underline:hover {
|
2017-07-17 19:33:58 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-10-14 00:33:36 +02:00
|
|
|
|
|
|
|
.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2017-12-13 02:24:07 +01:00
|
|
|
|
2019-05-23 18:44:50 +02:00
|
|
|
.simplebar-track {
|
|
|
|
.simplebar-scrollbar::before {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0%);
|
|
|
|
box-shadow: 0 0 0 1px hsl(0deg 0% 100% / 33%);
|
2019-05-23 18:44:50 +02:00
|
|
|
}
|
2017-12-13 02:24:07 +01:00
|
|
|
|
2019-05-23 18:44:50 +02:00
|
|
|
&.simplebar-vertical {
|
|
|
|
transition: width 0.2s ease 1s;
|
2019-03-01 01:40:05 +01:00
|
|
|
|
2019-05-23 18:44:50 +02:00
|
|
|
&.simplebar-hover {
|
|
|
|
width: 15px;
|
|
|
|
transition: width 0.2s ease;
|
|
|
|
}
|
|
|
|
}
|
2019-03-01 01:40:05 +01:00
|
|
|
|
2019-05-23 18:44:50 +02:00
|
|
|
&.simplebar-horizontal {
|
|
|
|
transition: height 0.2s ease 1s;
|
2019-03-01 01:40:05 +01:00
|
|
|
|
2019-05-23 18:44:50 +02:00
|
|
|
&.simplebar-hover {
|
|
|
|
height: 15px;
|
|
|
|
transition: height 0.2s ease;
|
|
|
|
}
|
|
|
|
}
|
2017-12-13 02:24:07 +01:00
|
|
|
}
|
2017-12-24 19:00:29 +01:00
|
|
|
|
2021-04-29 02:13:54 +02:00
|
|
|
i.zulip-icon.zulip-icon-bot {
|
2023-06-16 19:31:01 +02:00
|
|
|
color: var(--color-icon-bot);
|
2020-05-20 20:22:06 +02:00
|
|
|
}
|
2021-02-25 02:51:14 +01:00
|
|
|
|
|
|
|
.tippy-content {
|
2023-03-23 18:57:47 +01:00
|
|
|
/* Set the default font size for tooltips. Popovers override this with
|
|
|
|
a rule looking at the data-theme.
|
2021-02-25 02:51:14 +01:00
|
|
|
*/
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2021-04-05 09:42:29 +02:00
|
|
|
|
2021-06-12 10:53:28 +02:00
|
|
|
/* Hide the somewhat buggy browser show password feature in IE, Edge,
|
|
|
|
since it duplicates our own "show password" widget. */
|
|
|
|
input::-ms-reveal {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-04-05 09:42:29 +02:00
|
|
|
.password-div {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.password_visibility_toggle {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 42px;
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-12-26 11:12:15 +01:00
|
|
|
|
2024-02-02 12:26:41 +01:00
|
|
|
select.bootstrap-focus-style {
|
2022-12-26 11:12:15 +01:00
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 1px dotted hsl(0deg 0% 20%);
|
2022-12-26 11:12:15 +01:00
|
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
|
|
outline-offset: -2px;
|
2023-04-20 11:27:49 +02:00
|
|
|
transition: none;
|
2022-12-26 11:12:15 +01:00
|
|
|
}
|
|
|
|
}
|