From 134001162c5a5a267ca68f847d3dcade42cf8c95 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 28 Apr 2021 14:10:39 +0300 Subject: [PATCH] [web-apps] fix bug 50030 --- .../main/resources/less/colors-table.less | 2 ++ apps/common/main/resources/less/combobox.less | 22 ++++++++-------- .../resources/img/toolbar/BorderSize@1.5x.png | Bin 0 -> 207 bytes .../main/resources/less/rightmenu.less | 4 +-- .../main/resources/less/toolbar.less | 24 ++++++------------ 5 files changed, 22 insertions(+), 30 deletions(-) create mode 100644 apps/spreadsheeteditor/main/resources/img/toolbar/BorderSize@1.5x.png diff --git a/apps/common/main/resources/less/colors-table.less b/apps/common/main/resources/less/colors-table.less index 799715513..573027e92 100644 --- a/apps/common/main/resources/less/colors-table.less +++ b/apps/common/main/resources/less/colors-table.less @@ -224,6 +224,8 @@ @header-component-active-hover-icon-opacity: var(--header-component-active-hover-icon-opacity, 1); @menu-icon-item-checked-offset-x: var(--menu-icon-item-checked-offset-x, 0); +@img-border-type-filter: var(--image-border-types-filter, none); +@img-border-type-filter-selected: var(--image-border-types-filter-selected, none); // Canvas // --------------------------- diff --git a/apps/common/main/resources/less/combobox.less b/apps/common/main/resources/less/combobox.less index 5e81105ed..166449139 100644 --- a/apps/common/main/resources/less/combobox.less +++ b/apps/common/main/resources/less/combobox.less @@ -1,5 +1,3 @@ -@img-borders-filter: var(--image-border-types-filter); -@img-borders-filter-selected: var(--image-border-types-filter-selected); .combobox { display: block; @@ -33,8 +31,8 @@ float: none; .image { - -webkit-filter: @img-borders-filter; - filter: @img-borders-filter; + -webkit-filter: @img-border-type-filter; + filter: @img-border-type-filter; } } @@ -136,22 +134,22 @@ // ------------------------ li { img { - -webkit-filter: @img-borders-filter; - filter: @img-borders-filter; + -webkit-filter: @img-border-type-filter; + filter: @img-border-type-filter; } canvas { - -webkit-filter: @img-borders-filter; - filter: @img-borders-filter; + -webkit-filter: @img-border-type-filter; + filter: @img-border-type-filter; } &.selected { img { - -webkit-filter: @img-borders-filter-selected; - filter: @img-borders-filter-selected; + -webkit-filter: @img-border-type-filter-selected; + filter: @img-border-type-filter-selected; } canvas { - -webkit-filter: @img-borders-filter-selected; - filter: @img-borders-filter-selected; + -webkit-filter: @img-border-type-filter-selected; + filter: @img-border-type-filter-selected; } } diff --git a/apps/spreadsheeteditor/main/resources/img/toolbar/BorderSize@1.5x.png b/apps/spreadsheeteditor/main/resources/img/toolbar/BorderSize@1.5x.png new file mode 100644 index 0000000000000000000000000000000000000000..18d70bd1405976184115eaea0abac988ec7aea48 GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Q49=>UW`Bn!`7nG1|Y>$666=mz{oh|?>Zo_!_&nv zq~ccckA4RB84?o?C_GJQV*GSSqg_#iQHD)R%*|4b!ysX!!6`wf2FC8zKt6B#$CKSo zxBr=@Bh0oTPNJ99TSDqAck|+2lYq6$FGeKfC)geM(eRMjnRS-YucL=DbUqk