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

84 lines
2 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.spinner{
@spin-height: 22px;
@trigger-width: 17px;
position: relative;
input {
height: @spin-height;
text-align: right;
padding-left: 1px;
padding-right: @trigger-width + 2px;
&:focus {
// border-color: @border-preview-select;
}
2016-03-11 00:48:53 +00:00
}
button {
display: block;
position: relative;
width: @trigger-width;
2022-03-05 17:04:12 +00:00
height: (@spin-height/2) - 1;
2022-03-11 09:37:44 +00:00
height: calc(@spin-height/2 - 1px/@pixel-ratio-factor);
2016-03-11 00:48:53 +00:00
padding: 0;
margin: 0;
border: none;
background: none;
line-height: 1;
&.disabled {
cursor: default;
}
&:focus {
outline: 0;
outline-offset: 0;
}
}
.spinner-buttons {
position: absolute;
top: 0;
2021-09-24 16:58:59 +00:00
right: 1px;
2021-08-09 19:26:06 +00:00
right: @scaled-one-px-value;
2021-02-16 07:21:22 +00:00
border-top: @scaled-one-px-value-ie solid transparent;
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-top: @scaled-one-px-value solid transparent;
2021-02-16 07:21:22 +00:00
border-bottom: @scaled-one-px-value-ie solid transparent;
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-bottom: @scaled-one-px-value solid transparent;
2016-03-11 00:48:53 +00:00
i {
display: inline-block;
2020-12-22 12:45:06 +00:00
width: 4px;
height: 4px;
2021-02-16 07:21:22 +00:00
border: solid @scaled-one-px-value-ie @icon-normal-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: solid @scaled-one-px-value @icon-normal;
2020-12-22 12:45:06 +00:00
border-bottom: none;
border-right: none;
2016-03-11 00:48:53 +00:00
}
button {
&.disabled {
opacity: @component-disabled-opacity;
2016-03-11 00:48:53 +00:00
}
2021-04-14 13:47:11 +00:00
&:hover:not(:disabled):not(.disabled) {
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover;
}
2016-03-11 00:48:53 +00:00
}
}
.spinner-up {
i {
transform: rotate(45deg) translate(-1px,-1px);
2016-03-11 00:48:53 +00:00
}
}
.spinner-down {
i {
transform: rotate(-135deg) translate(2px,2px);
2016-03-11 00:48:53 +00:00
}
}
2021-04-14 13:47:11 +00:00
}