diff --git a/apps/common/main/resources/img/toolbar/charttypes.svg b/apps/common/main/resources/img/toolbar/charttypes.svg new file mode 100644 index 000000000..3f3289bb2 --- /dev/null +++ b/apps/common/main/resources/img/toolbar/charttypes.svg @@ -0,0 +1,157 @@ + \ No newline at end of file diff --git a/apps/common/main/resources/less/toolbar.less b/apps/common/main/resources/less/toolbar.less index 96a098cbb..07292b1db 100644 --- a/apps/common/main/resources/less/toolbar.less +++ b/apps/common/main/resources/less/toolbar.less @@ -515,9 +515,19 @@ } .item-chartlist { - .background-ximage-v2('toolbar/charttypes.png', 250px); - width: 50px; - height: 50px; + //.background-ximage-v2('toolbar/charttypes.png', 250px); + width: 40px; + height: 40px; + .icon { + width: 40px; + height: 40px; + } + + svg.icon { + display: inline-block; + vertical-align: middle; + fill: #444444; + } } .line-normal { diff --git a/apps/documenteditor/main/app/view/ChartSettings.js b/apps/documenteditor/main/app/view/ChartSettings.js index 878effd46..b3b62dbc4 100644 --- a/apps/documenteditor/main/app/view/ChartSettings.js +++ b/apps/documenteditor/main/app/view/ChartSettings.js @@ -263,7 +263,7 @@ define([ restoreHeight: 421, groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData()), store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()), - itemTemplate: _.template('
') + itemTemplate: _.template('') }); }); this.btnChartType.render($('#chart-button-type')); diff --git a/apps/documenteditor/main/app/view/Toolbar.js b/apps/documenteditor/main/app/view/Toolbar.js index eb0b47b2e..6f53ada8a 100644 --- a/apps/documenteditor/main/app/view/Toolbar.js +++ b/apps/documenteditor/main/app/view/Toolbar.js @@ -1676,7 +1676,7 @@ define([ restoreHeight: 421, groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData(true)), store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()), - itemTemplate: _.template('') + itemTemplate: _.template('') }); picker.on('item:click', function (picker, item, record, e) { if (record) diff --git a/apps/documenteditor/main/index.html b/apps/documenteditor/main/index.html index b5d3c4ecb..0f8f2c9c0 100644 --- a/apps/documenteditor/main/index.html +++ b/apps/documenteditor/main/index.html @@ -249,6 +249,7 @@