🎨 Load icons from the server and delete SVGs

Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
This commit is contained in:
Nicolas Wendling 2021-03-06 21:28:02 +01:00 committed by Sean Molenaar
parent 0085e533b5
commit 088ebcc63a
5 changed files with 2 additions and 29 deletions

View File

@ -321,10 +321,6 @@
background-image: url('../img/hover_star.svg');
}
#app-content .utils .share {
background-image: url('../img/share.svg');
}
#app-content .utils .share {
opacity: .3;
}

View File

@ -105,9 +105,6 @@
background-image: url('../img/twitter.svg') !important;
}
.icon-checkmark {
background-image: url('../img/checkmark.svg') !important;
}
.col-4 {
-ms-flex: 0 0 33.333333%;

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" viewBox="0 0 16 16"><path d="m2.35 7.3 4 4l7.3-7.3" stroke="#000" stroke-width="2" fill="none"/></svg>

Before

Width:  |  Height:  |  Size: 180 B

View File

@ -1,19 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="64.000000pt" height="64.000000pt" viewBox="0 0 64.000000 64.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.16, written by Peter Selinger 2001-2019
</metadata>
<g transform="translate(0.000000,64.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M425 575 c-14 -13 -25 -36 -25 -49 0 -23 -13 -32 -100 -76 -57 -29
-102 -46 -105 -40 -3 6 -29 10 -56 10 -70 0 -99 -29 -99 -100 0 -69 31 -100
101 -100 26 0 51 4 54 10 3 6 48 -11 105 -40 87 -44 100 -53 100 -76 0 -69
119 -102 174 -48 38 39 37 110 -1 149 -26 26 -32 27 -92 22 -61 -5 -70 -2
-148 36 -46 23 -83 44 -83 47 0 12 189 99 195 90 3 -6 28 -10 54 -10 67 0 101
33 101 100 0 67 -34 100 -102 100 -39 0 -54 -5 -73 -25z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 960 B

View File

@ -94,7 +94,7 @@
<li ng-click="Share.toggleDropdown()"
class="util"
news-stop-propagation>
<button class="share svg dropbtn"
<button class="icon-share share svg dropbtn"
title="<?php p($l->t('Share')) ?>">
</button>
</li>
@ -150,7 +150,7 @@
ng-href="https://twitter.com/intent/tweet?url={{ ::item.url }}"></a>
</div>
<div class="col-4">
<a class="icon-dropdown icon-mail pr-5"
<a class="icon-dropdown icon-mail pr-5"
ng-href="mailto:?subject=I wanted you to see this site&amp;body=Check out this site {{ ::item.url }}"></a>
</div>
</div>