Refactoring treeview border
This commit is contained in:
parent
0beb1fbaba
commit
c19306c83d
|
@ -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) {
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
|
@ -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>',
|
||||||
|
|
|
@ -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({
|
||||||
|
|
|
@ -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>',
|
||||||
|
|
|
@ -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>',
|
||||||
|
|
Loading…
Reference in a new issue