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

52 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.radiobox {
padding-left: 22px;
margin-bottom: 0;
.font-size-normal();
font-weight: normal;
position: relative;
2019-12-10 20:58:38 +00:00
min-height: 1em;
2016-03-11 00:48:53 +00:00
2019-12-10 20:58:38 +00:00
input[type=radio] {
2016-03-11 00:48:53 +00:00
2019-12-10 20:58:38 +00:00
display: none;
2019-12-10 20:58:38 +00:00
+ label {
position: absolute;
left: 0;
margin-top: auto;
padding-bottom: 4px;
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;
Merge branch 'develop' into feature/multiZoom5.5 # 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
2021-02-10 12:40:30 +00:00
border: @scaled-one-px-value solid @border-regular-control;
2019-12-10 20:58:38 +00:00
border-radius: 50%;
}
&:checked {
+ label {
&::before {
content: '';
position: absolute;
2021-02-16 07:21:22 +00:00
background: @text-normal-ie;
2020-12-19 19:43:19 +00:00
background: @text-normal;
border-radius: 50%;
width: 8px;
height: 8px;
2019-12-10 20:58:38 +00:00
left: 2px;
top: 2px;
}
}
2016-03-11 00:48:53 +00:00
}
2019-12-10 20:58:38 +00:00
&.disabled, &:disabled {
2016-03-11 00:48:53 +00:00
2019-12-10 20:58:38 +00:00
+ label {
&::before {
}
2016-03-11 00:48:53 +00:00
}
}
}
}