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; } }