Commit | Line | Data |
---|---|---|
45dc7657 RK |
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/. */ | |
319c6529 | 4 | |
e548e22e RK |
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"); | |
8 | } | |
9 | ||
319c6529 RK |
10 | .autocomplete-textbox-container { |
11 | -moz-box-align: stretch; | |
12 | } | |
13 | ||
14 | .textbox-input-box { | |
15 | margin: 0; | |
16 | } | |
17 | ||
18 | /* ::::: searchbar-engine-button ::::: */ | |
19 | ||
20 | .searchbar-engine-image { | |
21 | height: 16px; | |
22 | width: 16px; | |
23 | list-style-image: url("chrome://global/skin/filepicker/file.gif"); | |
24 | -moz-margin-start: 2px; | |
25 | } | |
26 | ||
27 | .searchbar-engine-button { | |
28 | min-width: 0; | |
29 | margin: 0; | |
30 | padding: 0; | |
31 | -moz-padding-end: 2px; | |
32 | -moz-box-align: center; | |
33 | background: none; | |
34 | border: none; | |
36759a51 RK |
35 | border-radius: 3px 0px 0px 3px; |
36 | } | |
37 | ||
38 | .searchbar-engine-button:-moz-locale-dir(rtl) { | |
39 | border-radius: 0px 3px 3px 0px; | |
319c6529 RK |
40 | } |
41 | ||
df1d9c69 RK |
42 | .searchbar-engine-button:hover { |
43 | background-color: #FFCF00; | |
44 | } | |
45 | ||
1e29db46 | 46 | .searchbar-engine-button[open="true"] { |
56f2a618 RK |
47 | background-color: #FF9F00; |
48 | } | |
49 | ||
319c6529 RK |
50 | .searchbar-engine-button > .button-box { |
51 | padding: 0; | |
52 | border: 0; | |
53 | } | |
54 | ||
55 | .searchbar-dropmarker-image { | |
e548e22e | 56 | list-style-image: var(--searchbar-dropmarker-url); |
319c6529 RK |
57 | } |
58 | ||
df1d9c69 | 59 | .searchbar-engine-button:hover > .searchbar-dropmarker-image, |
319c6529 | 60 | .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image { |
e548e22e | 61 | list-style-image: var(--searchbar-dropmarker-hover-url); |
319c6529 RK |
62 | } |
63 | ||
64 | ||
65 | /* ::::: search-go-button ::::: */ | |
66 | ||
67 | .search-go-container { | |
68 | -moz-box-align: center; | |
69 | } | |
70 | ||
71 | .search-go-button { | |
72 | padding: 1px; | |
56f2a618 RK |
73 | list-style-image: url("chrome://global/skin/icons/search.png"); |
74 | -moz-image-region: rect(0, 16px, 16px, 0); | |
319c6529 RK |
75 | } |
76 | ||
319c6529 | 77 | .search-go-button:-moz-locale-dir(rtl) { |
71a617ff | 78 | transform: scaleX(-1); |
319c6529 RK |
79 | } |
80 | ||
81 | .search-go-button:hover { | |
319c6529 RK |
82 | } |
83 | ||
84 | .search-go-button:hover:active { | |
319c6529 RK |
85 | } |
86 | ||
87 | .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { | |
88 | font-weight: bold; | |
89 | } | |
58036cb8 RK |
90 | |
91 | ||
92 | .searchbar-search-button-container { | |
93 | -moz-box-align: center; | |
94 | padding: 3px 4px; | |
95 | -moz-padding-end: 2px; | |
96 | } | |
97 | ||
98 | .searchbar-search-button { | |
99 | list-style-image: url("chrome://browser/skin/search-indicator.png"); | |
100 | -moz-image-region: rect(0, 20px, 20px, 0); | |
101 | margin: -2px -2px; | |
fefd86cd | 102 | border-radius: 3px; |
58036cb8 RK |
103 | } |
104 | ||
105 | .searchbar-search-button:hover, | |
106 | .searchbar-search-button:hover:active { | |
107 | -moz-image-region: rect(0, 40px, 20px, 20px); | |
fefd86cd | 108 | background-color: #FFCF00; |
58036cb8 RK |
109 | } |
110 | ||
111 | searchbar[oneoffui] .search-go-button { | |
832af407 | 112 | list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); |
58036cb8 RK |
113 | -moz-image-region: rect(0, 42px, 14px, 28px); |
114 | } | |
115 | ||
116 | searchbar[oneoffui] .search-go-button:hover { | |
117 | -moz-image-region: rect(14px, 42px, 28px, 28px); | |
118 | } | |
119 | ||
120 | searchbar[oneoffui] .search-go-button:hover:active { | |
121 | -moz-image-region: rect(28px, 42px, 42px, 28px); | |
122 | } | |
123 | ||
124 | searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
125 | transform: scaleX(-1); | |
126 | } | |
127 | ||
128 | ||
129 | .search-panel-current-engine { | |
130 | border-top: none !important; | |
131 | border-bottom: 1px solid #9C9CFF; | |
132 | -moz-box-align: center; | |
133 | } | |
134 | ||
135 | .search-panel-header { | |
136 | font-weight: normal; | |
137 | background-color: #A09090; | |
138 | border-top: 1px solid #9C9CFF; | |
139 | margin: 0; | |
140 | padding: 3px 6px; | |
141 | color: #000000; | |
142 | } | |
143 | ||
144 | .search-panel-current-input > label { | |
145 | margin: 0 0 !important; | |
146 | } | |
147 | ||
148 | .search-panel-input-value { | |
149 | color: black; | |
150 | } | |
151 | ||
152 | .search-panel-one-offs { | |
153 | margin: 0 0 !important; | |
154 | border-top: 1px solid #9C9CFF; | |
1eb9479d | 155 | line-height: 0; |
58036cb8 RK |
156 | } |
157 | ||
158 | .searchbar-engine-one-off-item { | |
58036cb8 RK |
159 | display: inline-block; |
160 | border: none; | |
fefd86cd | 161 | border-radius: 0; |
58036cb8 RK |
162 | min-width: 48px; |
163 | height: 32px; | |
164 | margin: 0 0; | |
165 | padding: 0 0; | |
166 | background: none; | |
167 | background-image: url('chrome://browser/skin/search-oneoff-bg-border.png'); | |
168 | background-repeat: no-repeat; | |
169 | background-position: right center; | |
170 | } | |
171 | ||
172 | .searchbar-engine-one-off-item:not(.last-row) { | |
173 | box-sizing: padding-box; | |
174 | border-bottom: 1px solid #9C9CFF; | |
175 | } | |
176 | ||
177 | .searchbar-engine-one-off-item.last-of-row { | |
178 | background-image: none; | |
179 | } | |
180 | ||
181 | .searchbar-engine-one-off-item:hover:not(.dummy), | |
182 | .searchbar-engine-one-off-item[selected] { | |
183 | background-color: #008484; | |
184 | background-image: none; | |
185 | } | |
186 | ||
187 | .searchbar-engine-one-off-item > .button-box { | |
188 | border: none; | |
189 | padding: 0 0; | |
190 | } | |
191 | ||
192 | .searchbar-engine-one-off-item > .button-box > .button-text { | |
193 | display: none; | |
194 | } | |
195 | ||
196 | .searchbar-engine-one-off-item > .button-box > .button-icon { | |
197 | width: 16px; | |
198 | height: 16px; | |
199 | } | |
200 | ||
201 | .addengine-item { | |
58036cb8 | 202 | border: none; |
fefd86cd | 203 | /* height: 32px;*/ |
58036cb8 RK |
204 | margin: 0 0; |
205 | padding: 0 10px; | |
fefd86cd | 206 | border-radius: 0; |
58036cb8 RK |
207 | } |
208 | ||
209 | .addengine-item > .button-box { | |
210 | -moz-box-pack: start; | |
211 | } | |
212 | ||
213 | .addengine-item:first-of-type { | |
214 | border-top: 1px solid #9C9CFF; | |
215 | } | |
216 | ||
217 | .addengine-item:hover { | |
218 | background-color: #FFCF00; | |
219 | color: #000000; | |
220 | } | |
221 | ||
222 | .addengine-item > .button-box > .button-icon { | |
fefd86cd | 223 | height: 16px; |
58036cb8 RK |
224 | width: 16px; |
225 | } | |
226 | ||
227 | .addengine-item > .button-box > .button-text { | |
228 | -moz-box-flex: 1; | |
229 | text-align: start; | |
230 | -moz-padding-start: 10px; | |
231 | } | |
232 | ||
233 | .addengine-item:not([image]) { | |
234 | list-style-image: url("chrome://browser/skin/search-engine-placeholder.png"); | |
235 | } | |
236 | ||
237 | searchbar[oneoffui] .searchbar-engine-button { | |
238 | display: none; | |
239 | } | |
240 | ||
241 | .search-panel-tree > .autocomplete-treebody::-moz-tree-cell { | |
242 | -moz-padding-start: 15px; | |
243 | border-top: none !important; | |
244 | } | |
245 | ||
1eb9479d RK |
246 | .search-panel-tree > .autocomplete-treebody::-moz-tree-cell-text { |
247 | -moz-padding-start: 4px; | |
248 | } | |
249 | ||
250 | .search-panel-tree > .autocomplete-treebody::-moz-tree-image { | |
251 | -moz-padding-start: 5px; | |
252 | width: 14px; | |
253 | height: 14px; | |
254 | } | |
255 | ||
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"); | |
258 | } | |
259 | ||
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"); | |
262 | } | |
263 | ||
58036cb8 RK |
264 | searchbar[oneoffui] .searchbar-engine-image { |
265 | -moz-margin-start: -1px; | |
266 | } | |
267 | ||
268 | .search-setting-button { | |
58036cb8 RK |
269 | border-bottom: none; |
270 | border-left: none; | |
271 | border-right: none; | |
fefd86cd | 272 | border-radius: 0; |
58036cb8 | 273 | -moz-border-top-colors: none; |
fefd86cd | 274 | /* min-height: 32px;*/ |
58036cb8 RK |
275 | } |
276 | ||
277 | .search-setting-button:hover { | |
278 | background-color: #FFCF00; | |
279 | border-top-color: #9C9CFF; | |
280 | } |