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

355 lines
9.5 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 {
.box-shadow(0 0 0 2px @primary);
}
}
}
.layout {
.title {
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
white-space: normal;
}
& > div:first-child {
margin-bottom: 3px;
}
}
}
}
.item-markerlist {
2018-02-20 12:29:01 +00:00
.background-ximage('@{common-image-path}/toolbar/bullets-and-numbering.png', '@{common-image-path}/toolbar/bullets-and-numbering@2x.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 {
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
}
}
// charts
.menu-insertchart {
.group-description {
padding-left: 4px;
2016-03-11 00:48:53 +00:00
}
.group-items-container {
float: left;
position: relative;
}
}
.item-chartlist {
2018-02-20 12:29:01 +00:00
.background-ximage('@{common-image-path}/toolbar/charttypes.png', '@{common-image-path}/toolbar/charttypes@2x.png', 250px);
2016-03-11 00:48:53 +00:00
width: 50px;
height: 50px;
}
.line-normal {
background-position: 0 0;
}
.line-stack {
background-position: -50px 0;
}
.line-pstack {
background-position: -100px 0;
}
.line-3d {
background-position: -150px 0;
}
.column-normal {
background-position: 0 -50px;
}
.column-stack{
background-position: -50px -50px;
}
.column-pstack{
background-position: -100px -50px;
}
.column-3d-normal {
background-position: -150px -50px;
}
.column-3d-stack{
background-position: -200px -50px;
}
.column-3d-pstack{
background-position: -150px -100px;
}
.column-3d-normal-per{
background-position: -200px -100px;
}
.bar-normal {
background-position: 0 -100px;
}
.bar-stack{
background-position: -50px -100px;
}
.bar-pstack{
background-position: -100px -100px;
}
.bar-3d-normal {
background-position: -150px -150px;
}
.bar-3d-stack{
background-position: -200px -150px;
}
.bar-3d-pstack{
background-position: -150px -200px;
}
.area-normal {
background-position: 0 -150px;
}
.area-stack{
background-position: -50px -150px;
}
.area-pstack{
background-position: -100px -150px;
}
.pie-normal {
background-position: 0 -200px;
}
.pie-3d-normal {
background-position: -200px -200px;
}
.point-normal{
background-position: -50px -200px;
}
.stock-normal{
background-position: -100px -200px;
}
.pie-doughnut{
background-position: -200px 0;
}
2017-07-05 12:22:02 +00:00
.surface-normal{
2017-07-14 09:08:16 +00:00
background-position: 0px -300px;
2017-07-05 12:22:02 +00:00
}
.surface-wireframe{
2017-07-14 09:08:16 +00:00
background-position: -50px -300px;
2017-07-05 12:22:02 +00:00
}
.contour-normal{
2017-07-14 09:08:16 +00:00
background-position: -100px -300px;
2017-07-05 12:22:02 +00:00
}
.contour-wireframe{
2017-07-14 09:08:16 +00:00
background-position: -150px -300px;
2017-07-05 12:22:02 +00:00
}
2016-03-11 00:48:53 +00:00
@toolbar-icon-size: 20px;
2019-07-15 13:22:34 +00:00
.button-normal-icon(btn-changeslide, 7, @toolbar-icon-size);
.button-normal-icon(btn-preview, 8, @toolbar-icon-size);
.button-normal-icon(btn-print, 9, @toolbar-icon-size);
.button-normal-icon(btn-save, 10, @toolbar-icon-size);
.button-normal-icon(btn-synch, 11, @toolbar-icon-size);
.button-normal-icon(btn-copy, 12, @toolbar-icon-size);
.button-normal-icon(btn-decfont, 12, @toolbar-icon-size);
.button-normal-icon(btn-paste, 13, @toolbar-icon-size);
.button-normal-icon(btn-bold, 14, @toolbar-icon-size);
.button-normal-icon(btn-italic, 15, @toolbar-icon-size);
.button-normal-icon(btn-underline, 16, @toolbar-icon-size);
.button-normal-icon(btn-strikeout, 17, @toolbar-icon-size);
.button-normal-icon(btn-fontcolor, 18, @toolbar-icon-size);
.button-normal-icon(btn-superscript, 19, @toolbar-icon-size);
.button-normal-icon(btn-subscript, 20, @toolbar-icon-size);
.button-normal-icon(btn-undo, 21, @toolbar-icon-size);
.button-normal-icon(btn-redo, 22, @toolbar-icon-size);
.button-normal-icon(btn-clearstyle, 23, @toolbar-icon-size);
.button-normal-icon(btn-copystyle, 24, @toolbar-icon-size);
.button-normal-icon(btn-setmarkers, 25, @toolbar-icon-size);
.button-normal-icon(btn-numbering, 26, @toolbar-icon-size);
.button-normal-icon(btn-align-center, 27, @toolbar-icon-size);
.button-normal-icon(btn-align-just, 28, @toolbar-icon-size);
.button-normal-icon(btn-align-left, 29, @toolbar-icon-size);
.button-normal-icon(btn-align-right, 30, @toolbar-icon-size);
.button-normal-icon(btn-align-top, 31, @toolbar-icon-size);
.button-normal-icon(btn-align-middle, 32, @toolbar-icon-size);
.button-normal-icon(btn-align-bottom, 33, @toolbar-icon-size);
.button-normal-icon(btn-decoffset, 34, @toolbar-icon-size);
.button-normal-icon(btn-incoffset, 35, @toolbar-icon-size);
.button-normal-icon(btn-linespace, 36, @toolbar-icon-size);
.button-normal-icon(btn-arrange-shape, 37, @toolbar-icon-size);
.button-normal-icon(btn-align-shape, 38, @toolbar-icon-size);
.button-normal-icon(btn-colorschemas, 45, @toolbar-icon-size);
.button-normal-icon(btn-slidesize, 46, @toolbar-icon-size);
.button-normal-icon(btn-hidebars, 47, @toolbar-icon-size);
.button-normal-icon(btn-settings, 48, @toolbar-icon-size);
.button-normal-icon(btn-zoomin, 61, @toolbar-icon-size);
.button-normal-icon(btn-zoomout, 60, @toolbar-icon-size);
.button-normal-icon(btn-save-coauth, 69, @toolbar-icon-size);
.button-normal-icon(rotate-90, 79, @toolbar-icon-size);
.button-normal-icon(rotate-270, 80, @toolbar-icon-size);
.button-normal-icon(flip-hor, 81, @toolbar-icon-size);
.button-normal-icon(flip-vert, 82, @toolbar-icon-size);
2019-07-15 14:57:46 +00:00
.button-normal-icon(btn-ic-doclang, 75, @toolbar-icon-size);
2019-07-15 14:07:08 +00:00
.button-normal-icon(btn-ic-docspell, 76, @toolbar-icon-size);
2016-03-11 00:48:53 +00:00
@menu-icon-size: 22px;
.menu-btn-icon(mnu-align-center, 0, @menu-icon-size);
.menu-btn-icon(mnu-align-just, 1, @menu-icon-size);
.menu-btn-icon(mnu-align-right, 2, @menu-icon-size);
.menu-btn-icon(mnu-align-left, 3, @menu-icon-size);
.menu-btn-icon(mnu-align-middle, 4, @menu-icon-size);
.menu-btn-icon(mnu-align-bottom, 5, @menu-icon-size);
.menu-btn-icon(mnu-align-top, 6, @menu-icon-size);
.menu-btn-icon(mnu-arrange-front, 7, @menu-icon-size);
.menu-btn-icon(mnu-arrange-back, 8, @menu-icon-size);
.menu-btn-icon(mnu-arrange-forward, 9, @menu-icon-size);
.menu-btn-icon(mnu-arrange-backward, 10, @menu-icon-size);
.menu-btn-icon(mnu-group, 11, @menu-icon-size);
.menu-btn-icon(mnu-ungroup, 12, @menu-icon-size);
.menu-btn-icon(mnu-shape-align-left, 13, @menu-icon-size);
.menu-btn-icon(mnu-shape-align-center, 14, @menu-icon-size);
.menu-btn-icon(mnu-shape-align-right, 15, @menu-icon-size);
.menu-btn-icon(mnu-shape-align-top, 16, @menu-icon-size);
.menu-btn-icon(mnu-shape-align-middle, 17, @menu-icon-size);
.menu-btn-icon(mnu-shape-align-bottom, 18, @menu-icon-size);
.menu-btn-icon(mnu-distrib-hor, 19, @menu-icon-size);
.menu-btn-icon(mnu-distrib-vert, 20, @menu-icon-size);
.menu-btn-icon(mnu-direct-horiz, 21, @menu-icon-size);
.menu-btn-icon(mnu-direct-rup, 22, @menu-icon-size);
.menu-btn-icon(mnu-direct-rdown, 23, @menu-icon-size);
.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 {
border: 1px solid @gray;
2018-02-20 12:29:01 +00:00
.background-ximage('@{common-image-path}/toolbar/math.png', '@{common-image-path}/toolbar/math@2x.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;
background-color: @gray-light;
border: 1px solid @gray;
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
}