web-apps/apps/common/main/resources/less/checkbox.less
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

41 lines
1.1 KiB
Plaintext

.checkbox-indeterminate {
padding-left: 22px;
margin-bottom: 0;
.font-size-normal();
font-weight: normal;
input[type=button] {
background-color: transparent;
background-position: @checkbox-offset-x @checkbox-offset-y;
border: none;
margin-left: -22px;
margin-right: 6px;
padding-bottom: 4px;
width: 16px;
height: 16px;
cursor: default;
vertical-align: top;
margin-top: -1px;
&.checked {
background-position: @checkbox-offset-x @checkbox-offset-y - 16px;
}
&.indeterminate {
background-position: @checkbox-offset-x @checkbox-offset-y - 48px;
}
&.disabled {
background-position: @checkbox-offset-x - 48px @checkbox-offset-y;
&.checked {
background-position: @checkbox-offset-x - 48px @checkbox-offset-y - 16px;
}
&.indeterminate {
background-position: @checkbox-offset-x - 48px @checkbox-offset-y - 48px;
}
}
}
}