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;
|
2019-12-06 08:52:59 +00:00
|
|
|
|
|
|
|
&:focus {
|
2021-01-18 20:27:47 +00:00
|
|
|
// border-color: @border-preview-select;
|
2019-12-06 08:52:59 +00:00
|
|
|
}
|
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;
|
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;
|
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;
|
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 {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2021-01-18 20:27:47 +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;
|
2021-01-18 20:27:47 +00:00
|
|
|
background-color: @highlight-button-hover;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-up {
|
|
|
|
i {
|
2021-01-18 20:27:47 +00:00
|
|
|
transform: rotate(45deg) translate(-1px,-1px);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-down {
|
|
|
|
i {
|
2021-01-18 20:27:47 +00:00
|
|
|
transform: rotate(-135deg) translate(2px,2px);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
2021-04-14 13:47:11 +00:00
|
|
|
}
|