2017-07-11 08:26:42 +00:00
|
|
|
@x-huge-btn-height: 46px;
|
2019-10-16 08:30:33 +00:00
|
|
|
@x-huge-btn-icon-size: 28px;
|
2017-07-11 08:26:42 +00:00
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.btn {
|
|
|
|
border-radius: 1px;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
color: @text-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border-width: @scaled-one-px-value-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border-width: @scaled-one-px-value;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
.btnsize(@value) {
|
|
|
|
min-width: @value;
|
|
|
|
height: @value;
|
|
|
|
line-height: @value - 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
.btnsize(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.normal {
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.large {
|
2021-01-26 20:52:43 +00:00
|
|
|
.btnsize(30px);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.huge {
|
|
|
|
.btnsize(37px);
|
|
|
|
}
|
|
|
|
|
2019-12-17 12:15:19 +00:00
|
|
|
&.huge-1 {
|
2021-01-26 20:52:43 +00:00
|
|
|
.btnsize(40px);
|
2019-12-17 12:15:19 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&.x-huge {
|
2017-07-11 08:26:42 +00:00
|
|
|
.btnsize(@x-huge-btn-height);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2021-03-22 17:04:39 +00:00
|
|
|
&[disabled], &.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
outline-offset: 0;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-26 14:44:36 +00:00
|
|
|
color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2020-12-18 20:11:18 +00:00
|
|
|
&:hover {
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-18 20:11:18 +00:00
|
|
|
color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active, &.active {
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
2020-12-22 12:45:06 +00:00
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: solid 1px @icon-normal-ie;
|
2020-12-22 12:45:06 +00:00
|
|
|
border: solid 1px @icon-normal;
|
|
|
|
border-bottom: none;
|
|
|
|
border-right: none;
|
|
|
|
background-image: none;
|
|
|
|
|
|
|
|
transition: transform 0.2s ease;
|
|
|
|
transform: rotate(-135deg) translate(1px,1px);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//&:active,
|
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled){
|
|
|
|
.caret {
|
2020-12-22 12:45:06 +00:00
|
|
|
transform: rotate(45deg);
|
2021-04-17 13:10:35 +00:00
|
|
|
border-color: @icon-normal-pressed-ie;
|
|
|
|
border-color: @icon-normal-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-03 10:41:44 +00:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
2017-03-09 08:58:19 +00:00
|
|
|
|
|
|
|
&.icon-top {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.icon {
|
2017-08-09 16:58:47 +00:00
|
|
|
//flex-grow: 1;
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.caption {
|
|
|
|
line-height: 18px;
|
2017-07-03 15:27:50 +00:00
|
|
|
padding: 0 4px;
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-20 09:42:39 +00:00
|
|
|
|
|
|
|
&.notify {
|
|
|
|
.icon {
|
|
|
|
&::after {
|
|
|
|
content: ' ';
|
|
|
|
position: absolute;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: 1px solid @icon-notification-badge-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
border: 1px solid @icon-notification-badge;
|
2019-11-20 09:42:39 +00:00
|
|
|
border-left: 0 none;
|
|
|
|
border-right: 0 none;
|
|
|
|
width: 6px;
|
|
|
|
height: 3px;
|
|
|
|
bottom: 4px;
|
|
|
|
right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: ' ';
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
height: 7px;
|
|
|
|
bottom: 2px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-notification-badge-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @background-notification-badge;
|
2019-11-20 09:42:39 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-02 14:36:01 +00:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
&.caret-up, &.caret-down {
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 6px;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background-color: transparent;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: solid 1px @text-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
border: solid 1px @text-normal;
|
2019-12-02 14:36:01 +00:00
|
|
|
border-bottom: none;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.caret-up {
|
|
|
|
&::after {
|
|
|
|
top: 8px;
|
|
|
|
-moz-transform: rotate(45deg);
|
|
|
|
-ms-transform: rotate(45deg);
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-o-transform: rotate(45deg);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.caret-down {
|
|
|
|
&::after {
|
|
|
|
top: 4px;
|
|
|
|
-moz-transform: rotate(225deg);
|
|
|
|
-ms-transform: rotate(225deg);
|
|
|
|
-webkit-transform: rotate(225deg);
|
|
|
|
-o-transform: rotate(225deg);
|
|
|
|
transform: rotate(225deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-05 21:52:06 +00:00
|
|
|
&:not(:disabled) {
|
|
|
|
.icon {
|
2021-03-19 11:31:05 +00:00
|
|
|
opacity: @component-normal-icon-opacity;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.disabled) {
|
|
|
|
.icon {
|
|
|
|
opacity: @component-hover-icon-opacity;
|
2021-03-05 21:52:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-02 14:36:01 +00:00
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
|
|
|
.caret-up, .caret-down {
|
|
|
|
&::after {
|
2021-04-14 23:03:33 +00:00
|
|
|
border-color: @text-normal-pressed-ie;
|
|
|
|
border-color: @text-normal-pressed;
|
2019-12-02 14:36:01 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-19 11:31:05 +00:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
opacity: @component-active-icon-opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .icon {
|
|
|
|
opacity: @component-active-hover-icon-opacity;
|
|
|
|
}
|
2019-12-02 14:36:01 +00:00
|
|
|
}
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
|
|
|
|
2017-06-26 12:47:54 +00:00
|
|
|
.btn.icon-top, .btn-group.icon-top {
|
2017-03-09 08:58:19 +00:00
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.open,
|
|
|
|
&.over {
|
|
|
|
&.split {
|
|
|
|
> .inner-box-icon {
|
|
|
|
.box-shadow(none);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-11 08:26:42 +00:00
|
|
|
&.x-huge {
|
2019-10-16 08:30:33 +00:00
|
|
|
@icon-size: 28px;
|
2017-06-26 12:47:54 +00:00
|
|
|
|
2020-12-22 11:45:08 +00:00
|
|
|
min-width: 35px;
|
2017-07-11 08:26:42 +00:00
|
|
|
height: @x-huge-btn-height;
|
2017-03-13 16:14:26 +00:00
|
|
|
|
|
|
|
img {
|
2021-03-30 08:49:11 +00:00
|
|
|
width: @x-huge-btn-icon-size;
|
|
|
|
height: @x-huge-btn-icon-size;
|
2017-03-13 16:14:26 +00:00
|
|
|
}
|
2017-06-26 12:47:54 +00:00
|
|
|
|
|
|
|
.inner-box-caption {
|
|
|
|
line-height: 18px;
|
2021-04-27 19:27:47 +00:00
|
|
|
padding: 0 2px;
|
2017-07-21 10:48:02 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.caption {
|
|
|
|
max-width: 107px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-06-26 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2019-10-15 13:11:19 +00:00
|
|
|
.icon:not(svg) {
|
2019-10-16 08:30:33 +00:00
|
|
|
width: @x-huge-btn-icon-size;
|
|
|
|
height: @x-huge-btn-icon-size;
|
2017-06-26 12:47:54 +00:00
|
|
|
min-width: 0;
|
|
|
|
}
|
2017-07-21 10:48:02 +00:00
|
|
|
|
2019-10-15 13:11:19 +00:00
|
|
|
svg.icon {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
|
|
|
|
@media
|
|
|
|
only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
|
|
|
only screen and (min-resolution: 1.5dppx),
|
|
|
|
only screen and (min-resolution: 144dpi) {
|
2020-12-25 21:49:09 +00:00
|
|
|
//width:calc(~"40px/1.5");
|
|
|
|
//height:calc(~"40px/1.5");
|
2019-10-15 13:11:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-15 13:15:21 +00:00
|
|
|
button.small .icon {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
2017-07-21 10:48:02 +00:00
|
|
|
&.dropdown-toggle {
|
|
|
|
.caption {
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.inner-box-icon {
|
|
|
|
flex-grow: 1;
|
2017-03-23 13:00:24 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
line-height: 20px;
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
|
|
|
|
2017-08-15 11:26:40 +00:00
|
|
|
.btn-fixflex-hcenter {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-fixflex-vcenter {
|
2017-08-31 08:20:47 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2017-08-15 11:26:40 +00:00
|
|
|
.caret {
|
|
|
|
vertical-align: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-09 08:58:19 +00:00
|
|
|
.inner-box-caption {
|
|
|
|
margin: 0;
|
|
|
|
height: 18px;
|
|
|
|
}
|
2017-08-09 16:58:47 +00:00
|
|
|
|
|
|
|
div.inner-box-icon {
|
2017-08-15 11:26:40 +00:00
|
|
|
height: 28px; // TODO: clear. Firefox bug 984869. fixed. isn't released.
|
2017-08-09 16:58:47 +00:00
|
|
|
}
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
|
|
|
|
2021-04-27 19:27:47 +00:00
|
|
|
.icon-top.btn-group {
|
|
|
|
&.x-huge, .x-huge {
|
|
|
|
.inner-box-caption {
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-26 12:47:54 +00:00
|
|
|
.icon-top {
|
|
|
|
&.x-huge {
|
|
|
|
.btn&, .btn-group& .btn-toolbar {
|
2021-02-17 10:41:33 +00:00
|
|
|
.mx-button-otherstates-icon2(@button-xhuge-active-icon-offset-x);
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
2017-06-26 12:47:54 +00:00
|
|
|
|
2017-08-15 13:15:21 +00:00
|
|
|
.btn.small {
|
2020-12-25 21:49:09 +00:00
|
|
|
.mx-button-otherstates-icon2(@button-small-active-icon-offset-x);
|
2017-08-15 13:15:21 +00:00
|
|
|
}
|
2017-03-09 08:58:19 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toolbar {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
.border-radius(1px);
|
|
|
|
background-color: transparent;
|
|
|
|
|
2021-05-17 14:52:29 +00:00
|
|
|
.masked:not(.statusbar) & {
|
2021-03-05 21:52:06 +00:00
|
|
|
&:disabled {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.btn.small;
|
|
|
|
|
2019-08-02 10:56:21 +00:00
|
|
|
&.bg-white {
|
2021-04-14 23:03:33 +00:00
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @background-normal;
|
2021-04-14 23:03:33 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
|
|
|
.border-radius(@border-radius-small);
|
2021-04-14 23:19:18 +00:00
|
|
|
|
|
|
|
&:focus:not(.disabled) {
|
|
|
|
border-color: @border-control-focus-ie;
|
|
|
|
border-color: @border-control-focus;
|
|
|
|
}
|
2019-08-02 10:56:21 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
.over:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
2021-04-21 14:09:22 +00:00
|
|
|
color: @text-normal-pressed-ie;
|
|
|
|
color: @text-normal-pressed;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2017-03-09 08:58:19 +00:00
|
|
|
&:not(.icon-top)
|
2017-03-06 09:02:32 +00:00
|
|
|
.caption:not(:empty) {
|
2020-07-22 13:03:12 +00:00
|
|
|
padding: 0 4px;
|
2017-03-06 09:02:32 +00:00
|
|
|
}
|
|
|
|
|
2017-03-09 08:41:47 +00:00
|
|
|
.icon {
|
2016-03-11 00:48:53 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-03-06 09:02:32 +00:00
|
|
|
display: inline-block;
|
2016-03-11 00:48:53 +00:00
|
|
|
background-repeat: no-repeat;
|
2017-07-03 15:27:50 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2017-07-03 15:27:50 +00:00
|
|
|
&:not(.x-huge) {
|
|
|
|
.icon {
|
2017-06-26 12:47:54 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
|
|
}
|
2019-10-15 13:11:19 +00:00
|
|
|
|
|
|
|
svg.icon {
|
|
|
|
@media
|
|
|
|
only screen and (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
|
|
|
|
only screen and (min-resolution: 1.5dppx) and (max-resolution: 1.9dppx),
|
|
|
|
only screen and (min-resolution: 144dpi) and (max-resolution: 143dpi) {
|
|
|
|
width:calc(~"28px/1.5");
|
|
|
|
height:calc(~"28px/1.5");
|
|
|
|
}
|
|
|
|
}
|
2017-06-26 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&.dropdown-toggle {
|
|
|
|
min-width: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Large size
|
|
|
|
// ------------------------
|
|
|
|
&.large {
|
2017-03-09 08:41:47 +00:00
|
|
|
.icon {
|
2016-03-11 00:48:53 +00:00
|
|
|
width: 30px !important;
|
|
|
|
height: 30px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Button has color line
|
|
|
|
// ------------------------
|
|
|
|
.btn-color-value-line {
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 3px;
|
2019-11-29 12:33:16 +00:00
|
|
|
bottom: 1px;
|
2016-03-11 00:48:53 +00:00
|
|
|
width: 14px;
|
|
|
|
height: 3px;
|
|
|
|
background-color: red;
|
2021-01-21 19:48:27 +00:00
|
|
|
&.bordered {
|
2021-05-04 19:09:17 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2021-01-21 19:48:27 +00:00
|
|
|
}
|
|
|
|
|
2021-01-21 21:18:15 +00:00
|
|
|
|
|
|
|
.pixel-ratio__1_5 & {
|
|
|
|
height: 4px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-category {
|
|
|
|
.btn.large;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
.border-radius(0);
|
|
|
|
background-color: transparent;
|
|
|
|
font-weight: bold;
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
.over:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2016-04-21 10:15:15 +00:00
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-pressed-ie;
|
2020-12-30 10:37:44 +00:00
|
|
|
color: @text-normal-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2017-03-09 08:41:47 +00:00
|
|
|
.icon {
|
2016-03-11 00:48:53 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2020-11-18 19:04:07 +00:00
|
|
|
//color: #000; btn-category has no text
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// The clickable button for toggling the menu
|
|
|
|
// Remove the gradient and set the same inset shadow as the :active state
|
|
|
|
.btn-group {
|
|
|
|
> .btn-toolbar {
|
|
|
|
float: none;
|
2017-07-03 15:27:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> .btn {
|
|
|
|
+ .dropdown-toggle {
|
2021-03-23 19:24:55 +00:00
|
|
|
padding: 0 4px 0 3px;
|
2017-07-03 15:27:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .dropdown-toggle:first-child {
|
2017-07-11 08:26:42 +00:00
|
|
|
.inner-box-caret {
|
2021-03-23 19:24:55 +00:00
|
|
|
padding: 0 4px 0 3px;
|
2017-07-03 15:27:50 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2017-07-03 15:27:50 +00:00
|
|
|
.caption {
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
+ .caret {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
> .btn-toolbar {
|
2020-12-19 19:43:19 +00:00
|
|
|
//color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
|
|
&.btn-link {
|
|
|
|
.box-shadow(none);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
.box-shadow(none);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.over {
|
|
|
|
> button {
|
2020-12-19 19:43:19 +00:00
|
|
|
//background-color: @highlight-button-hover;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.split) {
|
|
|
|
.btn-toolbar {
|
2017-07-21 10:48:02 +00:00
|
|
|
&.dropdown-toggle:not(.x-huge) {
|
2016-03-11 00:48:53 +00:00
|
|
|
width: 100%;
|
|
|
|
min-width: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-text-value {
|
|
|
|
.caret {
|
|
|
|
margin: 6px 3px 6px 0;
|
|
|
|
}
|
|
|
|
.caption {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.large {
|
|
|
|
&.dropdown-toggle {
|
|
|
|
min-width: 40px;
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-21 14:43:34 +00:00
|
|
|
.dropdown-menu {
|
2019-11-21 10:43:23 +00:00
|
|
|
&.scale-menu {
|
|
|
|
li.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2019-11-21 10:43:23 +00:00
|
|
|
}
|
2019-10-21 14:43:34 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2017-03-23 13:00:24 +00:00
|
|
|
|
|
|
|
&.split {
|
|
|
|
|
2019-05-24 09:58:06 +00:00
|
|
|
&.over:not(.disabled),
|
2017-03-23 13:00:24 +00:00
|
|
|
&.open {
|
2021-05-04 19:09:17 +00:00
|
|
|
box-shadow: inset 0 0 0 @scaled-one-px-value-ie @highlight-button-hover-ie;
|
|
|
|
box-shadow: inset 0 0 0 @scaled-one-px-value @highlight-button-hover;
|
2017-03-23 13:00:24 +00:00
|
|
|
|
2019-04-05 14:36:15 +00:00
|
|
|
button:not(.active):not(.btn-text-split-default) {
|
2017-03-23 13:00:24 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-24 09:58:06 +00:00
|
|
|
&.over:not(.disabled) {
|
2017-03-23 13:00:24 +00:00
|
|
|
button {
|
|
|
|
&:not(.active) {
|
|
|
|
&:hover {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover;
|
2017-03-23 13:00:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:active:hover {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2017-03-23 13:00:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
2017-04-03 16:20:12 +00:00
|
|
|
> button:not(.active) {
|
2017-03-23 13:00:24 +00:00
|
|
|
&:last-of-type {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2017-03-23 13:00:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
background-position: @arrow-small-offset-x - 7px @arrow-small-offset-y;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-09 11:37:27 +00:00
|
|
|
button.active:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2017-03-23 13:00:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn + .btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-color {
|
2020-04-29 19:15:22 +00:00
|
|
|
width: 45px;
|
2020-04-28 15:10:49 +00:00
|
|
|
height: 22px;
|
2021-02-16 07:21:22 +00:00
|
|
|
padding: @scaled-one-px-value-ie 11px @scaled-one-px-value-ie @scaled-one-px-value-ie;
|
2021-01-21 21:18:15 +00:00
|
|
|
padding: @scaled-one-px-value 11px @scaled-one-px-value @scaled-one-px-value;
|
2021-02-16 07:21:22 +00:00
|
|
|
border:@scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border:@scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
2020-04-28 15:10:49 +00:00
|
|
|
span:nth-child(1) {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-color-shading-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-color-shading;
|
2016-03-11 00:48:53 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2020-04-28 15:10:49 +00:00
|
|
|
.inner-box-caret {
|
|
|
|
position: absolute;
|
2021-03-28 17:55:59 +00:00
|
|
|
right: 0;
|
2020-04-28 15:10:49 +00:00
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
.over,
|
|
|
|
&:active,
|
|
|
|
&.active {
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-normal-ie !important;
|
2021-02-10 12:40:30 +00:00
|
|
|
background: @background-normal !important;
|
2016-03-11 00:48:53 +00:00
|
|
|
.box-shadow(none) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.color-transparent {
|
2019-12-06 15:17:41 +00:00
|
|
|
&:before {
|
2021-02-16 07:21:22 +00:00
|
|
|
border-right: @scaled-one-px-value-ie solid red;
|
2021-02-10 12:40:30 +00:00
|
|
|
border-right: @scaled-one-px-value solid red;
|
2020-04-28 15:10:49 +00:00
|
|
|
height: 34px;
|
|
|
|
transform: translate(16px, -9px) rotate(62deg);
|
2019-12-11 16:03:06 +00:00
|
|
|
left: 0;
|
2019-12-06 15:17:41 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2020-04-28 15:10:49 +00:00
|
|
|
|
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
|
|
|
.caret {
|
2021-07-19 15:09:34 +00:00
|
|
|
border-color: @icon-normal;
|
2020-04-28 15:10:49 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2021-01-20 09:26:20 +00:00
|
|
|
// for color button auto color
|
|
|
|
.dropdown-menu {
|
|
|
|
li > a.selected,
|
|
|
|
li > a:hover {
|
|
|
|
span.color-auto {
|
2021-02-16 07:21:22 +00:00
|
|
|
outline: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
outline: @scaled-one-px-value solid @border-regular-control;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @background-normal-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @background-normal;
|
2021-01-20 09:26:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.btn-options {
|
|
|
|
padding: 0;
|
|
|
|
margin:0;
|
|
|
|
border: 0 none;
|
2020-12-11 18:26:40 +00:00
|
|
|
//.box-shadow(none);
|
2016-03-11 00:48:53 +00:00
|
|
|
background-color: transparent;
|
|
|
|
|
2019-12-17 12:15:19 +00:00
|
|
|
&.bg-white {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @background-normal;
|
2019-12-17 12:15:19 +00:00
|
|
|
}
|
|
|
|
|
2017-03-09 08:41:47 +00:00
|
|
|
.icon {
|
2016-03-11 00:48:53 +00:00
|
|
|
position: relative;
|
|
|
|
min-width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
2021-02-16 07:21:22 +00:00
|
|
|
box-shadow: inset 0 0 0 @scaled-one-px-value-ie @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
box-shadow: inset 0 0 0 @scaled-one-px-value @border-regular-control;
|
2019-12-02 16:26:04 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&:hover,
|
2019-12-02 16:26:04 +00:00
|
|
|
&.over {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover;
|
2019-12-02 16:26:04 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&:active,
|
|
|
|
&.active {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2021-05-05 14:30:40 +00:00
|
|
|
|
|
|
|
&.large {
|
|
|
|
min-width: 28px;
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-text-default {
|
|
|
|
width: 75px;
|
|
|
|
height: 22px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
2018-02-27 11:55:58 +00:00
|
|
|
&.auto {
|
|
|
|
width: auto;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
2021-04-14 22:02:11 +00:00
|
|
|
&:focus:not(.disabled) {
|
|
|
|
border-color: @border-control-focus-ie;
|
|
|
|
border-color: @border-control-focus;
|
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
.over:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover !important;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed !important;
|
2021-02-16 07:21:22 +00:00
|
|
|
border-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
border-color: @highlight-button-pressed;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-pressed-ie;
|
2020-12-30 10:37:44 +00:00
|
|
|
color: @text-normal-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-text-menu-default {
|
|
|
|
width: 100%;
|
|
|
|
height: 22px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
position: absolute;
|
2021-03-28 17:55:59 +00:00
|
|
|
right: 5px;
|
2016-03-11 00:48:53 +00:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
.over:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover !important;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed !important;
|
2021-03-15 14:59:29 +00:00
|
|
|
color: @text-normal-pressed-ie;
|
|
|
|
color: @text-normal-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-05 14:36:15 +00:00
|
|
|
.btn-text-split-default {
|
|
|
|
width: 75px;
|
|
|
|
height: 22px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2019-04-05 14:36:15 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
|
|
|
&.dropdown-toggle {
|
|
|
|
width: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.dropdown-toggle) {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.disabled),
|
|
|
|
.over:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover !important;
|
2019-04-05 14:36:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed !important;
|
2021-02-16 07:21:22 +00:00
|
|
|
border-color: @highlight-button-pressed-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
border-color: @highlight-button-pressed;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-pressed-ie;
|
2021-02-06 21:31:35 +00:00
|
|
|
color: @text-normal-pressed;
|
2019-04-05 14:36:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2019-04-05 14:36:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.btn-icon-default {
|
|
|
|
width: 45px;
|
|
|
|
height: 22px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
2017-03-09 08:41:47 +00:00
|
|
|
.icon {
|
2016-03-11 00:48:53 +00:00
|
|
|
width: 28px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
2017-08-15 11:11:12 +00:00
|
|
|
&.dropdown-toggle:first-child .inner-box-caret {
|
2021-03-28 17:55:59 +00:00
|
|
|
padding: 0 1px 0 2px;
|
2017-08-15 11:11:12 +00:00
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
.over:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover !important;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2016-11-03 10:41:44 +00:00
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-pressed-ie !important;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed !important;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-large-dataview {
|
|
|
|
display: inline-block;
|
|
|
|
width: 72px;
|
|
|
|
height: 58px;
|
|
|
|
padding: 2px;
|
|
|
|
margin:0;
|
|
|
|
box-shadow: none;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background-color: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
.border-radius(@border-radius-small);
|
|
|
|
|
2019-12-13 12:20:13 +00:00
|
|
|
&.template-table {
|
2019-12-16 10:55:13 +00:00
|
|
|
width: 92px;
|
|
|
|
}
|
2019-12-13 12:20:13 +00:00
|
|
|
|
2020-05-27 15:34:15 +00:00
|
|
|
.icon-template-slicer.icon {
|
|
|
|
min-width: 36px;
|
|
|
|
height: 55px;
|
|
|
|
line-height: 53px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2017-03-09 08:41:47 +00:00
|
|
|
.icon {
|
2016-03-11 00:48:53 +00:00
|
|
|
display: inline-block;
|
|
|
|
.btn.btnsize(52px);
|
|
|
|
padding: 0;
|
|
|
|
margin-right: 3px;
|
|
|
|
background-color: transparent;
|
|
|
|
background-repeat: no-repeat;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-05-11 12:00:34 +00:00
|
|
|
&.sheet-template-table {
|
|
|
|
width: 83px;
|
|
|
|
height: 54px;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
border: none;
|
|
|
|
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-ie);
|
|
|
|
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-06 14:17:03 +00:00
|
|
|
svg.icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 52px;
|
|
|
|
padding: 5px;
|
2021-03-05 21:52:06 +00:00
|
|
|
|
|
|
|
fill: @icon-normal;
|
|
|
|
|
|
|
|
.btn& {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-05-06 14:17:03 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&:hover,
|
|
|
|
.over,
|
|
|
|
&:active,
|
|
|
|
&.active {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie !important;
|
2020-12-17 11:22:09 +00:00
|
|
|
background-color: @background-normal !important;
|
2021-04-26 21:04:44 +00:00
|
|
|
|
|
|
|
&:not(:disabled) {
|
|
|
|
svg.icon {
|
|
|
|
opacity: inherit;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active:not(.disabled),
|
|
|
|
&.active:not(.disabled) {
|
|
|
|
.caret {
|
|
|
|
background-position: @arrow-small-offset-x @arrow-small-offset-y;
|
2021-07-19 15:09:34 +00:00
|
|
|
border-color: @icon-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2021-05-19 21:41:11 +00:00
|
|
|
|
|
|
|
&:not(:disabled) {
|
|
|
|
.icon {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.icon {
|
|
|
|
.icon();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2021-05-04 15:34:52 +00:00
|
|
|
.cnt-lang {
|
|
|
|
color: @text-normal-ie;
|
|
|
|
color: @text-normal;
|
|
|
|
height: 20px;
|
|
|
|
line-height: 18px;
|
|
|
|
border: 0;
|
|
|
|
.border-radius(1px);
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
margin: 0 6px 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.disabled) {
|
|
|
|
background-color: @highlight-button-hover-ie;
|
|
|
|
background-color: @highlight-button-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled], &.disabled {
|
|
|
|
opacity: @component-disabled-opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
border: solid 1px @icon-normal-ie;
|
|
|
|
border: solid 1px @icon-normal;
|
|
|
|
border-bottom: none;
|
|
|
|
border-right: none;
|
|
|
|
background-image: none;
|
|
|
|
|
|
|
|
transition: transform 0.2s ease;
|
|
|
|
transform: rotate(-135deg) translate(1px,1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open:not(.disabled){
|
|
|
|
&, .status-label {
|
|
|
|
color: @text-normal-pressed-ie;
|
|
|
|
color: @text-normal-pressed;
|
|
|
|
}
|
|
|
|
|
|
|
|
background-color: @highlight-button-pressed-ie;
|
|
|
|
background-color: @highlight-button-pressed;
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
border-color: @icon-normal-pressed-ie;
|
|
|
|
border-color: @icon-normal-pressed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
// Dialog buttons
|
|
|
|
// ------------------------
|
|
|
|
|
|
|
|
.dlg-btn {
|
|
|
|
font-weight: bold;
|
|
|
|
width: 86px;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
color: @text-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @background-normal;
|
2021-05-04 19:09:17 +00:00
|
|
|
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
|
|
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2016-12-05 14:08:58 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
&.hover:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-button-hover-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-hover;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.primary {
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-inverse-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
color: @text-inverse;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-primary-dialog-button-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @background-primary-dialog-button;
|
2020-12-26 14:44:36 +00:00
|
|
|
border: 0 none;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2016-12-05 14:08:58 +00:00
|
|
|
&:hover:not(.disabled),
|
|
|
|
&.hover:not(.disabled) {
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @highlight-primary-dialog-button-hover-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-primary-dialog-button-hover;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled] {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.custom {
|
|
|
|
width: auto;
|
|
|
|
min-width: 86px;
|
|
|
|
}
|
|
|
|
}
|
2018-02-01 14:15:56 +00:00
|
|
|
|
|
|
|
@class100: zoom-int;
|
|
|
|
@class150: zoom-grit;
|
|
|
|
svg.icon {
|
|
|
|
.@{class150} {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-26 20:52:43 +00:00
|
|
|
//@media
|
|
|
|
//only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
|
|
|
//only screen and (-webkit-min-device-pixel-ratio: 2.5),
|
|
|
|
//only screen and (min-resolution: 1.5dppx),
|
|
|
|
//only screen and (min-resolution: 2.5dppx),
|
|
|
|
//only screen and (min-resolution: 144dpi),
|
|
|
|
//only screen and (min-resolution: 240dpi) {
|
|
|
|
// .@{class100} {
|
|
|
|
// display: none;
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// .@{class150} {
|
|
|
|
// display: block;
|
|
|
|
// }
|
|
|
|
//}
|
2018-02-01 14:15:56 +00:00
|
|
|
|
|
|
|
@media
|
|
|
|
only screen and (-webkit-min-device-pixel-ratio: 2) and (-webkit-max-device-pixel-ratio: 2.4),
|
|
|
|
only screen and (-webkit-min-device-pixel-ratio: 4),
|
|
|
|
only screen and (min-resolution: 2dppx) and (max-resolution: 2.4dppx),
|
|
|
|
only screen and (min-resolution: 4dppx),
|
|
|
|
only screen and (min-resolution: 192dpi) and (max-resolution: 239dpi),
|
|
|
|
only screen and (min-resolution: 384dpi) {
|
|
|
|
.@{class100} {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{class150} {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|