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
|
|
|
|
|
|
|
.new-style label.checkbox {
|
|
|
|
padding: 0px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-style label.checkbox input[type=checkbox] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-style label.checkbox input[type=checkbox] ~ span {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
2017-04-21 01:10:59 +02:00
|
|
|
top: -2px;
|
2016-10-31 23:29:58 +01:00
|
|
|
|
2017-08-15 02:44:54 +02:00
|
|
|
padding: 2px;
|
2016-12-07 22:33:46 +01:00
|
|
|
margin: 0px 5px 0px 0px;
|
2017-08-15 02:44:54 +02:00
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
2016-10-31 23:29:58 +01:00
|
|
|
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 0.8;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
text-align: center;
|
2017-11-16 00:51:45 +01:00
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.6);
|
2017-06-21 08:47:58 +02:00
|
|
|
color: hsl(0, 0%, 80%);
|
2016-10-31 23:29:58 +01:00
|
|
|
|
|
|
|
border-radius: 4px;
|
2017-10-10 02:13:09 +02:00
|
|
|
-webkit-filter: brightness(0.80);
|
2016-10-31 23:29:58 +01:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-style label.checkbox input[type=checkbox]:checked ~ span {
|
|
|
|
color: transparent;
|
|
|
|
|
2017-10-10 02:13:09 +02:00
|
|
|
background-image: url(/static/images/checkbox.svg);
|
2016-10-31 23:29:58 +01:00
|
|
|
background-size: 85%;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
2016-11-01 22:32:10 +01:00
|
|
|
.new-style label.checkbox input[type=checkbox]:disabled ~ span {
|
2017-10-02 20:38:51 +02:00
|
|
|
opacity: 0.50;
|
|
|
|
cursor: default;
|
2016-11-01 22:32:10 +01:00
|
|
|
}
|
|
|
|
|
2016-10-31 23:29:58 +01:00
|
|
|
.new-style a.no-style {
|
|
|
|
color: inherit;
|
|
|
|
}
|
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
|
|
|
|
|
|
|
.ps:hover.ps--in-scrolling.ps--x > .ps__scrollbar-x-rail > .ps__scrollbar-x {
|
|
|
|
background-color: #606060;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ps:hover.ps--in-scrolling.ps--y > .ps__scrollbar-y-rail > .ps__scrollbar-y {
|
|
|
|
background-color: #606060;
|
|
|
|
}
|