third part of syncing LCARStrek with Firefox 35 windows theme changes
[themes.git] / LCARStrek / browser / searchbar.css
index 253fdbb9b3f5ad54a7febea316a57d5c635791dc..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);
 }