2017-02-15 13:45:25 +00:00
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.toolbar {
|
|
|
|
&.masked {
|
2017-03-09 08:41:47 +00:00
|
|
|
button.disabled .icon:not(.no-mask) {
|
2016-03-11 00:48:53 +00:00
|
|
|
background-position-x: 0px !important;
|
|
|
|
}
|
2017-04-20 10:32:55 +00:00
|
|
|
.group:not(.no-mask) {
|
2016-03-11 00:48:53 +00:00
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
2017-04-04 15:43:57 +00:00
|
|
|
|
|
|
|
.font-attr {
|
2017-07-04 14:24:15 +00:00
|
|
|
> .btn-slot:not(:last-child):not(.split) {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .btn-slot:not(:last-child).split {
|
|
|
|
margin-right: 2px;
|
2017-04-04 15:43:57 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2017-08-23 14:49:56 +00:00
|
|
|
.toolbar-group-mask {
|
|
|
|
position: absolute;
|
2017-08-31 08:15:03 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2017-08-23 14:49:56 +00:00
|
|
|
bottom: 0;
|
|
|
|
opacity: 0;
|
2020-12-17 08:16:45 +00:00
|
|
|
background-color: var(--background-toolbar);
|
2017-08-23 14:49:56 +00:00
|
|
|
z-index: @zindex-tooltip + 1;
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.item-markerlist {
|
2019-10-21 14:05:50 +00:00
|
|
|
.background-ximage-v2('toolbar/bullets-and-numbering.png', 38px);
|
2016-03-11 00:48:53 +00:00
|
|
|
width: 38px;
|
|
|
|
height: 38px;
|
|
|
|
}
|
|
|
|
|
2019-09-25 13:25:57 +00:00
|
|
|
.dropdown-menu.toc-menu {
|
|
|
|
@contents-menu-item-height: 72px;
|
2019-12-18 15:54:30 +00:00
|
|
|
--bckgHOffset: ~"0px";
|
2019-09-25 13:25:57 +00:00
|
|
|
|
2018-03-14 10:19:41 +00:00
|
|
|
> li > a.item-contents {
|
|
|
|
div {
|
2019-10-21 14:05:50 +00:00
|
|
|
.background-ximage-v2('toolbar/contents.png', 246px, @commonimage: false);
|
2018-03-14 10:19:41 +00:00
|
|
|
width: 246px;
|
2019-09-25 13:25:57 +00:00
|
|
|
height: @contents-menu-item-height;
|
2018-03-14 10:19:41 +00:00
|
|
|
|
2020-12-17 08:16:45 +00:00
|
|
|
.box-shadow(0 0 0 1px var(--border-regular-control));
|
2018-03-14 10:19:41 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.selected {
|
2020-12-17 08:16:45 +00:00
|
|
|
.box-shadow(0 0 0 2px var(--highlight-button-pressed));
|
2017-12-23 08:33:49 +00:00
|
|
|
}
|
2018-03-14 10:19:41 +00:00
|
|
|
}
|
2017-12-23 08:33:49 +00:00
|
|
|
|
2018-03-14 10:19:41 +00:00
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: transparent;
|
2017-12-23 08:33:49 +00:00
|
|
|
|
2018-03-14 10:19:41 +00:00
|
|
|
div {
|
2020-12-17 08:16:45 +00:00
|
|
|
.box-shadow(0 0 0 2px var(--highlight-button-pressed));
|
2017-12-23 08:33:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-09-25 13:25:57 +00:00
|
|
|
|
|
|
|
.loop(@counter) when (@counter > 0) {
|
|
|
|
.loop((@counter - 1));
|
|
|
|
li:nth-child(@{counter}) > a.item-contents {
|
|
|
|
div {
|
2019-10-08 11:59:26 +00:00
|
|
|
@incr-height: (@counter - 1)*@contents-menu-item-height;
|
|
|
|
background-position: 0 ~"calc(var(--bckgHOffset) - @{incr-height})";
|
2019-09-25 13:25:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loop(2);
|
2017-12-23 08:33:49 +00:00
|
|
|
}
|
|
|
|
|
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 {
|
2020-12-17 08:16:45 +00:00
|
|
|
background-color: var(--highlight-button-pressed);
|
2019-08-20 12:56:29 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
// page number position
|
|
|
|
.menu-pageposition {
|
|
|
|
.dataview {
|
|
|
|
width: 125px;
|
|
|
|
height: 85px;
|
2020-08-18 11:50:10 +00:00
|
|
|
margin: 0 10px;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
> .item {
|
|
|
|
cursor: default;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
2020-12-17 08:16:45 +00:00
|
|
|
.box-shadow(0 0 0 1px var(--border-regular-control));
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2018-05-04 11:56:33 +00:00
|
|
|
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;
|
2016-12-19 11:44:02 +00:00
|
|
|
//max-width: 95px;
|
2016-03-11 00:48:53 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-05 12:22:02 +00:00
|
|
|
|
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;
|
|
|
|
white-space: nowrap;
|
2017-04-11 14:04:34 +00:00
|
|
|
letter-spacing: 1px;
|
2018-04-04 13:40:23 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2019-03-26 13:20:44 +00:00
|
|
|
#id-toolbar-menu-auto-fontcolor > a.selected,
|
|
|
|
#control-settings-system-color > a.selected,
|
|
|
|
#control-settings-system-color > a:hover {
|
2016-03-11 00:48:53 +00:00
|
|
|
span {
|
2020-12-17 08:16:45 +00:00
|
|
|
outline: 1px solid var(--icon-normal);
|
|
|
|
border: 1px solid var(--background-normal);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-equation {
|
2020-12-17 08:16:45 +00:00
|
|
|
border: 1px solid var(--border-regular-control);
|
2019-10-21 14:05:50 +00:00
|
|
|
.background-ximage-v2('toolbar/math.png', 1500px, @commonimage: true);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.save-style-container {
|
|
|
|
cursor: default;
|
|
|
|
position: relative;
|
|
|
|
padding: 14px 11px;
|
2020-12-17 08:16:45 +00:00
|
|
|
border-left: 1px solid var(--border-regular-control);
|
|
|
|
border-top: 1px solid var(--border-regular-control);
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.save-style-link {
|
2020-12-17 08:16:45 +00:00
|
|
|
border-bottom: 1px dotted var(--text-secondary);
|
2016-03-11 00:48:53 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2017-02-15 13:45:25 +00:00
|
|
|
|
|
|
|
#slot-field-fontname {
|
|
|
|
float: left;
|
2019-02-04 14:38:44 +00:00
|
|
|
width: 158px;
|
2017-02-15 13:45:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#slot-field-fontsize {
|
|
|
|
float: left;
|
|
|
|
width: 45px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#slot-btn-incfont, #slot-btn-decfont {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#slot-field-styles {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 160px;
|
2017-05-12 08:52:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#special-paste-container {
|
|
|
|
position: absolute;
|
|
|
|
z-index: @zindex-dropdown - 20;
|
2020-12-17 08:16:45 +00:00
|
|
|
background-color: var(--background-toolbar);
|
|
|
|
border: 1px solid var(--border-regular-control);
|
2017-02-15 13:45:25 +00:00
|
|
|
}
|