Bug 766617 - Use arrow image with shadow and proper density in Reader (r=mfinkle)
authorLucas Rocha <lucasr@mozilla.com>
Fri, 22 Jun 2012 16:04:22 +0100
changeset 97417 00ecf8da4c07bcba7cfc95755849c08db1946a08
parent 97416 175a72cf20db81af2db3e91d06d7c21ba7d96627
child 97418 d66e9641cf782453e2a3708ee467c0d36e991a20
push id22974
push userryanvm@gmail.com
push dateSat, 23 Jun 2012 12:36:09 +0000
treeherdermozilla-central@e21173ed2c38 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs766617
milestone16.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 766617 - Use arrow image with shadow and proper density in Reader (r=mfinkle)
mobile/android/themes/core/aboutReader.css
mobile/android/themes/core/images/reader-dropdown-arrow-hdpi.png
mobile/android/themes/core/images/reader-dropdown-arrow-mdpi.png
mobile/android/themes/core/images/reader-dropdown-arrow-xhdpi.png
mobile/android/themes/core/images/reader-dropdown-arrow.png
mobile/android/themes/core/jar.mn
--- a/mobile/android/themes/core/aboutReader.css
+++ b/mobile/android/themes/core/aboutReader.css
@@ -242,20 +242,21 @@ body {
 
 .open > .dropdown-popup {
   margin-top: 0px;
   bottom: 100%;
 }
 
 .dropdown-arrow {
   position: absolute;
-  width: 28px;
-  height: 10px;
-  bottom: -10px;
-  background-image: url('chrome://browser/skin/images/reader-dropdown-arrow.png');
+  width: 40px;
+  height: 18px;
+  bottom: -18px;
+  background-image: url('chrome://browser/skin/images/reader-dropdown-arrow-mdpi.png');
+  background-size: 40px 18px;
   background-position: center;
   display: block;
 }
 
 .segmented-button {
   list-style: none;
   margin: 0;
   padding: 5px;
@@ -376,26 +377,34 @@ body {
   }
 
   .style-button {
     background-image: url('chrome://browser/skin/images/reader-style-icon-xlarge-mdpi.png');
   }
 }
 
 @media screen and (min-resolution: 200dpi) {
+  .dropdown-arrow {
+    background-image: url('chrome://browser/skin/images/reader-dropdown-arrow-hdpi.png');
+  }
+
   .step-control > .plus-button {
     background-image: url('chrome://browser/skin/images/reader-plus-icon-hdpi.png');
   }
 
   .step-control > .minus-button {
     background-image: url('chrome://browser/skin/images/reader-minus-icon-hdpi.png');
   }
 }
 
 @media screen and (min-resolution: 300dpi) {
+  .dropdown-arrow {
+    background-image: url('chrome://browser/skin/images/reader-dropdown-arrow-xhdpi.png');
+  }
+
   .step-control > .plus-button {
     background-image: url('chrome://browser/skin/images/reader-plus-icon-xhdpi.png');
   }
 
   .step-control > .minus-button {
     background-image: url('chrome://browser/skin/images/reader-minus-icon-xhdpi.png');
   }
 }
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..cb44accfba265f5243e0f5f3a12a03f06004affa
GIT binary patch
literal 1960
zc$}S8c~BE)6pw)DfE+597q0OlO0v7TAdw)D1EM5C1jHbfkSq{kvoTpoP-_*cqQY1~
zMNv=@@!(Q9L>(2aqM#g3Asp7LR%fhe(Aw5vqI6@yc3Q_j`pvhy-+SNtz5C5>i;#vo
zIZSpSkw{MBFoBHt1`v<eSbO4KcD0yb*ygLFV)0l>I9G|GG=&OFL}*4-OR}zjg+{GH
znTp^*B9g4u@W|$iSIB@`#Un3cNg#=qkEE!>*6NU@Yo$@jwW&&uio7ro2rzO91t@|m
z03({F(Q}PF@<+W~;%sGuWZ<I+p2{N!TQ7iENd&;hbO^wrF{nxih5<I41~XY~HtY+~
zA(#$A#AZ`rCYQzL(*1zpMJBB2R7qT!Ks0QNpm^jI9M^I|&|omo3=A5kO9o*Mhhx=2
zr&9?Dsy;)5D~wc)e&&b<0isvx)LLAPX#gv&NW|9QJTiGC1XL@Ld{V5@4=0L98E8~!
zL6`=CC<=~9>v0*9^kr#%RE8D-Wr!YIqf;V;_{@Kp`ZCliNO;3tqEiz^QKShl<r);x
z;9>!fOx(~^Y84j>_9wFF$AtXo5ZfPy{ULt_KSabA2pDux2n!m~@i{D=&ZZ0DV0H+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HPL1wltMOWKUdmr+miBk-tJ8R#IRGpXACc^I|IWGag}yZF
z$hL2o5s1tM8Bh<t|L|cWsV8`)Rz2EVo>|v|J0-6a+{lk=%dF2<bqK5K%-Y)8bRz#e
zZ!YU`$FOP;m0bKso0W5CXJ`9I;JbkeSKocr$D@zG0(|TU@clKV+l#o}O&ia!65-J~
zDOp3Ex1QGh*mXL!Aw=ESlKo@xz{<Ws+&n>R)%;D@OQsK9>}+7By({5drp{}=J6hAV
zBIL}7QQ2?iH8rAH9aF!OV^@*Pcs(m8nKe2zT<rB?hM{!G$D|>tj#`@$lLECS(Q8XI
z<o@mN8fs1$JSw^^On=zf<V3bn4y>poMVCeHD=K2|E_!3we~q#Cw+%z3slu(#?Rz3<
z56|kHZ7Qa^!1t$2P9+ZhjC8$qdLDBuai7R=JxV(~H!(@cJ>$O7kDu}3&U&-SQ|Q0k
zew-Rri|aAuP)_KD*8T3r<R|OmLeEVOi;Z!0kLHA$k!<~v^jC4>1(<uiC6iLR?D`hq
zLA$Suwk*Uq%q)yUIyfQC0q#IS?%n0))guiz-BvjQi>*9x22GQ|^ych<DxXauPFfd&
zMg3j;R@tgoO}GL-ab~r+YHp*$)sTF1pV*6oO?dR)_tCYM2R7TOLu04dcyq73u@64Q
zKhev_``mU@JbTa+#;G+)&qnuzWDWp<g5_~dt+>ha2*M-om(nUUtlKQrkog^wPoe3Q
zXK)K^Ue@t-&2PR6MmetRul@5Ewp{pi*xF53u-<ivcG|)h<$<mTyZbNa4~*2B_`hGG
n6?14;XXZ*|nX=5tzZ*$e*BDE;U3)7X`<Dsy3lh}uR_p!=*}SDm
deleted file mode 100644
index ec9ce3e6648a9859a8f6ff47f420cf1113a70870..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/mobile/android/themes/core/jar.mn
+++ b/mobile/android/themes/core/jar.mn
@@ -47,26 +47,28 @@ chrome.jar:
   skin/images/about-bg-lightblue.png        (images/about-bg-lightblue.png)
   skin/images/about-bg-darkblue.png         (images/about-bg-darkblue.png)
   skin/images/about-btn-darkgrey.png        (images/about-btn-darkgrey.png)
   skin/images/logo-hdpi.png                 (images/logo-hdpi.png)
   skin/images/wordmark-hdpi.png             (images/wordmark-hdpi.png)
   skin/images/row-bg-light.png              (images/row-bg-light.png)
   skin/images/row-bg-normal.png             (images/row-bg-normal.png)
   skin/images/addons-amo-hdpi.png           (images/addons-amo-hdpi.png)
-  skin/images/reader-dropdown-arrow.png     (images/reader-dropdown-arrow.png)
   skin/images/reader-light-bg.png           (images/reader-light-bg.png)
   skin/images/reader-dark-bg.png            (images/reader-dark-bg.png)
   skin/images/reader-sepia-bg.png           (images/reader-sepia-bg.png)
   skin/images/reader-plus-icon-mdpi.png     (images/reader-plus-icon-mdpi.png)
   skin/images/reader-plus-icon-hdpi.png     (images/reader-plus-icon-hdpi.png)
   skin/images/reader-plus-icon-xhdpi.png    (images/reader-plus-icon-xhdpi.png)
   skin/images/reader-minus-icon-mdpi.png    (images/reader-minus-icon-mdpi.png)
   skin/images/reader-minus-icon-hdpi.png    (images/reader-minus-icon-hdpi.png)
   skin/images/reader-minus-icon-xhdpi.png   (images/reader-minus-icon-xhdpi.png)
+  skin/images/reader-dropdown-arrow-mdpi.png     (images/reader-dropdown-arrow-mdpi.png)
+  skin/images/reader-dropdown-arrow-hdpi.png     (images/reader-dropdown-arrow-hdpi.png)
+  skin/images/reader-dropdown-arrow-xhdpi.png    (images/reader-dropdown-arrow-xhdpi.png)
   skin/images/reader-share-icon-port-mdpi.png    (images/reader-share-icon-port-mdpi.png)
   skin/images/reader-share-icon-land-mdpi.png    (images/reader-share-icon-land-mdpi.png)
   skin/images/reader-share-icon-xlarge-mdpi.png  (images/reader-share-icon-xlarge-mdpi.png)
   skin/images/reader-share-icon-port-hdpi.png    (images/reader-share-icon-port-hdpi.png)
   skin/images/reader-share-icon-land-hdpi.png    (images/reader-share-icon-land-hdpi.png)
   skin/images/reader-share-icon-xlarge-hdpi.png  (images/reader-share-icon-xlarge-hdpi.png)
   skin/images/reader-share-icon-port-xhdpi.png   (images/reader-share-icon-port-xhdpi.png)
   skin/images/reader-share-icon-land-xhdpi.png   (images/reader-share-icon-land-xhdpi.png)