From 107ca924587708923972e07666938c98b08ae36c Mon Sep 17 00:00:00 2001 From: Marcus Moeller Date: Fri, 13 Feb 2015 18:00:57 +0100 Subject: [PATCH] use Genericons and fontawesome instead of images --- theme/neo-quitter/css/display.css | 23 ++++++++++++++++++++--- theme/neo-quitter/images/lock.png | Bin 429 -> 0 bytes theme/neo-quitter/images/lock_open.png | Bin 626 -> 0 bytes 3 files changed, 20 insertions(+), 3 deletions(-) delete mode 100644 theme/neo-quitter/images/lock.png delete mode 100644 theme/neo-quitter/images/lock_open.png diff --git a/theme/neo-quitter/css/display.css b/theme/neo-quitter/css/display.css index 773f397f71..8c3845be7a 100644 --- a/theme/neo-quitter/css/display.css +++ b/theme/neo-quitter/css/display.css @@ -968,13 +968,30 @@ background:none; height: 60px; } +.checkbox-wrapper.checked label.checkbox, .checkbox-wrapper.unchecked label.checkbox { - background: url("../images/lock_open.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0); + background-image:none; } +.checkbox-wrapper.checked label.checkbox:before, +.checkbox-wrapper.unchecked label.checkbox:before { + content: "\f023"; + display: block; + font: 20px/1 "fa"; + height: 35px; + left: 0px; + position: absolute; + top: 0px; + width: 35px; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + color:rgba(0,0,0,0.6); + text-indent:0; + text-align:left; +} -.checkbox-wrapper.checked label.checkbox { - background: url("../images/lock.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0); +.checkbox-wrapper.unchecked label.checkbox:before { + content: "\f09c"; } .form_notice label.notice_data-attach { diff --git a/theme/neo-quitter/images/lock.png b/theme/neo-quitter/images/lock.png deleted file mode 100644 index f0357ae21ebcfc4a1b89febdd7f4ade0bdf39f3d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 429 zcmV;e0aE^nP)>}lnpyw=0Xj)U zK~y-)?UBt&0#O)-pD8PUCd17nH5FNbq_l}3h+2eo7u`p<&@Hs-7NSKv#ju?i1|gU- zl7^{ek@?r8o)+rBpl+mP-|FR@_j|tcen(f9vF*9?hdfd(+Wyw6Es-PB|0 zi%%^muEJTsiSOu`U3JzlmLG%S`ZkN6y(e0%i=BD9aW~Ny)xsM(ASr%RGk|T;x3(bz zRLGZgQ#1qc^W6eq%3&MGZ+Eygd8VsdJ>LLe+%k5MEOnoz7ZZfSH^Tg9ZM57|H){5Q znD!yIJub-vc&_zC{e_G+dSa`bAs)4nuQojkvQ--|f@sr$z@O~kA224st|+Lo^&H?A Xa_?!eEDs=W00000NkvXXu0mjf-=eUz diff --git a/theme/neo-quitter/images/lock_open.png b/theme/neo-quitter/images/lock_open.png deleted file mode 100644 index 1783dd55c4b8f4a98e60d88dfa564c8e47166792..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 626 zcmV-&0*(ENP)rqloc0sl!v zK~y-)ozTroRACgy@$VhAv8yJgi8E@0PGn6lZYs#YLZZN+eYC1w&{pstXyL!me%$p! z5H2&3UYJFo6yoIA+@>@d(@9gj&vTyBV$z(TFn`N)4j;}ro~p7lqoboZ=MWJ@gn=_X zI{V=ZD;q*pT@!7I9xj~f^tR@`oj^LB#yLkk9_Reoqu-{-pEbQ*a{QUTJ5 zs2$!0(&;oJLNb{o3`5%OC!H)7Q>MF8n%Ef3sF+ZBy>aVS>@pSCPa9tEY zF`<-!VDdJN(Pc833}F~nJS_L*I&%*PxsiH>F@{VgQ_=S(#-FQHloVU~NU&s~riH}e zW|}&W)7zZ$oc#gL@HxA#uL~ZDzDrbRb2{@SkL-tnA*>&Q{yWYu{ zcSyBofB)d0QNh9Gm6>_ehNuc^%BSuQ_>}`)Z6E^b_6DrX2B=tY4mD;E8zfp#8-mll z0pH&jz*!WB+A>i6KS0~y2QEPV(_^quh-D|yH6pM<0NErft0%g|;=Cq+IHUIzs M07*qoM6N<$g6;wrUH||9 -- 2.39.5