f62aa45b18
# 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
205 lines
4.4 KiB
Plaintext
205 lines
4.4 KiB
Plaintext
|
|
.toolbar {
|
|
&.masked {
|
|
button.disabled .icon:not(.no-mask) {
|
|
background-position-x: 0px !important;
|
|
}
|
|
.group:not(.no-mask) {
|
|
opacity: 0.4;
|
|
}
|
|
}
|
|
|
|
.font-attr {
|
|
> .btn-slot:not(:last-child):not(.split) {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
> .btn-slot:not(:last-child).split {
|
|
margin-right: 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.toolbar-group-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
opacity: 0;
|
|
background-color: @background-toolbar;
|
|
z-index: @zindex-tooltip + 1;
|
|
}
|
|
|
|
.item-markerlist {
|
|
.background-ximage-v2('toolbar/bullets-and-numbering.png', 38px);
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.dropdown-menu.toc-menu {
|
|
@contents-menu-item-height: 72px;
|
|
--bckgHOffset: ~"0px";
|
|
|
|
> li > a.item-contents {
|
|
div {
|
|
.background-ximage-v2('toolbar/contents.png', 246px, @commonimage: false);
|
|
background-color: #fff;
|
|
width: 246px;
|
|
height: @contents-menu-item-height;
|
|
|
|
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
|
|
|
|
&:hover,
|
|
&.selected {
|
|
.box-shadow(0 0 0 @scaled-two-px-value @border-control-focus);
|
|
}
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
background-color: transparent;
|
|
|
|
div {
|
|
.box-shadow(0 0 0 @scaled-two-px-value @border-control-focus);
|
|
}
|
|
}
|
|
}
|
|
|
|
.loop(@counter) when (@counter > 0) {
|
|
.loop((@counter - 1));
|
|
li:nth-child(@{counter}) > a.item-contents {
|
|
div {
|
|
@incr-height: (@counter - 1)*@contents-menu-item-height;
|
|
background-position: 0 ~"calc(var(--bckgHOffset) - @{incr-height})";
|
|
}
|
|
}
|
|
}
|
|
|
|
.loop(2);
|
|
}
|
|
|
|
// page number position
|
|
.menu-pageposition {
|
|
.dataview {
|
|
width: 125px;
|
|
height: 85px;
|
|
margin: 0 10px;
|
|
|
|
&.disabled {
|
|
> .item {
|
|
cursor: default;
|
|
opacity: 0.5;
|
|
|
|
&:hover {
|
|
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.item-pagenumber {
|
|
.background-ximage('@{app-image-path}/toolbar/colontitules.png', '@{app-image-path}/toolbar/colontitules@2x.png', 33px);
|
|
width: 33px;
|
|
height: 33px;
|
|
}
|
|
}
|
|
|
|
// menu zoom
|
|
.menu-zoom {
|
|
line-height: @line-height-base;
|
|
.title {
|
|
padding: 5px 5px 5px 20px;
|
|
float: left;
|
|
//max-width: 95px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.zoom {
|
|
padding: 5px 3px;
|
|
float: right;
|
|
min-width: 40px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
.username-tip {
|
|
background-color: #ee3525;
|
|
border: none;
|
|
border-radius: 0;
|
|
padding: 3px 10px;
|
|
color: #ffffff;
|
|
font: 11px arial;
|
|
white-space: nowrap;
|
|
letter-spacing: 1px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
#id-toolbar-menu-auto-fontcolor > a.selected,
|
|
#id-toolbar-menu-auto-fontcolor > a:hover,
|
|
#watermark-auto-color > a.selected,
|
|
#watermark-auto-color > a:hover {
|
|
span {
|
|
outline: @scaled-one-px-value solid @icon-normal;
|
|
border: @scaled-one-px-value solid @background-normal;
|
|
}
|
|
}
|
|
|
|
.save-style-container {
|
|
cursor: default;
|
|
position: relative;
|
|
padding: 14px 11px;
|
|
border-left: @scaled-one-px-value solid @border-regular-control;
|
|
border-top: @scaled-one-px-value solid @border-regular-control;
|
|
}
|
|
|
|
.save-style-link {
|
|
border-bottom: @scaled-one-px-value dotted @text-secondary;
|
|
cursor: pointer;
|
|
margin-left: 22px;
|
|
}
|
|
|
|
.plus {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
background-position: @plus-offset-x @plus-offset-y;
|
|
}
|
|
|
|
.dropdown-menu > .disabled {
|
|
.plus, .save-style-link {
|
|
cursor: default;
|
|
color: @dropdown-link-disabled-color;
|
|
background-position: @plus-offset-x @plus-offset-y - 16;
|
|
}
|
|
}
|
|
|
|
#slot-field-fontname {
|
|
float: left;
|
|
width: 84px;
|
|
}
|
|
|
|
#slot-field-fontsize {
|
|
float: left;
|
|
width: 45px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
#slot-btn-incfont, #slot-btn-decfont, #slot-btn-changecase {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
#slot-field-styles {
|
|
width: 100%;
|
|
min-width: 160px;
|
|
}
|
|
|
|
#special-paste-container {
|
|
position: absolute;
|
|
z-index: @zindex-dropdown - 20;
|
|
background-color: @background-toolbar;
|
|
border: @scaled-one-px-value solid @border-regular-control;
|
|
} |