fourth part of syncing LCARStrek with Firefox 41 windows theme changes
[themes.git] / LCARStrek / browser / searchbar.css
index 30fc3538c8c21617cd37ebbba816be6620750bc3..1a21a0cc125cdf87409b176a9bbe492dd0fb2dae 100644 (file)
 searchbar[oneoffui] .search-go-button {
   list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
   -moz-image-region: rect(0, 42px, 14px, 28px);
+  width: 14px;
 }
 
 searchbar[oneoffui] .search-go-button:hover {
@@ -131,22 +132,41 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
   transform: scaleX(-1);
 }
 
+@media (min-resolution: 1.1dppx) {
+  searchbar[oneoffui] .search-go-button {
+    list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
+    -moz-image-region: rect(0, 84px, 28px, 56px);
+  }
+
+  searchbar[oneoffui] .search-go-button:hover {
+    -moz-image-region: rect(28px, 84px, 56px, 56px);
+  }
+
+  searchbar[oneoffui] .search-go-button:hover:active {
+    -moz-image-region: rect(56px, 84px, 84px, 56px);
+  }
+}
 
 .search-panel-current-engine {
   border-top: none !important;
-  border-bottom: 1px solid #9C9CFF;
   -moz-box-align: center;
+
+  border-bottom: none;
 }
 
 .search-panel-header {
   font-weight: normal;
   background-color: #A09090;
-  border-top: 1px solid #9C9CFF;
+  border-top: 1px solid #000000;
   margin: 0;
   padding: 3px 6px;
   color: #000000;
 }
 
+.search-panel-tree[collapsed=true] + .search-panel-header {
+  border-top: none;
+}
+
 .search-panel-current-input > label {
   margin: 0 0 !important;
 }
@@ -157,7 +177,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;
+  border-top: 1px solid #000000;
   line-height: 0;
 }
 
@@ -176,7 +196,7 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
 }
 
 .searchbar-engine-one-off-item:not(.last-row) {
-  box-sizing: padding-box;
+  box-sizing: content-box;
   border-bottom: 1px solid #9C9CFF;
 }
 
@@ -184,7 +204,6 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
   background-image: none;
 }
 
-.searchbar-engine-one-off-item:hover:not(.dummy),
 .searchbar-engine-one-off-item[selected] {
   background-color: #008484;
   background-image: none;
@@ -217,10 +236,10 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon
 }
 
 .addengine-item:first-of-type {
-  border-top: 1px solid #9C9CFF;
+  border-top: 1px solid #000000;
 }
 
-.addengine-item:hover {
+.addengine-item[selected] {
   background-color: #FFCF00;
   color: #000000;
 }
@@ -283,11 +302,12 @@ searchbar[oneoffui] .searchbar-engine-image {
   border-left: none;
   border-right: none;
   border-radius: 0;
+  background-color: #C09070;
   -moz-border-top-colors: none;
 /*  min-height: 32px;*/
 }
 
-.search-setting-button:hover {
+.search-setting-button[selected] {
   background-color: #FFCF00;
-  border-top-color: #9C9CFF;
+  border-top-color: #000000;
 }