Bug 625513 - Cleanup CSS problems from using physical units [r=mbrubeck]
authorMark Finkle <mfinkle@mozilla.com>
Fri, 25 Feb 2011 19:13:17 -0500
changeset 67432 e8bb4ed0caf67a042a5620897c0d1177370e9b9a
parent 67431 e418ed3d9a91a5746bc27b6c3155363628b32cb9
child 67433 978c9fb7d4e320fa3b89806e56be8cf3b78dafa8
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)
reviewersmbrubeck
bugs625513
Bug 625513 - Cleanup CSS problems from using physical units [r=mbrubeck]
mobile/themes/core/aboutHome.css
mobile/themes/core/browser.css
mobile/themes/core/images/stop-hdpi.png
--- a/mobile/themes/core/aboutHome.css
+++ b/mobile/themes/core/aboutHome.css
@@ -216,27 +216,39 @@ body[dir="rtl"] {
 #footer-wrapper {
   font-size: 18px;
   margin-top: 24px;
   text-align: center;
 }
 
 #feedback {
   display: inline-block;
-  padding: 8px;
   margin: 0;
-  border-radius: 8px 0 0 8px;
 }
 
 #support {
   display: inline-block;
-  padding: 8px;
   margin: 0;
-  border-left: none;
-  border-radius: 0 8px 8px 0;
+}
+
+@media (max-width: 399px) {
+  #support {
+    margin-top: 8px;
+  }
+}
+
+@media (min-width: 400px) {
+  #feedback {
+    border-radius: 8px 0 0 8px;
+  }
+
+  #support {
+    border-left: none;
+    border-radius: 0 8px 8px 0;
+  }
 }
 
 #promo {
   font-weight: bold;
   color: rgb(254,210,13);
   background-color: black;
   border-radius: 6px;
   padding: 10px;
@@ -261,8 +273,14 @@ body[dir="ltr"] #promo-button {
   float: right;
   background: rgb(254,210,13) url("images/arrowright-16.png") 99% center no-repeat;
 }
 
 body[dir="rtl"] #promo-button {
   float: left;
   background: rgb(254,210,13) url("images/arrowleft-16.png") 1% center no-repeat;
 }
+
+@media (max-width: 399px) {
+  #promo-button {
+    display: none;
+  }
+}
--- a/mobile/themes/core/browser.css
+++ b/mobile/themes/core/browser.css
@@ -138,16 +138,17 @@ toolbarbutton.urlbar-button {
   padding: 0 !important;
   border: 0 solid transparent;
   min-width: @touch_button_large@ !important;
   max-width: @touch_button_large@ !important;
   -moz-box-flex: 1;
   -moz-box-align: center;
   -moz-box-pack: center;
   background-image: url("chrome://browser/skin/images/endcap-default-bg.png");
+  background-position: bottom;
 }
 
 .urlbar-cap-button[open="true"],
 .urlbar-cap-button:not([disabled="true"]):hover:active {
   background-image: url("chrome://browser/skin/images/endcap-active-bg.png");
 }
 
 /* left cap button --------------------------------------------------------- */
index 3c619535c066da07701a5d1c7b4cccf5239aa352..2a2fcdfddddc29f595c6a2f6438a1b94b27e1387
GIT binary patch
literal 737
zc$@*@0v`Q|P)<h;3K|Lk000e1NJLTq0015U0015c1^@s6J20-I00001b5ch_0Itp)
z=>Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipP}
z6e%YepDYys00Lo2L_t(Y$L*HOYZFlv#=k4B-RMdYq=;?`(v>0-ZEM=v^g%7IN=s-+
z8B#)PG*q$O_&`JK*bo{E;-XOcNSmgm4JAoyY*EmS3&Dj2DT3(Ag@3?3<E9hBWbVwJ
z$x;s-81DTzKhAgW%pBlf3nn9q-kX>J@KCa5Hva6<&6>e?$HpfCL>x9$d>(t;;u;)@
zK6nX0ap~qqHU8w1WAN=e_tOAw)p(SjUrau|APpXgj1>TQ0U)8q*x{NcLo(5SOQ^B4
zw&3tcbQgdJ0FsF~GwfNyE%d*ViTFt&I24Y20?+^esibP^MkpLHg-hsvr;_Rkef^03
zpbU?GC87o*0uc$jN+ngMYxERB0aWUaE5oCIs=&ngIpQ384k=-wtuxb8OxMj!PYIzz
zN?5C`Nt_?6vN{k9nSx%wN-;Or*{)u>V@_n6{(z!6h57@ECaPy<wJ-<#L23AaKd4#N
zsseM)EwitG&=%g;Kd9N&(c@?(xYlq|L%QR|`B~dbwm3h_WIL8R<K?9}>6^X0G{>Bs
zF>%w(tSmT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