Fix address

This commit is contained in:
OVSharova 2021-08-27 20:12:41 +03:00
parent 63658df710
commit 232b75bcf4
3 changed files with 5 additions and 38 deletions

View file

@ -1,28 +0,0 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<style>
symbol {display: none}
symbol:target {display: inline}
</style>
<symbol id="attention" viewBox="0 0 40 40">
<path d="M3.25245 31.1904L18.366 4.94276C19.0898 3.68575 20.9102 3.68575 21.634 4.94275L36.7475 31.1904C37.4678 32.4412 36.5612 34 35.1136 34H4.88642C3.43881 34 2.53225 32.4412 3.25245 31.1904Z" fill="#FFD112"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M21 25H19L18 18V12H22V18L21 25ZM22 31H18V27H22V31Z" fill="white"/>
</symbol>
<symbol id="done" viewBox="0 0 40 40">
<circle cx="20" cy="20" r="16" fill="#009900"/>
<path d="M12 20L18 26L29 15" stroke="white" stroke-width="4"/>
</symbol>
<symbol id="info" viewBox="0 0 40 40">
<circle cx="20" cy="20" r="16" fill="#007DF1"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M22 10H18V14H22V10ZM22 17H18V30H22V17Z" fill="white"/>
</symbol>
<symbol id="warning" viewBox="0 0 40 40">
<circle cx="20" cy="20" r="16" fill="#F62211"/>
<rect x="10" y="17" width="20" height="6" fill="white"/>
</symbol>
<use id="attention" xlink:href="#attention" ></use>
<use id="done" xlink:href="#done" ></use>
<use id="info" xlink:href="#info" ></use>
<use id="warning" xlink:href="#warning" ></use>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

View file

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

View file

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