Refactoring treeview border

This commit is contained in:
Julia Radzhabova 2020-09-27 14:39:29 +03:00
parent 0beb1fbaba
commit c19306c83d
6 changed files with 9 additions and 5 deletions

View file

@ -164,7 +164,7 @@ define([
}, },
template: _.template([ template: _.template([
'<div class="treeview inner"></div>' '<div class="treeview inner" style="<%= style %>"></div>'
].join('')), ].join('')),
initialize : function(options) { initialize : function(options) {

View file

@ -1,4 +1,7 @@
.treeview { .treeview {
border: 1px solid @input-border;
.border-radius(@border-radius-small);
&.inner { &.inner {
width: 100%; width: 100%;
height: 100%; height: 100%;

View file

@ -83,7 +83,7 @@ define([
'<div class="input-row">', '<div class="input-row">',
'<label>' + this.textUrl + '</label>', '<label>' + this.textUrl + '</label>',
'</div>', '</div>',
'<div id="id-dlg-hyperlink-list" style="width:100%; height: 171px;border: 1px solid #cfcfcf;"></div>', '<div id="id-dlg-hyperlink-list" style="width:100%; height: 171px;"></div>',
'</div>', '</div>',
'<div class="input-row">', '<div class="input-row">',
'<label>' + this.textDisplay + '</label>', '<label>' + this.textDisplay + '</label>',

View file

@ -70,7 +70,8 @@ define([
store: this.storeNavigation, store: this.storeNavigation,
enableKeyEvents: false, enableKeyEvents: false,
emptyText: this.txtEmpty, emptyText: this.txtEmpty,
emptyItemText: this.txtEmptyItem emptyItemText: this.txtEmptyItem,
style: 'border: none;'
}); });
this.viewNavigationList.cmpEl.off('click'); this.viewNavigationList.cmpEl.off('click');
this.navigationMenu = new Common.UI.Menu({ this.navigationMenu = new Common.UI.Menu({

View file

@ -85,7 +85,7 @@ define([
'<div class="input-row">', '<div class="input-row">',
'<label>' + this.strLinkTo + '</label>', '<label>' + this.strLinkTo + '</label>',
'</div>', '</div>',
'<div id="id-dlg-hyperlink-list" style="width:100%; height: 171px;border: 1px solid #cfcfcf;"></div>', '<div id="id-dlg-hyperlink-list" style="width:100%; height: 171px;"></div>',
'</div>', '</div>',
'<div class="input-row">', '<div class="input-row">',
'<label>' + this.strDisplay + '</label>', '<label>' + this.strDisplay + '</label>',

View file

@ -87,7 +87,7 @@ define([
'</div>', '</div>',
'</div>', '</div>',
'</div>', '</div>',
'<div id="id-dlg-hyperlink-list" style="width:100%; height: 115px;border: 1px solid #cfcfcf;"></div>', '<div id="id-dlg-hyperlink-list" style="width:100%; height: 115px;"></div>',
'<div class="input-row">', '<div class="input-row">',
'<label>' + this.strRange + '</label>', '<label>' + this.strRange + '</label>',
'</div>', '</div>',