Commit | Line | Data |
---|---|---|
9099c61d 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 RK |
4 | |
5 | @import url("chrome://global/skin/"); | |
6 | ||
7 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
8 | ||
9 | menubar { | |
10 | -moz-binding: url("chrome://global/content/widgets/toolbar.xml#menubar"); | |
11 | background-color: transparent; | |
12 | } | |
13 | ||
14 | toolbar { | |
15 | -moz-binding: url("chrome://browser/skin/browser.xml#toolbar"); | |
16 | } | |
17 | ||
18 | menubar > menu { | |
19 | -moz-margin-start: 2px; | |
20 | } | |
21 | ||
22 | .toolbar-primary > .toolbar-holder { | |
23 | background-color: #FF9F00; | |
24 | } | |
25 | ||
26 | .toolbar-primary > .toolbar-begcap, | |
27 | .toolbar-primary > .toolbar-endcap { | |
28 | background-color: #9C9CFF; | |
29 | } | |
30 | ||
31 | #PersonalToolbar { | |
32 | min-height: 20px; | |
33 | } | |
34 | ||
35 | /* ::::: bookmark buttons ::::: */ | |
36 | ||
37 | toolbarbutton.bookmark-item { | |
38 | margin: 0; | |
39 | -moz-margin-end: 2px; | |
40 | min-width: 0; | |
41 | max-width: 13em; | |
42 | min-height: 20px; | |
43 | padding: 1px; | |
44 | } | |
45 | ||
46 | toolbarbutton.bookmark-item:hover:active, | |
47 | toolbarbutton.bookmark-item[open="true"] { | |
48 | padding-top: 2px; | |
49 | padding-bottom: 0px; | |
50 | -moz-padding-start: 2px; | |
51 | -moz-padding-end: 0px; | |
52 | } | |
53 | ||
54 | .bookmark-item > .toolbarbutton-icon { | |
55 | width: 16px; | |
56 | height: 16px; | |
57 | } | |
58 | ||
59 | /* Prevent [mode="icons"] from hiding the label */ | |
60 | .bookmark-item > .toolbarbutton-text { | |
61 | display: -moz-box !important; | |
62 | } | |
63 | ||
64 | .bookmark-item > .toolbarbutton-menu-dropmarker { | |
65 | display: none; | |
66 | } | |
67 | ||
68 | .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] { | |
69 | width: 32px; | |
70 | height: 32px; | |
71 | background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat; | |
72 | } | |
73 | ||
74 | .bookmarks-toolbar-customize { | |
75 | display: none; | |
76 | max-width: 15em !important; | |
77 | } | |
78 | ||
79 | toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize { | |
80 | display: -moz-box; | |
81 | } | |
82 | ||
83 | toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items { | |
84 | visibility: hidden; | |
85 | } | |
86 | ||
87 | toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items { | |
88 | visibility: hidden; | |
89 | } | |
90 | ||
91 | /* ::::: bookmark menus ::::: */ | |
92 | ||
93 | menu.bookmark-item, | |
94 | menuitem.bookmark-item { | |
95 | min-width: 0; | |
96 | max-width: 26em; | |
97 | border-top: 1px solid transparent !important; | |
98 | border-bottom: 1px solid transparent !important; | |
99 | padding-top: 1px; | |
100 | padding-bottom: 1px; | |
101 | -moz-padding-start: 2px; | |
102 | -moz-padding-end: 3px; | |
103 | margin-top: -1px; | |
104 | } | |
105 | ||
106 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
107 | width: 16px; | |
108 | height: 16px; | |
109 | } | |
110 | ||
111 | /* ..... drag and drop styles ..... */ | |
112 | ||
113 | .bookmark-item[dragover-left="true"] { | |
114 | -moz-border-left-colors: #008484; | |
115 | } | |
116 | .bookmark-item[dragover-right="true"] { | |
117 | -moz-border-right-colors: #008484; | |
118 | } | |
119 | .bookmark-item[dragover-top="true"] { | |
120 | -moz-border-top-colors: #008484; | |
121 | } | |
122 | .bookmark-item[dragover-bottom="true"] { | |
123 | -moz-border-bottom-colors: #008484; | |
124 | } | |
125 | ||
126 | /* ::::: bookmark items ::::: */ | |
127 | ||
128 | .bookmark-item { | |
129 | list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif"); | |
130 | } | |
131 | ||
132 | .bookmark-item[container="true"] { | |
133 | list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif"); | |
134 | } | |
135 | .bookmark-item[open="true"], | |
136 | .bookmark-item[container="true"][open="true"] { | |
137 | list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif"); | |
138 | } | |
139 | ||
140 | /* ::::: primary toolbar buttons ::::: */ | |
141 | ||
142 | .toolbarbutton-1, | |
143 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
144 | -moz-box-orient: vertical; | |
145 | min-width: 0px; | |
146 | } | |
147 | ||
148 | toolbarbutton:not([disabled="true"]):hover, | |
149 | menubutton:not([disabled="true"]):hover, | |
150 | toolbarbutton:not([disabled="true"]):hover:active, | |
151 | menubutton:not([disabled="true"]):hover:active { | |
152 | color: #000000 !important; | |
153 | } | |
154 | ||
155 | /* | |
156 | .toolbarbutton-menubutton-stack, | |
157 | .toolbarbutton-menubutton-button, | |
158 | .toolbarbutton-menubutton-stack:hover, | |
159 | .toolbarbutton-menubutton-button:hover, | |
160 | .toolbarbutton-menubutton-stack:hover:active, | |
161 | .toolbarbutton-menubutton-button:hover:active { | |
162 | margin: 0 !important; | |
163 | display: -moz-box; | |
164 | } | |
165 | */ | |
166 | ||
167 | toolbarbutton[type="menu-button"] { | |
168 | -moz-box-orient: horizontal; | |
169 | } | |
170 | ||
171 | toolbar[mode="icons"] .toolbarbutton-text { | |
172 | display: none; | |
173 | } | |
174 | ||
175 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker, | |
176 | toolbar[mode="text"] .toolbarbutton-icon { | |
177 | display: none; | |
178 | } | |
179 | ||
180 | toolbar[mode="text"] .toolbarbutton-text { | |
181 | padding: 0 !important; | |
182 | margin: 3px 5px !important; | |
183 | } | |
184 | ||
185 | #back-button { | |
186 | /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */ | |
187 | list-style-image: url("chrome://browser/skin/icons/back.gif"); | |
188 | } | |
189 | #back-button:hover, | |
190 | #back-button[open="true"] { | |
191 | list-style-image: url("chrome://browser/skin/icons/back-hover.gif"); | |
192 | } | |
193 | #back-button[disabled="true"] { | |
194 | list-style-image: url("chrome://browser/skin/icons/back-disabled.gif"); | |
195 | } | |
196 | ||
197 | #forward-button { | |
198 | /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */ | |
199 | list-style-image: url("chrome://browser/skin/icons/forward.gif"); | |
200 | } | |
201 | #forward-button:hover, | |
202 | #forward-button[open="true"] { | |
203 | list-style-image: url("chrome://browser/skin/icons/forward-hover.gif"); | |
204 | } | |
205 | #forward-button[disabled="true"] { | |
206 | list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif"); | |
207 | } | |
208 | ||
209 | #reload-button { | |
210 | list-style-image: url("chrome://browser/skin/icons/reload.gif"); | |
211 | } | |
212 | #reload-button:hover { | |
213 | list-style-image: url("chrome://browser/skin/icons/reload-hover.gif"); | |
214 | } | |
215 | #reload-button[disabled="true"] { | |
216 | list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif"); | |
217 | } | |
218 | ||
219 | #stop-button { | |
220 | list-style-image: url("chrome://browser/skin/icons/stop.gif"); | |
221 | } | |
222 | #stop-button:hover { | |
223 | list-style-image: url("chrome://browser/skin/icons/stop-hover.gif"); | |
224 | } | |
225 | #stop-button[disabled="true"] { | |
226 | list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif"); | |
227 | } | |
228 | ||
229 | #home-button { | |
230 | list-style-image: url("chrome://browser/skin/icons/home.gif"); | |
231 | } | |
232 | #home-button:hover { | |
233 | list-style-image: url("chrome://browser/skin/icons/home-hover.gif"); | |
234 | } | |
235 | #home-button[disabled="true"] { | |
236 | list-style-image: url("chrome://browser/skin/icons/home-disabled.gif"); | |
237 | } | |
238 | ||
239 | #print-button { | |
240 | list-style-image: url("chrome://browser/skin/icons/print.gif"); | |
241 | } | |
242 | #print-button:hover { | |
243 | list-style-image: url("chrome://browser/skin/icons/print-hover.gif"); | |
244 | } | |
245 | #print-button[disabled="true"] { | |
246 | list-style-image: url("chrome://browser/skin/icons/print-disabled.gif"); | |
247 | } | |
248 | ||
249 | #new-tab-button { | |
250 | list-style-image: url("chrome://browser/skin/icons/new-tab.gif"); | |
251 | } | |
252 | #new-tab-button:hover { | |
253 | list-style-image: url("chrome://browser/skin/icons/new-tab-hover.gif"); | |
254 | } | |
255 | #new-tab-button[disabled="true"] { | |
256 | list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif"); | |
257 | } | |
258 | ||
259 | #new-window-button { | |
260 | list-style-image: url("chrome://browser/skin/icons/new-window.gif"); | |
261 | } | |
262 | #new-window-button:hover { | |
263 | list-style-image: url("chrome://browser/skin/icons/new-window-hover.gif"); | |
264 | } | |
265 | #new-window-button[disabled="true"] { | |
266 | list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif"); | |
267 | } | |
268 | ||
269 | #downloads-button { | |
270 | list-style-image: url("chrome://browser/skin/icons/downloads.gif"); | |
271 | } | |
272 | #downloads-button:hover { | |
273 | list-style-image: url("chrome://browser/skin/icons/downloads-hover.gif"); | |
274 | } | |
275 | #downloads-button[disabled="true"] { | |
276 | list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif"); | |
277 | } | |
278 | ||
279 | #bookmarks-button { | |
280 | list-style-image: url("chrome://browser/skin/icons/bookmarks.gif"); | |
281 | } | |
282 | #bookmarks-button:hover { | |
283 | list-style-image: url("chrome://browser/skin/icons/bookmarks-hover.gif"); | |
284 | } | |
285 | #bookmarks-button[disabled="true"] { | |
286 | list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif"); | |
287 | } | |
288 | ||
289 | #history-button { | |
290 | list-style-image: url("chrome://browser/skin/icons/history.gif"); | |
291 | } | |
292 | #history-button:hover { | |
293 | list-style-image: url("chrome://browser/skin/icons/history-hover.gif"); | |
294 | } | |
295 | #history-button[disabled="true"] { | |
296 | list-style-image: url("chrome://browser/skin/icons/history-disabled.gif"); | |
297 | } | |
298 | ||
299 | #cut-button { | |
300 | list-style-image: url("chrome://browser/skin/icons/cut.gif"); | |
301 | } | |
302 | #cut-button:hover { | |
303 | list-style-image: url("chrome://browser/skin/icons/cut-hover.gif"); | |
304 | } | |
305 | #cut-button[disabled="true"] { | |
306 | list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif"); | |
307 | } | |
308 | ||
309 | #copy-button { | |
310 | list-style-image: url("chrome://browser/skin/icons/copy.gif"); | |
311 | } | |
312 | #copy-button:hover { | |
313 | list-style-image: url("chrome://browser/skin/icons/copy-hover.gif"); | |
314 | } | |
315 | #copy-button[disabled="true"] { | |
316 | list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif"); | |
317 | } | |
318 | ||
319 | #paste-button { | |
320 | list-style-image: url("chrome://browser/skin/icons/paste.gif"); | |
321 | } | |
322 | #paste-button:hover { | |
323 | list-style-image: url("chrome://browser/skin/icons/paste-hover.gif"); | |
324 | } | |
325 | #paste-button[disabled="true"] { | |
326 | list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif"); | |
327 | } | |
328 | ||
329 | ||
330 | /* ::::: small primary toolbar buttons ::::: */ | |
331 | ||
332 | toolbar[iconsize="small"] #back-button { | |
333 | list-style-image: url("chrome://browser/skin/icons/back-small.gif"); | |
334 | } | |
335 | toolbar[iconsize="small"] #back-button:hover { | |
336 | list-style-image: url("chrome://browser/skin/icons/back-small-hover.gif"); | |
337 | } | |
338 | toolbar[iconsize="small"] #back-button[disabled="true"] { | |
339 | list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif"); | |
340 | } | |
341 | ||
342 | toolbar[iconsize="small"] #forward-button { | |
343 | list-style-image: url("chrome://browser/skin/icons/forward-small.gif"); | |
344 | } | |
345 | toolbar[iconsize="small"] #forward-button:hover { | |
346 | list-style-image: url("chrome://browser/skin/icons/forward-small-hover.gif"); | |
347 | } | |
348 | toolbar[iconsize="small"] #forward-button[disabled="true"] { | |
349 | list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif"); | |
350 | } | |
351 | ||
352 | toolbar[iconsize="small"] #reload-button { | |
353 | list-style-image: url("chrome://browser/skin/icons/reload-small.gif"); | |
354 | } | |
355 | toolbar[iconsize="small"] #reload-button:hover { | |
356 | list-style-image: url("chrome://browser/skin/icons/reload-small-hover.gif"); | |
357 | } | |
358 | toolbar[iconsize="small"] #reload-button[disabled="true"] { | |
359 | list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif"); | |
360 | } | |
361 | ||
362 | toolbar[iconsize="small"] #stop-button { | |
363 | list-style-image: url("chrome://browser/skin/icons/stop-small.gif"); | |
364 | } | |
365 | toolbar[iconsize="small"] #stop-button:hover { | |
366 | list-style-image: url("chrome://browser/skin/icons/stop-small-hover.gif"); | |
367 | } | |
368 | toolbar[iconsize="small"] #stop-button[disabled="true"] { | |
369 | list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif"); | |
370 | } | |
371 | ||
372 | toolbar[iconsize="small"] #home-button { | |
373 | list-style-image: url("chrome://browser/skin/icons/home-small.gif"); | |
374 | } | |
375 | toolbar[iconsize="small"] #home-button:hover { | |
376 | list-style-image: url("chrome://browser/skin/icons/home-small-hover.gif"); | |
377 | } | |
378 | toolbar[iconsize="small"] #home-button[disabled="true"] { | |
379 | list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif"); | |
380 | } | |
381 | ||
382 | toolbar[iconsize="small"] #print-button { | |
383 | list-style-image: url("chrome://browser/skin/icons/print-small.gif"); | |
384 | } | |
385 | toolbar[iconsize="small"] #print-button:hover { | |
386 | list-style-image: url("chrome://browser/skin/icons/print-small-hover.gif"); | |
387 | } | |
388 | toolbar[iconsize="small"] #print-button[disabled="true"] { | |
389 | list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif"); | |
390 | } | |
391 | ||
392 | toolbar[iconsize="small"] #downloads-button { | |
393 | list-style-image: url("chrome://browser/skin/icons/downloads-small.gif"); | |
394 | } | |
395 | toolbar[iconsize="small"] #downloads-button:hover { | |
396 | list-style-image: url("chrome://browser/skin/icons/downloads-small-hover.gif"); | |
397 | } | |
398 | toolbar[iconsize="small"] #downloads-button[disabled="true"] { | |
399 | list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif"); | |
400 | } | |
401 | ||
402 | toolbar[iconsize="small"] #new-tab-button { | |
403 | list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif"); | |
404 | } | |
405 | toolbar[iconsize="small"] #new-tab-button:hover { | |
406 | list-style-image: url("chrome://browser/skin/icons/new-tab-small-hover.gif"); | |
407 | } | |
408 | toolbar[iconsize="small"] #new-tab-button[disabled="true"] { | |
409 | list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif"); | |
410 | } | |
411 | ||
412 | toolbar[iconsize="small"] #new-window-button { | |
413 | list-style-image: url("chrome://browser/skin/icons/new-window-small.gif"); | |
414 | } | |
415 | toolbar[iconsize="small"] #new-window-button:hover { | |
416 | list-style-image: url("chrome://browser/skin/icons/new-window-small-hover.gif"); | |
417 | } | |
418 | toolbar[iconsize="small"] #new-window-button[disabled="true"] { | |
419 | list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif"); | |
420 | } | |
421 | ||
422 | toolbar[iconsize="small"] #bookmarks-button { | |
423 | list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif"); | |
424 | } | |
425 | toolbar[iconsize="small"] #bookmarks-button:hover { | |
426 | list-style-image: url("chrome://browser/skin/icons/bookmarks-small-hover.gif"); | |
427 | } | |
428 | toolbar[iconsize="small"] #bookmarks-button[disabled="true"] { | |
429 | list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif"); | |
430 | } | |
431 | ||
432 | toolbar[iconsize="small"] #history-button { | |
433 | list-style-image: url("chrome://browser/skin/icons/history-small.gif"); | |
434 | } | |
435 | toolbar[iconsize="small"] #history-button:hover { | |
436 | list-style-image: url("chrome://browser/skin/icons/history-small-hover.gif"); | |
437 | } | |
438 | toolbar[iconsize="small"] #history-button[disabled="true"] { | |
439 | list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif"); | |
440 | } | |
441 | ||
442 | toolbar[iconsize="small"] #cut-button { | |
443 | list-style-image: url("chrome://browser/skin/icons/cut-small.gif"); | |
444 | } | |
445 | toolbar[iconsize="small"] #cut-button:hover { | |
446 | list-style-image: url("chrome://browser/skin/icons/cut-small-hover.gif"); | |
447 | } | |
448 | toolbar[iconsize="small"] #cut-button[disabled="true"] { | |
449 | list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif"); | |
450 | } | |
451 | ||
452 | toolbar[iconsize="small"] #copy-button { | |
453 | list-style-image: url("chrome://browser/skin/icons/copy-small.gif"); | |
454 | } | |
455 | toolbar[iconsize="small"] #copy-button:hover { | |
456 | list-style-image: url("chrome://browser/skin/icons/copy-small-hover.gif"); | |
457 | } | |
458 | toolbar[iconsize="small"] #copy-button[disabled="true"] { | |
459 | list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif"); | |
460 | } | |
461 | ||
462 | toolbar[iconsize="small"] #paste-button { | |
463 | list-style-image: url("chrome://browser/skin/icons/paste-small.gif"); | |
464 | } | |
465 | toolbar[iconsize="small"] #paste-button:hover { | |
466 | list-style-image: url("chrome://browser/skin/icons/paste-small-hover.gif"); | |
467 | } | |
468 | toolbar[iconsize="small"] #paste-button[disabled="true"] { | |
469 | list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif"); | |
470 | } | |
471 | ||
472 | ||
473 | /* Smaller padding on small toolbar buttons */ | |
474 | ||
475 | toolbar[iconsize="small"] .toolbarbutton-1 { | |
476 | padding: 2px; | |
477 | } | |
478 | ||
479 | toolbar[iconsize="small"] .toolbarbutton-1:hover:active, | |
480 | toolbar[iconsize="small"] .toolbarbutton-1[open="true"] { | |
481 | padding-top: 3px; | |
482 | padding-bottom: 1px; | |
483 | -moz-padding-start: 3px; | |
484 | -moz-padding-end: 1px; | |
485 | } | |
486 | ||
487 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"], | |
488 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover, | |
489 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active, | |
490 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] { | |
491 | padding: 2px; | |
492 | } | |
493 | ||
494 | toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] { | |
495 | padding-top: 3px !important; | |
496 | padding-bottom: 1px !important; | |
497 | -moz-padding-start: 3px !important; | |
498 | -moz-padding-end: 1px !important; | |
499 | } | |
500 | ||
501 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"], | |
502 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover, | |
503 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active, | |
504 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"], | |
505 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"], | |
506 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover, | |
507 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active { | |
508 | padding: 0; | |
509 | } | |
510 | ||
511 | /* ::::: fullscreen window controls ::::: */ | |
512 | ||
513 | #window-controls { | |
514 | -moz-box-align: center; | |
515 | padding-top: 0px; | |
516 | padding-bottom: 0px; | |
517 | -moz-padding-start: 0px; | |
518 | -moz-padding-end: 2px; | |
519 | border-left: 3px solid #000000; | |
520 | min-height: 28px; | |
521 | } | |
522 | ||
523 | #minimize-button { | |
524 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
525 | } | |
526 | #minimize-button:hover { | |
527 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
528 | } | |
529 | #restore-button { | |
530 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
531 | } | |
532 | #restore-button:hover { | |
533 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
534 | } | |
535 | #close-button { | |
536 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
537 | } | |
538 | #close-button:hover { | |
539 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
540 | } | |
541 | ||
542 | /* ::::: nav-bar-inner ::::: */ | |
543 | ||
544 | #urlbar { | |
545 | margin: 2px 3px; | |
546 | } | |
547 | ||
548 | #search-bar { | |
549 | width: 12em; | |
550 | } | |
551 | ||
552 | /* ::::: page proxy icon ::::: */ | |
553 | ||
554 | #page-proxy-deck, | |
555 | #page-proxy-favicon, | |
556 | #page-proxy-button { | |
557 | width: 16px; | |
558 | height: 16px; | |
559 | } | |
560 | ||
561 | #page-proxy-deck { | |
562 | cursor: -moz-grab; | |
563 | margin: 2px 3px; | |
564 | } | |
565 | ||
566 | #page-proxy-favicon { | |
567 | list-style-image: none; | |
568 | } | |
569 | ||
570 | #page-proxy-button { | |
571 | list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important; | |
572 | } | |
573 | ||
574 | #page-proxy-button[pageproxystate="invalid"] { | |
575 | cursor: default; | |
576 | list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important; | |
577 | } | |
578 | ||
579 | ||
580 | statusbarpanel#statusbar-display { | |
581 | -moz-padding-start: 0; | |
582 | } | |
583 | ||
584 | /* ::::: search-bar ::::: */ | |
585 | ||
586 | #search-proxy-button { | |
587 | margin: 2px; | |
588 | list-style-image: url("chrome://browser/skin/icons/search-bar.gif"); | |
589 | } | |
590 | ||
591 | #miSearchModeFind { | |
592 | list-style-image: url("chrome://browser/skin/icons/search-bar.gif"); | |
593 | } | |
594 | ||
595 | /* ::::: autocomplete ::::: */ | |
596 | ||
597 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { | |
598 | color: #336699; | |
599 | } | |
600 | ||
601 | /* ::::: go button ::::: */ | |
602 | ||
603 | #go-button, | |
604 | #go-container { | |
605 | background-color: transparent; | |
606 | border: none; | |
607 | margin: 0; | |
608 | padding: 0; | |
609 | min-width: 0; | |
610 | list-style-image: url("chrome://browser/skin/icons/go.gif"); | |
611 | } | |
612 | ||
613 | #go-button { | |
614 | border: 1px solid transparent; | |
615 | } | |
616 | ||
617 | #go-button:hover, | |
618 | #go-button:hover:active { | |
619 | list-style-image: url("chrome://browser/skin/icons/go-hover.gif"); | |
620 | border: 1px outset #CCD0DD; | |
621 | } | |
622 | ||
623 | #go-button[disabled="true"] { | |
624 | list-style-image: url("chrome://browser/skin/icons/go-disabled.gif"); | |
625 | border: 1px solid transparent; | |
626 | } | |
627 | ||
628 | #go-button > .button-box > .button-text { | |
629 | -moz-margin-start: 5px !important; | |
630 | } | |
631 | ||
632 | #go-button > .button-box { | |
633 | border: none; | |
634 | } | |
635 | ||
636 | #sidebar { | |
637 | background-color: #CCD0DD; | |
638 | } | |
639 | ||
640 | /* ::::: content area ::::: */ | |
641 | ||
642 | #status-bar { | |
643 | border-top: none; | |
644 | } | |
645 | ||
646 | #security-button { | |
647 | display: none; | |
648 | } | |
649 | ||
650 | #security-button[level="high"] { | |
651 | list-style-image: url("chrome://browser/skin/icons/secure.gif"); | |
652 | display: -moz-box; | |
653 | } | |
654 | ||
655 | #security-button[level="low"] { | |
656 | list-style-image: url("chrome://browser/skin/icons/secure.gif"); | |
657 | display: -moz-box; | |
658 | } | |
659 | ||
660 | #security-button[level="broken"] { | |
661 | list-style-image: url("chrome://browser/skin/icons/security-broken.gif"); | |
662 | display: -moz-box; | |
663 | } | |
664 | ||
665 | #page-report-button { | |
666 | display: none; | |
667 | } | |
668 | ||
669 | #page-report-button[blocked] { | |
670 | display: -moz-box; | |
671 | list-style-image: url("chrome://browser/skin/icons/info.gif"); | |
672 | padding: 0px 3px; | |
673 | } | |
674 | ||
675 | #page-theme-button { | |
676 | display: none; | |
677 | } | |
678 | ||
679 | #page-theme-button[themes] { | |
680 | display: -moz-box; | |
681 | list-style-image: url("chrome://browser/skin/icons/page-themes.gif"); | |
682 | padding: 0px 3px; | |
683 | } | |
684 | ||
685 | /* ::::: throbber ::::: */ | |
686 | ||
687 | #navigator-throbber { | |
688 | -moz-user-focus: ignore; | |
689 | margin: 0; | |
690 | -moz-margin-end: 2px; | |
691 | border: none !important; | |
692 | padding: 0px !important; | |
693 | min-width: 0; | |
694 | list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif"); | |
695 | } | |
696 | #navigator-throbber[busy="true"] { | |
697 | list-style-image: url("chrome://browser/skin/icons/throbber.gif"); | |
698 | } | |
699 | ||
700 | toolbar[iconsize="small"] #navigator-throbber, | |
701 | toolbar[mode="text"] #navigator-throbber { | |
702 | list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif"); | |
703 | } | |
704 | toolbar[iconsize="small"] #navigator-throbber[busy="true"], | |
705 | toolbar[mode="text"] #navigator-throbber[busy="true"] { | |
706 | list-style-image: url("chrome://browser/skin/icons/throbber-small.gif"); | |
707 | } | |
708 | ||
709 | .tabs-closebutton { | |
710 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
711 | } | |
712 | /* | |
713 | #content .tabs-closebutton { | |
714 | list-style-image: url("chrome://browser/skin/Close-tab.png"); | |
715 | -moz-image-region: rect(0px, 18px, 14px, 0px); | |
716 | } | |
717 | ||
718 | #content .tabs-closebutton:hover { | |
719 | -moz-image-region: rect(0px, 36px, 14px, 18px); | |
720 | } | |
721 | */ | |
722 | toolbarbutton.chevron { | |
723 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
724 | } | |
725 | ||
726 | ||
727 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
728 | display: none; | |
729 | } | |
730 | ||
731 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { | |
732 | display: -moz-box; | |
733 | } | |
734 | ||
735 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text { | |
736 | display: none; | |
737 | } | |
738 | ||
739 | #sidebar-throbber[loading="true"] { | |
740 | list-style-image: url(chrome://global/skin/icons/loading.gif); | |
741 | } |