[SSE] Fix icons for advanced settings

This commit is contained in:
Julia Radzhabova 2019-12-02 11:40:47 +03:00
parent 50ffc1ac58
commit 929ba40dbd
2 changed files with 5 additions and 28 deletions

View file

@ -199,9 +199,9 @@ define([
this.viewSettingsPicker = new Common.UI.DataView({
el: $markup.findById('#id-settings-menu'),
store: new Common.UI.DataViewStore([
{name: this.txtGeneral, panel: this.generalSettings, iconCls:'mnu-settings-general', selected: true},
{name: this.txtPageSettings, panel: this.printSettings, iconCls:'mnu-print'},
{name: this.txtSpellChecking, panel: this.spellcheckSettings, iconCls:'mu-settings-spellcheck'}
{name: this.txtGeneral, panel: this.generalSettings, iconCls:'toolbar__icon btn-settings', selected: true},
{name: this.txtPageSettings, panel: this.printSettings, iconCls:'toolbar__icon btn-print'},
{name: this.txtSpellChecking, panel: this.spellcheckSettings, iconCls:'toolbar__icon btn-ic-docspell'}
]),
itemTemplate: _.template([
'<div id="<%= id %>" class="settings-item-wrap">',

View file

@ -189,22 +189,8 @@
.settings-icon {
width: 20px;
height: 20px;
background-repeat: no-repeat;
.background-ximage('@{app-image-path}/toolbar-menu.png', '@{app-image-path}/toolbar-menu@2x.png', 60px);
margin: 0 5px 3px 0;
vertical-align: middle;
&.mnu-print {
background-position: 0 -220px;
}
&.mnu-settings-general {
background-position: 0 -1141px;
}
&.mu-settings-spellcheck {
background-position: 0px -1860px;
}
}
}
@ -218,17 +204,8 @@
color: @dropdown-link-active-color;
.settings-icon {
&.mnu-print {
background-position: -20px -220px;
}
&.mnu-settings-general {
background-position: -20px -1141px;
}
&.mu-settings-spellcheck {
background-position: -20px -1860px;
}
background-position-x: -20px;
--bgX: -20px;
}
}
}