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

207 lines
4.7 KiB
Plaintext
Raw Normal View History

2018-02-27 13:17:15 +00:00
@tabs-bg-color: #40865c;
2017-06-02 14:26:43 +00:00
2016-03-11 00:48:53 +00:00
.toolbar {
&.masked {
2017-06-15 13:18:40 +00:00
button.disabled .icon:not(.no-mask) {
2021-04-01 08:15:52 +00:00
//background-position-x: 0px !important;
2016-03-11 00:48:53 +00:00
}
2017-06-15 13:18:40 +00:00
.group:not(.no-mask) {
2016-03-11 00:48:53 +00:00
opacity: 0.4;
}
}
2017-04-27 15:40:27 +00:00
.simple-bar {
display: table;
width: 100%;
2022-05-31 20:46:19 +00:00
.separator.short {
margin-top: 1px;
}
2017-04-27 15:40:27 +00:00
}
2017-04-28 16:42:01 +00:00
.font-attr {
> .btn-slot:not(:last-child):not(.split) {
2020-12-22 11:45:08 +00:00
margin-right: 2px;
2017-04-28 16:42:01 +00:00
}
> .btn-slot.split:not(:last-child) {
2020-12-22 11:45:08 +00:00
margin-right: 2px;
2017-04-28 16:42:01 +00:00
}
}
.font-attr-top {
2020-12-22 11:45:08 +00:00
width: 218px;
2017-04-28 16:42:01 +00:00
> .btn-slot {
float: left;
&:not(:first-child) {
margin-left: 2px;
}
}
}
2016-03-11 00:48:53 +00:00
}
// menu zoom
.menu-zoom {
line-height: @line-height-base;
2016-03-11 00:48:53 +00:00
.title {
2018-05-10 11:23:02 +00:00
padding: 5px 5px 5px 20px;
2016-03-11 00:48:53 +00:00
float: left;
max-width: 95px;
overflow: hidden;
text-overflow: ellipsis;
}
.zoom {
padding: 5px 3px;
float: right;
2017-08-08 11:29:43 +00:00
min-width: 40px;
text-align: center;
2016-03-11 00:48:53 +00:00
}
}
.username-tip {
background-color: #ee3525;
border: none;
border-radius: 0;
padding: 3px 10px;
color: #ffffff;
font: 11px arial;
pointer-events: none;
white-space: nowrap;
letter-spacing: 1px;
2016-03-11 00:48:53 +00:00
}
#id-toolbar-btn-num-format button .caption {
display: inline-block;
}
#id-toolbar-mnu-item-border-width,
#format-rules-borders-border-width {
2016-03-11 00:48:53 +00:00
.border-size-item {
background: ~"url(@{app-image-const-path}/toolbar/BorderSize.png) no-repeat scroll 0 0";
2021-04-28 11:10:39 +00:00
background-size: 60px auto;
2020-04-03 17:21:00 +00:00
width: 60px;
2016-03-11 00:48:53 +00:00
height: 20px;
2020-04-03 17:21:00 +00:00
margin: -3px 10px -2px;
2021-04-28 11:10:39 +00:00
filter: @img-border-type-filter;
2020-04-03 17:21:00 +00:00
.pixel-ratio__1_25 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.25x.png)";
}
2021-04-28 11:10:39 +00:00
.pixel-ratio__1_5 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
//background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
}
.pixel-ratio__1_75 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.75x.png)";
}
2021-04-28 11:10:39 +00:00
.pixel-ratio__2 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
2020-04-03 17:21:00 +00:00
}
2016-03-11 00:48:53 +00:00
}
}
2016-10-24 13:40:06 +00:00
#special-paste-container,
#autocorrect-paste-container {
position: absolute;
z-index: @zindex-dropdown - 20;
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
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;
2017-04-27 15:40:27 +00:00
}
2017-04-28 16:42:01 +00:00
#slot-field-fontsize {
width: 45px;
}
.item-markerlist {
2021-08-23 14:47:10 +00:00
width: 40px;
height: 40px;
}
2020-07-09 11:53:22 +00:00
2021-04-03 07:44:20 +00:00
.item-multilevellist {
width: 80px;
height: 80px;
}
#menu-list-number-group {
.item {
2021-08-23 14:47:10 +00:00
margin-right: 10px;
2021-04-03 07:44:20 +00:00
margin-bottom: 9px;
}
.group-items-container {
margin-bottom: 0;
}
}
2021-08-23 14:47:10 +00:00
#menu-list-bullet-group {
.item {
margin-right: 2px;
}
}
2022-07-13 16:22:06 +00:00
2022-07-22 12:51:54 +00:00
#id-toolbar-menu-table-templates {
.group-description {
padding: 3px 0 3px 10px;
.font-weight-bold();
}
.group-items-container {
.item {
&:hover {
.box-shadow(0 0 0 2px @border-preview-hover-ie) !important;
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover) !important;
}
&.selected {
.box-shadow(0 0 0 2px @border-preview-select-ie) !important;
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select) !important;
}
}
}
2022-07-22 12:51:54 +00:00
}
.combo-cell-styles, #id-toolbar-btn-cstyle {
.dropdown-menu {
padding: 5px 0px !important;
}
.menu-picker-container {
margin: 0px 5px;
2022-07-13 16:22:06 +00:00
}
.group-description {
padding: 3px 0 3px 10px;
.font-weight-bold();
2022-07-20 16:16:55 +00:00
}
.group-items-container {
padding-bottom: 1px;
padding-right: 1px;
}
.grouped-data .group-items-container .item {
padding: @scaled-two-px-value;
border: @scaled-one-px-value solid @border-regular-control;
2022-09-09 08:54:54 +00:00
margin: 0px calc(-1 * @scaled-one-px-value) calc(-1 * @scaled-one-px-value) 0px;
box-shadow: none;
&:hover {
.box-shadow(inset 0 0 0 2px @border-preview-hover-ie) !important;
.box-shadow(inset 0 0 0 @scaled-two-px-value @border-preview-hover) !important;
}
&.selected {
.box-shadow(inset 0 0 0 2px @border-preview-select-ie) !important;
.box-shadow(inset 0 0 0 @scaled-two-px-value @border-preview-select) !important;
}
2022-07-13 16:22:06 +00:00
}
}