Bug 345407, step 1: Move search-engine selection drop-down back to the engine icon. r=mconnor
authorpamg.bugs@gmail.com
Tue, 06 Nov 2007 21:09:39 -0800
changeset 7465 3f14a46f0368d8c150e8001709fbc93c5a6a1c8f
parent 7464 f4baabe401db970d6834eb4b64e0864f5b28f344
child 7466 182282f7594b8b0399d41a38d04cc403cb1ab0aa
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherderautoland@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconnor
bugs345407
milestone1.9a9pre
Bug 345407, step 1: Move search-engine selection drop-down back to the engine icon. r=mconnor
browser/themes/gnomestripe/browser/searchbar.css
--- a/browser/themes/gnomestripe/browser/searchbar.css
+++ b/browser/themes/gnomestripe/browser/searchbar.css
@@ -9,16 +9,30 @@
   list-style-image: url("chrome://global/skin/icons/folder-item.png");
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
 .searchbar-popup {
   min-width: 100px;
 }
 
+.searchbar-engine-button {
+  min-width: 22px;
+  margin: 0px 3px 0px 0px;
+}
+
+.searchbar-engine-button[addengines="true"] {
+  list-style-image: url("chrome://browser/skin/Search-add-engines.png");
+}
+
+.searchbar-dropmarker-image {
+  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+  padding: 8px 0px 7px 20px;
+}
+
 .search-go-button-container {
   border-left: 1px solid ThreeDShadow;
 }
 
 .search-go-button {
   list-style-image: url("chrome://browser/skin/Search.png");
   -moz-image-region: rect(0px 16px 16px 0px);
   padding: 0px;
@@ -40,45 +54,20 @@
 .search-go-button:hover:active,
 .search-go-button[open="true"] {
   border-top: 1px solid ThreeDShadow;
   border-left: 1px solid ThreeDShadow;
   border-right: 1px solid ThreeDShadow;
   border-bottom: 1px solid ThreeDShadow;
 }
 
-.search-go-button > .toolbarbutton-menubutton-button {
-  padding: 1px !important;
-  border: none;
-  border-right: 2px solid ThreeDFace;
-  -moz-appearance: none;
-  min-width: 0px !important;
-}
-
-.search-go-button > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
-  margin-right: 0px !important;
-}
-
-.search-go-button > .toolbarbutton-menubutton-button > .toolbarbutton-text {
-  display: none;
-}
-
 .search-go-button-container {
   background-color: ThreeDFace;
 }
 
-.search-go-button > .toolbarbutton-menubutton-dropmarker {
-  padding-top: 0px;
-  padding-bottom: 0px;
-}
-
-.search-go-button[addengines="true"] {
-  list-style-image: url("chrome://browser/skin/Search-add-engines.png");
-}
-
 .search-go-button:hover {
   -moz-image-region: rect(0px 32px 16px 16px);
 }
 
 .search-go-button:hover:active {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }