From f8ed6874226d153743edfc521f94607f01bdb6d6 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Thu, 30 Jul 2020 09:41:45 +0530 Subject: [PATCH] Remove png icons and use svg icons Since svg support was poor, we had used a fallback approach. But browsers support svg these days. --- css/jquery.uls.css | 12 +++--------- images/close.png | Bin 258 -> 0 bytes images/language.png | Bin 447 -> 0 bytes images/search.png | Bin 364 -> 0 bytes 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 images/close.png delete mode 100644 images/language.png delete mode 100644 images/search.png diff --git a/css/jquery.uls.css b/css/jquery.uls.css index 3564d9f..c8e6c22 100644 --- a/css/jquery.uls.css +++ b/css/jquery.uls.css @@ -1,7 +1,5 @@ .uls-trigger { - background: url( ../images/language.png ) no-repeat left center; - /* @embed */ - background-image: linear-gradient( transparent, transparent ), url( ../images/language.svg ); + background: url( ../images/language.svg ) no-repeat left center; padding-left: 24px; } @@ -65,9 +63,7 @@ } .uls-search-label { - background: url( ../images/search.png ) no-repeat center center; - /* @embed */ - background-image: linear-gradient( transparent, transparent ), url( ../images/search.svg ); + background: url( ../images/search.svg ) no-repeat center center; background-size: 20px; height: 32px; width: 44px; @@ -110,9 +106,7 @@ } .uls-languagefilter-clear { - background: url( ../images/close.png ) no-repeat left center; - /* @embed */ - background-image: linear-gradient( transparent, transparent ), url( ../images/close.svg ); + background: url( ../images/close.svg ) no-repeat left center; background-size: 15px; cursor: pointer; height: 15px; diff --git a/images/close.png b/images/close.png deleted file mode 100644 index e320bfcfbf1ed49fff5840ac966968506f633b45..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VORD{lS#P}X3qJHA5Fb@oXtei1UT-irAP?d3R{Hk^||UHxHN5( wq8szYwn>w|9_ct+Rdz*3CL^eZ*N%aqQpUmJc4_-(pi>w;UHx3vIVCg!0Fp~l!av3%4+HEjF5v92 zXEx-Y^&?Z^UZ>hKjw4S4q|^f#9@#s@bf~0peof<;bt^mIqjpP-C3}ZG!$uQ<&5R!{ z751?l(ecR2S=e@vXX~-_1qK54jE{^R_AqtSGj3#^HOuvaNCNYb`o;=I#qcV{qZ#V6 z<|qi%Ge7zp@Gno{AJ-A48$3cxkIEGOF&)Wo{K07A^PFj;S%|ORl|>dB_EM+LyP0Wl zb(lL&KIX6Ru373F=MhtfKWwkK@-iywnl?E$a7#TCpTNr^`GIHF-6tD%%wd*_+aO`z zIL)u$@#xu!rW=GN`aKss;aKe9`Q^`r4Yu9R|CB=J^+zyoUa;=O0mXQ(ss8HM90Hi? mxk@$76j*!b7&q@vVPlYtjE_C~-KZZJ*bJVoelF{r5}E*wVxyb@ diff --git a/images/search.png b/images/search.png deleted file mode 100644 index 5c5d83df5654127072b5c536fce105b358bbeff6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 364 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VORAe@o6`%8LDJFWS)3_ z{@k09y06(!t0^g|dMT;12nzXK-e6d$x{7}e=X%c@&Od)R967>t{?p&NA1qT(&5iA7 zJXYAr;};fQx8%)&^bc-b=EkhcCY1GDlX