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

1136 lines
28 KiB
Plaintext
Raw Normal View History

2017-07-11 08:26:42 +00:00
@x-huge-btn-height: 46px;
@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;
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-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 {
.btnsize(30px);
2016-03-11 00:48:53 +00:00
}
&.huge {
.btnsize(37px);
}
2019-12-17 12:15:19 +00:00
&.huge-1 {
.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
}
&[disabled], &.disabled {
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
}
&:hover {
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
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;
}
}
&.icon-top {
display: inline-flex;
flex-direction: column;
align-items: center;
.icon {
2017-08-09 16:58:47 +00:00
//flex-grow: 1;
}
.caption {
line-height: 18px;
2017-07-03 15:27:50 +00:00
padding: 0 4px;
}
}
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;
}
}
}
.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;
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);
}
}
}
&:not(:disabled) {
.icon {
opacity: @component-normal-icon-opacity;
}
}
&:hover:not(.disabled) {
.icon {
opacity: @component-hover-icon-opacity;
}
}
&: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;
}
}
.icon {
opacity: @component-active-icon-opacity;
}
&:hover .icon {
opacity: @component-active-hover-icon-opacity;
}
}
}
2017-06-26 12:47:54 +00:00
.btn.icon-top, .btn-group.icon-top {
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 {
@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;
display: flex;
align-items: center;
.caption {
max-width: 107px;
text-overflow: ellipsis;
overflow: hidden;
}
2017-06-26 12:47:54 +00:00
}
.icon:not(svg) {
width: @x-huge-btn-icon-size;
height: @x-huge-btn-icon-size;
2017-06-26 12:47:54 +00:00
min-width: 0;
}
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) {
//width:calc(~"40px/1.5");
//height:calc(~"40px/1.5");
}
}
button.small .icon {
width: 20px;
height: 20px;
min-width: 0;
}
&.dropdown-toggle {
.caption {
max-width: 100px;
}
}
}
.inner-box-icon {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
line-height: 20px;
}
2017-08-15 11:26:40 +00:00
.btn-fixflex-hcenter {
flex-grow: 1;
}
.btn-fixflex-vcenter {
display: flex;
align-items: center;
2017-08-15 11:26:40 +00:00
.caret {
vertical-align: inherit;
}
}
.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
}
}
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-06-26 12:47:54 +00:00
.btn.small {
.mx-button-otherstates-icon2(@button-small-active-icon-offset-x);
}
}
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;
.masked:not(.statusbar) & {
&: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) {
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
}
&: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;
}
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;
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 {
//color: #000; btn-category has no text
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 {
&.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 {
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 {
&.scale-menu {
li.disabled {
opacity: @component-disabled-opacity;
}
2019-10-21 14:43:34 +00:00
}
}
2016-03-11 00:48:53 +00:00
}
&.split {
2019-05-24 09:58:06 +00:00
&.over:not(.disabled),
&.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;
2019-04-05 14:36:15 +00:00
button:not(.active):not(.btn-text-split-default) {
background-color: transparent;
}
}
2019-05-24 09:58:06 +00:00
&.over:not(.disabled) {
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;
}
}
&: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;
}
}
}
&.open {
2017-04-03 16:20:12 +00:00
> button:not(.active) {
&: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;
}
}
.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;
}
.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;
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;
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;
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-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;
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
background: @background-normal !important;
2016-03-11 00:48:53 +00:00
.box-shadow(none) !important;
}
&[disabled],
&.disabled {
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;
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-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
}
// 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;
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
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;
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 @background-normal;
}
}
}
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;
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
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;
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;
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;
color: @text-normal-pressed;
2016-03-11 00:48:53 +00:00
}
&[disabled],
&.disabled {
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;
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;
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 {
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;
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-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 {
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;
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;
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 {
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;
background-color: @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;
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;
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;
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;
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;
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 {
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
&: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
&: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] {
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;
}
//@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;
}
}
}