third part of syncing LCARStrek with Firefox 35 windows theme changes
[themes.git] / LCARStrek / browser / searchbar.css
index ee833eb100c0787ac76868b5a9d15c1afd81fd80..84940d5cce9f2608c45082ff4c7380226c7be0ac 100644 (file)
@@ -2,6 +2,11 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+.searchbar-dropmarker-image {
+  --searchbar-dropmarker-url: url("chrome://global/skin/arrow/arrow-down.gif");
+  --searchbar-dropmarker-hover-url: url("chrome://global/skin/arrow/arrow-down-hover.gif");
+}
+
 .autocomplete-textbox-container {
   -moz-box-align: stretch;
 }
 }
 
 .searchbar-dropmarker-image {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+  list-style-image: var(--searchbar-dropmarker-url);
 }
 
 .searchbar-engine-button:hover > .searchbar-dropmarker-image,
 .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
+  list-style-image: var(--searchbar-dropmarker-hover-url);
 }
 
 
   list-style-image: url("chrome://browser/skin/search-indicator.png");
   -moz-image-region: rect(0, 20px, 20px, 0);
   margin: -2px -2px;
+  border-radius: 3px;
 }
 
 .searchbar-search-button:hover,
 .searchbar-search-button:hover:active {
   -moz-image-region: rect(0, 40px, 20px, 20px);
+  background-color: #FFCF00;  
 }
 
 searchbar[oneoffui] .search-go-button {
@@ -148,9 +155,9 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
 }
 
 .searchbar-engine-one-off-item {
-  -moz-appearance: none;
   display: inline-block;
   border: none;
+  border-radius: 0;
   min-width: 48px;
   height: 32px;
   margin: 0 0;
@@ -191,11 +198,11 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
 }
  
 .addengine-item {
-  -moz-appearance: none;
   border: none;
-  height: 32px;
+/*  height: 32px;*/
   margin: 0 0;
   padding: 0 10px;
+  border-radius: 0;
 }
 
 .addengine-item > .button-box {
@@ -212,6 +219,7 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
 }
 
 .addengine-item > .button-box > .button-icon {
+  height: 16px;
   width: 16px;
 }
 
@@ -239,12 +247,12 @@ searchbar[oneoffui] .searchbar-engine-image {
 }
 
 .search-setting-button {
-  -moz-appearance: none;
   border-bottom: none;
   border-left: none;
   border-right: none;
+  border-radius: 0;
   -moz-border-top-colors: none;
-  min-height: 32px;
+/*  min-height: 32px;*/
 }
 
 .search-setting-button:hover {