Merge pull request #777 from ONLYOFFICE/feature/assets-update
Change icons color to black
|
@ -18,15 +18,24 @@ define([
|
|||
}
|
||||
|
||||
var refresh_sdk_colors = function () {
|
||||
var style = getComputedStyle(document.body);
|
||||
if ( !!window.DE ) {
|
||||
var color_background_normal = style.getPropertyValue('--background-normal');
|
||||
this.api.asc_setSkin({
|
||||
"RulerOutline": style.getPropertyValue('--border-toolbar')
|
||||
, "RulerMarkersFillColor": color_background_normal
|
||||
, "RulerMarkersFillColorOld": color_background_normal
|
||||
, "RulerTableColor1": color_background_normal
|
||||
});
|
||||
if ( !(Common.Utils.isIE10 || Common.Utils.isIE11) ) {
|
||||
var style = getComputedStyle(document.body);
|
||||
if ( !!window.DE ) {
|
||||
var color_background_normal = style.getPropertyValue('--background-normal');
|
||||
this.api.asc_setSkin({
|
||||
"RulerOutline": style.getPropertyValue('--border-toolbar'),
|
||||
"RulerMarkersFillColor": color_background_normal,
|
||||
"RulerMarkersFillColorOld": color_background_normal,
|
||||
"RulerTableColor1": color_background_normal,
|
||||
"RulerLight": style.getPropertyValue("--canvas-ruler-background"),
|
||||
"RulerDark": style.getPropertyValue("--canvas-ruler-margins-background"),
|
||||
"RulerTextColor": style.getPropertyValue("--canvas-ruler-mark"),
|
||||
"RulerTableColor2": style.getPropertyValue("--canvas-ruler-handle-border"),
|
||||
"RulerTableColor2Old": style.getPropertyValue("--canvas-ruler-handle-border-disabled"),
|
||||
"RulerTabsColor": style.getPropertyValue("--canvas-high-contrast"),
|
||||
"RulerTabsColorOld": style.getPropertyValue("--canvas-high-contrast-disabled"),
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
|
After Width: | Height: | Size: 387 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-embed.png
Normal file
After Width: | Height: | Size: 301 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-favorite.png
Normal file
After Width: | Height: | Size: 554 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-highlight.png
Normal file
After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 276 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-in-favorite.png
Normal file
After Width: | Height: | Size: 479 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-merge-cells.png
Normal file
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 356 B |
After Width: | Height: | Size: 384 B |
After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 197 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-share.png
Normal file
After Width: | Height: | Size: 407 B |
BIN
apps/common/main/resources/img/toolbar/1.25x/btn-sorting.png
Normal file
After Width: | Height: | Size: 284 B |
After Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 244 B |
BIN
apps/common/main/resources/img/toolbar/1.5x/btn-autocorrect.png
Normal file
After Width: | Height: | Size: 452 B |
BIN
apps/common/main/resources/img/toolbar/1.5x/btn-embed.png
Normal file
After Width: | Height: | Size: 316 B |
BIN
apps/common/main/resources/img/toolbar/1.5x/btn-merge-cells.png
Normal file
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 194 B |
BIN
apps/common/main/resources/img/toolbar/1.5x/btn-share.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
apps/common/main/resources/img/toolbar/1.5x/btn-sorting.png
Normal file
After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 507 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-autocorrect.png
Normal file
After Width: | Height: | Size: 510 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-embed.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-favorite.png
Normal file
After Width: | Height: | Size: 788 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-highlight.png
Normal file
After Width: | Height: | Size: 509 B |
Before Width: | Height: | Size: 367 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-in-favorite.png
Normal file
After Width: | Height: | Size: 645 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-merge-cells.png
Normal file
After Width: | Height: | Size: 229 B |
After Width: | Height: | Size: 424 B |
After Width: | Height: | Size: 453 B |
After Width: | Height: | Size: 508 B |
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 222 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-share.png
Normal file
After Width: | Height: | Size: 521 B |
BIN
apps/common/main/resources/img/toolbar/1.75x/btn-sorting.png
Normal file
After Width: | Height: | Size: 311 B |
BIN
apps/common/main/resources/img/toolbar/1x/btn-add-breakpoint.png
Normal file
After Width: | Height: | Size: 380 B |
BIN
apps/common/main/resources/img/toolbar/1x/btn-autocorrect.png
Normal file
After Width: | Height: | Size: 317 B |
BIN
apps/common/main/resources/img/toolbar/1x/btn-embed.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
apps/common/main/resources/img/toolbar/1x/btn-merge-cells.png
Normal file
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 381 B |
BIN
apps/common/main/resources/img/toolbar/1x/btn-share.png
Normal file
After Width: | Height: | Size: 341 B |
BIN
apps/common/main/resources/img/toolbar/1x/btn-sorting.png
Normal file
After Width: | Height: | Size: 275 B |
BIN
apps/common/main/resources/img/toolbar/2x/btn-add-breakpoint.png
Normal file
After Width: | Height: | Size: 590 B |
BIN
apps/common/main/resources/img/toolbar/2x/btn-autocorrect.png
Normal file
After Width: | Height: | Size: 517 B |
BIN
apps/common/main/resources/img/toolbar/2x/btn-embed.png
Normal file
After Width: | Height: | Size: 367 B |
BIN
apps/common/main/resources/img/toolbar/2x/btn-merge-cells.png
Normal file
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 625 B |
BIN
apps/common/main/resources/img/toolbar/2x/btn-share.png
Normal file
After Width: | Height: | Size: 578 B |
BIN
apps/common/main/resources/img/toolbar/2x/btn-sorting.png
Normal file
After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 8.7 KiB |
|
@ -2707,7 +2707,7 @@ define([
|
|||
}).on('click', _.bind(me.onInsertCaption, me));
|
||||
|
||||
var mnuTableMerge = new Common.UI.MenuItem({
|
||||
iconCls: 'menu__icon btn-merge',
|
||||
iconCls: 'menu__icon btn-merge-cells',
|
||||
caption : me.mergeCellsText
|
||||
}).on('click', function(item) {
|
||||
if (me.api)
|
||||
|
|
|
@ -1171,6 +1171,7 @@ define([
|
|||
if (menu.cmpEl) {
|
||||
var itemEl = $(cmp.cmpEl.find('.dataview.inner .style').get(0)).parent();
|
||||
var itemMargin = /*parseInt($(itemEl.get(0)).parent().css('margin-right'))*/-1;
|
||||
Common.Utils.applicationPixelRatio() > 1 && Common.Utils.applicationPixelRatio() < 2 && (itemMargin = itemMargin + 1/Common.Utils.applicationPixelRatio());
|
||||
var itemWidth = itemEl.is(':visible') ? parseInt(itemEl.css('width')) :
|
||||
(cmp.itemWidth + parseInt(itemEl.css('padding-left')) + parseInt(itemEl.css('padding-right')) +
|
||||
parseInt(itemEl.css('border-left-width')) + parseInt(itemEl.css('border-right-width')));
|
||||
|
|
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 506 B |
Before Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 650 B |
Before Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 493 B |
Before Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 955 B |
|
@ -2165,7 +2165,7 @@ define([
|
|||
});
|
||||
|
||||
var mnuTableMerge = new Common.UI.MenuItem({
|
||||
iconCls: 'menu__icon btn-merge',
|
||||
iconCls: 'menu__icon btn-merge-cells',
|
||||
caption : me.mergeCellsText
|
||||
}).on('click', function(item) {
|
||||
if (me.api)
|
||||
|
|
|
@ -905,6 +905,7 @@ define([
|
|||
if (menu.cmpEl) {
|
||||
var itemEl = $(cmp.cmpEl.find('.dataview.inner .style').get(0)).parent();
|
||||
var itemMargin = /*parseInt($(itemEl.get(0)).parent().css('margin-right'))*/-1;
|
||||
Common.Utils.applicationPixelRatio() > 1 && Common.Utils.applicationPixelRatio() < 2 && (itemMargin = itemMargin + 1/Common.Utils.applicationPixelRatio());
|
||||
var itemWidth = itemEl.is(':visible') ? parseInt(itemEl.css('width')) :
|
||||
(cmp.itemWidth + parseInt(itemEl.css('padding-left')) + parseInt(itemEl.css('padding-right')) +
|
||||
parseInt(itemEl.css('border-left-width')) + parseInt(itemEl.css('border-right-width')));
|
||||
|
|
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 156 B |
After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 154 B |
After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 193 B |
After Width: | Height: | Size: 322 B |
Before Width: | Height: | Size: 242 B |
After Width: | Height: | Size: 233 B |
After Width: | Height: | Size: 244 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 305 B |
After Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 116 B |
Before Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 148 B |
After Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 506 B |
Before Width: | Height: | Size: 138 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 650 B |