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 {
|
|
|
|
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;
|
|
|
|
|
2020-08-04 23:58:56 +02: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;
|
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.6);
|
|
|
|
|
|
|
|
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 {
|
2020-08-13 00:27:39 +02: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
|
|
|
|
2019-05-23 19:07:00 +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
|
|
|
|
|
|
|
.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 {
|
2019-06-18 20:58:40 +02:00
|
|
|
background-color: hsl(0, 0%, 0%);
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 0 1px hsla(0, 0%, 100%, 0.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;
|
|
|
|
}
|
2019-03-01 01:40:05 +01:00
|
|
|
|
2019-05-23 18:44:50 +02:00
|
|
|
.simplebar-scrollbar {
|
|
|
|
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: 11px;
|
|
|
|
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 {
|
2020-05-20 20:22:06 +02:00
|
|
|
color: hsl(180, 5%, 74%);
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
2021-02-25 02:51:14 +01:00
|
|
|
|
|
|
|
.tippy-content {
|
|
|
|
/* This actually sets the
|
|
|
|
* default font size of only
|
|
|
|
* tooltips; popovers should define
|
|
|
|
* font-size of their own.
|
|
|
|
*/
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|