Bug 559135 - apply new selectbutton style to chrome select boxes [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Wed, 14 Apr 2010 16:28:14 -0400
changeset 66143 29b07d51eff9a88d2ad147719b1ee87253fc2d52
parent 66142 f957689a8365fc616debd8d3dc4df68431872ad8
child 66144 ef50268b04233b2f0e510b2a39e63a2792976ba1
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs559135
Bug 559135 - apply new selectbutton style to chrome select boxes [r=mfinkle]
mobile/themes/hildon/images/dropmarker-30.png
mobile/themes/hildon/images/dropmarker-disabled-30.png
mobile/themes/hildon/jar.mn
mobile/themes/hildon/platform.css
mobile/themes/wince/images/dropmarker-30.png
mobile/themes/wince/images/dropmarker-disabled-30.png
mobile/themes/wince/jar.mn
mobile/themes/wince/platform.css
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..532fa69d7c9590d8f7c861cca625e5a401407ae3
GIT binary patch
literal 427
zc$@*N0aX5pP)<h;3K|Lk000e1NJLTq001Tc0015c1^@s6Koo3l0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzO-V#SRCwCVn9YsCFc5{45J2LT4xog+
z!GQy*AT7`dtxy96Bpmhtr?kLs7hs4POJiviSrFSGy^)?Q`6vD~Z)8VKwblt@q-9yo
zs8y__u4@ReECCGzmXk(kkQOXQ1e=h?oHZ!0DTA4;rAT07QD?AV8Jd+70S6JeDE!RF
z%H?Xkp~h%`KK)+a%w15kB^_z*acIUyAz%~@X-8^l<DVB$W~}A8jc<)vu#g%n%!V#F
z?rV6Cca4Q)>n&UiR3gqUsi83^{W;)DVRhkH^W96Fium8LQNi`px}bQ?U@+ZNESxjD
zK2R3yLF#;=Jm9>cESM5-T?Aa^7^*^`WX7Vh#&CxoT*ZCCSCaY!n1GwJeTSHDnd9P0
zx{>aoRyu6`$R(~A%32EZcOk(v64+J1X|#+fBpdryc4%OCaa=%wVZL3UKB_zg7y#5C
VepS=E@lXH&002ovPDHLkV1hipv}^zX
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b5002ef9c60df185ac0a2f6d45e557e8718661bb
GIT binary patch
literal 430
zc$@*Q0a5;mP)<h;3K|Lk000e1NJLTq001Tc0015c1^@s6Koo3l0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzP)S5VRCwCVm^*I6Fc3ubvm&HQ=`u%f
z=M*WTo2XQqllThhbPH7};?Au*9l<FTI%1Z<5?Ba?Es_c_3k(SGBR=dbNP(%=Izf!I
zuIoo?6)Wlc9s(>&K*N9)q#O;>f)$8hC27N1g93YCFq5?u32Y<k3>GXyv$7O$5K)N2
z&wQ-hzq~$EV{|%xeO~U&eWGSZ8ffmYG-G)P7)3*RBek^g_6C$0Yk6+tTVob1q{b?<
zp$m@t8lK}_V<FkP3l{^Gh_g#-X&gxJ4!93tb>&#|zn3@_@wa26itDL$LGhZ!V0xxl
zIA?Z!pe)!gY4U~gfb)j3U`oJE5pbPjs0)FT8H>sq!<}bv9rp!aNoox+0e4{g&N1II
z$HhqcAzeeQblAGeC9W9CS_<=bA;B~f*eKvMTE-NTjdLp}G_b2UE}+0L-!4!eRsIAR
Y06_D9MV?ygJpcdz07*qoM6N<$f-kYH{r~^~
--- a/mobile/themes/hildon/jar.mn
+++ b/mobile/themes/hildon/jar.mn
@@ -22,16 +22,18 @@ chrome.jar:
   images/arrowleft-16.png              (images/arrowleft-16.png)
   images/arrowright-16.png             (images/arrowright-16.png)
   images/arrowup-16.png                (images/arrowup-16.png)
   images/arrowdown-16.png              (images/arrowdown-16.png)
   images/arrowleftdark-16.png          (images/arrowleftdark-16.png)
   images/arrowrightdark-16.png         (images/arrowrightdark-16.png)
   images/arrowupdark-16.png            (images/arrowupdark-16.png)
   images/arrowdowndark-16.png          (images/arrowdowndark-16.png)
+  images/dropmarker-30.png             (images/dropmarker-30.png)
+  images/dropmarker-disabled-30.png    (images/dropmarker-disabled-30.png)
   images/ratings-18.png                (images/ratings-18.png)
   images/favicon-default-30.png        (images/favicon-default-30.png)
   images/star-40.png                   (images/star-40.png)
   images/star-24.png                   (images/star-24.png)
   images/throbber.png                  (images/throbber.png)
   images/navigation-magnifier-30.png   (images/navigation-magnifier-30.png)
   images/folder-32.png                 (images/folder-32.png)
   images/stop-30.png                   (images/stop-30.png)
--- a/mobile/themes/hildon/platform.css
+++ b/mobile/themes/hildon/platform.css
@@ -520,31 +520,28 @@ menulist.button-dark:not([disabled="true
   -moz-border-image: url("chrome://browser/skin/images/buttondark-active-64.png") 8 repeat repeat;
 }
 
 menulist.button-dark[disabled="true"] {
   color: #7e7e7e !important;
 }
 
 menulist > dropmarker {
-  width: 16px;
-  height: 16px;
+  height: 30px;
+  width: 38px;
+  margin-left: 5px;
   -moz-box-align: center;
   -moz-box-pack: center;
-  background-color: transparent;
-  padding: 1px;
-  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+  list-style-image: url("chrome://browser/skin/images/dropmarker-30.png");
   -moz-image-region: auto;
   display: block;
-  border-left: 1px inset gray;
 }
 
-menulist > dropmarker[disabled="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
-  padding: 1px !important;
+menulist[disabled="true"] > dropmarker {
+  list-style-image: url("chrome://browser/skin/images/dropmarker-disabled-30.png");
 }
 
 /* progressmeter ----------------------------------------------------------- */
 progressmeter {
   background-color: #fff;
   padding: 4px;
   height: 32px;
   border: 3px solid #aaa;
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..532fa69d7c9590d8f7c861cca625e5a401407ae3
GIT binary patch
literal 427
zc$@*N0aX5pP)<h;3K|Lk000e1NJLTq001Tc0015c1^@s6Koo3l0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzO-V#SRCwCVn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-NTjdLp}G_b2UE}+0L-!4!eRsIAR
Y06_D9MV?ygJpcdz07*qoM6N<$f-kYH{r~^~
--- a/mobile/themes/wince/jar.mn
+++ b/mobile/themes/wince/jar.mn
@@ -19,16 +19,18 @@ chrome.jar:
   images/aboutBackground.png           (images/aboutBackground.png)
   images/addons-32.png                 (images/addons-32.png)
   images/arrowleft-16.png              (images/arrowleft-16.png)
   images/arrowright-16.png             (images/arrowright-16.png)
   images/arrowup-16.png                (images/arrowup-16.png)
   images/arrowdown-16.png              (images/arrowdown-16.png)
   images/arrowleftdark-16.png          (images/arrowleftdark-16.png)
   images/arrowrightdark-16.png         (images/arrowrightdark-16.png)
+  images/dropmarker-30.png             (images/dropmarker-30.png)
+  images/dropmarker-disabled-30.png    (images/dropmarker-disabled-30.png)
   images/ratings-18.png                (images/ratings-18.png)
   images/favicon-default-30.png        (images/favicon-default-30.png)
   images/star-40.png                   (images/star-40.png)
   images/throbber.png                  (images/throbber.png)
   images/navigation-magnifier-30.png   (images/navigation-magnifier-30.png)
   images/folder-32.png                 (images/folder-32.png)
   images/stop-30.png                   (images/stop-30.png)
   images/reload-30.png                 (images/reload-30.png)
--- a/mobile/themes/wince/platform.css
+++ b/mobile/themes/wince/platform.css
@@ -759,31 +759,28 @@ menulist[disabled="true"] {
   color: #aaa !important;
 }
 
 menulist.button-dark[disabled="true"] {
   color: #ddd !important;
 }
 
 menulist > dropmarker {
-  width: 16px;
-  height: 16px;
+  height: 30px;
+  width: 38px;
+  margin-left: 5px;
   -moz-box-align: center;
   -moz-box-pack: center;
-  background-color: transparent;
-  padding: 1px;
-  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+  list-style-image: url("chrome://browser/skin/images/dropmarker-30.png");
   -moz-image-region: auto;
   display: block;
-  border-left: 1px inset gray;
 }
 
 menulist > dropmarker[disabled="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
-  padding: 1px !important;
+  list-style-image: url("chrome://browser/skin/images/dropmarker-disabled-30.png");
 }
 
 /* progressmeter ----------------------------------------------------------- */
 progressmeter {
   background-color: #fff;
   padding: 0.45mm;
   height: 3mm;
   border: 0.35mm solid #aaa;