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

168 lines
3.6 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) {
2016-03-11 00:48:53 +00:00
background-position-x: 0px !important;
}
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%;
}
2017-04-28 16:42:01 +00:00
.font-attr {
> .btn-slot:not(:last-child):not(.split) {
margin-right: 6px;
2017-04-28 16:42:01 +00:00
}
> .btn-slot.split:not(:last-child) {
margin-right: 5px;
}
}
.font-attr-top {
2017-12-05 13:58:01 +00:00
width: 243px;
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
}
.color-schemas-menu {
span {
&.colors {
display: inline-block;
margin-right: 15px;
}
&.color {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 2px;
border: 1px solid rgba(0, 0, 0, 0.2);
vertical-align: middle;
}
&.text {
vertical-align: middle;
}
}
2019-08-20 12:56:29 +00:00
&.checked {
&:before {
display: none !important;
}
&, &:hover, &:focus {
background-color: @primary;
color: @dropdown-link-active-color;
span.color {
2019-08-21 10:04:49 +00:00
border-color: rgba(255,255,255,0.7);
2019-08-20 12:56:29 +00:00
}
}
}
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 {
.border-size-item {
background: ~"url(@{app-image-const-path}/toolbar/BorderSize.png) no-repeat scroll 0 0";
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;
@media only screen {
//@media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
// (min-resolution: 1.5dppx) and (max-resolution: 1.9dppx),
// (min-resolution: 144dpi) and (max-resolution: 191dpi)
//{
// background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
// background-size: 60px auto;
//}
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 2dppx),
(min-resolution: 192dpi)
{
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
background-size: 60px auto;
}
}
2016-03-11 00:48:53 +00:00
}
}
2016-10-24 13:40:06 +00:00
.item-equation {
border: 1px solid @gray;
2019-10-21 14:05:50 +00:00
.background-ximage-v2('toolbar/math.png', 1500px);
2016-10-24 13:40:06 +00:00
}
#special-paste-container,
#autocorrect-paste-container {
position: absolute;
z-index: @zindex-dropdown - 20;
background-color: @gray-light;
border: 1px solid @gray;
2017-04-27 15:40:27 +00:00
}
2017-04-28 16:42:01 +00:00
#slot-field-fontname {
2017-12-05 13:58:01 +00:00
width: 148px;
2017-04-28 16:42:01 +00:00
}
#slot-field-fontsize {
width: 45px;
}
.item-markerlist {
2019-10-21 14:05:50 +00:00
.background-ximage-v2('toolbar/bullets-and-numbering.png', 38px);
width: 38px;
height: 38px;
}
2020-07-09 11:53:22 +00:00
#slot-field-zoom {
float: left;
min-width: 45px;
}