2017-10-04 23:41:56 +02:00
|
|
|
/* Reusable, object-oriented CSS base components for all Zulip pages
|
|
|
|
(both webapp and portico). */
|
2016-10-31 23:29:58 +01:00
|
|
|
|
2019-05-23 19:07:00 +02:00
|
|
|
.new-style {
|
|
|
|
label.checkbox {
|
|
|
|
padding: 0px;
|
|
|
|
display: inline-block;
|
2019-07-22 09:46:43 +02:00
|
|
|
position: relative;
|
2019-05-23 19:07:00 +02:00
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
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;
|
|
|
|
margin: 0px 5px 0px 0px;
|
|
|
|
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;
|
|
|
|
-webkit-filter: brightness(0.80);
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked ~ span {
|
|
|
|
background-image: url(/static/images/checkbox.svg);
|
|
|
|
background-size: 85%;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
2019-07-18 21:14:11 +02:00
|
|
|
&:focus ~ span {
|
|
|
|
outline: 1px dotted;
|
|
|
|
outline: -webkit-focus-ring-color auto 5px;
|
|
|
|
}
|
|
|
|
|
2019-05-23 19:07:00 +02:00
|
|
|
&:disabled ~ span {
|
|
|
|
opacity: 0.50;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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%);
|
2019-06-19 04:53:16 +02:00
|
|
|
box-shadow: 0px 0px 0px 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-scrollbar {
|
|
|
|
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: 11px;
|
|
|
|
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
|
|
|
|
|
|
|
/* -- flex forms -- */
|
2019-05-23 14:37:36 +02:00
|
|
|
.flex-row {
|
|
|
|
display: flex;
|
|
|
|
|
2019-05-23 18:17:21 +02:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2017-12-24 19:00:29 +01:00
|
|
|
|
2019-05-23 18:17:21 +02:00
|
|
|
input[type=text],
|
|
|
|
input[type=password] {
|
|
|
|
height: auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-12-24 19:00:29 +01:00
|
|
|
|
2019-05-23 18:17:21 +02:00
|
|
|
&.normal {
|
|
|
|
width: 500px;
|
|
|
|
}
|
2017-12-24 19:00:29 +01:00
|
|
|
|
2019-05-23 18:17:21 +02:00
|
|
|
.field {
|
2019-05-23 18:17:46 +02:00
|
|
|
margin: 10px;
|
2019-05-23 18:17:21 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
2017-12-24 19:00:29 +01:00
|
|
|
}
|