From 64f04305d39eee5c4f8cb5ee5383bba872fd293f Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 9 Sep 2017 14:57:53 -0400 Subject: [PATCH] Replace all remaining PNG UI icons with SVGs --- assets/images/icons.png | Bin 1079 -> 0 bytes assets/images/icons@2x.png | Bin 2225 -> 0 bytes .../javascripts/templates/notif_tmpl.coffee | 5 ++- assets/javascripts/templates/path_tmpl.coffee | 2 +- .../javascripts/templates/sidebar_tmpl.coffee | 2 +- .../views/content/entry_page.coffee | 18 +++++---- assets/stylesheets/application-dark.css.scss | 2 - assets/stylesheets/application.css.scss | 2 - assets/stylesheets/components/_content.scss | 19 ++++----- assets/stylesheets/components/_header.scss | 38 +++++++++--------- assets/stylesheets/components/_mobile.scss | 3 +- assets/stylesheets/components/_notif.scss | 5 ++- assets/stylesheets/components/_settings.scss | 5 +-- assets/stylesheets/global/_classes.scss | 15 ++++--- assets/stylesheets/global/_icons.scss | 24 +++-------- lib/app.rb | 2 - public/icons/ui/clear/SOURCE | 1 - public/icons/ui/clear/clear.png | Bin 305 -> 0 bytes public/icons/ui/clear/clear@2x.png | Bin 588 -> 0 bytes public/icons/ui/clipboard-white/16.png | Bin 151 -> 0 bytes public/icons/ui/clipboard-white/16@2x.png | Bin 229 -> 0 bytes public/icons/ui/clipboard-white/SOURCE | 1 - public/icons/ui/clipboard/16.png | Bin 151 -> 0 bytes public/icons/ui/clipboard/16@2x.png | Bin 230 -> 0 bytes public/icons/ui/clipboard/SOURCE | 1 - public/icons/ui/close-white/SOURCE | 1 - public/icons/ui/close-white/close-white.png | Bin 281 -> 0 bytes .../icons/ui/close-white/close-white@2x.png | Bin 508 -> 0 bytes public/icons/ui/link-white/SOURCE | 1 - public/icons/ui/link-white/link-white.png | Bin 143 -> 0 bytes public/icons/ui/link-white/link-white@2x.png | Bin 233 -> 0 bytes public/icons/ui/link/SOURCE | 1 - public/icons/ui/link/link.png | Bin 230 -> 0 bytes public/icons/ui/link/link@2x.png | Bin 439 -> 0 bytes public/icons/ui/search-white/SOURCE | 1 - public/icons/ui/search-white/search-white.png | Bin 248 -> 0 bytes .../icons/ui/search-white/search-white@2x.png | Bin 465 -> 0 bytes public/icons/ui/search/SOURCE | 1 - public/icons/ui/search/search.png | Bin 371 -> 0 bytes public/icons/ui/search/search@2x.png | Bin 774 -> 0 bytes views/app.erb | 25 +++++++----- 41 files changed, 83 insertions(+), 92 deletions(-) delete mode 100644 assets/images/icons.png delete mode 100644 assets/images/icons@2x.png delete mode 100644 public/icons/ui/clear/SOURCE delete mode 100644 public/icons/ui/clear/clear.png delete mode 100644 public/icons/ui/clear/clear@2x.png delete mode 100644 public/icons/ui/clipboard-white/16.png delete mode 100644 public/icons/ui/clipboard-white/16@2x.png delete mode 100644 public/icons/ui/clipboard-white/SOURCE delete mode 100644 public/icons/ui/clipboard/16.png delete mode 100644 public/icons/ui/clipboard/16@2x.png delete mode 100644 public/icons/ui/clipboard/SOURCE delete mode 100644 public/icons/ui/close-white/SOURCE delete mode 100644 public/icons/ui/close-white/close-white.png delete mode 100644 public/icons/ui/close-white/close-white@2x.png delete mode 100644 public/icons/ui/link-white/SOURCE delete mode 100644 public/icons/ui/link-white/link-white.png delete mode 100644 public/icons/ui/link-white/link-white@2x.png delete mode 100644 public/icons/ui/link/SOURCE delete mode 100644 public/icons/ui/link/link.png delete mode 100644 public/icons/ui/link/link@2x.png delete mode 100644 public/icons/ui/search-white/SOURCE delete mode 100644 public/icons/ui/search-white/search-white.png delete mode 100644 public/icons/ui/search-white/search-white@2x.png delete mode 100644 public/icons/ui/search/SOURCE delete mode 100644 public/icons/ui/search/search.png delete mode 100644 public/icons/ui/search/search@2x.png diff --git a/assets/images/icons.png b/assets/images/icons.png deleted file mode 100644 index 8aba11bbc854b65e91a3d89c73941e9b7cde633a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1079 zcmV-71jze|P)%%%v3y7|^UdPlqYkmY zV4i zPN9wl&Y;I>LLsRr@hKayiD`r~2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enl%D6Bex0wk{9RuW;00GJ~6@4V9E4YnrLSJ&6349L$ zmbDn7MTmoa0o(*vPFwy?J<1j6*7p59jP^$<3BIPAYu{ut-bHuLF99k~f&e{JuNkl- zXcKzpS2|mn^S0B?=<`+d0?1di*_bFhi5{%rr!iWs$Js{kTj+vxpiKg}b_D_QWk$L; z-IOktlJ##T#twVZ8_N6)9drx&461`d9tRhZ0A>;dD2_%A?wXX%Eih0L+*s!4=+qeF z$trpw2R^?+J{_mnZ3R$P05lLAB!Xcs#y7Kpe-7^lbWvJX@ck zI`szpkFO6ff#T}}c+>*;`T)64#8hJf`1$|^tk18e1n~6%ihmf>_xSn%eX>5k3R(bP zAE5XbGKytwYF(ee*9S+`py*BY;9n~OG9r8m$` zjU>?ed?${l4jHdzfa2HZ+fkxnA`w-e;NNcQWV(jPM<&reH&Rp|hW_4zLR zrSBN2?S1H8G)a^)XR}K+jR8hb^m%;%eYZstQ1|uu4m8r!HPLl6osUjJw=`~z*Q8@B zNq``uNmhe9UqWcY34K%_U^)tmByeA!@5Tmd5mwM#$M@QfDZyoQ8`^Gv7tpt>grA@= z>I0zf>jPM>&o7=86ks#4BYL=uAo3mqxCB3tS?dD`Tt%mVN%8doMnLp%tM_9M>+=WO zpWBMm`UK<|UHt@2?g`-Q0~EhLzcOCyWe~ld&76a;4`5RC`uyT~!kEM=Y$B+r<>8Yj z>jQ|`wmyJpHR=PnP6QoHuj*mIHzK({UmU1oDxC<5=@^U2tfe#?xvzTy`1$~aug|yO zJ-RHi6DjyN*(ZRn4^a5}{3>`H?CS$m>Eqza6TsI8D0Y2*zfJ&OAHcs7=Ia9#xIVw% zw*bCAfPXFA*9Vx;@bv*aY5{zG0G|M!36lQ@`n)e{Ja92$00000NkvXXu0mjfWB49& diff --git a/assets/javascripts/templates/notif_tmpl.coffee b/assets/javascripts/templates/notif_tmpl.coffee index 45882e87..5d284db1 100644 --- a/assets/javascripts/templates/notif_tmpl.coffee +++ b/assets/javascripts/templates/notif_tmpl.coffee @@ -1,6 +1,9 @@ notif = (title, html) -> html = html.replace /#{title}#{html}