plus var2

This commit is contained in:
OVSharova 2021-08-03 11:39:08 +03:00
parent 32a76a6c92
commit 63658df710
7 changed files with 28 additions and 21 deletions

View file

@ -1,4 +0,0 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<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"/>
</svg>

Before

Width:  |  Height:  |  Size: 431 B

View file

@ -1,4 +0,0 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="20" cy="20" r="16" fill="#009900"/>
<path d="M12 20L18 26L29 15" stroke="white" stroke-width="4"/>
</svg>

Before

Width:  |  Height:  |  Size: 214 B

View file

@ -1,4 +0,0 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="20" cy="20" r="16" fill="#007DF1"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M22 10H18V14H22V10ZM22 17H18V30H22V17Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 255 B

View file

@ -1,4 +0,0 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="20" cy="20" r="16" fill="#F62211"/>
<rect x="10" y="17" width="20" height="6" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 208 B

View file

@ -0,0 +1,28 @@
<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>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -84,7 +84,6 @@
&.warn {
background: url('../../../../common/main/resources/img/controls/warnings.svg#attention') no-repeat center;
//background: url('../../../../common/main/resources/img/controls/attention.svg') no-repeat center;
//background-position: @alerts-offset-x @alerts-offset-y - 105px;
}
}

View file

@ -173,7 +173,6 @@
.icon {
&.warn {
background: url('../../../../common/main/resources/img/controls/warnings.svg#attention') no-repeat center;
//background: url('../../../../common/main/resources/img/controls/attention.svg') no-repeat center;
//background-position: @alerts-offset-x @alerts-offset-y - 105px;
}
@ -184,18 +183,15 @@
&.error {
background: url('../../../../common/main/resources/img/controls/warnings.svg#warning') no-repeat center;
//background: url('../../../../common/main/resources/img/controls/warning.svg') no-repeat center;
//background-position: @alerts-offset-x @alerts-offset-y - 0;
}
&.info {
background: url('../../../../common/main/resources/img/controls/warnings.svg#info') no-repeat center;
//background: url('../../../../common/main/resources/img/controls/info.svg') no-repeat center;
//background-position: @alerts-offset-x @alerts-offset-y - 35px;
}
&.confirm {
//background: url('../../../../common/main/resources/img/controls/done.svg') no-repeat center;
background: url('../../../../common/main/resources/img/controls/warnings.svg#done') no-repeat center;
//background-position: @alerts-offset-x @alerts-offset-y - 70px;
}