Fix table templates styles

This commit is contained in:
Julia Radzhabova
2023-05-10 11:32:15 +03:00
parent 2528dfb5eb
commit 2d3f0bdcb0
5 changed files with 20 additions and 0 deletions

View File

@ -123,6 +123,22 @@
border: @scaled-one-px-value solid @input-border;
.border-radius(@border-radius-small);
}
&.classic {
.group-items-container {
.item {
&:hover:not(.disabled) {
.box-shadow(0 0 0 2px @border-preview-hover-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-hover);
}
&.selected:not(.disabled) {
.box-shadow(0 0 0 2px @border-preview-select-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-preview-select);
}
}
}
}
}
.menu-insert-shape, .menu-change-shape {

View File

@ -891,6 +891,7 @@ define([
store: new Common.UI.DataViewStore(),
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="52" width="72"></div>'),
style: 'max-height: 350px;',
cls: 'classic',
delayRenderTips: true
});
});

View File

@ -820,6 +820,7 @@ define([
store: new Common.UI.DataViewStore(),
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="52" width="72"></div>'),
style: 'max-height: 350px;',
cls: 'classic',
delayRenderTips: true
});
});

View File

@ -2195,6 +2195,7 @@ define([
restoreHeight: 300,
groups: new Common.UI.DataViewGroupStore(),
style: 'max-height: 300px;',
cls: 'classic',
store: me.getCollection('TableTemplates'),
itemTemplate: _.template('<div class="item-template"><img src="<%= imageUrl %>" id="<%= id %>" style="width:60px;height:44px;"></div>'),
delayRenderTips: true

View File

@ -540,6 +540,7 @@ define([
store: new Common.UI.DataViewStore(),
itemTemplate: _.template('<div id="<%= id %>" class="item-template"><img src="<%= imageUrl %>" height="44" width="60"></div>'),
style: 'max-height: 325px;',
cls: 'classic',
delayRenderTips: true
});
});