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 #PopupSearchAutoComplete {
6 -moz-margin-start: -25px;
9 .searchbar-dropmarker-image {
10 --searchbar-dropmarker-url: url("chrome://global/skin/arrow/arrow-down.gif");
11 --searchbar-dropmarker-hover-url: url("chrome://global/skin/arrow/arrow-down-hover.gif");
14 .autocomplete-textbox-container {
15 -moz-box-align: stretch;
22 /* ::::: searchbar-engine-button ::::: */
24 .searchbar-engine-image {
27 list-style-image: url("chrome://global/skin/filepicker/file.gif");
30 .searchbar-engine-button {
34 -moz-padding-end: 2px;
35 -moz-box-align: center;
38 border-radius: 3px 0px 0px 3px;
41 .searchbar-engine-button:-moz-locale-dir(rtl) {
42 border-radius: 0px 3px 3px 0px;
45 .searchbar-engine-button:hover {
46 background-color: #FFCF00;
49 .searchbar-engine-button[open="true"] {
50 background-color: #FF9F00;
53 .searchbar-engine-button > .button-box {
58 .searchbar-dropmarker-image {
59 list-style-image: var(--searchbar-dropmarker-url);
62 .searchbar-engine-button:hover > .searchbar-dropmarker-image,
63 .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image {
64 list-style-image: var(--searchbar-dropmarker-hover-url);
68 /* ::::: search-go-button ::::: */
70 .search-go-container {
71 -moz-box-align: center;
76 list-style-image: url("chrome://global/skin/icons/search.png");
77 -moz-image-region: rect(0, 16px, 16px, 0);
80 .search-go-button:-moz-locale-dir(rtl) {
81 transform: scaleX(-1);
84 .search-go-button:hover {
87 .search-go-button:hover:active {
90 .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
94 .searchbar-search-button-container {
95 -moz-box-align: center;
98 .searchbar-search-button {
99 list-style-image: url("chrome://browser/skin/search-indicator.png");
100 -moz-image-region: rect(0, 20px, 20px, 0);
103 -moz-margin-start: 4px;
107 .searchbar-search-button[addengines="true"] {
108 list-style-image: url("chrome://browser/skin/search-indicator-badge-add.png");
111 .searchbar-search-button:hover,
112 .searchbar-search-button:hover:active {
113 -moz-image-region: rect(0, 40px, 20px, 20px);
114 background-color: #FFCF00;
117 searchbar[oneoffui] .search-go-button {
118 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
119 -moz-image-region: rect(0, 42px, 14px, 28px);
122 searchbar[oneoffui] .search-go-button:hover {
123 -moz-image-region: rect(14px, 42px, 28px, 28px);
126 searchbar[oneoffui] .search-go-button:hover:active {
127 -moz-image-region: rect(28px, 42px, 42px, 28px);
130 searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
131 transform: scaleX(-1);
135 .search-panel-current-engine {
136 border-top: none !important;
137 -moz-box-align: center;
140 .search-panel-current-engine:not([showonlysettings]) {
144 .search-panel-header {
146 background-color: #A09090;
147 border-top: 1px solid #000000;
153 .search-panel-current-input > label {
154 margin: 0 0 !important;
157 .search-panel-input-value {
161 .search-panel-one-offs {
162 margin: 0 0 !important;
163 border-top: 1px solid #000000;
167 .searchbar-engine-one-off-item {
168 display: inline-block;
176 background-image: url('chrome://browser/skin/search-oneoff-bg-border.png');
177 background-repeat: no-repeat;
178 background-position: right center;
181 .searchbar-engine-one-off-item:not(.last-row) {
182 box-sizing: padding-box;
183 border-bottom: 1px solid #9C9CFF;
186 .searchbar-engine-one-off-item.last-of-row {
187 background-image: none;
190 .searchbar-engine-one-off-item[selected] {
191 background-color: #008484;
192 background-image: none;
195 .searchbar-engine-one-off-item > .button-box {
200 .searchbar-engine-one-off-item > .button-box > .button-text {
204 .searchbar-engine-one-off-item > .button-box > .button-icon {
217 .addengine-item > .button-box {
218 -moz-box-pack: start;
221 .addengine-item:first-of-type {
222 border-top: 1px solid #000000;
225 .addengine-item[selected] {
226 background-color: #FFCF00;
238 margin: -7px -9px 7px 9px;
239 list-style-image: url("chrome://browser/skin/badge-add-engine.png");
242 .addengine-item > .button-box > .button-text {
245 -moz-padding-start: 10px;
248 .addengine-item:not([image]) {
249 list-style-image: url("chrome://browser/skin/search-engine-placeholder.png");
252 searchbar[oneoffui] .searchbar-engine-button {
256 .search-panel-tree > .autocomplete-treebody::-moz-tree-cell {
257 -moz-padding-start: 15px;
258 border-top: none !important;
261 .search-panel-tree > .autocomplete-treebody::-moz-tree-cell-text {
262 -moz-padding-start: 4px;
265 .search-panel-tree > .autocomplete-treebody::-moz-tree-image {
266 -moz-padding-start: 5px;
271 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory) {
272 list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon");
275 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) {
276 list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon-active");
279 searchbar[oneoffui] .searchbar-engine-image {
280 -moz-margin-start: -1px;
283 .search-setting-button {
288 background-color: #C09070;
289 -moz-border-top-colors: none;
290 /* min-height: 32px;*/
293 .search-setting-button[selected] {
294 background-color: #FFCF00;
295 border-top-color: #000000;