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-10-02 20:38:51 +02:00
|
|
|
border: 1px solid hsl(0, 0%, 60%);
|
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-02 20:38:51 +02:00
|
|
|
-webkit-filter: grayscale(1) brightness(0.80);
|
2016-10-31 23:29:58 +01:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-style label.checkbox input[type=checkbox]:checked ~ span {
|
|
|
|
color: transparent;
|
|
|
|
|
|
|
|
background-image: url(/static/images/checkbox-green.png);
|
|
|
|
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;
|
|
|
|
}
|