Bug 635675 (part 3) - OS X Add-ons Manager polish. r=dao a=beltzner
authorMarkus Stange <mstange@themasta.com>
Sat, 26 Feb 2011 13:40:38 +0100
changeset 63132 3bf54ae3415f0d5aacc185f12bfcfdf000a38961
parent 63131 21ebc5dc59e0a6f16b0c88117e26254055e3da06
child 63133 6eb09fa2d543252aaf7ec73677eda590d4d97172
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersdao, beltzner
bugs635675
milestone2.0b13pre
Bug 635675 (part 3) - OS X Add-ons Manager polish. r=dao a=beltzner
toolkit/mozapps/extensions/test/browser/browser_bug557943.js
toolkit/themes/pinstripe/mozapps/extensions/extensions.css
toolkit/themes/pinstripe/mozapps/extensions/search.png
toolkit/themes/pinstripe/mozapps/jar.mn
--- a/toolkit/mozapps/extensions/test/browser/browser_bug557943.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_bug557943.js
@@ -40,17 +40,17 @@ function end_test() {
 }
 
 
 function perform_search(aQuery, aCallback) {
   waitForFocus(function() {
     var searchBox = gManagerWindow.document.getElementById("header-search");
     searchBox.value = aQuery;
 
-    EventUtils.synthesizeMouse(searchBox, 2, 2, { }, gManagerWindow);
+    EventUtils.synthesizeMouseAtCenter(searchBox, { }, gManagerWindow);
     EventUtils.synthesizeKey("VK_RETURN", { }, gManagerWindow);
     wait_for_view_load(gManagerWindow, function() {
       var list = gManagerWindow.document.getElementById("search-list");
       var rows = list.getElementsByTagName("richlistitem");
       aCallback(rows);
     });
   }, gManagerWindow);
 }
--- a/toolkit/themes/pinstripe/mozapps/extensions/extensions.css
+++ b/toolkit/themes/pinstripe/mozapps/extensions/extensions.css
@@ -32,16 +32,19 @@
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 %include ../../global/shared.inc
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml");
+
 #addons-page {
   -moz-appearance: none;
   padding: 18px;
   background-image: /* Texture */
                     url("chrome://mozapps/skin/extensions/background-texture.png"),
                     /* Gradient */
                     -moz-linear-gradient(top, #ADB5C2, #BFC6D1);
 }
@@ -328,20 +331,41 @@
 
 #header-utils-btn {
   list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
   -moz-margin-end: 18px;
 }
 
 #header-search {
   margin: 0;
+  -moz-appearance: none;
+  padding: 3px 5px 2px;
+  border: 1px solid rgba(60,73,97,0.5);
+  border-radius: 10000px;
+  box-shadow: inset 0 1px 1px rgba(0,0,0,0.15), 0 1px rgba(255,255,255,0.25);
+  background: -moz-linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.3));
+  background-clip: padding-box;
 }
 
-#header-search:not([focused]) {
-  opacity: 0.7;
+#header-search[focused] {
+  box-shadow: @focusRingShadow@, inset 0 1px 1px rgba(0,0,0,0.15);
+  border-color: -moz-mac-focusring;
+}
+
+#header-search > .textbox-input-box {
+  -moz-padding-start: 15px;
+  background: url("chrome://mozapps/skin/extensions/search.png") left no-repeat;
+}
+
+#header-search > .textbox-input-box:-moz-locale-dir(rtl) {
+  background-position: right;
+}
+
+#header-search > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
+  color: #5C6470;
 }
 
 .view-header {
   padding: 4px;
   margin: 0;
   min-height: 31px;
   border-bottom: 1px solid rgba(50, 65, 92, 0.4);
   background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..93196dbbf605ad288db67ac186f5e082a322044c
GIT binary patch
literal 423
zc$@*J0a*TtP)<h;3K|Lk000e1NJLTq000gE000gM1^@s6A4o0H0004QNkl<Zc-oDT
z%}T>S6osP&TLg6@iY>Y^l|mOPVxWbBmJq0<NzC6Q@i7F!g}6`=eH>lsTJaea!IcQE
zMBFGsJV!IqKg7jJGIQp;_s)rurs=nQKUxb#awekWkqSg|Zrh%&C`t|*lINs;pfKJQ
z(N;Q0j_dCO9O;E+r%&kJwA_<wwW>j@re&W3{GewTtyV9rz_?;%vuz*4n1v>xG0JiL
z1A1N{Zm=Hb*qz`DO;uHwGbj%YQ_W_xL@x-FSFESlwGS+p%S-G+K$@0iP1A$kuwQ}-
zzhEHZYdLBU$k2A=sC^(KX8;Vsa@;*#*XPiw2xyyu(Q7o;y}nU-VMadqckq7kQ>9W_
z!MTa9a2PQw8ODa`dEx>GpDEW5FM}|8AnXV6ou+9ET_7J4X5`sOMGF6O5%4`>yl?CE
z`aEF?cEY)=KtZZjtEm!h+na~j8)blm{uGO`6QCn}&t%ExX#NXkrwqz-x-X%4D1-q<
RyJP?W002ovPDHLkV1kc@xmf@J
--- a/toolkit/themes/pinstripe/mozapps/jar.mn
+++ b/toolkit/themes/pinstripe/mozapps/jar.mn
@@ -30,16 +30,17 @@ toolkit.jar:
   skin/classic/mozapps/extensions/stripes-error.png               (extensions/stripes-error.png)
   skin/classic/mozapps/extensions/stripes-info-positive.png       (extensions/stripes-info-positive.png)
   skin/classic/mozapps/extensions/stripes-info-negative.png       (extensions/stripes-info-negative.png)
   skin/classic/mozapps/extensions/alerticon-warning.png           (extensions/alerticon-warning.png)
   skin/classic/mozapps/extensions/alerticon-error.png             (extensions/alerticon-error.png)
   skin/classic/mozapps/extensions/alerticon-info-positive.png     (extensions/alerticon-info-positive.png)
   skin/classic/mozapps/extensions/alerticon-info-negative.png     (extensions/alerticon-info-negative.png)
   skin/classic/mozapps/extensions/background-texture.png          (extensions/background-texture.png)
+  skin/classic/mozapps/extensions/search.png                      (extensions/search.png)
   skin/classic/mozapps/extensions/about.css                       (extensions/about.css)
 * skin/classic/mozapps/extensions/extensions.css                  (extensions/extensions.css)
   skin/classic/mozapps/extensions/extensions.svg                  (extensions/extensions.svg)
   skin/classic/mozapps/extensions/update.css                      (extensions/update.css)
   skin/classic/mozapps/extensions/eula.css                        (extensions/eula.css)
   skin/classic/mozapps/extensions/blocklist.css                   (extensions/blocklist.css)
   skin/classic/mozapps/passwordmgr/key.png                        (passwordmgr/key.png)
   skin/classic/mozapps/passwordmgr/key-16.png                     (passwordmgr/key-16.png)