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

721 lines
16 KiB
Plaintext
Raw Normal View History

@height-title: 28px;
2017-06-08 15:14:36 +00:00
@height-tabs: 32px;
@height-controls: 67px;
@img-equition-filter: var(--image-border-types-filter);
.toolbar {
position: relative;
&:not(.folded) {
height: @height-tabs + @height-controls;
}
&.folded {
2017-06-16 09:19:44 +00:00
height: @height-tabs;
transition: height .2s;
overflow: hidden;
2017-06-16 09:19:44 +00:00
&.expanded {
height: @height-tabs + @height-controls;
overflow: visible;
}
2017-06-16 09:19:44 +00:00
&:not(.expanded):not(.cover){
2018-02-06 21:55:24 +00:00
.ribtab.active {
> a {
font-weight: normal;
}
2017-06-16 09:19:44 +00:00
}
}
}
.box-tabs {
2017-06-16 09:19:44 +00:00
height: @height-tabs;
2017-06-26 12:50:30 +00:00
font-size: 12px;
2017-06-16 09:19:44 +00:00
display: flex;
align-items: stretch;
2017-06-16 09:19:44 +00:00
.extra {
2021-02-16 07:21:22 +00:00
background-color: @header-background-color-ie;
background-color: @header-background-color;
2017-06-16 09:19:44 +00:00
}
2017-06-08 15:14:36 +00:00
//&::after {
// content: '';
// position: absolute;
// width: 100%;
// border-top: 1px solid @gray-dark;
// top: @height-tabs - 1;
// left: 0;
// z-index: 1;
//}
2017-06-16 09:19:44 +00:00
}
.tabs {
//flex-grow: 1;
2021-02-16 07:21:22 +00:00
background-color: @header-background-color-ie;
background-color: @header-background-color;
2017-06-08 15:14:36 +00:00
position: relative;
overflow: hidden;
display: flex;
2018-02-06 21:55:24 +00:00
> ul {
padding: 4px 0 0;
margin: 0;
white-space: nowrap;
overflow: hidden;
list-style: none;
font-size: 0;
2017-06-08 15:14:36 +00:00
}
2018-02-06 21:55:24 +00:00
li {
display: inline-flex;
align-items: center;
height: 100%;
&:hover {
2021-02-16 07:21:22 +00:00
background-color: @highlight-header-button-hover-ie;
2020-12-26 14:44:36 +00:00
background-color: @highlight-header-button-hover;
2017-06-14 09:58:04 +00:00
}
2018-02-06 21:55:24 +00:00
&.active {
2021-02-16 07:21:22 +00:00
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
2017-06-08 15:14:36 +00:00
}
2018-02-06 21:55:24 +00:00
> a {
display: inline-block;
padding: 0 12px;
text-decoration: none;
cursor: default;
font-size: 12px;
text-align: center;
2021-02-16 07:21:22 +00:00
color: @text-toolbar-header-ie;
2020-12-19 19:43:19 +00:00
color: @text-toolbar-header;
2018-02-06 21:55:24 +00:00
}
2017-06-08 15:14:36 +00:00
2018-02-06 21:55:24 +00:00
&.active {
> a {
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
color: @text-normal;
2018-02-06 21:55:24 +00:00
}
}
}
2018-02-06 21:55:24 +00:00
&:not(.short) {
.scroll {
display: none;
}
}
2018-02-06 21:55:24 +00:00
.scroll {
line-height: @height-tabs;
min-width: 20px;
z-index: 1;
cursor: pointer;
position: relative;
display: flex;
align-items: center;
2018-02-06 21:55:24 +00:00
&:hover {
text-decoration: none;
}
&:not(:hover) {
&:after {
opacity: .8;
}
}
2018-02-06 21:55:24 +00:00
&.left{
2021-02-16 07:21:22 +00:00
box-shadow: 5px 0 20px 5px @header-background-color-ie;
box-shadow: 5px 0 20px 5px @header-background-color;
&:after {
transform: rotate(135deg);
margin-left: 8px;
}
2018-02-06 21:55:24 +00:00
}
&.right{
2021-02-16 07:21:22 +00:00
box-shadow: -5px 0 20px 5px @header-background-color-ie;
box-shadow: -5px 0 20px 5px @header-background-color;
&:after {
transform: rotate(-45deg);
margin-left: 4px;
}
}
@arrow-length: 8px;
&:after {
content: ' ';
width: @arrow-length;
height: @arrow-length;
border: solid white;
border-width: 0 2px 2px 0;
2018-02-06 21:55:24 +00:00
}
}
}
.box-controls {
//height: @height-controls; // button has strange offset in IE when odd height
2017-06-16 09:19:44 +00:00
padding: 10px 0;
display: flex;
2017-06-16 09:19:44 +00:00
//background-color: #F2CBBF;
2017-06-16 09:19:44 +00:00
.panel {
display: table;
height: 100%;
}
//width: 100%;
}
.box-panels {
2017-06-30 14:47:07 +00:00
flex-grow: 1;
-ms-flex: 1;
2017-06-30 14:47:07 +00:00
.panel:not(.active) {
display: none;
}
/* ##adopt-panel-width */
.panel:not(#plugns-panel) .compactwidth {
.btn-group, .btn-toolbar {
&.x-huge {
.caption {
display: none;
}
.inner-box-caption {
justify-content: center;
}
}
}
}
/**/
}
2021-02-16 07:21:22 +00:00
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
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
@minus-px: calc(-1 * @scaled-one-px-value);
2021-02-16 07:21:22 +00:00
.box-inner-shadow(0 -1px @border-toolbar-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-inner-shadow(0 @minus-px @border-toolbar);
.group {
2017-08-31 08:15:03 +00:00
position: relative;
display: table-cell;
2017-06-15 13:18:40 +00:00
vertical-align: middle;
white-space: nowrap;
2020-12-22 11:45:08 +00:00
padding-left: 6px;
2017-07-11 08:26:42 +00:00
font-size: 0;
&:last-child {
2020-12-22 11:45:08 +00:00
padding-right: 6px;
}
2021-04-27 18:21:11 +00:00
&.small {
padding-left: 10px;
+ .separator {
margin-left: 10px;
}
}
2021-07-04 12:40:17 +00:00
&.no-group-mask {
.elset {
position: relative;
}
}
}
.elset {
2017-06-16 09:19:44 +00:00
height: 20px;
font-size: 0;
2017-06-16 09:19:44 +00:00
&:not(:first-child) {
margin-top: 6px;
}
}
.separator {
2020-12-22 11:45:08 +00:00
margin-left: 6px;
2017-04-21 13:36:06 +00:00
&.close {
margin-left: 5px;
}
&.long {
height: 46px;
}
&.short {
height: 20px;
}
}
.btn-slot {
display: inline-block;
width: 20px;
2017-06-30 14:53:29 +00:00
height: auto;
&.split {
2017-07-03 15:27:50 +00:00
width: 31px;
}
2020-12-22 12:11:46 +00:00
&.split-small {
width: 26px;
}
&.text {
width: auto;
}
&.border {
2021-02-16 07:21:22 +00:00
border: 1px solid @border-regular-control-ie;
2020-12-19 19:43:19 +00:00
border: 1px solid @border-regular-control;
.border-radius(1px);
width: 22px;
height: 22px;
}
2017-06-30 14:49:58 +00:00
.checkbox-indeterminate {
margin-top: 3px;
}
}
2018-02-06 21:55:24 +00:00
.toolbar-mask {
position: absolute;
top: 32px;
left: 48px;
right: 0;
bottom: 0;
opacity: 0;
2021-02-16 07:21:22 +00:00
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
/* z-index: @zindex-tooltip + 1; */
}
&.toolbar-view .toolbar-mask{
left: 0;
}
2018-02-06 21:55:24 +00:00
.top-title > & {
&:not(.folded) {
height: 28 + @height-controls;
}
&.folded {
height: 28px;
&.expanded {
height: 28 + @height-controls;
}
}
.tabs > ul {
padding-top: 0;
}
.box-tabs {
height: 28px;
}
.toolbar-mask {
left: 0;
}
2018-02-06 21:55:24 +00:00
}
}
2019-02-06 13:44:36 +00:00
.style-off-tabs {
.toolbar {
@underscore_height: 3px;
2019-02-06 13:44:36 +00:00
.tabs, .extra {
background-color: transparent;
2021-02-16 07:21:22 +00:00
box-shadow: inset 0 -1px 0 0 @border-regular-control-ie;
2020-12-19 19:43:19 +00:00
box-shadow: inset 0 -1px 0 0 @border-regular-control;
}
2019-02-06 13:44:36 +00:00
.tabs {
ul {
padding: 0;
}
2019-02-06 13:44:36 +00:00
li {
position: relative;
&:after {
2019-02-06 13:44:36 +00:00
//transition: opacity .1s;
//transition: bottom .1s;
2021-02-16 07:21:22 +00:00
border-top: @underscore_height solid @text-normal-ie;
2020-12-19 19:43:19 +00:00
border-top: @underscore_height solid @text-normal;
2019-02-06 13:44:36 +00:00
content: '';
position: absolute;
width: 100%;
bottom: -@underscore_height;
opacity: 0;
}
2019-02-06 13:44:36 +00:00
&.active {
background-color: transparent;
&:after {
opacity: 1;
bottom: 0;
}
}
2018-02-06 21:55:24 +00:00
2019-02-06 13:44:36 +00:00
&:hover:not(.active) {
background-color: rgba(0, 0, 0, .05);
2020-12-19 19:43:19 +00:00
//background-color: @highlight-button-hover;
2019-02-06 13:44:36 +00:00
}
> a {
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
color: @text-normal;
2019-06-05 10:47:23 +00:00
&::after {
display:block;
content:attr(data-title);
font-weight:bold;
height:1px;
color:transparent;
overflow:hidden;
visibility:hidden;
margin-bottom:-1px;
}
2019-02-06 13:44:36 +00:00
}
}
}
2021-05-31 18:15:49 +00:00
.theme-type-light & {
.extra {
#header-logo {
i {
background-image: ~"url('@{common-image-const-path}/header/dark-logo_s.svg')";
background-repeat: no-repeat;
}
2019-02-06 13:44:36 +00:00
}
}
}
2019-02-07 11:57:59 +00:00
.tabs .scroll {
&.left {
2021-02-16 07:21:22 +00:00
box-shadow: 5px 0 20px 5px @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
box-shadow: 5px 0 20px 5px @background-toolbar;
2019-02-07 11:57:59 +00:00
}
&.right {
2021-02-16 07:21:22 +00:00
box-shadow: -5px 0 20px 5px @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
box-shadow: -5px 0 20px 5px @background-toolbar;
2019-02-07 11:57:59 +00:00
}
&:after {
2021-02-16 07:21:22 +00:00
border-color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
border-color: @text-normal;
2019-02-07 11:57:59 +00:00
}
}
2019-02-06 13:44:36 +00:00
// TODO: move to appropriate module
.btn-header, .btn-users {
2019-11-27 16:43:44 +00:00
&:not(:active) .icon--inverse {
background-position-x: 0;
2021-02-17 21:27:58 +00:00
background-position-x: @button-small-normal-icon-offset-x;
2019-11-27 16:43:44 +00:00
}
2019-02-06 13:44:36 +00:00
svg.icon {
2021-02-16 07:21:22 +00:00
fill: @icon-toolbar-header-ie;
2020-12-19 19:43:19 +00:00
fill: @icon-toolbar-header;
}
.caption {
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
color: @text-normal;
2019-02-06 13:44:36 +00:00
}
2019-02-06 13:44:36 +00:00
&: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;
2019-02-06 13:44:36 +00:00
}
2019-02-06 13:44:36 +00:00
&:active, &.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;
.icon--inverse {
background-position-x: @button-small-active-icon-offset-x;
}
2019-02-06 13:44:36 +00:00
svg.icon {
2021-02-16 07:21:22 +00:00
fill: @icon-toolbar-header-ie;
2020-12-19 19:43:19 +00:00
fill: @icon-toolbar-header;
2019-02-06 13:44:36 +00:00
}
.caption {
2021-02-16 07:21:22 +00:00
color: @text-inverse-ie;
2020-12-19 19:43:19 +00:00
color: @text-inverse;
}
}
}
}
2019-02-06 13:44:36 +00:00
.btn-current-user {
.icon--inverse {
background-position-x: 0;
}
svg.icon {
2021-02-16 07:21:22 +00:00
fill: @icon-toolbar-header-ie;
fill: @icon-toolbar-header;
}
}
2019-02-06 13:44:36 +00:00
#rib-doc-name {
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
color: @text-normal;
2019-02-06 13:44:36 +00:00
}
&.editor-native-color {
.tabs li:after {
2021-02-16 07:21:22 +00:00
border-color: @header-background-color-ie;
border-color: @header-background-color;
}
}
}
&.style-skip-docname .toolbar {
#box-doc-name > label {
display: none;
}
}
}
.toolbar-fullview-panel {
position: absolute;
bottom: 0;
width: 100%;
2018-04-24 13:15:26 +00:00
z-index: @zindex-navbar + 3;
2017-05-01 11:30:44 +00:00
}
.toolbar {
&.cover {
ul {
2018-04-24 13:15:26 +00:00
z-index: @zindex-navbar + 4;
2017-05-01 11:30:44 +00:00
}
}
2018-05-03 16:02:09 +00:00
&:not(.cover):not(.z-clear) {
z-index: @zindex-navbar + 1;
}
}
2017-04-20 13:36:15 +00:00
.btn-toolbar {
&:active {
svg.icon {
2021-02-16 07:21:22 +00:00
fill: @icon-toolbar-header-ie;
2020-12-19 19:43:19 +00:00
fill: @icon-toolbar-header;
2017-04-20 13:36:15 +00:00
}
}
svg.icon {
background-image: none;
2021-02-16 07:21:22 +00:00
fill: @icon-normal-ie;
2020-12-19 19:43:19 +00:00
fill: @icon-normal;
2017-04-20 13:36:15 +00:00
}
2017-04-25 16:55:19 +00:00
&.borders--small {
border-radius: 2px;
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-04-01 13:10:35 +00:00
&:not(:active) {
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-07-16 07:59:16 +00:00
}
2021-04-20 13:37:09 +00:00
& {
width: 21px;
height: 21px;
}
2021-04-24 18:12:57 +00:00
.icon {
width: 22px;
height: 22px;
2021-08-13 19:39:10 +00:00
.pixel-ratio__1_25 &,
.pixel-ratio__1_75 & {
width: 20px;
height: 20px;
}
2021-04-24 18:12:57 +00:00
}
2019-07-16 07:59:16 +00:00
}
}
2019-07-16 07:59:16 +00:00
[applang=ru] {
.dropdown-menu.toc-menu {
--bckgHOffset: -144px;
}
2019-07-16 07:59:16 +00:00
}
2019-04-01 13:10:35 +00:00
.item-shape {
.icon {
width: 20px;
height: 20px;
}
svg.icon {
display: inline-block;
vertical-align: middle;
2021-02-16 07:21:22 +00:00
fill: @icon-normal-ie;
2020-12-19 19:43:19 +00:00
fill: @icon-normal;
2019-04-01 13:10:35 +00:00
}
width: 20px;
height: 20px;
}
2019-11-18 11:08:17 +00:00
.item-equation {
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;
.equation-icon {
.background-ximage-v2('toolbar/math.png', 1500px, @commonimage: true);
2021-04-19 20:58:59 +00:00
opacity: @component-normal-icon-opacity;
.theme-dark & {
-webkit-filter: @img-equition-filter;
filter: @img-equition-filter;
}
}
}
2019-11-18 11:08:17 +00:00
// charts
.menu-insertchart {
2021-01-14 09:57:22 +00:00
margin: 5px 5px 0 10px;
2019-11-18 11:08:17 +00:00
.group-description {
padding-left: 4px;
}
.group-items-container {
float: left;
position: relative;
}
}
.item-chartlist {
2020-01-31 10:53:58 +00:00
width: 40px;
height: 40px;
.icon {
width: 40px;
height: 40px;
}
2019-11-18 11:08:17 +00:00
2020-01-31 10:53:58 +00:00
svg.icon {
display: inline-block;
vertical-align: middle;
2021-02-16 07:21:22 +00:00
fill: @icon-normal-ie;
2020-12-19 19:43:19 +00:00
fill: @icon-normal;
2020-01-31 10:53:58 +00:00
}
2019-11-18 11:08:17 +00:00
}
2020-12-26 14:44:36 +00:00
.color-schemas-menu {
span {
&.colors {
display: inline-block;
margin-right: 15px;
}
&.color {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 2px;
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;
2020-12-26 14:44:36 +00:00
vertical-align: middle;
}
&.text {
vertical-align: middle;
}
}
&.checked {
&:before {
display: none !important;
}
&, &:hover, &:focus {
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-pressed-ie;
2020-12-26 14:44:36 +00:00
background-color: @highlight-button-pressed;
2021-07-29 07:41:56 +00:00
color: @text-normal-ie;
color: @text-normal;
2020-12-26 14:44:36 +00:00
span.color {
2021-02-16 07:21:22 +00:00
border-color: @icon-normal-ie;
border-color: @icon-normal;
2020-12-26 14:44:36 +00:00
}
}
2020-01-31 10:53:58 +00:00
}
2019-11-18 11:08:17 +00:00
}
.item-databar {
.icon {
2021-02-26 13:36:24 +00:00
width: 25px;
height: 25px;
}
svg.icon {
display: inline-block;
vertical-align: middle;
fill: @icon-normal-ie;
fill: @icon-normal;
}
2021-02-26 13:36:24 +00:00
width: 25px;
height: 25px;
}
.item-colorscale {
.icon {
2021-02-26 13:36:24 +00:00
width: 25px;
height: 25px;
}
svg.icon {
display: inline-block;
vertical-align: middle;
fill: @icon-normal-ie;
fill: @icon-normal;
}
2021-02-26 13:36:24 +00:00
width: 25px;
height: 25px;
}
2021-02-25 20:15:05 +00:00
.menu-iconsets {
margin: 5px 5px 0 10px;
.group-items-container > div {
margin-right: 8px !important;
&:not(:hover),
&:not(.selected) {
.box-shadow(none);
}
}
.item-iconset {
img {
margin: 2px;
}
width: 100px;
height: 20px;
}
}