From 9050e375d2e5d15329c5f70fba2eee6331dd76af Mon Sep 17 00:00:00 2001 From: OVSharova Date: Thu, 19 May 2022 17:18:05 +0300 Subject: [PATCH] fix bug --- .../main/resources/less/filemenu.less | 28 +++++++++---------- .../main/resources/less/leftmenu.less | 20 ++++++------- .../main/resources/less/leftmenu.less | 16 +++++------ 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/apps/documenteditor/main/resources/less/filemenu.less b/apps/documenteditor/main/resources/less/filemenu.less index 260a36e47..d2721122f 100644 --- a/apps/documenteditor/main/resources/less/filemenu.less +++ b/apps/documenteditor/main/resources/less/filemenu.less @@ -102,46 +102,46 @@ .svg-format- { &docx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/docx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/docx.svg') no-repeat center"; } &pdf { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pdf.svg') no-repeat center"; } &odt { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/odt.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/odt.svg') no-repeat center"; } &txt { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/txt.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/txt.svg') no-repeat center"; } &dotx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/dotx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/dotx.svg') no-repeat center"; } &pdfa { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pdfa.svg') no-repeat center"; } &ott { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/ott.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/ott.svg') no-repeat center"; } &rtf { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/rtf.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/rtf.svg') no-repeat center"; } &docm { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/docm.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/docm.svg') no-repeat center"; } &docxf { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/docxf.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/docxf.svg') no-repeat center"; } &oform { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/oform.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/oform.svg') no-repeat center"; } &html { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/html.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/html.svg') no-repeat center"; } &fb2 { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/fb2.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/fb2.svg') no-repeat center"; } &epub { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/epub.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/epub.svg') no-repeat center"; } } diff --git a/apps/presentationeditor/main/resources/less/leftmenu.less b/apps/presentationeditor/main/resources/less/leftmenu.less index 900f7ceb6..3f5683e81 100644 --- a/apps/presentationeditor/main/resources/less/leftmenu.less +++ b/apps/presentationeditor/main/resources/less/leftmenu.less @@ -41,34 +41,34 @@ .svg-format- { &pptx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pptx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pptx.svg') no-repeat center"; } &pdf { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pdf.svg') no-repeat center"; } &odp { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/odp.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/odp.svg') no-repeat center"; } &potx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/potx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/potx.svg') no-repeat center"; } &pdfa { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pdfa.svg') no-repeat center"; } &otp { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/otp.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/otp.svg') no-repeat center"; } &ppsx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/ppsx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/ppsx.svg') no-repeat center"; } &png { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/png.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/png.svg') no-repeat center"; } &jpg { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/jpg.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/jpg.svg') no-repeat center"; } &pptm { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pptm.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pptm.svg') no-repeat center"; } } diff --git a/apps/spreadsheeteditor/main/resources/less/leftmenu.less b/apps/spreadsheeteditor/main/resources/less/leftmenu.less index e27c5b3eb..ff3c8fa06 100644 --- a/apps/spreadsheeteditor/main/resources/less/leftmenu.less +++ b/apps/spreadsheeteditor/main/resources/less/leftmenu.less @@ -41,28 +41,28 @@ .svg-format- { &xlsx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/xlsx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/xlsx.svg') no-repeat center"; } &pdf { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pdf.svg') no-repeat center"; } &ods { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/ods.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/ods.svg') no-repeat center"; } &csv { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/csv.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/csv.svg') no-repeat center"; } &xltx { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/xltx.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/xltx.svg') no-repeat center"; } &pdfa { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/pdfa.svg') no-repeat center"; } &ots { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/ots.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/ots.svg') no-repeat center"; } &xlsm { - background: ~"url(../../../apps/common/main/resources/img/doc-formats/xlsm.svg) no-repeat center"; + background: ~"url('@{common-image-const-path}/doc-formats/xlsm.svg') no-repeat center"; } }