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://browser/skin/searchbar-dropdown-arrow.png");
13 .autocomplete-textbox-container {
14 -moz-box-align: stretch
;
21 /* ::::: searchbar-engine-button ::::: */
23 .searchbar-engine-image {
26 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
27 -moz-image-region: rect
(0px, 16px, 16px, 0px);
30 .searchbar-engine-button {
31 -moz-appearance: none
;
35 -moz-padding-end: 2px;
36 -moz-box-align: center
;
41 .searchbar-engine-button > .button-box {
42 -moz-appearance: none
;
47 .searchbar-dropmarker-image {
48 list-style-image: var
(--searchbar-dropmarker-url
);
49 -moz-image-region: rect
(0, 13px, 11px, 0);
52 .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image {
53 -moz-image-region: rect
(0, 26px, 11px, 13px);
57 /* ::::: search-go-button ::::: */
59 .search-go-container {
60 -moz-box-align: center
;
65 list-style-image: url
("chrome://global/skin/icons/Search-glass.png");
66 -moz-image-region: rect
(0px 16px 16px 0px);
69 .search-go-button:-moz-locale-dir(rtl) {
70 transform: scaleX
(-1);
73 .search-go-button:hover {
74 -moz-image-region: rect
(0px 32px 16px 16px);
77 .search-go-button:hover:active {
78 -moz-image-region: rect
(0px, 48px, 16px, 32px);
81 .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
87 .searchbar-search-button-container {
88 -moz-box-align: center
;
91 .searchbar-search-button {
92 list-style-image: url
("chrome://browser/skin/search-indicator.png");
93 -moz-image-region: rect
(0, 20px, 20px, 0);
96 -moz-margin-start: 4px;
99 .searchbar-search-button[addengines="true"] {
100 list-style-image: url
("chrome://browser/skin/search-indicator-badge-add.png");
103 .searchbar-search-button:hover {
104 -moz-image-region: rect
(0, 40px, 20px, 20px);
107 .searchbar-search-button:hover:active {
108 -moz-image-region: rect
(0, 60px, 20px, 40px);
111 searchbar
[oneoffui
] .search-go-button
{
112 list-style-image: url
("chrome://browser/skin/reload-stop-go.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 -moz-box-align: center
;
134 .search-panel-current-engine:not([showonlysettings]) {
135 border-bottom: 1px solid
#ccc;
138 .search-panel-header {
140 background-color: rgb
(245, 245, 245);
141 border-top: 1px solid
#ccc;
147 .search-panel-current-input > label {
148 margin: 0 0 !important
;
151 .search-panel-input-value {
155 .search-panel-one-offs {
156 margin: 0 0 !important
;
157 border-top: 1px solid
#ccc;
161 .searchbar-engine-one-off-item {
162 -moz-appearance: none
;
163 display: inline-block
;
170 background-image: url
('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gofECQNNVW2/AAAABBJREFUGFdjOHPmzH8GehEA/KpKg9YTf4AAAAAASUVORK5CYII=');
171 background-repeat: no-repeat
;
172 background-position: right center
;
175 .searchbar-engine-one-off-item:not(.last-row) {
176 box-sizing: padding-box
;
177 border-bottom: 1px solid
#ccc;
180 .searchbar-engine-one-off-item.last-of-row {
181 background-image: none
;
184 .searchbar-engine-one-off-item[selected] {
185 background-color: Highlight
;
186 background-image: none
;
189 .searchbar-engine-one-off-item > .button-box {
194 .searchbar-engine-one-off-item > .button-box > .button-text {
198 .searchbar-engine-one-off-item > .button-box > .button-icon {
204 -moz-appearance: none
;
211 .addengine-item > .button-box {
212 -moz-box-pack: start
;
215 .addengine-item:first-of-type {
216 border-top: 1px solid
#ccc;
219 .addengine-item[selected] {
220 background-color: Highlight
;
221 color: HighlightText
;
231 margin: -7px -9px 7px 9px;
232 list-style-image: url
("chrome://browser/skin/badge-add-engine.png");
235 .addengine-item > .button-box > .button-text {
238 -moz-padding-start: 10px;
241 .addengine-item:not([image]) {
242 list-style-image: url
("chrome://browser/skin/search-engine-placeholder.png");
245 searchbar
[oneoffui
] .searchbar-engine-button
{
249 .search-panel-tree > .autocomplete-treebody::-moz-tree-cell {
250 border-top: none
!important
;
253 .search-panel-tree > .autocomplete-treebody::-moz-tree-cell-text {
254 -moz-padding-start: 4px;
257 .search-panel-tree > .autocomplete-treebody::-moz-tree-image {
258 -moz-padding-start: 5px;
263 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory) {
264 list-style-image: url
("chrome://browser/skin/search-history-icon.svg#search-history-icon");
267 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) {
268 list-style-image: url
("chrome://browser/skin/search-history-icon.svg#search-history-icon-active");
271 searchbar
[oneoffui
] .searchbar-engine-image
{
272 -moz-margin-start: -1px;
275 .search-setting-button {
276 -moz-appearance: none
;
280 -moz-border-top-colors: none
;
284 .search-setting-button[selected] {
285 background-color: #d3d3d3;
286 border-top-color: #bdbebe;