mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:27:48 +08:00
Fix table templates styles
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -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
|
||||
});
|
||||
});
|
||||
|
||||
@ -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
|
||||
});
|
||||
});
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user