From f9706b345b6b3666bf144afe07b91f5ad01f9153 Mon Sep 17 00:00:00 2001 From: Rudy Lu Date: Sun, 14 Jul 2013 00:22:54 +0800 Subject: [PATCH] Bug 881152 - hdpi/xhdpi resolution assets and layout for PDF Viewer app 1. Add 1.5x assets 2. specify the background size of page number section --- extensions/b2g/images/div_line_left@1.5x.png | Bin 0 -> 254 bytes extensions/b2g/images/div_line_right@1.5x.png | Bin 0 -> 252 bytes extensions/b2g/images/icon_next_page@1.5x.png | Bin 0 -> 1328 bytes .../b2g/images/icon_previous_page@1.5x.png | Bin 0 -> 1371 bytes extensions/b2g/images/icon_zoom_in@1.5x.png | Bin 0 -> 2278 bytes extensions/b2g/images/icon_zoom_out@1.5x.png | Bin 0 -> 2111 bytes extensions/b2g/viewer.css | 1 + 7 files changed, 1 insertion(+) create mode 100644 extensions/b2g/images/div_line_left@1.5x.png create mode 100644 extensions/b2g/images/div_line_right@1.5x.png create mode 100644 extensions/b2g/images/icon_next_page@1.5x.png create mode 100644 extensions/b2g/images/icon_previous_page@1.5x.png create mode 100644 extensions/b2g/images/icon_zoom_in@1.5x.png create mode 100644 extensions/b2g/images/icon_zoom_out@1.5x.png diff --git a/extensions/b2g/images/div_line_left@1.5x.png b/extensions/b2g/images/div_line_left@1.5x.png new file mode 100644 index 0000000000000000000000000000000000000000..8ef8a85c20cf99156fca5e3df632c6965819493e GIT binary patch literal 254 zcmeAS@N?(olHy`uVBq!ia0vp^%s_0+!3HFQf;I^ODYhhUcNd2LAh=-f^2tCE&H|6f zVg?3oVGw3ym^DWND9B#o>FdgVmtBBek1untOaV}++tbA{MC1I_bB01q1|qH(XM0Rx z41d6jy_0n!YXEAuX`njxgN@xNA26b4P literal 0 HcmV?d00001 diff --git a/extensions/b2g/images/div_line_right@1.5x.png b/extensions/b2g/images/div_line_right@1.5x.png new file mode 100644 index 0000000000000000000000000000000000000000..3f4aa7f96021ab03f69d1649a2b5c369fab42e8e GIT binary patch literal 252 zcmeAS@N?(olHy`uVBq!ia0vp^%s_0+!3HFQf;I^ODYhhUcNd2LAh=-f^2tCE&H|6f zVg?3oVGw3ym^DWND9B#o>FdgVmtBC}K>C8>aTlOar>Bc!h{pM;7p(c34Fp&&9Nfgo zO~b!dT?~>fzEV`b)s_`3XNI{?;JjNL+6Q6q$LpM=q5dzdGy?g r)ZA^{N^0wBH~o0UU&*l8?l1d_y=wfoPF?;BbQFW9tDnm{r-UW|`wLn~ literal 0 HcmV?d00001 diff --git a/extensions/b2g/images/icon_next_page@1.5x.png b/extensions/b2g/images/icon_next_page@1.5x.png new file mode 100644 index 0000000000000000000000000000000000000000..ad75940c422de3263a95eddc62eacc51fabd7b13 GIT binary patch literal 1328 zcmeAS@N?(olHy`uVBq!ia0vp^azHH2!3HF=|Jn-zDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_cg49ppsArU1JzCKpT`MG+DAT@dwxdlMo3=B5*6$OdO*{LN8 zNvY|XdA3ULckfqH$V{%1*XSQL?vFu&J;D8jzb> zlBiITo0C^;Rbi_HHrEQs1_|pcDS(xfWZNo192Makpx~Tel&WB=XRMoSU}&gdW~OIo zVrph)sH0$HU}&Uo07PcGh9*{~W>!Y#3Q(W~w5=#5%__*n4QdyVXRDM^Qc_^0uU}qX zu2*iXmtT~wZ)j<02{OaTNEfI=x41H|B(Xv_uUHvof=g;~a#3bMNoIbY0?5R~r2Ntn zTP2`NAzsKW@b!fooL3ADC}5E3S0onb8|oS8=jMX^1y)^L5|oN?23FO@A(aKG`a!A1 z`K3k4!1zd0hG_1|}v(re?0LhOW+rhOS1A7EW%i zW^PV~1}>(KPNps}y`Fi+C5d^-sW5vpf%Zc6y5QAoAIO1cpVT~Ho+$!m4)$=SFANNfah@)YAr-gYT;1<=I6#E$ z!|br73RayvEFw1M`R#K*aCYf~CwgUq@(TQkHEldI&n(bam~?dE4h}9ZK1OGi`t|WD zM=Q?ezB8PvXZc~G+V?O2ELid+p3f01?soaJ+v!Q0;kFYTR};V75}UA8#j~v7?vMP4 zFz(Myk=)x0xX;Vpb3ZpBJHfl!f+MW^beu8xAE89m-i1i|M^&3 zqD*q`f}TZNl7hFU`JVomn&Nx?tD^u*?D4|5g8yxMloq~DSr z1<%~X^wgl##FWaylc_cg49ppsArU1JzCKpT`MG+DAT@dwxdlMo3=B5*6$OdO*{LN8 zNvY|XdA3ULckfqH$V{%1*XSQL?vFu&J;D8jzb> zlBiITo0C^;Rbi_HHrEQs1_|pcDS(xfWZNo192Makpx~Tel&WB=XRMoSU}&gdW~OIo zVrph)sH0$HU}&Uo07PcGh9*{~W>!Y#3Q(W~w5=#5%__*n4QdyVXRDM^Qc_^0uU}qX zu2*iXmtT~wZ)j<02{OaTNEfI=x41H|B(Xv_uUHvof=g;~a#3bMNoIbY0?5R~r2Ntn zTP2`NAzsKW@b!fooL3ADC}5E3S0onb8|oS8=jMX^1y)^L5|oN?23FO@A(aKG`a!A1 z`K3k4!1zd0hG_1|}v(re=<=hOW+rhOS1A7EW%i zW^PV~1}>(KPNps}y`Fi+C5d^-sW5vpf%Zc6TH@7fAIO1cpVT~Ho+$!m4khi9S_THjPEQxdkcwMxuG)Jac93BE zu=|!Ado!otYQM|((t4QzZO>2(?8LF`6I-Rkf z->k5-_igp0N0Y?m^!8f63%~S?w|h~C=QD;%heH3aEVr;I+=KiB2Iz8l=ex9>}Gt#-m(8W%` zT>k$#MK*Q6Sx=AOC@4}q{%@s`MYFNR#t(hZBz_!9xcKmb+vqdw{{(`O~yoHrFel;?C36&t;uc GLK6T*`051! literal 0 HcmV?d00001 diff --git a/extensions/b2g/images/icon_zoom_in@1.5x.png b/extensions/b2g/images/icon_zoom_in@1.5x.png new file mode 100644 index 0000000000000000000000000000000000000000..a43a2b64babf2db505a5287f7b00e29fbc9fae45 GIT binary patch literal 2278 zcmbVOX;2es8V*4YSp|HyDJj*1E^o5Pc6~N=wmYy_zRf2P4tyBuEKkxMCy<#tURn3>*YQ z;^bZJunPvGFOh}_)j~gCwg{0?Ae|0HBU7Mg493Mxqku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0$(>s6|d|I;BbE#;$C5fs--+x@onEz&W(*cFgpy2VA16 z$nD^3c4}fmAE19(O73^XX?oX%robCxxd>Dc!`Hv}ccW)5uZS;gElNvEE2*Da?%|`sJ3E>mf;MQ!UTa() z7#bQjjwik)N>W#zt>FzGD7=@Fy*J;Vn3!4R0}#4;dwX|$6&MI*U0SP^P2}h2&)_<& ziY-p>u36&~{oFeI+^EW>>v8oH&A-6%CreIe3h71_qd5y}BQaB)%0SZZZtHY^9s-^} JSmzO${ck}=qE!F@ literal 0 HcmV?d00001 diff --git a/extensions/b2g/images/icon_zoom_out@1.5x.png b/extensions/b2g/images/icon_zoom_out@1.5x.png new file mode 100644 index 0000000000000000000000000000000000000000..6aa2433b646beb8f4fbba55a54488f08cf8dc9d2 GIT binary patch literal 2111 zcmbVNc~nzZ8jm2WC@AP43cd-8$dKiQBqXl{8uCa>OGu0vVAyPy2L#AM5+E`VL0LpZ z)M^Qfg17-yT&YrEK;URCg#keUWhtdq=0E|#QKYuci;A5;Je_mqo%i0o_q*Tk_bvDP z&duiqf3(`t!4iYPtPcDb=A)yF;WIZy|Kk|F9vwDn0>U&q6fv4qp$fq;B?=J&1j>Z5 z2pq5(umtW?gx&NjAS z0jY$64W)3193=~hlYX40LUyDD3&d#&V!8zD=L`5~A(TLdXoP@PmMB+4S_bwtFNDqw zVgeR;t)fX_VBa_u#^C`hg$e;EcrToo2!a5WiU-LQDi!nuNJNlCAfhi72a+KQ6(V^9 zZyzjbO(lte_%QpeEp)}e#%VN4h(Jh9O~t2r;T5V_0!XLR4ICsA4%NV^cgZzEEl#d> zUS@z1wOA!pYNQG|U|$SF8 z!$*F1?~uGR?UVr1E_6t(*nOZ-DD#8M$bjY1_*C=!<|fETCGDAaKZ zCBWK21>8A8u~cplY%?6tn|NVFB~3vjY?VR=yv{HreUAq$um2VK8?5C2$r=H5hF~a< z|0AT`b7w_5!k)u7MLYpHnelH$_St$#InF8&Dj#8%yks_rxM}Qp^O)M#wX7@LDtnc7h1Ma? zY{n!Wvq@5Copm{3C28`u0M>ai&@CC);jSllXluRnkN<5 zQ1pu~bEb1d-i3zyYkV+GR_P{@cVEu@sbTbJr4I1ScG zLhRu3Q`IFU8!vt_x4x!3sney|(ihE^K&o`3Ppfx^O{ z3A{5c+MBJdt;|PP_gCbff}Z$@B3~6XE zJyDSqGP$4b=Qj&FpS^O0MECJ|xfO>?wHg_S_^xkwc)0$?4eg1AA8!OT70(wopU=*4 z8wa>2EJm=MCq^4xi>+tJ)-iVuXZt>Nv%OeXcjAYp5Q|w`Yda&4PR~gz6HZXjW|Mn5 z+;|cH%)qzq`(kj$r@k5*99-P@Rr6p+j~BkDyg0DO-gfC%-Hf;^d=!IDw zlV<{H7q14{SefqrK6lM<_+(A{BUMAZ=(2w4^e64RCn3xE>RivwYbp{F5+>Y-w;w&k z8tCg&hq|nzyH@e%uSqElO~2d|R_RAaM`I69%{WGX-Q#%WOXzs_(y?R5{yFq0z&WM7qcX<9?Xt70+6N&LNhJ{q$2;!d4*@>EYJIrl*Dri{ z9D*Ay_@6MCw%0>lIp;V0-<04^B>QNQy%~T literal 0 HcmV?d00001 diff --git a/extensions/b2g/viewer.css b/extensions/b2g/viewer.css index c4486d399..52f3b8478 100644 --- a/extensions/b2g/viewer.css +++ b/extensions/b2g/viewer.css @@ -103,6 +103,7 @@ footer { background-image: url(images/div_line_left.png), url(images/div_line_right.png); background-repeat: no-repeat; background-position: left, right; + background-size: 0.2rem, 0.2rem; } .toolbarButton.zoomOut {