Bug 638125 - adjust style of form assistant/findbar buttons [r=mbrubeck,a=approval2.0+]
authorVivien Nicolas <21@vingtetun.org>
Tue, 08 Mar 2011 20:52:06 +0100
changeset 67479 59797f58a62937ab4a89c1cf5ade866c09e0268c
parent 67478 5b5b05bbe4e8a54a6835a291866ff4ee52217182
child 67480 07e12e7675e2f8ea0d04638cc91b3bbd29ca1a73
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, approval2
bugs638125
Bug 638125 - adjust style of form assistant/findbar buttons [r=mbrubeck,a=approval2.0+]
mobile/themes/core/forms.css
mobile/themes/core/images/next-disabled-hdpi.png
mobile/themes/core/images/previous-disabled-hdpi.png
mobile/themes/core/images/search-glass-30.png
mobile/themes/core/jar.mn
--- a/mobile/themes/core/forms.css
+++ b/mobile/themes/core/forms.css
@@ -48,86 +48,84 @@
 
 #content-navigator[type="find"],
 #content-navigator[type="form"] {
   display: -moz-box;
 }
 
 #content-navigator > .previous-button,
 #content-navigator > .next-button {
-  opacity: 0.9;
+  border: @border_width_tiny@ solid rgba(0,0,0,0.2) !important;
+  border-bottom: @border_width_large@ solid #53565a !important;
+  background-color: #5e6166;
+  background-image: none !important;
+  box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
   pointer-events: auto;
   -moz-user-focus: ignore !important;
 }
 
-#content-navigator > .previous-button[disabled="true"],
+#content-navigator > .previous-button[disabled="true"] {
+  list-style-image: url("chrome://browser/skin/images/previous-disabled-hdpi.png");
+}
+
 #content-navigator > .next-button[disabled="true"] {
-  opacity: 0.4;
+  list-style-image: url("chrome://browser/skin/images/next-disabled-hdpi.png");
 }
 
 #content-navigator > .previous-button {
   -moz-margin-end: 0;
-  border: @border_width_small@ solid white !important;
-  background-color: rgba(41,41,41,0.8);
-  background-image: none !important;
+  -moz-border-end: @border_width_tiny@ solid rgba(0,0,0,0.2) !important;
   list-style-image: url("chrome://browser/skin/images/previous-hdpi.png");
-  box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
 }
 
 #content-navigator:-moz-locale-dir(ltr) > .previous-button {
   border-top-right-radius: 0;
   border-bottom-right-radius: 0;
 }
 
 #content-navigator:-moz-locale-dir(rtl) > .previous-button {
   border-top-left-radius: 0;
   border-bottom-left-radius: 0;
 }
 
 #content-navigator > .next-button {
   -moz-margin-start: 0;
-  border: @border_width_small@ solid white !important;
-  background-color: rgba(41,41,41,0.8);
-  background-image: none !important;
+  -moz-border-start: @border_width_tiny@ solid rgba(255,255,255,0.2) !important;
   list-style-image: url("chrome://browser/skin/images/next-hdpi.png");
-  box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
 }
 
 #content-navigator:-moz-locale-dir(ltr) > .next-button {
   border-top-left-radius: 0;
   border-bottom-left-radius: 0;
 }
 
 #content-navigator:-moz-locale-dir(rtl) > .next-button {
   border-top-right-radius: 0;
   border-bottom-right-radius: 0;
 }
 
 /* Find Helper ------------------------------------------------------------- */
 #content-navigator[type="find"] > .previous-button {
-  border-top-left-radius: 0;
-  border-bottom-left-radius: 0;
-  -moz-margin-start: 0;
+  /* previous button overlap the textbox */
+  -moz-margin-start: -@margin_normal@;
 }
 
 #content-navigator:not([type="find"]) > #find-helper-textbox {
   display: none;
 }
 
 #find-helper-textbox {
-  opacity: 0.9;
   pointer-events: auto;
   margin: @margin_normal@;
   -moz-margin-end: 0;
   padding: @padding_xnormal@;
   border-radius: @border_radius_normal@;
   border-top-right-radius: 0;
   border-bottom-right-radius: 0;
-  border: @border_width_small@ solid white !important;
-  box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
+  border: @border_width_tiny@ solid rgba(0,0,0,0.2) !important;
   width: 10em;
 }
 
 #find-helper-textbox[status="1"] { /* Ci.nsITypeAheadFind.FIND_NOTFOUND */
   background: rgb(255,200,200);
 }
 
 #find-helper-textbox:hover:active {
new file mode 100644
index e69de29bb2d1d6434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GHu
gF1kPaKk@JMCxnS5EMy80u>b%707*qoM6N<$g1gN?ZU6uP
--- a/mobile/themes/core/jar.mn
+++ b/mobile/themes/core/jar.mn
@@ -81,17 +81,19 @@ chrome.jar:
   skin/images/tab-reopen-hdpi.png           (images/tab-reopen-hdpi.png)
   skin/images/remotetabs-48.png             (images/remotetabs-48.png)
   skin/images/remotetabs-32.png             (images/remotetabs-32.png)
   skin/images/mozilla-32.png                (images/mozilla-32.png)
   skin/images/toggle-on.png                 (images/toggle-on.png)
   skin/images/toggle-off.png                (images/toggle-off.png)
   skin/images/sidebarbutton-active-hdpi.png (images/sidebarbutton-active-hdpi.png)
   skin/images/previous-hdpi.png             (images/previous-hdpi.png)
+  skin/images/previous-disabled-hdpi.png    (images/previous-disabled-hdpi.png)
   skin/images/next-hdpi.png                 (images/next-hdpi.png)
+  skin/images/next-disabled-hdpi.png        (images/next-disabled-hdpi.png)
   skin/images/identity-default-hdpi.png     (images/identity-default-hdpi.png)
   skin/images/identity-ssl-hdpi.png         (images/identity-ssl-hdpi.png)
   skin/images/identity-ev-hdpi.png          (images/identity-ev-hdpi.png)
   skin/images/unlocked-hdpi.png             (images/unlocked-hdpi.png)
   skin/images/locked-hdpi.png               (images/locked-hdpi.png)
   skin/images/close-default-hdpi.png        (images/close-default-hdpi.png)
   skin/images/close-active-hdpi.png         (images/close-active-hdpi.png)
   skin/images/close-inactive-tab-hdpi.png   (images/close-inactive-tab-hdpi.png)