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
|
|
|
|
2019-05-23 19:07:00 +02:00
|
|
|
.new-style {
|
2023-03-17 22:10:10 +01:00
|
|
|
& label.checkbox {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-05-23 19:07:00 +02:00
|
|
|
display: inline-block;
|
2019-07-22 09:46:43 +02:00
|
|
|
position: relative;
|
2019-05-23 19:07:00 +02:00
|
|
|
vertical-align: top;
|
2023-02-28 16:54:07 +01:00
|
|
|
min-height: 20px;
|
2019-05-23 19:07:00 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input[type="checkbox"] {
|
2019-07-18 21:14:11 +02:00
|
|
|
position: absolute;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
2019-05-23 19:07:00 +02:00
|
|
|
|
|
|
|
~ span {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
|
|
|
|
padding: 2px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 5px 0 0;
|
2019-05-23 19:07:00 +02:00
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 0.8;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
text-align: center;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 60%);
|
2019-05-23 19:07:00 +02:00
|
|
|
|
|
|
|
border-radius: 4px;
|
2020-08-04 23:58:56 +02:00
|
|
|
filter: brightness(0.8);
|
2019-05-23 19:07:00 +02:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked ~ span {
|
2021-11-05 03:28:57 +01:00
|
|
|
background-image: url("../images/checkbox.svg");
|
2019-05-23 19:07:00 +02:00
|
|
|
background-size: 85%;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled ~ span {
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.5;
|
2020-09-28 08:21:53 +02:00
|
|
|
cursor: not-allowed;
|
2019-05-23 19:07:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-11-01 22:32:10 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a.no-style {
|
2019-05-23 19:07:00 +02:00
|
|
|
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
|
|
|
|
|
|
|
.half-opacity {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
vertical-align: top;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|