diff --git a/apps/documenteditor/main/resources/less/filemenu.less b/apps/documenteditor/main/resources/less/filemenu.less index 260a36e47..04660e5f0 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"; } } @@ -342,7 +342,7 @@ width: 100%; height: 100%; .svg-file-recent { - background: ~"url(resources/img/recent-file.svg) no-repeat top"; + background: ~"url(@{app-image-const-path}/recent-file.svg) no-repeat top"; } } } diff --git a/apps/presentationeditor/main/resources/less/leftmenu.less b/apps/presentationeditor/main/resources/less/leftmenu.less index 900f7ceb6..8eaccb19f 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"; } } @@ -362,7 +362,7 @@ width: 100%; height: 100%; .svg-file-recent { - background: ~"url(resources/img/recent-file.svg) no-repeat top"; + background: ~"url(@{app-image-const-path}/recent-file.svg) no-repeat top"; } } } diff --git a/apps/spreadsheeteditor/main/resources/less/leftmenu.less b/apps/spreadsheeteditor/main/resources/less/leftmenu.less index e27c5b3eb..ec0581a43 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"; } } @@ -426,7 +426,7 @@ width: 100%; height: 100%; .svg-file-recent { - background: ~"url(resources/img/recent-file.svg) no-repeat top"; + background: ~"url(@{app-image-const-path}/recent-file.svg) no-repeat top"; } } }