Bug 653743 Make search button ignore Gnome button icon setting r=Ratty f=tonymec
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Fri, 06 May 2011 20:40:49 +0100
changeset 7716 4b3fcf807612bcf0d9b5df147a0349fa1fa1f957
parent 7715 87dfb7e869387c759bd074c6a35823baea1299ad
child 7717 f1a8228296d36e4b4c162ac5973307143a16d616
push idunknown
push userunknown
push dateunknown
reviewersRatty
bugs653743
Bug 653743 Make search button ignore Gnome button icon setting r=Ratty f=tonymec
suite/themes/classic/navigator/navigator.css
suite/themes/modern/navigator/navigator.css
--- a/suite/themes/classic/navigator/navigator.css
+++ b/suite/themes/classic/navigator/navigator.css
@@ -497,16 +497,20 @@ panel[nomatch="true"] > .autocomplete-se
 #search-button:hover {
   -moz-image-region: rect(0 35px 17px 18px);
 }
 
 #search-button:hover:active {
   -moz-image-region: rect(0 53px 17px 36px);
 }
 
+#search-button > .button-box > .button-icon {
+  display: -moz-box;
+}
+
 toolbar[mode="text"] #search-button > .button-box > .button-icon,
 toolbar[mode="icons"] #search-button > .button-box > .button-text {
   display: none;
 }
 
 /* ::::: search bar ::::: */
 
 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
--- a/suite/themes/modern/navigator/navigator.css
+++ b/suite/themes/modern/navigator/navigator.css
@@ -504,16 +504,20 @@ toolbar[iconsize="small"] > toolbarpalet
   padding: 0 !important;
   border: none !important;
 }
 
 toolbar[mode="text"] #search-button {
   -moz-margin-end: 0px;
 }
 
+#search-button > .button-box > .button-icon {
+  display: -moz-box;
+}
+
 toolbar[mode="text"] #search-button > .button-box > .button-icon,
 toolbar[mode="icons"] #search-button > .button-box > .button-text {
   display: none;
 }
 
 #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner
   > .button-toolbar,
 #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner
@@ -533,17 +537,17 @@ toolbar[mode="icons"] #search-button > .
   -moz-border-top-colors: #A2AFBD #000000 #A7BACA;
   -moz-border-right-colors: #D2DAE1 #000000 #768C9F;
   -moz-border-bottom-colors: #D2DAE1 #000000 #768C9F;
   -moz-border-left-colors: #A5ACB5 #000000 #A7BACA;
   background-color: #EDF5F7;
   box-shadow: inset 0px -2px #E9F3F6;
 }
 
-#urlbar[level="high"] ,
+#urlbar[level="high"],
 #urlbar[level="low"] {
   background-color: #E8DB99;
   box-shadow: none;
 }
 
 /* ::::: notification popups ::::: */
 
 .popup-notification-icon {