1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 .searchbar-dropmarker-image {
6 --searchbar-dropmarker-url: url("chrome://global/skin/arrow/arrow-down.gif");
7 --searchbar-dropmarker-hover-url: url("chrome://global/skin/arrow/arrow-down-hover.gif");
10 .autocomplete-textbox-container {
11 -moz-box-align: stretch;
18 /* ::::: searchbar-engine-button ::::: */
20 .searchbar-engine-image {
23 list-style-image: url("chrome://global/skin/filepicker/file.gif");
24 -moz-margin-start: 2px;
27 .searchbar-engine-button {
31 -moz-padding-end: 2px;
32 -moz-box-align: center;
35 border-radius: 3px 0px 0px 3px;
38 .searchbar-engine-button:-moz-locale-dir(rtl) {
39 border-radius: 0px 3px 3px 0px;
42 .searchbar-engine-button:hover {
43 background-color: #FFCF00;
46 .searchbar-engine-button[open="true"] {
47 background-color: #FF9F00;
50 .searchbar-engine-button > .button-box {
55 .searchbar-dropmarker-image {
56 list-style-image: var(--searchbar-dropmarker-url);
59 .searchbar-engine-button:hover > .searchbar-dropmarker-image,
60 .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image {
61 list-style-image: var(--searchbar-dropmarker-hover-url);
65 /* ::::: search-go-button ::::: */
67 .search-go-container {
68 -moz-box-align: center;
73 list-style-image: url("chrome://global/skin/icons/search.png");
74 -moz-image-region: rect(0, 16px, 16px, 0);
77 .search-go-button:-moz-locale-dir(rtl) {
78 transform: scaleX(-1);
81 .search-go-button:hover {
84 .search-go-button:hover:active {
87 .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
92 .searchbar-search-button-container {
93 -moz-box-align: center;
95 -moz-padding-end: 2px;
98 .searchbar-search-button {
99 list-style-image: url("chrome://browser/skin/search-indicator.png");
100 -moz-image-region: rect(0, 20px, 20px, 0);
105 .searchbar-search-button:hover,
106 .searchbar-search-button:hover:active {
107 -moz-image-region: rect(0, 40px, 20px, 20px);
108 background-color: #FFCF00;
111 searchbar[oneoffui] .search-go-button {
112 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
113 -moz-image-region: rect(0, 42px, 14px, 28px);
116 searchbar[oneoffui] .search-go-button:hover {
117 -moz-image-region: rect(14px, 42px, 28px, 28px);
120 searchbar[oneoffui] .search-go-button:hover:active {
121 -moz-image-region: rect(28px, 42px, 42px, 28px);
124 searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
125 transform: scaleX(-1);
129 .search-panel-current-engine {
130 border-top: none !important;
131 border-bottom: 1px solid #9C9CFF;
132 -moz-box-align: center;
135 .search-panel-header {
137 background-color: #A09090;
138 border-top: 1px solid #9C9CFF;
144 .search-panel-current-input > label {
145 margin: 0 0 !important;
148 .search-panel-input-value {
152 .search-panel-one-offs {
153 margin: 0 0 !important;
154 border-top: 1px solid #9C9CFF;
158 .searchbar-engine-one-off-item {
159 display: inline-block;
167 background-image: url('chrome://browser/skin/search-oneoff-bg-border.png');
168 background-repeat: no-repeat;
169 background-position: right center;
172 .searchbar-engine-one-off-item:not(.last-row) {
173 box-sizing: padding-box;
174 border-bottom: 1px solid #9C9CFF;
177 .searchbar-engine-one-off-item.last-of-row {
178 background-image: none;
181 .searchbar-engine-one-off-item:hover:not(.dummy),
182 .searchbar-engine-one-off-item[selected] {
183 background-color: #008484;
184 background-image: none;
187 .searchbar-engine-one-off-item > .button-box {
192 .searchbar-engine-one-off-item > .button-box > .button-text {
196 .searchbar-engine-one-off-item > .button-box > .button-icon {
209 .addengine-item > .button-box {
210 -moz-box-pack: start;
213 .addengine-item:first-of-type {
214 border-top: 1px solid #9C9CFF;
217 .addengine-item:hover {
218 background-color: #FFCF00;
222 .addengine-item > .button-box > .button-icon {
227 .addengine-item > .button-box > .button-text {
230 -moz-padding-start: 10px;
233 .addengine-item:not([image]) {
234 list-style-image: url("chrome://browser/skin/search-engine-placeholder.png");
237 searchbar[oneoffui] .searchbar-engine-button {
241 .search-panel-tree > .autocomplete-treebody::-moz-tree-cell {
242 -moz-padding-start: 15px;
243 border-top: none !important;
246 .search-panel-tree > .autocomplete-treebody::-moz-tree-cell-text {
247 -moz-padding-start: 4px;
250 .search-panel-tree > .autocomplete-treebody::-moz-tree-image {
251 -moz-padding-start: 5px;
256 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory) {
257 list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon");
260 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) {
261 list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon-active");
264 searchbar[oneoffui] .searchbar-engine-image {
265 -moz-margin-start: -1px;
268 .search-setting-button {
273 -moz-border-top-colors: none;
274 /* min-height: 32px;*/
277 .search-setting-button:hover {
278 background-color: #FFCF00;
279 border-top-color: #9C9CFF;