f62aa45b18
# Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
.checkbox-indeterminate {
|
|
padding-left: 22px;
|
|
margin-bottom: 0;
|
|
.font-size-normal();
|
|
font-weight: normal;
|
|
position: relative;
|
|
min-height: 1em;
|
|
|
|
input[type=checkbox] {
|
|
display: none;
|
|
|
|
+ label {
|
|
width: 14px;
|
|
height: 14px;
|
|
background: @background-normal;
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
|
border-radius: 2px;
|
|
position: absolute;
|
|
left: 0;
|
|
margin-top: auto;
|
|
}
|
|
|
|
&:checked:not(:indeterminate) {
|
|
+ label {
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
border: @scaled-two-px-value solid @text-normal;
|
|
border-top: 0 none;
|
|
border-left: 0 none;
|
|
transform: rotate(45deg);
|
|
width: 5px;
|
|
height: 9px;
|
|
left: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:indeterminate {
|
|
+ label {
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
border: @scaled-one-px-value solid @text-normal;
|
|
background: @icon-normal;
|
|
width: 8px;
|
|
height: 8px;
|
|
left: 2px;
|
|
top: 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.disabled,
|
|
&:disabled {
|
|
opacity: .4;
|
|
|
|
+ label {
|
|
&::before {
|
|
opacity: .4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|