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;
|
2019-12-10 20:52:01 +00:00
|
|
|
min-height: 1em;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2019-12-10 20:52:01 +00:00
|
|
|
input[type=checkbox] {
|
|
|
|
display: none;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2019-12-10 20:52:01 +00:00
|
|
|
+ label {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2019-12-13 18:13:55 +00:00
|
|
|
border-radius: 2px;
|
2019-12-10 20:52:01 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin-top: auto;
|
2021-04-13 07:28:06 +00:00
|
|
|
|
|
|
|
+ span {
|
2021-04-13 14:54:27 +00:00
|
|
|
outline: @scaled-one-px-value-ie dotted transparent;
|
|
|
|
outline: @scaled-one-px-value dotted transparent;
|
|
|
|
display: inline-block;
|
2021-04-13 07:28:06 +00:00
|
|
|
}
|
2019-12-10 20:52:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked:not(:indeterminate) {
|
|
|
|
+ label {
|
2019-12-03 15:44:40 +00:00
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: 2px solid @text-normal-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-two-px-value solid @text-normal;
|
2020-12-11 18:26:40 +00:00
|
|
|
border-top: 0 none;
|
|
|
|
border-left: 0 none;
|
2019-12-03 15:44:40 +00:00
|
|
|
transform: rotate(45deg);
|
2019-12-13 18:06:58 +00:00
|
|
|
width: 5px;
|
|
|
|
height: 9px;
|
|
|
|
left: 4px;
|
2019-12-03 15:44:40 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2019-12-10 20:52:01 +00:00
|
|
|
&:indeterminate {
|
|
|
|
+ label {
|
2019-12-03 15:44:40 +00:00
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @text-normal-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @text-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @icon-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background: @icon-normal;
|
2019-12-05 12:32:19 +00:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2019-12-10 20:52:01 +00:00
|
|
|
left: 2px;
|
2019-12-03 15:44:40 +00:00
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2019-12-10 20:52:01 +00:00
|
|
|
&.disabled,
|
|
|
|
&:disabled {
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2019-12-10 20:52:01 +00:00
|
|
|
+ label {
|
2019-12-03 15:44:40 +00:00
|
|
|
&::before {
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-13 07:28:06 +00:00
|
|
|
|
2021-04-13 13:51:24 +00:00
|
|
|
&:focus:not(.disabled) {
|
2021-04-13 07:28:06 +00:00
|
|
|
input[type=checkbox] {
|
|
|
|
+ label {
|
|
|
|
border-color: @border-control-focus-ie;
|
|
|
|
border-color: @border-control-focus;
|
|
|
|
|
|
|
|
+ span {
|
2021-04-13 14:54:27 +00:00
|
|
|
outline-color: @border-control-focus-ie;
|
|
|
|
outline-color: @border-control-focus;
|
2021-04-13 07:28:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|