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

144 lines
3 KiB
Plaintext
Raw Normal View History

2017-06-08 15:14:36 +00:00
@tabs-bg-color: #aa5252;
2016-03-11 00:48:53 +00:00
2017-04-20 13:34:39 +00:00
.toolbar {
2016-03-11 00:48:53 +00:00
&.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-21 13:36:06 +00:00
.font-attr {
2017-08-24 07:25:15 +00:00
> .btn-slot:not(:last-child):not(.split) {
2017-04-21 13:36:06 +00:00
margin-right: 8px;
}
}
2016-03-11 00:48:53 +00:00
}
.menu-layouts {
.dataview.inner {
& > div:not(.grouped-data):not([class^=ps-scrollbar]) {
.box-shadow(none);
&:hover,
&.selected {
.layout > div:first-child {
2020-12-19 19:43:19 +00:00
.box-shadow(0 0 0 2px @highlight-button-pressed);
2016-03-11 00:48:53 +00:00
}
}
}
.layout {
.title {
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
white-space: normal;
}
& > div:first-child {
margin-bottom: 3px;
}
}
}
}
.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;
}
.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-19 19:43:19 +00:00
background-color: @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
}
// 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;
2017-04-20 13:34:39 +00:00
color: #fff;
2016-03-11 00:48:53 +00:00
font: 11px arial;
white-space: nowrap;
letter-spacing: 1px;
overflow: hidden;
text-overflow: ellipsis;
2016-10-25 10:48:31 +00:00
}
.item-equation {
2020-12-19 19:43:19 +00:00
border: 1px solid @border-regular-control;
2019-10-21 14:05:50 +00:00
.background-ximage-v2('toolbar/math.png', 1500px);
2017-04-20 13:34:39 +00:00
}
2017-08-11 11:01:27 +00:00
#plugins-panel {
.separator:first-child {
display: inline-block;
}
2017-09-19 08:17:54 +00:00
}
#special-paste-container {
position: absolute;
z-index: @zindex-dropdown - 20;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
border: 1px solid @border-regular-control;
2019-07-23 09:58:51 +00:00
}
.item-theme {
width: 85px;
height: 38px;
.background-ximage('../../../../../../sdkjs/common/Images/themes_thumbnail.png', '../../../../../../sdkjs/common/Images/themes_thumbnail@2x.png', 85px);
background-size: cover
}