fix viewBox

This commit is contained in:
varlesh 2016-12-12 06:59:03 +04:00
parent 2c8a7b244f
commit 53f7cd0903
2 changed files with 16 additions and 18 deletions

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 0 44 44" width="22" version="1.1"> <svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1">
<rect style="fill:#7e7e7e" x="-40" y="-34" width="32" height="24" transform="matrix(0,-1,-1,0,0,0)" rx="2" ry="2"/> <rect style="fill:#7e7e7e" x="-20" y="-17" width="16" height="12" transform="matrix(0,-1,-1,0,0,0)" rx="1" ry="1"/>
<rect style="fill:#757575" x="-36" y="-42" width="32" height="40" ry="2" rx="2" transform="matrix(0,-1,-1,0,0,0)"/> <rect style="fill:#757575" x="-18" y="-21" width="16" height="20" ry="1" rx="1" transform="matrix(0,-1,-1,0,0,0)"/>
<rect style="fill:#464646" x="-34" y="-40" width="28" height="36" transform="matrix(0,-1,-1,0,0,0)" rx="0" ry="0"/> <rect style="fill:#464646" x="-17" y="-20" width="14" height="18" transform="matrix(0,-1,-1,0,0,0)" rx="0" ry="0"/>
<path style="opacity:0.8;fill:#ffffff" d="m 8,12 0,4 4,0 0,12 4,0 0,-12 4,0 0,-4 -8,0 z m 14,0 3,16 6,0 3,-16 -4,0 L 28,22.666 26,12 Z"/> <path style="opacity:0.8;fill:#ffffff" d="m 4,6 0,2 2,0 0,6 2,0 0,-6 2,0 0,-2 -4,0 z m 7,0 1.5,8 3,0 L 17,6 15,6 14,11.333 13,6 Z"/>
<path style="opacity:0.2;fill:#ffffff" d="M 4,4 C 2.892,4 2,4.892 2,6 L 2,7 C 2,5.892 2.892,5 4,5 l 36,0 c 1.108,0 2,0.892 2,2 L 42,6 C 42,4.892 41.108,4 40,4 L 4,4 Z"/> <path style="opacity:0.2;fill:#ffffff" d="M 2,2 C 1.446,2 1,2.446 1,3 l 0,0.5 c 0,-0.554 0.446,-1 1,-1 l 18,0 c 0.554,0 1,0.446 1,1 L 21,3 C 21,2.446 20.554,2 20,2 L 2,2 Z"/>
<path style="opacity:0.2" d="m 10,38 0,1 c 0,1.108 0.892,2 2,2 l 20,0 c 1.108,0 2,-0.892 2,-2 l 0,-1 c 0,1.108 -0.892,2 -2,2 l -20,0 c -1.108,0 -2,-0.892 -2,-2 z"/> <path style="opacity:0.2" d="m 5,19 0,0.5 c 0,0.554 0.446,1 1,1 l 10,0 c 0.554,0 1,-0.446 1,-1 L 17,19 c 0,0.554 -0.446,1 -1,1 L 6,20 C 5.446,20 5,19.554 5,19 Z"/>
<path style="opacity:0.2" d="m 2,34 0,1 c 0,1.108 0.892,2 2,2 l 36,0 c 1.108,0 2,-0.892 2,-2 l 0,-1 c 0,1.108 -0.892,2 -2,2 L 4,36 C 2.892,36 2,35.108 2,34 Z"/> <path style="opacity:0.2" d="m 1,17 0,0.5 c 0,0.554 0.446,1 1,1 l 18,0 c 0.554,0 1,-0.446 1,-1 L 21,17 c 0,0.554 -0.446,1 -1,1 L 2,18 C 1.446,18 1,17.554 1,17 Z"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,12 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 48 48" width="24" version="1.1"> <svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" version="1.1">
<g transform="translate(2,2)"> <rect style="fill:#7e7e7e" x="-21" y="-18" width="16" height="12" transform="matrix(0,-1,-1,0,0,0)" rx="1" ry="1"/>
<rect ry="2" rx="2" transform="matrix(0,-1,-1,0,0,0)" height="24" width="32" y="-34" x="-40" fill="#7e7e7e"/> <rect style="fill:#757575" x="-19" y="-22" width="16" height="20" ry="1" rx="1" transform="matrix(0,-1,-1,0,0,0)"/>
<rect transform="matrix(0,-1,-1,0,0,0)" rx="2" ry="2" height="40" width="32" y="-42" x="-36" fill="#757575"/> <rect style="fill:#464646" x="-18" y="-21" width="14" height="18" transform="matrix(0,-1,-1,0,0,0)" rx="0" ry="0"/>
<rect ry="0" rx="0" transform="matrix(0,-1,-1,0,0,0)" height="36" width="28" y="-40" x="-34" fill="#464646"/> <path style="opacity:0.8;fill:#ffffff" d="m 5,7 0,2 2,0 0,6 2,0 0,-6 2,0 0,-2 -4,0 z m 7,0 1.5,8 3,0 L 18,7 16,7 15,12.333 14,7 Z"/>
<path opacity=".8" fill="#fff" d="m8 12v4h4v12h4v-12h4v-4h-8zm14 0 3 16h6l3-16h-4l-2 10.666-2-10.666z"/> <path style="opacity:0.2;fill:#ffffff" d="M 3,3 C 2.446,3 2,3.446 2,4 l 0,0.5 c 0,-0.554 0.446,-1 1,-1 l 18,0 c 0.554,0 1,0.446 1,1 L 22,4 C 22,3.446 21.554,3 21,3 L 3,3 Z"/>
<path opacity=".2" fill="#fff" d="m4 4c-1.108 0-2 0.892-2 2v1c0-1.108 0.892-2 2-2h36c1.108 0 2 0.892 2 2v-1c0-1.108-0.892-2-2-2h-36z"/> <path style="opacity:0.2" d="m 6,20 0,0.5 c 0,0.554 0.446,1 1,1 l 10,0 c 0.554,0 1,-0.446 1,-1 L 18,20 c 0,0.554 -0.446,1 -1,1 L 7,21 C 6.446,21 6,20.554 6,20 Z"/>
<path opacity=".2" d="m10 38v1c0 1.108 0.892 2 2 2h20c1.108 0 2-0.892 2-2v-1c0 1.108-0.892 2-2 2h-20c-1.108 0-2-0.892-2-2z"/> <path style="opacity:0.2" d="m 2,18 0,0.5 c 0,0.554 0.446,1 1,1 l 18,0 c 0.554,0 1,-0.446 1,-1 L 22,18 c 0,0.554 -0.446,1 -1,1 L 3,19 C 2.446,19 2,18.554 2,18 Z"/>
<path opacity=".2" d="m2 34v1c0 1.108 0.892 2 2 2h36c1.108 0 2-0.892 2-2v-1c0 1.108-0.892 2-2 2h-36c-1.108 0-2-0.892-2-2z"/>
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB