[SSE] repaired icons in 'named range' dialog
This commit is contained in:
parent
53557dad16
commit
6ce306f7e6
|
@ -121,7 +121,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template',
|
||||||
template: _.template(['<div class="listview inner" style=""></div>'].join('')),
|
template: _.template(['<div class="listview inner" style=""></div>'].join('')),
|
||||||
itemTemplate: _.template([
|
itemTemplate: _.template([
|
||||||
'<div id="<%= id %>" class="list-item" style="width: 100%;display:inline-block;<% if (!lock) { %>pointer-events:none;<% } %>">',
|
'<div id="<%= id %>" class="list-item" style="width: 100%;display:inline-block;<% if (!lock) { %>pointer-events:none;<% } %>">',
|
||||||
'<div class="listitem-icon <% if (isTable) {%>listitem-table<%} %>"></div>',
|
'<div class="listitem-icon toolbar__icon <% print(isTable?"btn-menu-table":"btn-named-range") %>"></div>',
|
||||||
'<div style="width:141px;padding-right: 5px;"><%= name %></div>',
|
'<div style="width:141px;padding-right: 5px;"><%= name %></div>',
|
||||||
'<div style="width:94px;padding-right: 5px;"><%= scopeName %></div>',
|
'<div style="width:94px;padding-right: 5px;"><%= scopeName %></div>',
|
||||||
'<div style="width:212px;"><%= range %></div>',
|
'<div style="width:212px;"><%= range %></div>',
|
||||||
|
|
|
@ -46,26 +46,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.listitem-icon {
|
.listitem-icon {
|
||||||
.background-ximage('@{app-image-path}/toolbar-menu.png', '@{app-image-path}/toolbar-menu@2x.png', 20px);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: 0 -1560px;
|
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listitem-table {
|
|
||||||
background-position: 0 -1580px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
.listitem-icon {
|
.listitem-icon {
|
||||||
background-position: -20px -1560px;
|
background-position-x: -20px;
|
||||||
}
|
--bgX: -20px;
|
||||||
|
|
||||||
.listitem-table {
|
|
||||||
background-position: -20px -1580px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue