diff options
author | Nicolas Wendling <nicolas.wendling1011@gmail.com> | 2021-03-06 21:28:02 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 088ebcc63a892f2245c863c647516c0dd8041de7 (patch) | |
tree | b347f8222e43d0d467689b7b585024bac3562ca3 | |
parent | 0085e533b57722f0689eba8787b17a935a9bc066 (diff) |
🎨 Load icons from the server and delete SVGs
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
-rw-r--r-- | css/content.css | 4 | ||||
-rw-r--r-- | css/navigation.css | 3 | ||||
-rw-r--r-- | img/checkmark.svg | 1 | ||||
-rw-r--r-- | img/share.svg | 19 | ||||
-rw-r--r-- | templates/part.content.php | 4 |
5 files changed, 2 insertions, 29 deletions
diff --git a/css/content.css b/css/content.css index 7d0c14f73..fdd80bf6e 100644 --- a/css/content.css +++ b/css/content.css @@ -322,10 +322,6 @@ } #app-content .utils .share { - background-image: url('../img/share.svg'); -} - -#app-content .utils .share { opacity: .3; } diff --git a/css/navigation.css b/css/navigation.css index d457069f6..80538715f 100644 --- a/css/navigation.css +++ b/css/navigation.css @@ -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%; diff --git a/img/checkmark.svg b/img/checkmark.svg deleted file mode 100644 index 3501b5a42..000000000 --- a/img/checkmark.svg +++ /dev/null @@ -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> diff --git a/img/share.svg b/img/share.svg deleted file mode 100644 index 95a953594..000000000 --- a/img/share.svg +++ /dev/null @@ -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>
\ No newline at end of file diff --git a/templates/part.content.php b/templates/part.content.php index 9d8ea455e..3dcc5254e 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -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&body=Check out this site {{ ::item.url }}"></a> </div> </div> |