web-apps/apps/documenteditor/main/resources/less/rightmenu.less
2021-02-17 13:46:21 +03:00

215 lines
4.6 KiB
Plaintext

.settings-panel {
.padding-medium {
padding-bottom: 12px;
}
.padding-extra-small {
padding-bottom: 2px;
}
}
.right-panel .settings-panel {
label.input-label{
vertical-align: baseline;
}
}
.icon-right-panel {
.background-ximage-v2('right-panels/RightPanelBigBtns.png', 74px, @commonimage: false);
}
.ie {
.options__icon.options__icon-huge {
.background-ximage('@{app-image-path}/iconshuge.png', '@{app-image-path}/iconshuge@2x.png', 40px);
}
}
.button-normal-icon(btn-wrap-none, 9, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-wrap-parallel, 10, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-table-align-left, 0, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-table-align-center, 1, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-table-align-right, 2, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-frame-inline, 9, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-frame-flow, 10, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-normal-icon(btn-frame-none, 11, @huge-icon-size, @button-xhuge-normal-icon-offset-x);
.button-otherstates-icon(icon-right-panel, @huge-icon-size);
.combo-wrap-item {
// TODO: dublicate .item-wrap
.background-ximage-v2('right-panels/right_panel_wrap_icons.png', 350px, @commonimage: false);
}
.item-wrap {
.background-ximage-v2('right-panels/right_panel_wrap_icons.png', 350px, @commonimage: false);
width:50px;
height:50px;
background-size: cover !important;
}
.wrap-inline {
background-position: 0 0;
}
.wrap-square {
background-position: -50px 0;
}
.wrap-tight {
background-position: -100px 0;
}
.wrap-through {
background-position: -150px 0;
}
.wrap-topAndBottom {
background-position: -200px 0;
}
.wrap-behind {
background-position: -300px 0;
}
.wrap-inFront {
background-position: -250px 0;
}
.combo-pattern-item {
.background-ximage-v2('right-panels/patterns.png', 112px);
}
.combo-dataview-menu {
.form-control {
cursor: pointer;
background-color: @background-normal-ie;
background-color: @background-normal;
&.text {
background: @background-normal-ie;
background: @background-normal;
vertical-align: bottom;
}
}
}
.item-gradient {
.background-ximage-v2('right-panels/gradients.png', 150px);
width:50px;
height:50px;
}
.item-gradient-separator {
margin-right: 62px !important;
}
.gradient-left-top {
background-position: 0 0;
}
.gradient-top {
background-position: -50px 0;
}
.gradient-right-top {
background-position: -100px 0;
}
.gradient-left {
background-position: 0 -50px;
}
.gradient-right {
background-position: -100px -50px;
}
.gradient-left-bottom {
background-position: 0 -100px;
}
.gradient-bottom {
background-position: -50px -100px;
}
.gradient-right-bottom {
background-position: -100px -100px;
}
.gradient-radial-center {
background-position: -100px -150px;
}
#signature-requested-sign,
#signature-valid-sign,
#signature-invalid-sign {
height: 100%;
overflow: hidden;
margin: 0 -10px 0 -15px;
.item {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
&:hover,
&.over {
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover;
.caret {
display: inline-block;
}
}
}
.signature-item {
padding: 5px 2px 5px 15px;
text-overflow: ellipsis;
min-height: 25px;
.name {
width: 100%;
white-space: nowrap;
overflow: hidden;
cursor: pointer;
max-width: 160px;
text-overflow: ellipsis;
}
.caret {
width: 23px;
height: 14px;
border: 0;
background-position: -43px -150px;
margin: 8px 15px;
display: none;
position: absolute;
right: 0;
&.nomargin {
margin-top: 0;
margin-bottom: 0;
}
}
}
}
#image-combo-wrap, #chart-combo-wrap, #shape-combo-wrap {
.options__icon {
width: 40px;
height: 40px;
}
.item-icon-box {
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
}
}