web-apps/apps/common/main/resources/less/checkbox.less

41 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.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;
}
}
}
}