2016-03-11 00:48:53 +00:00
|
|
|
.checkbox-indeterminate {
|
|
|
|
padding-left: 22px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
.font-size-normal();
|
|
|
|
font-weight: normal;
|
2019-12-03 15:44:40 +00:00
|
|
|
position: relative;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
input[type=button] {
|
|
|
|
background-position: @checkbox-offset-x @checkbox-offset-y;
|
|
|
|
margin-left: -22px;
|
|
|
|
margin-right: 6px;
|
2019-12-03 15:44:40 +00:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2016-03-11 00:48:53 +00:00
|
|
|
cursor: default;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: -1px;
|
2019-12-03 15:44:40 +00:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid @gray;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&.checked {
|
2019-12-03 15:44:40 +00:00
|
|
|
+ span {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
border: solid @gray-deep;
|
|
|
|
border-width: 0 2px 2px 0;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
width: 6px;
|
|
|
|
height: 10px;
|
|
|
|
left: 4px;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.indeterminate {
|
2019-12-03 15:44:40 +00:00
|
|
|
+ span {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
border: 1px solid @gray-deep;
|
|
|
|
background: @gray-soft;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
left: 3px;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2019-12-03 15:44:40 +00:00
|
|
|
opacity: .4;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2019-12-03 15:44:40 +00:00
|
|
|
+ span {
|
|
|
|
&::before {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|