From 232b75bcf4d31286e5b1e864e4b069f0215258c6 Mon Sep 17 00:00:00 2001 From: OVSharova Date: Fri, 27 Aug 2021 20:12:41 +0300 Subject: [PATCH] Fix address --- .../main/resources/img/controls/warnings2.svg | 28 ------------------- .../main/resources/less/opendialog.less | 3 +- apps/common/main/resources/less/window.less | 12 +++----- 3 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 apps/common/main/resources/img/controls/warnings2.svg diff --git a/apps/common/main/resources/img/controls/warnings2.svg b/apps/common/main/resources/img/controls/warnings2.svg deleted file mode 100644 index 0451e7eea..000000000 --- a/apps/common/main/resources/img/controls/warnings2.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/common/main/resources/less/opendialog.less b/apps/common/main/resources/less/opendialog.less index 12e9ec683..420ed6401 100644 --- a/apps/common/main/resources/less/opendialog.less +++ b/apps/common/main/resources/less/opendialog.less @@ -83,8 +83,7 @@ height: 40px; &.warn { - background: url('../../../../common/main/resources/img/controls/warnings.svg#attention') no-repeat center; - //background-position: @alerts-offset-x @alerts-offset-y - 105px; + background: ~"url('@{common-image-const-path}/controls/warnings.svg#attention')" no-repeat center; } } } diff --git a/apps/common/main/resources/less/window.less b/apps/common/main/resources/less/window.less index df3ee3075..c6225f98c 100644 --- a/apps/common/main/resources/less/window.less +++ b/apps/common/main/resources/less/window.less @@ -172,8 +172,7 @@ .icon { &.warn { - background: url('../../../../common/main/resources/img/controls/warnings.svg#attention') no-repeat center; - //background-position: @alerts-offset-x @alerts-offset-y - 105px; + background: ~"url('@{common-image-const-path}/controls/warnings.svg#attention')" no-repeat center; } &.error, &.info, &.confirm, &.warn { @@ -182,18 +181,15 @@ } &.error { - background: url('../../../../common/main/resources/img/controls/warnings.svg#warning') no-repeat center; - //background-position: @alerts-offset-x @alerts-offset-y - 0; + background: ~"url('@{common-image-const-path}/controls/warnings.svg#warning')" no-repeat center; } &.info { - background: url('../../../../common/main/resources/img/controls/warnings.svg#info') no-repeat center; - //background-position: @alerts-offset-x @alerts-offset-y - 35px; + background: ~"url('@{common-image-const-path}/controls/warnings.svg#info')" no-repeat center; } &.confirm { - background: url('../../../../common/main/resources/img/controls/warnings.svg#done') no-repeat center; - //background-position: @alerts-offset-x @alerts-offset-y - 70px; + background: ~"url('@{common-image-const-path}/controls/warnings.svg#done')" no-repeat center; } }