web-apps/apps/spreadsheeteditor/main/resources/less/rightmenu.less
2022-07-23 16:15:32 +03:00

245 lines
5.3 KiB
Plaintext

.settings-panel {
}
.right-panel .settings-panel {
label.input-label{
vertical-align: baseline;
}
}
.combo-pattern-item {
.background-ximage-all('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 {
width:50px;
height:50px;
}
.item-gradient-separator {
margin-right: 62px !important;
}
.item-wrap {
width:50px;
height:50px;
background-size: cover;
}
#table-combo-template .combo-dataview {
.combo-template(60px);
}
.pivot-check-listview {
background-color: @background-normal-ie;
background-color: @background-normal;
width: 100%;
height: 250px;
.item {
padding-right: 3px;
}
.list-item {
width: 146px;
margin-left:20px;
display: inline-block;
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}
.listitem-icon {
vertical-align: middle;
width: 16px;
height: 16px;
background-position: -1px -274px;
display: inline-block;
}
}
.pivot-listview {
background-color: @background-normal-ie;
background-color: @background-normal;
width: 95px;
height: 130px;
.listview:not(.disabled) > .item {
padding: 3px;
border-top: none;
&.insert {
background: linear-gradient(to bottom, #656565, #fff 5%);
&.last {
background: linear-gradient(to top, #656565, #fff 5%);
}
}
&:hover {
border-top: none;
}
}
.list-item > div:nth-child(1) {
width:65px;
padding-right: 0;
display: inline-block;
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}
.listitem-icon {
vertical-align: middle;
width: 22px;
height: 16px;
background-position: 1px -274px;
display: inline-block;
}
}
#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 {
margin: 9px;
display: none;
position: absolute;
right: 14px;
width: 8px;
height: 8px;
border: solid 1px @icon-normal-pressed-ie;
border: solid 1px @icon-normal-pressed;
opacity: 0.6;
border-bottom: none;
border-right: none;
background-image: none;
transform: rotate(-135deg);
&.nomargin {
margin: 2px;
right: 26px;
}
}
}
}
.combo-border-size.cell-border-type {
img, .image {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize.png)";
background-size: 60px auto;
.pixel-ratio__1_25 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.25x.png)";
}
.pixel-ratio__1_5 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
}
.pixel-ratio__1_75 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.75x.png)";
}
.pixel-ratio__2 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
}
}
}
.sheet-template-slicer {
width: 56px;
height: 55px;
}
.menu-slicer-template {
.item {
border: none;
.box-shadow(none);
}
}
.iconset {
.iconset-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dataview > .item:not(:hover):not(.selected) {
.box-shadow(none);
}
}
#id-table-menu-template {
.group-description {
padding: 3px 0 3px 10px;
.font-weight-bold();
}
.group-items-container {
.item {
&:hover {
.box-shadow(0 0 0 2px @border-preview-hover-ie) !important;
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover) !important;
}
&.selected {
.box-shadow(0 0 0 2px @border-preview-select-ie) !important;
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select) !important;
}
}
}
}