[PE] Fix Bug 54786

This commit is contained in:
Julia Radzhabova 2022-01-13 14:31:49 +03:00
parent b4d1d247ed
commit ffffa133a2
5 changed files with 26 additions and 51 deletions

View file

@ -255,6 +255,7 @@ define([
var picker = this.menuPicker;
if (picker) {
var record = picker.getSelectedRec();
this.itemMarginLeft = undefined;
this.fillComboView(record || picker.store.at(0), !!record, true);
picker.onResize();

View file

@ -378,10 +378,20 @@
height: @combo-dataview-height-calc;
}
.item {
.item, .menu-picker-container .dataview .group-items-container .item {
padding: 0px;
margin: @combo-dataview-item-margins 0 0 @combo-dataview-item-margins;
margin: @combo-dataview-item-margins;
.box-shadow(none);
&:hover {
.box-shadow(0 0 0 2px @border-preview-hover-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover);
}
&.selected {
.box-shadow(0 0 0 2px @border-preview-select-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select);
}
}
.menu-picker-container {
@ -391,8 +401,6 @@
}
.group-items-container .item {
box-shadow: none;
margin: @scaled-two-px-value 0 0 @scaled-two-px-value;
&:last-child {
margin-bottom: @combo-dataview-item-margins;
}
@ -424,11 +432,10 @@
width: @x-huge-btn-icon-size;
height: @x-huge-btn-icon-size;
min-width: 0;
margin-top: -2px;
}
.caption{
line-height: 18px;
line-height: 12px;
font-size: 11px;
text-overflow: ellipsis;
overflow: hidden;

View file

@ -4,22 +4,6 @@
}
}
.a-table{
display: table;
width: 100%;
}
.a-tr{
display: table-row;
height: 20px;
border-top: 2px solid transparent;
&.bottom {
border-top: 4px solid transparent;
}
.a-td
{
display: table-cell;
}
}
.combo-animation {
.menu-picker-container .dataview {
@ -38,15 +22,25 @@
font-weight: bold;
}
.group-items-container {
.grouped-data .group-items-container {
float: left;
position: relative;
.item {
box-shadow: none;
margin: @scaled-two-px-value 0 0 @scaled-two-px-value;
margin: @scaled-two-px-value;
&:last-child {
margin-bottom: @scaled-two-px-value;
}
&:hover {
.box-shadow(0 0 0 2px @border-preview-hover-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover);
}
&.selected {
.box-shadow(0 0 0 2px @border-preview-select-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select);
}
}
}
}

View file

@ -132,7 +132,6 @@
@import "rightmenu.less";
@import "advanced-settings.less";
@import "document-preview.less";
@import "transitions.less";
@import "animation.less";
@import "sprites/iconssmall@1x";

View file

@ -1,26 +0,0 @@
.combo-transitions {
.btn_item {
color: @text-normal-ie;
color: @text-normal;
display: inline-flex;
flex-direction: column;
align-items: center;
.icon:not(svg) {
width: @x-huge-btn-icon-size;
height: @x-huge-btn-icon-size;
min-width: 0;
margin-top: -2px;
}
.caption{
line-height: normal;
font-size: 11px;
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
text-align: center;
padding: 0 2px;
}
}
}