From d40e990bd312e3ddb4a04acf09c0ec40b72d715c Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Wed, 25 Jun 2014 16:29:24 +0200 Subject: [PATCH] Add local copy of checkbox icon --- assets/icons/internal/tick.png | Bin 0 -> 6772 bytes assets/less/modules/inputs.import.less | 8 ++++---- assets/less/variables.import.less | 6 ++++-- smart.json | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 assets/icons/internal/tick.png diff --git a/assets/icons/internal/tick.png b/assets/icons/internal/tick.png new file mode 100644 index 0000000000000000000000000000000000000000..f6771daee16807878570a6485e3f526674c7c4d4 GIT binary patch literal 6772 zcmV-)8jIzLP)KLZ*U+O*qc6JYd=mlD0Vl0juATBg>a4G0XP5}yDD6yO3W zkfza-60JNuT;YE=1mN2!AOHaO)oF=|vG9L0o^VDI9RTqFfUxi+dK>_90RU~KC$f?O z@UZ|OmzJEE41g~M0De|LU=RSl76AAofBCHdz#sO@9{>P;mXDVW0DcmHjZCAlA^|9~ z062#W%Hvk9&AiJU%POiW4 z`ov^wuitn(Gug=p0Qdork*E|$-{1b5lo($t01yX2mSPfIya0d~4(MwHFkKm2H#vj+fh0^o{h zEP!7%;0`ik9lQWQ1_0NXnC#*6JJ(=*?AqVG;9f?s?7e>bKN(4O-hXl>NBKDZ(nqcj#*;nm=0!y8UHyOoNbx?Th*^xBY^?x zzY*)-)u%!{EdSw!FmqY|BPQ%`#DCUg4=;fQk$)Ikr?h6Ymj1;5t7C#4!It1iuqP;^ zJJ9oJAKHobqwQ!5P|<5>D>{H)MO*%3ezf0HVF3e@zy)G~0V%)&2E_lb6{Y-T{6;xd zIQ78`7!VIJ5DUz|8T{ZSuz>j=Dk(sPFi3!CV1mov9{)^Q0n@?sF>A~WGsld9iV0$( zppNNbMwk_5fth0ZnDM{e#sA)oIz#{sSda<~NP-x61uTe5W~3(r0N5lXZelSbqmrps ziHWfcHL6oQT|+0?F?GxobHscxI<^tp zitWV8u@l%OtQ)(JO<{A`3Z8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jH)jwtM$cW9@(1c;Se@&0syoG{g zfK{>eb(?Q?YW7hMCmr8A>$+@l?O!YG9_`WL#qS;G)8{AWpBpe0WV5brJ!wNi$SBP` ztRY;Gkr(kLioxuQk&fLGH<7R=v5G}ZN=TkabxLd7q@GceDYm67i!Xa`u0US-HkpFP z9fpOy#eO^A?#eC|+1lR{Hz&j(%#PkX$|dtLYD+RW{@L+@_RUVUHnq2Ob{oYLIaPv<_zf06%k z_v_|)x%sQ#{Jzb7&siWX?EWG8qv9v;&!RV!ZAY({UO#lFGm;eBCjsO7pivR$GcmM!=!vFyHk^lfN z@&Eu4p^-L?o&W#=#z{m$RCwC#mrp2dQ51)N3*CXjgb4=fF*K#bz(7%^WcYf$l)O?# zS1B@~m@5NQGXoh*F>yz?l+hcSc>~Iyx(}a$EvN15bI-jUB6ro9ti9K_f9<{2+WQ!w zuWEJr!d4Uisl=O^%uJHTBo!rfz4)S^q((`5lIA16k2B!S=ls8cd!Fqa=<(v3fCFA_ zDa5O`DFE%j2{0VT4lTCATe|>y9i+uUeOu2;JkSmNb=)hU&u4~mJ{RL_m2?D*OFEX+ z7c=KRqipDvbR_AAb2UratR!ugsm$_Oqzy0tTzc#?pfgq4L_qnJ!e^5&=r6+0(-!G+CCqd*XEuWBh_xS)&8Vv;=h^rrvU&` WE)|5Z8>;C500006 literal 0 HcmV?d00001 diff --git a/assets/less/modules/inputs.import.less b/assets/less/modules/inputs.import.less index 071c041..70e4e42 100644 --- a/assets/less/modules/inputs.import.less +++ b/assets/less/modules/inputs.import.less @@ -119,7 +119,7 @@ nav { top: 4px; left: 3px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); width: 20px; height: 20px; } @@ -134,7 +134,7 @@ nav { top: 4px; left: 2px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); background-position:-20px; width: 22px; height: 22px; @@ -161,7 +161,7 @@ nav { left: 4px; top: 4px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); background-position:-23px; } @@ -174,7 +174,7 @@ nav { left: 3px; top: 4px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); } } diff --git a/assets/less/variables.import.less b/assets/less/variables.import.less index 0cacf35..bb9d9cf 100644 --- a/assets/less/variables.import.less +++ b/assets/less/variables.import.less @@ -110,6 +110,8 @@ @icon-font-name: "flat-ui-icons-regular"; @icon-font-svg-id: "flat-ui-icons-regular"; +@checkbox-icon: "../icons/internal/tick.png" + //** Icon sizes for use in components @icon-normal: 16px; @icon-medium: 18px; @@ -190,7 +192,7 @@ @input-line-height-large: 1.235; // ~21px @input-line-height-huge: 1.318; // ~29px -@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px +@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px @input-bg: @inverse; @input-bg-disabled: mix(@gray, white, 10%); @@ -219,7 +221,7 @@ @input-line-height-large: 1.235; // ~21px @input-line-height-huge: 1.318; // ~29px -@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px +@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px @input-bg: @inverse; @input-bg-disabled: mix(@gray, white, 10%); diff --git a/smart.json b/smart.json index 27d3aad..8eb413b 100644 --- a/smart.json +++ b/smart.json @@ -3,7 +3,7 @@ "description": "Less-only Flat UI that doesn't require javascript", "homepage": "https://github.com/Rnhmjoj/flatter-ui", "author": "Michele Guerini Rocco ", - "version": "0.1.6", + "version": "0.1.7", "git": "https://github.com/rnhmjoj/flatter-ui.git", "packages": {} }