sixth and final part of syncing LCARStrek with Firefox 36 windows theme changes
[themes.git] / LCARStrek / browser / searchbar.css
index 253fdbb9b3f5ad54a7febea316a57d5c635791dc..30fc3538c8c21617cd37ebbba816be6620750bc3 100644 (file)
@@ -2,6 +2,15 @@
  * 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/. */
 
+#PopupSearchAutoComplete {
+  -moz-margin-start: -25px;
+}
+
+.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;
 }
@@ -16,7 +25,6 @@
   height: 16px;
   width: 16px;
   list-style-image: url("chrome://global/skin/filepicker/file.gif");
-  -moz-margin-start: 2px;
 }
 
 .searchbar-engine-button {
 }
 
 .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);
 }
 
 
   font-weight: bold;
 }
 
-
 .searchbar-search-button-container {
   -moz-box-align: center;
-  padding: 3px 4px;
-  -moz-padding-end: 2px;
 }
 
 .searchbar-search-button {
   list-style-image: url("chrome://browser/skin/search-indicator.png");
   -moz-image-region: rect(0, 20px, 20px, 0);
-  margin: -2px -2px;
+  margin-top: 1px;
+  margin-bottom: 1px;
+  -moz-margin-start: 4px;
   border-radius: 3px;
 }
 
+.searchbar-search-button[addengines="true"] {
+  list-style-image: url("chrome://browser/skin/search-indicator-badge-add.png");
+}
+
 .searchbar-search-button:hover,
 .searchbar-search-button:hover:active {
   -moz-image-region: rect(0, 40px, 20px, 20px);
 }
 
 searchbar[oneoffui] .search-go-button {
-  list-style-image: url("chrome://browser/skin/reload-stop-go.png");
+  list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
   -moz-image-region: rect(0, 42px, 14px, 28px);
 }
 
@@ -147,6 +158,7 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
 .search-panel-one-offs {
   margin: 0 0 !important;
   border-top: 1px solid #9C9CFF;
+  line-height: 0;
 }
 
 .searchbar-engine-one-off-item {
@@ -213,11 +225,18 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
   color: #000000;
 }
 
-.addengine-item > .button-box > .button-icon {
+.addengine-icon {
   height: 16px;
   width: 16px;
 }
 
+.addengine-badge {
+  width: 16px;
+  height: 16px;
+  margin: -7px -9px 7px 9px;
+  list-style-image: url("chrome://browser/skin/badge-add-engine.png");
+}
+
 .addengine-item > .button-box > .button-text {
   -moz-box-flex: 1;
   text-align: start;
@@ -237,6 +256,24 @@ searchbar[oneoffui] .searchbar-engine-button {
   border-top: none !important;
 }
 
+.search-panel-tree > .autocomplete-treebody::-moz-tree-cell-text {
+  -moz-padding-start: 4px;
+}
+
+.search-panel-tree > .autocomplete-treebody::-moz-tree-image {
+  -moz-padding-start: 5px;
+  width: 14px;
+  height: 14px;
+}
+
+.search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory) {
+  list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon");
+}
+
+.search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) {
+  list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon-active");
+}
+
 searchbar[oneoffui] .searchbar-engine-image {
   -moz-margin-start: -1px;
 }