Fix toolbar icons

This commit is contained in:
Julia Radzhabova 2019-11-29 15:33:16 +03:00
parent 08daab14b1
commit 1129d455d5
3 changed files with 19 additions and 19 deletions

View file

@ -308,7 +308,7 @@
pointer-events: none; pointer-events: none;
position: absolute; position: absolute;
left: 3px; left: 3px;
bottom: 2px; bottom: 1px;
width: 14px; width: 14px;
height: 3px; height: 3px;
background-color: red; background-color: red;

View file

@ -266,7 +266,7 @@ define(['text!documenteditor/main/app/template/WatermarkSettings.template',
this.btnBold = new Common.UI.Button({ this.btnBold = new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-bold', iconCls: 'toolbar__icon btn-bold',
enableToggle: true, enableToggle: true,
hint: this.textBold hint: this.textBold
}); });
@ -275,7 +275,7 @@ define(['text!documenteditor/main/app/template/WatermarkSettings.template',
this.btnItalic = new Common.UI.Button({ this.btnItalic = new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-italic', iconCls: 'toolbar__icon btn-italic',
enableToggle: true, enableToggle: true,
hint: this.textItalic hint: this.textItalic
}); });
@ -293,7 +293,7 @@ define(['text!documenteditor/main/app/template/WatermarkSettings.template',
this.btnStrikeout = new Common.UI.Button({ this.btnStrikeout = new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-strikeout', iconCls: 'toolbar__icon btn-strikeout',
enableToggle: true, enableToggle: true,
hint: this.textStrikeout hint: this.textStrikeout
}); });
@ -318,7 +318,7 @@ define(['text!documenteditor/main/app/template/WatermarkSettings.template',
}; };
this.btnTextColor = new Common.UI.Button({ this.btnTextColor = new Common.UI.Button({
cls : 'btn-toolbar', cls : 'btn-toolbar',
iconCls : 'btn-fontcolor', iconCls : 'toolbar__icon btn-fontcolor',
hint : this.textColor, hint : this.textColor,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
items: [ items: [

View file

@ -427,7 +427,7 @@ define([
this.btnBold = []; this.btnBold = [];
this.btnBold.push(new Common.UI.Button({ this.btnBold.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-bold', iconCls: 'toolbar__icon btn-bold',
enableToggle: true, enableToggle: true,
hint: this.textBold hint: this.textBold
})); }));
@ -437,7 +437,7 @@ define([
this.btnBold.push(new Common.UI.Button({ this.btnBold.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-bold', iconCls: 'toolbar__icon btn-bold',
enableToggle: true, enableToggle: true,
hint: this.textBold hint: this.textBold
})); }));
@ -448,7 +448,7 @@ define([
this.btnItalic = []; this.btnItalic = [];
this.btnItalic.push(new Common.UI.Button({ this.btnItalic.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-italic', iconCls: 'toolbar__icon btn-italic',
enableToggle: true, enableToggle: true,
hint: this.textItalic hint: this.textItalic
})); }));
@ -458,7 +458,7 @@ define([
this.btnItalic.push(new Common.UI.Button({ this.btnItalic.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-italic', iconCls: 'toolbar__icon btn-italic',
enableToggle: true, enableToggle: true,
hint: this.textItalic hint: this.textItalic
})); }));
@ -469,7 +469,7 @@ define([
this.btnUnderline = []; this.btnUnderline = [];
this.btnUnderline.push(new Common.UI.Button({ this.btnUnderline.push(new Common.UI.Button({
cls : 'btn-toolbar', cls : 'btn-toolbar',
iconCls : 'btn-underline', iconCls : 'toolbar__icon btn-underline',
enableToggle: true, enableToggle: true,
hint: this.textUnderline hint: this.textUnderline
})); }));
@ -479,7 +479,7 @@ define([
this.btnUnderline.push(new Common.UI.Button({ this.btnUnderline.push(new Common.UI.Button({
cls : 'btn-toolbar', cls : 'btn-toolbar',
iconCls : 'btn-underline', iconCls : 'toolbar__icon btn-underline',
enableToggle: true, enableToggle: true,
hint: this.textUnderline hint: this.textUnderline
})); }));
@ -490,7 +490,7 @@ define([
this.btnStrikeout = []; this.btnStrikeout = [];
this.btnStrikeout.push(new Common.UI.Button({ this.btnStrikeout.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-strikeout', iconCls: 'toolbar__icon btn-strikeout',
enableToggle: true, enableToggle: true,
hint: this.textStrikeout hint: this.textStrikeout
})); }));
@ -500,7 +500,7 @@ define([
this.btnStrikeout.push(new Common.UI.Button({ this.btnStrikeout.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-strikeout', iconCls: 'toolbar__icon btn-strikeout',
enableToggle: true, enableToggle: true,
hint: this.textStrikeout hint: this.textStrikeout
})); }));
@ -511,7 +511,7 @@ define([
this.btnSuperscript = []; this.btnSuperscript = [];
this.btnSuperscript.push(new Common.UI.Button({ this.btnSuperscript.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-superscript', iconCls: 'toolbar__icon btn-superscript',
enableToggle: true, enableToggle: true,
toggleGroup: 'superscriptHFGroup', toggleGroup: 'superscriptHFGroup',
hint: this.textSuperscript hint: this.textSuperscript
@ -522,7 +522,7 @@ define([
this.btnSuperscript.push(new Common.UI.Button({ this.btnSuperscript.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-superscript', iconCls: 'toolbar__icon btn-superscript',
enableToggle: true, enableToggle: true,
toggleGroup: 'superscriptHFGroup', toggleGroup: 'superscriptHFGroup',
hint: this.textSuperscript hint: this.textSuperscript
@ -534,7 +534,7 @@ define([
this.btnSubscript = []; this.btnSubscript = [];
this.btnSubscript.push(new Common.UI.Button({ this.btnSubscript.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-subscript', iconCls: 'toolbar__icon btn-subscript',
enableToggle: true, enableToggle: true,
toggleGroup: 'superscriptHFGroup', toggleGroup: 'superscriptHFGroup',
hint: this.textSubscript hint: this.textSubscript
@ -545,7 +545,7 @@ define([
this.btnSubscript.push(new Common.UI.Button({ this.btnSubscript.push(new Common.UI.Button({
cls: 'btn-toolbar', cls: 'btn-toolbar',
iconCls: 'btn-subscript', iconCls: 'toolbar__icon btn-subscript',
enableToggle: true, enableToggle: true,
toggleGroup: 'superscriptHFGroup', toggleGroup: 'superscriptHFGroup',
hint: this.textSubscript hint: this.textSubscript
@ -574,7 +574,7 @@ define([
this.btnTextColor = []; this.btnTextColor = [];
this.btnTextColor.push(new Common.UI.Button({ this.btnTextColor.push(new Common.UI.Button({
cls : 'btn-toolbar', cls : 'btn-toolbar',
iconCls : 'btn-fontcolor', iconCls : 'toolbar__icon btn-fontcolor',
hint : this.textColor, hint : this.textColor,
split : true, split : true,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
@ -593,7 +593,7 @@ define([
this.btnTextColor.push(new Common.UI.Button({ this.btnTextColor.push(new Common.UI.Button({
cls : 'btn-toolbar', cls : 'btn-toolbar',
iconCls : 'btn-fontcolor', iconCls : 'toolbar__icon btn-fontcolor',
hint : this.textColor, hint : this.textColor,
split : true, split : true,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({