1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998-1999
19 * the Initial Developer. All Rights Reserved.
22 * Joe Hewitt (hewitt@netscape.com)
23 * Jason Kersey (kerz@netscape.com)
24 * Pierre Chanial (chanial@noos.fr)
25 * Dean Tessman (dean_tessman@hotmail.com)
26 * Blake Ross (blake@cs.stanford.edu)
27 * Pamela Greene (pamg.bugs@gmail.com)
28 * Dão Gottwald (dao@mozilla.com)
30 * Alternatively, the contents of this file may be used under the terms of
31 * either the GNU General Public License Version 2 or later (the "GPL"), or
32 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
33 * in which case the provisions of the GPL or the LGPL are applicable instead
34 * of those above. If you wish to allow use of your version of this file only
35 * under the terms of either the GPL or the LGPL, and not to allow others to
36 * use your version of this file under the terms of the MPL, indicate your
37 * decision by deleting the provisions above and replace them with the notice
38 * and other provisions required by the GPL or the LGPL. If you do not delete
39 * the provisions above, a recipient may use your version of this file under
40 * the terms of any one of the MPL, the GPL or the LGPL.
42 * ***** END LICENSE BLOCK ***** */
44 @import url
("chrome://global/skin/");
46 @namespace url
("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47 @namespace html url
("http://www.w3.org/1999/xhtml");
48 @namespace svg url
("http://www.w3.org/2000/svg");
51 -moz-box-orient: vertical
; /* for flex hack */
54 #menubar-items > menubar
{
55 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
62 #wrapper-search-container #searchbar html|
*.textbox-input
{
66 #navigator-toolbox:-moz-system-metric
(windows-default-theme
) {
67 padding-bottom: 1px; /* uxtheme border drawing fix/hack */
70 #navigator-toolbox[inFullscreen
="true"],
71 #navigator-toolbox[inFullscreen
="true"] > #nav-bar
{
75 #print-preview-toolbar {
76 -moz-appearance: toolbox
;
79 /* ::::: bookmark buttons ::::: */
81 toolbarbutton
.bookmark-item
{
88 toolbarbutton
.bookmark-item-microsummarized
{
92 toolbarbutton
.bookmark-item:hover:active
,
93 toolbarbutton
.bookmark-item
[open
="true"] {
96 -moz-padding-start: 4px;
97 -moz-padding-end: 2px;
100 .bookmark-item > .toolbarbutton-icon {
105 /* Prevent [mode="icons"] from hiding the label */
106 .bookmark-item > .toolbarbutton-text {
107 display: -moz-box
!important
;
110 .bookmark-item > .toolbarbutton-menu-dropmarker {
114 #wrapper-personal-bookmarks .toolbarpaletteitem-box
{
117 background: url
("chrome://browser/skin/Bookmarks-folder.png") no-repeat
!important
;
120 .bookmarks-toolbar-customize {
122 max-width: 15em !important
;
125 toolbarpaletteitem
[place
="toolbar"] .bookmarks-toolbar-customize
{
129 toolbarpaletteitem
[place
="toolbar"] .bookmarks-toolbar-overflow-items
{
133 toolbarpaletteitem
[place
="toolbar"] .bookmarks-toolbar-items
{
137 toolbarpaletteitem
[place
="toolbar"] .places-toolbar-items
{
141 /* ::::: bookmark menus ::::: */
144 menuitem
.bookmark-item
{
149 .bookmark-item > .menu-iconic-left {
154 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
155 -moz-padding-start: 0px;
158 /* ::::: bookmark items ::::: */
161 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
162 -moz-image-region: rect
(0px, 16px, 16px, 0px);
165 .bookmark-item[container] {
166 -moz-image-region: rect
(0px, 32px, 16px, 16px);
169 .bookmark-item[container][open] {
170 -moz-image-region: rect
(16px, 32px, 32px, 16px);
173 .bookmark-item[container][livemark] {
174 list-style-image: url
("chrome://browser/skin/livemark-folder.png");
175 -moz-image-region: auto
;
178 .bookmark-item[container][livemark] .bookmark-item {
179 list-style-image: url
("chrome://browser/skin/livemark-item.png");
180 -moz-image-region: auto
;
183 .bookmark-item[container][query] {
184 list-style-image: url
("chrome://browser/skin/places/query.png");
185 -moz-image-region: auto
;
188 .bookmark-item[query][tagContainer] {
189 list-style-image: url
("chrome://mozapps/skin/places/tagContainerIcon.png");
190 -moz-image-region: auto
;
193 .bookmark-item[query][dayContainer] {
194 list-style-image: url
("chrome://browser/skin/places/calendar.png");
195 -moz-image-region: auto
;
198 .bookmark-item[query][hostContainer] {
199 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
200 -moz-image-region: rect
(0px, 32px, 16px, 16px);
203 .bookmark-item[query][hostContainer][open] {
204 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
205 -moz-image-region: rect
(16px, 32px, 32px, 16px);
208 /* ::::: primary toolbar buttons ::::: */
211 -moz-box-orient: vertical
;
213 list-style-image: url
("chrome://browser/skin/Toolbar.png");
216 .toolbarbutton-1 > .toolbarbutton-icon {
217 -moz-margin-end: 0px;
220 toolbar
[mode
="full"] .toolbarbutton-1
,
221 toolbar
[mode
="full"] .toolbarbutton-menubutton-button
{
226 .toolbarbutton-menubutton-button {
230 .toolbarbutton-1[checked="true"] {
231 padding: 5px !important
;
234 toolbar
[iconsize
="large"][mode
="icons"] .toolbarbutton-1:-moz-system-metric
(windows-default-theme
),
235 .toolbarbutton-menubutton-button:-moz-system-metric(windows-default-theme) {
236 padding: 6px; /* uxtheme border drawing fix/hack */
239 toolbar
[iconsize
="large"][mode
="icons"] .toolbarbutton-1
[checked
="true"]:-moz-system-metric
(windows-default-theme
) {
240 padding: 6px !important
; /* uxtheme border drawing fix/hack */
243 /* ::::: unified back and forward buttons ::::: */
245 /* unified back button with keyhole icons */
247 toolbar
[mode
="icons"] #back
-button
{
248 -moz-appearance: none
;
250 -moz-padding-start: 2px;
254 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
{
255 -moz-image-region: rect
(0px 396px 34px 360px);
257 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
:not
([disabled
="true"]):hover
{
258 -moz-image-region: rect
(34px 396px 68px 360px);
260 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
[disabled
="true"] {
261 -moz-image-region: rect
(68px 396px 102px 360px);
263 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
:not
([disabled
="true"]):hover:active
{
264 -moz-image-region: rect
(102px 396px 136px 360px);
267 /* unified back button with keyhole icons, RTL version */
269 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
[chromedir
="rtl"] {
270 -moz-image-region: rect
(0px 516px 34px 480px);
272 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover
{
273 -moz-image-region: rect
(34px 516px 68px 480px);
275 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
[chromedir
="rtl"][disabled
="true"] {
276 -moz-image-region: rect
(68px 516px 102px 480px);
278 toolbar
[iconsize
="large"][mode
="icons"] #back
-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
279 -moz-image-region: rect
(102px 516px 136px 480px);
282 /* unified forward button with keyhole icons */
284 toolbar
[mode
="icons"] #forward-button
{
285 -moz-appearance: none
;
290 toolbar
[iconsize
="large"][mode
="icons"] #forward-button
{
291 -moz-image-region: rect
(3px 422px 31px 396px);
293 toolbar
[iconsize
="large"][mode
="icons"] #
forward-button:not
([disabled
="true"]):hover
{
294 -moz-image-region: rect
(37px 422px 65px 396px);
296 toolbar
[iconsize
="large"][mode
="icons"] #forward-button
[disabled
="true"] {
297 -moz-image-region: rect
(71px 422px 99px 396px);
299 toolbar
[iconsize
="large"][mode
="icons"] #
forward-button:not
([disabled
="true"]):hover:active
{
300 -moz-image-region: rect
(105px 422px 133px 396px);
303 /* unified forward button with keyhole icons, RTL version */
305 toolbar
[iconsize
="large"][mode
="icons"] #forward-button
[chromedir
="rtl"] {
306 -moz-image-region: rect
(3px 480px 31px 454px);
308 toolbar
[iconsize
="large"][mode
="icons"] #forward-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover
{
309 -moz-image-region: rect
(37px 480px 65px 454px);
311 toolbar
[iconsize
="large"][mode
="icons"] #forward-button
[chromedir
="rtl"][disabled
="true"] {
312 -moz-image-region: rect
(71px 480px 99px 454px);
314 toolbar
[iconsize
="large"][mode
="icons"] #forward-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
315 -moz-image-region: rect
(105px 480px 133px 454px);
318 /* dropmarker for unified back and forward buttons with keyhole icons */
320 toolbar
[mode
="icons"] #back
-forward
-dropmarker
{
321 -moz-appearance: none
;
323 -moz-padding-end: 2px;
327 toolbar
[mode
="icons"] #back
-forward
-dropmarker
> image
{
332 toolbar
[mode
="icons"] #back
-forward
-dropmarker
> dropmarker
{
336 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
{
337 list-style-image: url
("chrome://browser/skin/Toolbar.png");
338 -moz-image-region: rect
(3px 438px 31px 422px);
340 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
:not
([disabled
="true"]):hover
{
341 -moz-image-region: rect
(37px 438px 65px 422px);
343 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
[disabled
="true"] {
344 -moz-image-region: rect
(71px 438px 99px 422px);
346 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
:not
([disabled
="true"]):hover:active
{
347 -moz-image-region: rect
(105px 438px 133px 422px);
350 /* unified dropmarker with keyhole icons, RTL version */
352 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"] {
353 -moz-image-region: rect
(3px 454px 31px 438px);
355 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"]:not
([disabled
="true"]):hover
{
356 -moz-image-region: rect
(37px 454px 65px 438px);
358 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"][disabled
="true"] {
359 -moz-image-region: rect
(71px 454px 99px 438px);
361 toolbar
[iconsize
="large"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
362 -moz-image-region: rect
(105px 454px 133px 438px);
365 /* ::::: unified back and forward buttons, small icons mode ::::: */
367 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
> .toolbarbutton-icon
,
368 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
> .toolbarbutton-icon
{
372 /* unified back button with keyhole icons, small icons mode */
374 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
{
375 -moz-image-region: rect
(0px 264px 24px 240px);
377 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
:not
([disabled
="true"]):hover
{
378 -moz-image-region: rect
(24px 264px 48px 240px);
380 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
[disabled
="true"] {
381 -moz-image-region: rect
(48px 264px 72px 240px);
383 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
:not
([disabled
="true"]):hover:active
{
384 -moz-image-region: rect
(72px 264px 96px 240px);
387 /* unified back button with keyhole icons, small icons mode, RTL version */
389 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
[chromedir
="rtl"] {
390 -moz-image-region: rect
(0px 362px 24px 338px);
392 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover
{
393 -moz-image-region: rect
(24px 362px 48px 338px);
395 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
[chromedir
="rtl"][disabled
="true"] {
396 -moz-image-region: rect
(48px 362px 72px 338px);
398 toolbar
[iconsize
="small"][mode
="icons"] #back
-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
399 -moz-image-region: rect
(72px 362px 96px 338px);
402 /* unified forward button with keyhole icons, small icons mode */
404 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
{
405 -moz-image-region: rect
(0px 288px 24px 264px);
407 toolbar
[iconsize
="small"][mode
="icons"] #
forward-button:not
([disabled
="true"]):hover
{
408 -moz-image-region: rect
(24px 288px 48px 264px);
410 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
[disabled
="true"] {
411 -moz-image-region: rect
(48px 288px 72px 264px);
413 toolbar
[iconsize
="small"][mode
="icons"] #
forward-button:not
([disabled
="true"]):hover:active
{
414 -moz-image-region: rect
(72px 288px 96px 264px);
417 /* unified forward button with keyhole icons, small icons mode, RTL version */
419 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
[chromedir
="rtl"] {
420 -moz-image-region: rect
(0px 338px 24px 314px);
422 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover
{
423 -moz-image-region: rect
(24px 338px 48px 314px);
425 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
[chromedir
="rtl"][disabled
="true"] {
426 -moz-image-region: rect
(48px 338px 72px 314px);
428 toolbar
[iconsize
="small"][mode
="icons"] #forward-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
429 -moz-image-region: rect
(72px 338px 96px 314px);
432 /* dropmarker for unified back and forward buttons with keyhole icons, small icons mode */
434 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
{
435 list-style-image: url
("chrome://browser/skin/Toolbar-small.png");
436 -moz-image-region: rect
(0px 301px 24px 288px);
438 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
:not
([disabled
="true"]):hover
{
439 -moz-image-region: rect
(24px 301px 48px 288px);
441 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
[disabled
="true"] {
442 -moz-image-region: rect
(48px 301px 72px 288px);
444 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
:not
([disabled
="true"]):hover:active
{
445 -moz-image-region: rect
(72px 301px 96px 288px);
448 /* unified dropmarker with keyhole icons, small icons mode, RTL version */
450 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"] {
451 -moz-image-region: rect
(0px 314px 24px 301px);
453 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"]:not
([disabled
="true"]):hover
{
454 -moz-image-region: rect
(24px 314px 48px 301px);
456 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"][disabled
="true"] {
457 -moz-image-region: rect
(48px 314px 72px 301px);
459 toolbar
[iconsize
="small"][mode
="icons"] #back
-forward
-dropmarker
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
460 -moz-image-region: rect
(72px 314px 96px 301px);
463 /* ::::: 24px primary toolbar buttons ::::: */
468 -moz-image-region: rect
(0px 24px 24px 0px);
470 #back-button:not
([disabled
="true"]):hover
,
471 #back-button[buttonover
="true"] {
472 -moz-image-region: rect
(24px 24px 48px 0px);
474 #back-button[disabled
="true"] {
475 -moz-image-region: rect
(48px 24px 72px 0px);
477 #back-button:not
([disabled
="true"]):hover:active
{
478 -moz-image-region: rect
(96px 24px 120px 0px);
481 #back-button[chromedir
="rtl"] {
482 -moz-image-region: rect
(0px 48px 24px 24px);
484 #back-button[chromedir
="rtl"]:not
([disabled
="true"]):hover
,
485 #back-button[chromedir
="rtl"][buttonover
="true"] {
486 -moz-image-region: rect
(24px 48px 48px 24px);
488 #back-button[chromedir
="rtl"][disabled
="true"] {
489 -moz-image-region: rect
(48px 48px 72px 24px);
491 #back-button[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
492 -moz-image-region: rect
(96px 48px 120px 24px);
498 -moz-image-region: rect
(0px 48px 24px 24px);
500 #forward-button:not
([disabled
="true"]):hover
,
501 #forward-button[buttonover
="true"] {
502 -moz-image-region: rect
(24px 48px 48px 24px);
504 #forward-button[disabled
="true"] {
505 -moz-image-region: rect
(48px 48px 72px 24px);
507 #forward-button:not
([disabled
="true"]):hover:active
{
508 -moz-image-region: rect
(96px 48px 120px 24px);
511 #forward-button[chromedir
="rtl"] {
512 -moz-image-region: rect
(0px 24px 24px 0px);
514 #forward-button[chromedir
="rtl"]:not
([disabled
="true"]):hover
,
515 #forward-button[chromedir
="rtl"][buttonover
="true"] {
516 -moz-image-region: rect
(24px 24px 48px 0px);
518 #forward-button[chromedir
="rtl"][disabled
="true"] {
519 -moz-image-region: rect
(48px 24px 72px 0px);
521 #forward-button[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
522 -moz-image-region: rect
(96px 24px 120px 0px);
528 -moz-image-region: rect
(0px 72px 24px 48px);
530 #stop-button:not
([disabled
="true"]):hover
{
531 -moz-image-region: rect
(24px 72px 48px 48px);
533 #stop-button[disabled
="true"] {
534 -moz-image-region: rect
(48px 72px 72px 48px);
536 #stop-button:not
([disabled
="true"]):hover:active
{
537 -moz-image-region: rect
(96px 72px 120px 48px);
543 -moz-image-region: rect
(0px 96px 24px 72px);
545 #reload-button:not
([disabled
="true"]):hover
{
546 -moz-image-region: rect
(24px 96px 48px 72px);
548 #reload-button[disabled
="true"] {
549 -moz-image-region: rect
(48px 96px 72px 72px);
551 #reload-button:not
([disabled
="true"]):hover:active
{
552 -moz-image-region: rect
(96px 96px 120px 72px);
558 -moz-image-region: rect
(0px 120px 24px 96px);
560 #home-button:not
([disabled
="true"]):hover
{
561 -moz-image-region: rect
(24px 120px 48px 96px);
563 #home-button[disabled
="true"] {
564 -moz-image-region: rect
(48px 120px 72px 96px);
566 #home-button:not
([disabled
="true"]):hover:active
{
567 -moz-image-region: rect
(96px 120px 120px 96px);
570 /* download manager button */
573 -moz-image-region: rect
(0px 144px 24px 120px);
575 #downloads-button:not
([disabled
="true"]):hover
{
576 -moz-image-region: rect
(24px 144px 48px 120px);
578 #downloads-button[disabled
="true"] {
579 -moz-image-region: rect
(48px 144px 72px 120px);
581 #downloads-button:not
([disabled
="true"]):hover:active
{
582 -moz-image-region: rect
(96px 144px 120px 120px);
585 /* history sidebar button */
588 -moz-image-region: rect
(0px 168px 24px 144px);
590 #history-button:not
([disabled
="true"]):not
([checked
="true"]):hover
{
591 -moz-image-region: rect
(24px 168px 48px 144px);
593 #history-button[disabled
="true"] {
594 -moz-image-region: rect
(48px 168px 72px 144px);
596 #history-button[checked
="true"] {
597 -moz-image-region: rect
(72px 168px 96px 144px);
599 #history-button:not
([disabled
="true"]):not
([checked
="true"]):hover:active
{
600 -moz-image-region: rect
(96px 168px 120px 144px);
603 /* bookmark sidebar button */
606 -moz-image-region: rect
(0px 192px 24px 168px);
608 #bookmarks-button:not
([disabled
="true"]):not
([checked
="true"]):hover
{
609 -moz-image-region: rect
(24px 192px 48px 168px);
611 #bookmarks-button[disabled
="true"] {
612 -moz-image-region: rect
(48px 192px 72px 168px);
614 #bookmarks-button[checked
="true"] {
615 -moz-image-region: rect
(72px 192px 96px 168px);
617 #bookmarks-button:not
([disabled
="true"]):not
([checked
="true"]):hover:active
{
618 -moz-image-region: rect
(96px 192px 120px 168px);
624 -moz-image-region: rect
(0px 216px 24px 192px);
626 #print-button:not
([disabled
="true"]):hover
{
627 -moz-image-region: rect
(24px 216px 48px 192px);
629 #print-button[disabled
="true"] {
630 -moz-image-region: rect
(48px 216px 72px 192px);
632 #print-button:not
([disabled
="true"]):hover:active
{
633 -moz-image-region: rect
(96px 216px 120px 192px);
636 /* new window button */
638 toolbar:not
([iconsize
="small"]) #new-window-button
> .toolbarbutton-icon
{
642 -moz-image-region: rect
(0px 264px 24px 240px);
644 #new-window-button:not
([disabled
="true"]):hover
{
645 -moz-image-region: rect
(24px 264px 48px 240px);
647 #new-window-button[disabled
="true"] {
648 -moz-image-region: rect
(48px 264px 72px 240px);
650 #new-window-button:not
([disabled
="true"]):hover:active
{
651 -moz-image-region: rect
(96px 264px 120px 240px);
657 -moz-image-region: rect
(0px 288px 24px 264px);
659 #cut-button:not
([disabled
="true"]):hover
{
660 -moz-image-region: rect
(24px 288px 48px 264px);
662 #cut-button[disabled
="true"] {
663 -moz-image-region: rect
(48px 288px 72px 264px);
665 #cut-button:not
([disabled
="true"]):hover:active
{
666 -moz-image-region: rect
(96px 288px 120px 264px);
672 -moz-image-region: rect
(0px 312px 24px 288px);
674 #copy-button:not
([disabled
="true"]):hover
{
675 -moz-image-region: rect
(24px 312px 48px 288px);
677 #copy-button[disabled
="true"] {
678 -moz-image-region: rect
(48px 312px 72px 288px);
680 #copy-button:not
([disabled
="true"]):hover:active
{
681 -moz-image-region: rect
(96px 312px 120px 288px);
687 -moz-image-region: rect
(0px 336px 24px 312px);
689 #paste-button:not
([disabled
="true"]):hover
{
690 -moz-image-region: rect
(24px 336px 48px 312px);
692 #paste-button[disabled
="true"] {
693 -moz-image-region: rect
(48px 336px 72px 312px);
695 #paste-button:not
([disabled
="true"]):hover:active
{
696 -moz-image-region: rect
(96px 336px 120px 312px);
699 /* ::::: 16px primary toolbar buttons ::::: */
701 toolbar
[iconsize
="small"] .toolbarbutton-1
{
702 -moz-box-orient: vertical
;
704 list-style-image: url
("chrome://browser/skin/Toolbar-small.png");
707 toolbar
[iconsize
="small"] .toolbarbutton-1
[type
="menu-button"] {
708 border: 0 !important
;
713 toolbar
[iconsize
="small"] #back
-button
> .toolbarbutton-icon
{
714 -moz-padding-end: 1px;
716 toolbar
[iconsize
="small"] #back
-button
{
717 -moz-image-region: rect
(0px 16px 16px 0px);
719 toolbar
[iconsize
="small"] #back
-button
:not
([disabled
="true"]):hover
,
720 toolbar
[iconsize
="small"] #back
-button
[buttonover
="true"] {
721 -moz-image-region: rect
(16px 16px 32px 0px);
723 toolbar
[iconsize
="small"] #back
-button
[disabled
="true"] {
724 -moz-image-region: rect
(32px 16px 48px 0px);
726 toolbar
[iconsize
="small"] #back
-button
:not
([disabled
="true"]):hover:active
{
727 -moz-image-region: rect
(64px 16px 80px 0px);
730 toolbar
[iconsize
="small"] #back
-button
[chromedir
="rtl"] {
731 -moz-image-region: rect
(0px 32px 16px 16px);
733 toolbar
[iconsize
="small"] #back
-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover
,
734 toolbar
[iconsize
="small"] #back
-button
[chromedir
="rtl"][buttonover
="true"] {
735 -moz-image-region: rect
(16px 32px 32px 16px);
737 toolbar
[iconsize
="small"] #back
-button
[chromedir
="rtl"][disabled
="true"] {
738 -moz-image-region: rect
(32px 32px 48px 16px);
740 toolbar
[iconsize
="small"] #back
-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
741 -moz-image-region: rect
(64px 32px 80px 16px);
743 .unified-nav-back
[_moz-menuactive
],
744 menupopup
[chromedir
="rtl"] > .unified-nav-forward
[_moz-menuactive
] {
745 list-style-image: url
("chrome://browser/skin/menu-back.png") !important
;
750 toolbar
[iconsize
="small"] #forward-button
> .toolbarbutton-icon
{
751 -moz-padding-end: 1px;
753 toolbar
[iconsize
="small"] #forward-button
{
754 -moz-image-region: rect
(0px 32px 16px 16px);
756 toolbar
[iconsize
="small"] #
forward-button:not
([disabled
="true"]):hover
,
757 toolbar
[iconsize
="small"] #forward-button
[buttonover
="true"] {
758 -moz-image-region: rect
(16px 32px 32px 16px);
760 toolbar
[iconsize
="small"] #forward-button
[disabled
="true"] {
761 -moz-image-region: rect
(32px 32px 48px 16px);
763 toolbar
[iconsize
="small"] #
forward-button:not
([disabled
="true"]):hover:active
{
764 -moz-image-region: rect
(64px 32px 80px 16px);
767 toolbar
[iconsize
="small"] #forward-button
[chromedir
="rtl"] {
768 -moz-image-region: rect
(0px 16px 16px 0px);
770 toolbar
[iconsize
="small"] #forward-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover
,
771 toolbar
[iconsize
="small"] #forward-button
[chromedir
="rtl"][buttonover
="true"] {
772 -moz-image-region: rect
(16px 16px 32px 0px);
774 toolbar
[iconsize
="small"] #forward-button
[chromedir
="rtl"][disabled
="true"] {
775 -moz-image-region: rect
(32px 16px 48px 0px);
777 toolbar
[iconsize
="small"] #forward-button
[chromedir
="rtl"]:not
([disabled
="true"]):hover:active
{
778 -moz-image-region: rect
(64px 16px 80px 0px);
780 .unified-nav-forward
[_moz-menuactive
],
781 menupopup
[chromedir
="rtl"] > .unified-nav-back
[_moz-menuactive
] {
782 list-style-image: url
("chrome://browser/skin/menu-forward.png") !important
;
787 toolbar
[iconsize
="small"] #stop-button
> .toolbarbutton-icon
{
790 toolbar
[iconsize
="small"] #stop-button
{
791 -moz-image-region: rect
(0px 48px 16px 32px);
793 toolbar
[iconsize
="small"] #
stop-button:not
([disabled
="true"]):hover
{
794 -moz-image-region: rect
(16px 48px 32px 32px);
796 toolbar
[iconsize
="small"] #stop-button
[disabled
="true"] {
797 -moz-image-region: rect
(32px 48px 48px 32px);
799 toolbar
[iconsize
="small"] #
stop-button:not
([disabled
="true"]):hover:active
{
800 -moz-image-region: rect
(64px 48px 80px 32px);
805 toolbar
[iconsize
="small"] #reload-button
> .toolbarbutton-icon
{
808 toolbar
[iconsize
="small"] #reload-button
{
809 -moz-image-region: rect
(0px 64px 16px 48px);
811 toolbar
[iconsize
="small"] #
reload-button:not
([disabled
="true"]):hover
{
812 -moz-image-region: rect
(16px 64px 32px 48px);
814 toolbar
[iconsize
="small"] #reload-button
[disabled
="true"] {
815 -moz-image-region: rect
(32px 64px 48px 48px);
817 toolbar
[iconsize
="small"] #
reload-button:not
([disabled
="true"]):hover:active
{
818 -moz-image-region: rect
(64px 64px 80px 48px);
823 toolbar
[iconsize
="small"] #home-button
.toolbarbutton-1
> .toolbarbutton-icon
{
826 #home-button.bookmark-item
{
827 list-style-image: url
("chrome://browser/skin/Toolbar-small.png");
829 toolbar
[iconsize
="small"] #home-button
,
830 #home-button.bookmark-item
{
831 -moz-image-region: rect
(0px 80px 16px 64px);
833 toolbar
[iconsize
="small"] #
home-button:not
([disabled
="true"]):hover
,
834 #home-button.bookmark-item:not
([disabled
="true"]):hover
{
835 -moz-image-region: rect
(16px 80px 32px 64px);
837 toolbar
[iconsize
="small"] #home-button
[disabled
="true"] ,
838 #home-button.bookmark-item
[disabled
="true"] {
839 -moz-image-region: rect
(32px 80px 48px 64px);
841 toolbar
[iconsize
="small"] #
home-button:not
([disabled
="true"]):hover:active
,
842 #home-button.bookmark-item:not
([disabled
="true"]):hover:active
{
843 -moz-image-region: rect
(64px 80px 80px 64px);
846 /* download manager button */
848 toolbar
[iconsize
="small"] #downloads-button
> .toolbarbutton-icon
{
851 toolbar
[iconsize
="small"] #downloads-button
{
852 -moz-image-region: rect
(0px 96px 16px 80px);
854 toolbar
[iconsize
="small"] #
downloads-button:not
([disabled
="true"]):hover
{
855 -moz-image-region: rect
(16px 96px 32px 80px);
857 toolbar
[iconsize
="small"] #downloads-button
[disabled
="true"] {
858 -moz-image-region: rect
(32px 96px 48px 80px);
860 toolbar
[iconsize
="small"] #
downloads-button:not
([disabled
="true"]):hover:active
{
861 -moz-image-region: rect
(64px 96px 80px 80px);
864 /* history sidebar button */
866 toolbar
[iconsize
="small"] #history-button
> .toolbarbutton-icon
{
869 toolbar
[iconsize
="small"] #history-button
{
870 -moz-image-region: rect
(0px 112px 16px 96px);
872 toolbar
[iconsize
="small"] #
history-button:not
([disabled
="true"]):not
([checked
="true"]):hover
{
873 -moz-image-region: rect
(16px 112px 32px 96px);
875 toolbar
[iconsize
="small"] #history-button
[disabled
="true"] {
876 -moz-image-region: rect
(32px 112px 48px 96px);
878 toolbar
[iconsize
="small"] #history-button
[checked
="true"] {
879 -moz-image-region: rect
(48px 112px 64px 96px);
881 toolbar
[iconsize
="small"] #
history-button:not
([disabled
="true"]):not
([checked
="true"]):hover:active
{
882 -moz-image-region: rect
(64px 112px 80px 96px);
885 /* bookmark sidebar button */
887 toolbar
[iconsize
="small"] #bookmarks-button
> .toolbarbutton-icon
{
890 toolbar
[iconsize
="small"] #bookmarks-button
{
891 -moz-image-region: rect
(0px 128px 16px 112px);
893 toolbar
[iconsize
="small"] #
bookmarks-button:not
([disabled
="true"]):not
([checked
="true"]):hover
{
894 -moz-image-region: rect
(16px 128px 32px 112px);
896 toolbar
[iconsize
="small"] #bookmarks-button
[disabled
="true"] {
897 -moz-image-region: rect
(32px 128px 48px 112px);
899 toolbar
[iconsize
="small"] #bookmarks-button
[checked
="true"] {
900 -moz-image-region: rect
(48px 128px 64px 112px);
902 toolbar
[iconsize
="small"] #
bookmarks-button:not
([disabled
="true"]):not
([checked
="true"]):hover:active
{
903 -moz-image-region: rect
(64px 128px 80px 112px);
908 toolbar
[iconsize
="small"] #print-button
> .toolbarbutton-icon
{
911 toolbar
[iconsize
="small"] #print-button
{
912 -moz-image-region: rect
(0px 144px 16px 128px);
914 toolbar
[iconsize
="small"] #
print-button:not
([disabled
="true"]):hover
{
915 -moz-image-region: rect
(16px 144px 32px 128px);
917 toolbar
[iconsize
="small"] #print-button
[disabled
="true"] {
918 -moz-image-region: rect
(32px 144px 48px 128px);
920 toolbar
[iconsize
="small"] #
print-button:not
([disabled
="true"]):hover:active
{
921 -moz-image-region: rect
(64px 144px 80px 128px);
924 /* new window button */
926 toolbar
[iconsize
="small"] #new-window-button
{
927 -moz-image-region: rect
(0px 176px 16px 160px);
929 toolbar
[iconsize
="small"] #
new-window-button:not
([disabled
="true"]):hover
{
930 -moz-image-region: rect
(16px 176px 32px 160px);
932 toolbar
[iconsize
="small"] #new-window-button
[disabled
="true"] {
933 -moz-image-region: rect
(32px 176px 48px 160px);
935 toolbar
[iconsize
="small"] #
new-window-button:not
([disabled
="true"]):hover:active
{
936 -moz-image-region: rect
(64px 176px 80px 160px);
941 toolbar
[iconsize
="small"] #cut-button
> .toolbarbutton-icon
{
944 toolbar
[iconsize
="small"] #cut-button
{
945 -moz-image-region: rect
(0px 192px 16px 176px);
947 toolbar
[iconsize
="small"] #
cut-button:not
([disabled
="true"]):hover
{
948 -moz-image-region: rect
(16px 192px 32px 176px);
950 toolbar
[iconsize
="small"] #cut-button
[disabled
="true"] {
951 -moz-image-region: rect
(32px 192px 48px 176px);
953 toolbar
[iconsize
="small"] #
cut-button:not
([disabled
="true"]):hover:active
{
954 -moz-image-region: rect
(64px 192px 80px 176px);
959 toolbar
[iconsize
="small"] #copy-button
> .toolbarbutton-icon
{
962 toolbar
[iconsize
="small"] #copy-button
{
963 -moz-image-region: rect
(0px 208px 16px 192px);
965 toolbar
[iconsize
="small"] #
copy-button:not
([disabled
="true"]):hover
{
966 -moz-image-region: rect
(16px 208px 32px 192px);
968 toolbar
[iconsize
="small"] #copy-button
[disabled
="true"] {
969 -moz-image-region: rect
(32px 208px 48px 192px);
971 toolbar
[iconsize
="small"] #
copy-button:not
([disabled
="true"]):hover:active
{
972 -moz-image-region: rect
(64px 208px 80px 192px);
977 toolbar
[iconsize
="small"] #paste-button
> .toolbarbutton-icon
{
980 toolbar
[iconsize
="small"] #paste-button
{
981 -moz-image-region: rect
(0px 224px 16px 208px);
983 toolbar
[iconsize
="small"] #
paste-button:not
([disabled
="true"]):hover
{
984 -moz-image-region: rect
(16px 224px 32px 208px);
986 toolbar
[iconsize
="small"] #paste-button
[disabled
="true"] {
987 -moz-image-region: rect
(32px 224px 48px 208px);
989 toolbar
[iconsize
="small"] #
paste-button:not
([disabled
="true"]):hover:active
{
990 -moz-image-region: rect
(64px 224px 80px 208px);
993 /* ::::: fullscreen window controls ::::: */
996 -moz-box-align: start
;
998 border-left: 2px solid
;
999 -moz-border-left-colors: ThreeDHighlight ThreeDShadow
;
1003 list-style-image: url
("chrome://global/skin/icons/Minimize.gif");
1006 list-style-image: url
("chrome://global/skin/icons/Restore.gif");
1009 list-style-image: url
("chrome://global/skin/icons/Close.gif");
1012 /* ::::: nav-bar-inner ::::: */
1019 #urlbar:-moz-system-metric
(windows-default-theme
) {
1020 -moz-appearance: none
;
1022 -moz-border-top-colors: ThreeDShadow
;
1023 -moz-border-bottom-colors: ThreeDShadow
;
1024 -moz-border-right-colors: ThreeDShadow
;
1025 -moz-border-left-colors: ThreeDShadow
;
1029 -moz-box-orient: horizontal
;
1030 -moz-box-align: stretch
;
1035 -moz-box-align: center
;
1036 -moz-padding-end: 2px;
1039 #urlbar-search-splitter {
1041 -moz-margin-start: -4px;
1043 background: transparent
;
1046 #urlbar-search-splitter + #urlbar-container
> #urlbar
,
1047 #urlbar-search-splitter + #search-container
> #searchbar
> .searchbar-textbox
{
1048 -moz-margin-start: 0;
1051 #wrapper-urlbar-container #urlbar
{
1052 -moz-user-input: disabled
;
1056 #wrapper-urlbar-container #urlbar
> .autocomplete-history-dropmarker
{
1060 /* Keep the URL bar LTR */
1062 #urlbar .autocomplete-textbox-container
{
1066 #PopupAutoComplete {
1067 direction: ltr
!important
;
1070 #PopupAutoComplete[chromedir
="rtl"] > tree
> treerows
{
1074 #PopupAutoComplete .autocomplete-treebody
{
1078 #PopupAutoCompleteRichResult {
1079 direction: ltr
!important
;
1082 /* ::::: page proxy icon ::::: */
1084 #page-proxy-favicon,
1094 background: url
(urlbar-favicon-glow
.png
) center center no-repeat
;
1097 #page-proxy-favicon:not
([src
]) {
1098 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
1099 -moz-image-region: rect
(0px, 16px, 16px, 0px)
1102 #page-proxy-favicon[pageproxystate
="invalid"] {
1103 -moz-image-region: rect
(32px, 16px, 48px, 0px);
1107 list-style-image: url
("chrome://browser/skin/places/searching_16.png");
1111 statusbarpanel#statusbar-display
{
1112 -moz-padding-start: 0;
1115 /* ::::: autocomplete ::::: */
1117 #treecolAutoCompleteImage {
1121 .ac-result-type-bookmark
,
1122 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1123 list-style-image: url
("chrome://browser/skin/places/editBookmark.png");
1124 -moz-image-region: rect
(0px 16px 16px 0px);
1129 .ac-result-type-keyword
,
1130 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1131 list-style-image: url
(chrome://browser
/skin
/Search-glass
.png
);
1132 -moz-image-region: rect
(0px 32px 16px 16px);
1137 .ac-result-type-tag
,
1138 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1139 list-style-image: url
("chrome://browser/skin/places/tag.png");
1148 .ac-extra > .ac-comment {
1153 color: -moz-nativehyperlinktext
;
1156 .ac-url-text:-moz-system-metric(windows-default-theme) {
1160 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1164 .ac-comment[selected="true"], .ac-url-text[selected="true"] {
1165 color: inherit
!important
;
1168 .autocomplete-treebody::-moz-tree-cell-text
(suggesthint
, treecolAutoCompleteComment
),
1169 .autocomplete-treebody::-moz-tree-cell-text
(suggestfirst
, treecolAutoCompleteComment
)
1175 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1176 border-top: 1px solid GrayText
;
1179 /* ::::: go button ::::: */
1183 list-style-image: url
("chrome://browser/skin/Go-arrow.png");
1184 -moz-image-region: rect
(0px 16px 16px 0px);
1188 -moz-image-region: rect
(16px 16px 32px 0px);
1194 list-style-image: url
("chrome://browser/skin/places/bookmark.png");
1195 -moz-image-region: rect
(0px 16px 16px 0px);
1198 #star-button:hover
{
1199 -moz-image-region: rect
(0px 32px 16px 16px);
1202 #star-button:hover:active
{
1203 -moz-image-region: rect
(0px 48px 16px 32px);
1206 #star-button[starred
="true"] {
1207 list-style-image: url
("chrome://browser/skin/places/editBookmark.png");
1210 /* bookmarking panel */
1211 #editBookmarkPanel {
1212 -moz-appearance: menupopup
;
1217 #editBookmarkPanelStarIcon {
1218 list-style-image: url
("chrome://browser/skin/places/starred48.png");
1223 #editBookmarkPanelStarIcon[unstarred
] {
1224 list-style-image: url
("chrome://browser/skin/places/unstarred48.png");
1227 #editBookmarkPanelTitle {
1231 /* ::::: content area ::::: */
1234 background-color: Window
;
1238 -moz-padding-start: 0px;
1247 -moz-box-direction: reverse
;
1250 #security-button[level
="high"],
1251 #security-button[level
="low"] {
1252 list-style-image: url
("chrome://browser/skin/Secure.png");
1255 #security-button[level
="broken"] {
1256 list-style-image: url
("chrome://browser/skin/Security-broken.png");
1259 /* XXXsw prevent margins of a value-less label from shifting the image */
1260 #security-button > label:not
([value
]) {
1264 #page-report-button {
1265 list-style-image: none
;
1270 #page-report-button[blocked
] {
1271 list-style-image: url
("chrome://browser/skin/Info.png");
1275 /* ::::: throbber ::::: */
1277 #navigator-throbber {
1281 list-style-image: url
("chrome://global/skin/icons/notloading_16.png");
1284 #navigator-throbber[busy
="true"] {
1285 list-style-image: url
("chrome://global/skin/icons/loading_16.png");
1290 -moz-appearance: -moz-win-browsertabbar-toolbox
;
1291 background: -moz-dialog url
("chrome://browser/skin/tabbrowser/tabbrowser-tabs-bkgnd.png") repeat-x
;
1294 .tabs-container:not([overflow="true"]) {
1295 -moz-padding-start: 3px;
1300 -moz-appearance: none
;
1301 background: url
("chrome://browser/skin/tabbrowser/tab-bkgnd.png") repeat-x
;
1302 margin: 3px 0px 4px;
1303 padding: 0px 1px 1px 0px;
1305 border-right-width: 1px;
1306 border-bottom: none
;
1307 -moz-border-radius-topleft: 2px;
1308 -moz-border-radius-topright: 2px;
1309 -moz-border-top-colors: ThreeDShadow rgba
(255,255,255,.3);
1310 -moz-border-right-colors: rgba
(0,0,0,.1);
1311 -moz-border-left-colors: ThreeDShadow rgba
(255,255,255,.3);
1314 .tabbrowser-tab:hover
,
1315 .tabbrowser-tab[selected="true"] {
1317 -moz-border-radius-topleft: 4px;
1318 -moz-border-radius-topright: 4px;
1319 -moz-border-top-colors: ThreeDShadow
;
1320 -moz-border-right-colors: ThreeDShadow
;
1321 -moz-border-left-colors: ThreeDShadow
;
1324 .tabbrowser-tab:not([selected="true"]):hover {
1325 margin: 2px 0px 4px;
1326 padding: 2px 1px 1px;
1327 background-image: url
("chrome://browser/skin/tabbrowser/tab-hover-bkgnd.png");
1330 .tabbrowser-tab[selected="true"] {
1331 margin: 2px 0px 3px;
1333 background-image: url
("chrome://browser/skin/tabbrowser/tab-active-bkgnd.png");
1334 background-color: -moz-dialog
;
1338 .tabbrowser-tab[busy] > .tab-icon-image {
1339 list-style-image: url
("chrome://global/skin/icons/loading_16.png") !important
;
1344 -moz-margin-start: 7px;
1345 -moz-margin-end: 3px;
1348 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
1349 -moz-image-region: rect
(0px, 16px, 16px, 0px);
1355 background: -moz-dialog url
("chrome://browser/skin/tabbrowser/tabstrip-bottom.png") repeat
;
1356 border-top: 1px solid threedshadow
;
1357 border-bottom: 1px solid threedshadow
;
1361 -moz-appearance: none
;
1364 /* tabbrowser-tab focus ring */
1366 border: 1px dotted transparent
;
1369 .tabbrowser-tab[selected="true"]:focus > .tab-text {
1370 border: 1px dotted
-moz-DialogText
;
1373 /* Tab DnD indicator */
1374 .tab-drop-indicator-bar {
1378 /* set -moz-margin-start to -1/2 indicator width: */
1379 -moz-margin-start: -5px;
1382 .tab-drop-indicator {
1385 margin-bottom: -5px;
1387 background: url
('chrome://browser/skin/tabbrowser/tabDragIndicator.png') 50% 50% no-repeat
;
1390 /* Tab close button */
1391 .tab-close-button > .toolbarbutton-icon {
1392 -moz-margin-end: 0px !important
;
1397 -moz-appearance: none
;
1398 -moz-image-region: rect
(0px, 56px, 14px, 42px);
1399 -moz-margin-end: 6px;
1402 list-style-image: url
("chrome://global/skin/icons/close.png");
1405 .tab-close-button:hover
,
1406 .tabbrowser-tab[selected="true"] > .tab-close-button:hover {
1407 -moz-image-region: rect
(0px, 28px, 14px, 14px);
1410 .tab-close-button:hover:active
,
1411 .tabbrowser-tab[selected="true"] > .tab-close-button:hover:active {
1412 -moz-image-region: rect
(0px, 42px, 14px, 28px);
1415 .tabbrowser-tab[selected="true"] > .tab-close-button {
1416 -moz-image-region: rect
(0px, 14px, 14px, 0px);
1417 /* Make this button focusable so clicking on it will not focus the tab while
1418 it's getting closed */
1419 -moz-user-focus: normal
;
1422 .tab-close-button:focus {
1423 outline: none
!important
;
1426 /* Tab scrollbox arrow, new tab and all-tabs buttons */
1427 .tabbrowser-arrowscrollbox
> .scrollbutton-up
,
1428 .tabbrowser-arrowscrollbox
> .scrollbutton-down
,
1429 .tabs-newtab-button
,
1430 .tabs-alltabs-button {
1431 -moz-appearance: none
;
1433 margin: 3px 0px 4px;
1436 border-right-width: 1px;
1437 border-bottom: none
;
1438 -moz-border-top-colors: ThreeDShadow rgba
(255,255,255,.3);
1439 -moz-border-right-colors: ThreeDShadow
;
1440 -moz-border-left-colors: ThreeDShadow rgba
(255,255,255,.3);
1441 background: url
("chrome://browser/skin/tabbrowser/tab-bkgnd.png") repeat-x
;
1442 -moz-image-region: rect
(0, 11px, 14px, 0);
1445 .tabbrowser-arrowscrollbox
> .scrollbutton-up:not
([disabled
="true"]):hover
,
1446 .tabbrowser-arrowscrollbox
> .scrollbutton-down:not
([disabled
="true"]):hover
,
1447 .tabs-newtab-button:hover
,
1448 .tabs-alltabs-button:hover {
1449 border-top-width: 1px;
1451 -moz-border-top-colors: ThreeDShadow
;
1452 -moz-border-right-colors: ThreeDShadow
;
1453 -moz-border-left-colors: ThreeDShadow transparent
;
1454 background-image: url
("chrome://browser/skin/tabbrowser/tab-hover-bkgnd.png");
1457 .tabbrowser-arrowscrollbox
> .scrollbutton-up:not
([disabled
="true"]):hover
,
1458 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled="true"]):hover {
1459 -moz-image-region: rect
(0, 22px, 14px, 11px);
1462 .tabbrowser-arrowscrollbox
> .scrollbutton-up
[disabled
="true"],
1463 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled="true"] {
1467 .tabbrowser-arrowscrollbox
> .scrollbutton-up:not
([disabled
="true"]):hover:active
,
1468 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled="true"]):hover:active {
1469 -moz-image-region: rect
(0, 44px, 14px, 33px);
1472 .tabbrowser-arrowscrollbox > .scrollbutton-up {
1473 border-left-style: none
;
1474 list-style-image: url
("chrome://browser/skin/tabbrowser/tab-arrow-start.png");
1475 -moz-border-radius-topright: 2px;
1478 .tabbrowser-arrowscrollbox > .scrollbutton-up[chromedir="rtl"] {
1479 border-left-style: solid
;
1480 border-right-style: none
;
1481 -moz-border-radius-topleft: 2px;
1482 -moz-border-radius-topright: 0px;
1483 list-style-image: url
("chrome://browser/skin/tabbrowser/tab-arrow-end.png");
1486 .tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon {
1487 margin: 5px 0px 1px 0px;
1490 .tabbrowser-arrowscrollbox
> .scrollbutton-down
,
1491 .tabs-newtab-button
,
1492 .tabs-alltabs-button {
1493 border-right-style: none
;
1494 -moz-border-radius-topleft: 2px;
1497 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1498 list-style-image: url
("chrome://browser/skin/tabbrowser/tab-arrow-end.png");
1501 .tabbrowser-arrowscrollbox
> .scrollbutton-down
[chromedir
="rtl"],
1502 .tabs-newtab-button
[chromedir
="rtl"],
1503 .tabs-container > stack[chromedir="rtl"] > .tabs-alltabs-button {
1504 border-left-style: none
;
1505 border-right-style: solid
;
1506 -moz-border-radius-topleft: 0px;
1507 -moz-border-radius-topright: 2px;
1510 .tabbrowser-arrowscrollbox > .scrollbutton-down[chromedir="rtl"] {
1511 list-style-image: url
("chrome://browser/skin/tabbrowser/tab-arrow-start.png");
1514 .tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
1517 -moz-margin-end: 2px;
1520 .tabs-newtab-button > .toolbarbutton-icon {
1521 list-style-image: url
(chrome://browser
/skin
/tabbrowser
/newtab
.png
);
1523 -moz-margin-end: 2px;
1526 .tabs-newtab-button
> .toolbarbutton-text
,
1527 .tabs-alltabs-button
> .toolbarbutton-text
,
1528 .tabs-alltabs-button > .toolbarbutton-icon {
1532 .tabs-alltabs-button > .toolbarbutton-menu-dropmarker {
1533 margin: 2px 1px 2px 0px;
1536 .tabs-alltabs-box-animate {
1539 width: 18px !important
;
1540 background-image: url
("chrome://browser/skin/tabbrowser/alltabs-box-overflow-end-bkgnd-animate.png");
1541 background-repeat: no-repeat
;
1545 stack
[chromedir
="rtl"] > hbox
> .tabs-alltabs-box-animate
{
1546 background-image: url
("chrome://browser/skin/tabbrowser/alltabs-box-overflow-start-bkgnd-animate.png");
1549 /* All tabs menupopup */
1550 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1551 list-style-image: url
("chrome://global/skin/icons/folder-item.png");
1552 -moz-image-region: rect
(0px, 16px, 16px, 0px);
1555 .alltabs-item[selected="true"] {
1559 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1560 list-style-image: url
("chrome://global/skin/icons/loading_16.png");
1563 /* Tabstrip close button */
1565 -moz-appearance: none
;
1566 list-style-image: url
("chrome://global/skin/icons/close.png");
1567 -moz-image-region: rect
(0px, 14px, 14px, 0px);
1573 .tabs-closebutton > .toolbarbutton-icon {
1574 -moz-margin-end: 0px !important
;
1575 -moz-padding-end: 2px !important
;
1576 -moz-padding-start: 2px !important
;
1579 .tabs-closebutton:hover {
1580 -moz-image-region: rect
(0px, 28px, 14px, 14px);
1583 .tabs-closebutton:hover:active {
1584 -moz-image-region: rect
(0px, 42px, 14px, 28px);
1587 .tabs-container > .tabs-closebutton {
1588 margin: 3px 0px 3px;
1589 padding: 4px 2px 2px;
1590 background: -moz-dialog url
("chrome://browser/skin/tabbrowser/tab-active-bkgnd.png") repeat-x
;
1591 border-left: 1px solid threedshadow
;
1592 border-top: 1px solid threedshadow
;
1593 -moz-border-radius-topleft: 2px;
1596 .tabs-container > .tabs-closebutton[chromedir="rtl"] {
1598 border-right: 1px solid threedshadow
;
1599 -moz-border-radius-topleft: 0px;
1600 -moz-border-radius-topright: 2px;
1603 #sidebar-box .tabs-closebutton
{
1604 list-style-image: url
("chrome://global/skin/icons/closeSidebar.png");
1605 margin-bottom: 0px !important
;
1606 padding: 0px 2px 0px 2px !important
;
1609 toolbarbutton
.chevron
{
1610 list-style-image: url
("chrome://global/skin/toolbar/chevron.gif") !important
;
1613 toolbarbutton
.chevron
[chromedir
="rtl"] {
1614 list-style-image: url
("chrome://global/skin/toolbar/chevron-rtl.gif") !important
;
1617 toolbarbutton
.chevron
> .toolbarbutton-text
{
1618 display: none
; /* hide chevron label */
1621 toolbarbutton
.chevron
> .toolbarbutton-menu-dropmarker
{
1625 toolbar
[mode
="text"] toolbarbutton
.chevron
> .toolbarbutton-icon
{
1626 display: -moz-box
; /* display chevron icon in text mode */
1629 toolbar
[mode
="text"] > #window-controls
> toolbarbutton
> .toolbarbutton-icon
{
1633 toolbar
[mode
="text"] > #window-controls
> toolbarbutton
> .toolbarbutton-text
{
1637 #sidebar-throbber[loading
="true"] {
1638 list-style-image: url
("chrome://global/skin/icons/loading_16.png");
1639 -moz-margin-end: 4px;
1642 /* Location bar dropmarker */
1643 #urlbar > .autocomplete-history-dropmarker
{
1644 -moz-appearance: none
;
1646 background-color: transparent
;
1651 #urlbar > .autocomplete-history-dropmarker:hover
,
1652 #urlbar > .autocomplete-history-dropmarker
[open
="true"] {
1653 background: -moz-dialog url
(navbar-textbox-buttons
.png
) repeat-x
0 -60px !important
;
1656 #urlbar > .autocomplete-history-dropmarker
> .dropmarker-icon
{
1660 #urlbar[chromedir
="ltr"] > .autocomplete-history-dropmarker
{
1661 border-left: 1px solid
;
1662 -moz-border-left-colors: transparent
;
1665 #urlbar[chromedir
="ltr"] > .autocomplete-history-dropmarker:hover
,
1666 #urlbar[chromedir
="ltr"] > .autocomplete-history-dropmarker
[open
="true"] {
1667 -moz-border-left-colors: ButtonShadow
;
1671 #feed-button, #feed-button
> .button-box
,
1672 #feed-button:hover:active
> .button-box
{
1676 background-color: transparent
;
1679 #feed-button > hbox
> .button-menu-dropmarker
,
1680 #feed-button > hbox
> .button-text
{
1685 -moz-binding: url
("chrome://global/content/bindings/button.xml#menu");
1686 -moz-appearance: none
;
1688 padding: 0 2px !important
;
1691 #feed-button[feeds
] {
1692 list-style-image: url
("chrome://browser/skin/feeds/feed-icons-16.png");
1693 -moz-image-region: rect
(0px 16px 16px 0px);
1696 #feed-button[feeds
]:hover
{
1697 -moz-image-region: rect
(0px 32px 16px 16px);
1700 #feed-button[feeds
][open
="true"],
1701 #feed-button[feeds
]:hover:active
{
1702 -moz-image-region: rect
(0px 48px 16px 32px);
1705 #feed-button:not
([feeds
]) {
1706 visibility: collapse
;
1709 /* ::::: About Popup Blocking dialog ::::: */
1710 #pageReportFirstTime statusbarpanel
.statusbar-resizerpanel
{
1711 visibility: collapse
;
1714 #checkForUpdates[loading
="true"] {
1715 list-style-image: url
("chrome://global/skin/icons/loading_16.png");
1718 /* Personal toolbar */
1719 .toolbar-drop-indicator {
1722 margin-bottom: -6px;
1724 background: url
("chrome://browser/skin/places/toolbarDropMarker.png") 50% 50% no-repeat
;
1727 .toolbar-drop-indicator-bar {
1730 margin-bottom: -18px;
1734 .toolbar-drop-indicator-bar[dragging="true"] {
1735 visibility: visible
;
1738 toolbarbutton
.bookmark-item
[dragover
="true"][open
="true"] {
1739 -moz-appearance: none
;
1740 background: Highlight
!important
;
1741 color: HighlightText
!important
;
1744 /* rules for menupopup drop indicators */
1745 .menupopup-drop-indicator-bar {
1747 /* these two margins must together compensate the indicator's height */
1749 margin-bottom: -1px;
1752 .menupopup-drop-indicator {
1753 list-style-image: none
;
1755 -moz-margin-end: -4em;
1756 background-color: Highlight
;
1759 /* ::::: Identity Indicator Styling ::::: */
1760 /* Location bar visuals*/
1762 #urlbar[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) {
1763 -moz-margin-start: 6px;
1766 #urlbar > .autocomplete-textbox-container
{
1767 -moz-box-align: stretch
;
1771 overflow: -moz-hidden-unscrollable
;
1774 #identity-box[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) {
1775 -moz-margin-start: -4px;
1776 border-right: 1px solid ThreeDShadow
;
1779 #identity-box.verifiedDomain
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) ,
1780 #identity-box.verifiedIdentity
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) {
1781 border-right: 1px solid ThreeDDarkShadow
;
1784 #identity-box > hbox
{
1785 background: -moz-dialog url
(navbar-textbox-buttons
.png
) repeat-x
;
1786 color: -moz-dialogText
;
1787 border-left: 2px solid
;
1788 border-right: 2px solid
;
1789 -moz-border-left-colors: ThreeDShadow rgba
(255, 255, 255, 0.2);
1790 -moz-border-right-colors: ThreeDShadow rgba
(255, 255, 255, 0.2);
1793 #identity-box[chromedir
="ltr"]:not
(:-moz-system-metric
(windows-default-theme
)) > hbox
{
1794 border-left: 1px solid
;
1795 -moz-border-left-colors: rgba
(255, 255, 255, 0.2);
1797 #identity-box[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) > hbox
{
1798 margin: -11px -10px -11px 0;
1799 padding: 10px 12px 10px 3px;
1800 border-top: 1px solid ThreeDDarkShadow
;
1801 border-bottom: 1px solid ThreeDDarkShadow
;
1802 border-right-style: none
;
1803 -moz-border-radius-topleft: 21px;
1804 -moz-border-radius-bottomleft: 21px;
1805 -moz-border-left-colors: ThreeDDarkShadow rgba
(255, 255, 255, 0.4);
1806 background-position: 0 10px;
1809 #identity-box:hover
> hbox
{
1810 background-position: 0 -60px;
1811 -moz-border-left-colors: ThreeDShadow rgba
(255, 255, 255, 0.4);
1812 -moz-border-right-colors: ThreeDShadow rgba
(255, 255, 255, 0.4);
1814 #identity-box:hover
[chromedir
="ltr"] > hbox
{
1815 -moz-border-left-colors: rgba
(255, 255, 255, 0.4);
1817 #identity-box:hover
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) > hbox
{
1818 background-position: 0 -50px;
1819 -moz-border-left-colors: ThreeDDarkShadow rgba
(255, 255, 255, 0.6);
1822 #identity-box.verifiedDomain
> hbox
{
1823 background-position: 0 -120px;
1826 #identity-box.verifiedDomain
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) > hbox
{
1827 background-position: 0 -110px;
1830 #identity-box.verifiedDomain:hover
> hbox
{
1831 background-position: 0 -180px;
1833 #identity-box.verifiedDomain:hover
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) > hbox
{
1834 background-position: 0 -170px;
1837 #identity-box.verifiedIdentity
> hbox
{
1838 background-position: 0 -240px;
1841 #identity-box.verifiedIdentity
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) > hbox
{
1842 background-position: 0 -230px;
1845 #identity-box.verifiedIdentity:hover
> hbox
{
1846 background-position: 0 -300px;
1848 #identity-box.verifiedIdentity:hover
[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) > hbox
{
1849 background-position: 0 -290px;
1852 #identity-box:focus
{
1853 outline: 1px dotted
-moz-DialogText
;
1854 outline-offset: -3px;
1857 #identity-box.verifiedDomain:focus
,
1858 #identity-box.verifiedIdentity:focus
{
1859 outline: 1px dotted white
;
1862 #identity-icon-label {
1867 #identity-icon-label[value
=""] {
1872 #identity-popup-icon {
1876 list-style-image: url
("chrome://browser/skin/identity.png");
1877 -moz-image-region: rect
(0px, 64px, 64px, 0px);
1880 #identity-popup.verifiedDomain
> #identity-popup-container
> #identity-popup-icon
{
1881 -moz-image-region: rect
(64px, 64px, 128px, 0px);
1884 #identity-popup.verifiedIdentity
> #identity-popup-container
> #identity-popup-icon
{
1885 -moz-image-region: rect
(128px, 64px, 192px, 0px);
1888 /* Popup Body Text */
1889 #identity-popup-content-box > description
,
1890 #identity-popup-encryption-label {
1891 white-space: pre-wrap
;
1892 -moz-padding-start: 15px;
1896 #identity-popup-content-box > label
{
1897 white-space: pre-wrap
;
1898 -moz-padding-start: 15px;
1902 #identity-popup-content-host ,
1903 #identity-popup-content-box.verifiedIdentity
> #identity-popup-content-owner
{
1907 #identity-popup-content-host {
1914 #identity-popup-content-owner {
1916 margin-bottom: 0 !important
;
1921 .verifiedDomain > #identity-popup-content-owner {
1922 font-weight: normal
;
1925 #identity-popup-content-verifier {
1929 #identity-popup-content-box.verifiedIdentity
> #identity-popup-encryption
,
1930 #identity-popup-content-box.verifiedDomain
> #identity-popup-encryption
{
1935 #identity-popup-content-box.verifiedIdentity
> #identity-popup-encryption
> vbox
> #identity-popup-encryption-icon
,
1936 #identity-popup-content-box.verifiedDomain
> #identity-popup-encryption
> vbox
> #identity-popup-encryption-icon
{
1937 list-style-image: url
("chrome://browser/skin/Secure24.png");
1940 #identity-popup-more-info-button {
1942 -moz-margin-end: 1px;
1945 /* Popup Bounding Box */
1947 -moz-appearance: menupopup
;
1951 /* Bug 413060, comment 14: Match #identity-box's -moz-margin-start, less 1px */
1952 #identity-popup[chromedir
="ltr"]:-moz-system-metric
(windows-default-theme
) {
1953 -moz-margin-start: 3px;
1956 #identity-popup-container {
1957 background-image: none
;
1963 list-style-image: url
("chrome://browser/skin/Toolbar-small.png");
1964 -moz-image-region: rect
(0px 96px 16px 80px);
1967 /* Bookmarks Toolbar menu-item */
1968 #bookmarksToolbarFolderMenu {
1969 list-style-image: url
("chrome://browser/skin/places/bookmarksToolbar.png");
1970 -moz-image-region: auto
;
1973 /* If the nav toolbar is tall enough and an input box is the last item, add
1974 extra end spacing so that horizontal spacing matches vertical spacing. */
1975 #nav-bar[mode
="full"]:not
([currentset
]),
1976 #nav-bar[mode
="full"][currentset$
=",urlbar-container"],
1977 #nav-bar[mode
="full"][currentset$
=",search-container"],
1978 #nav-bar[iconsize
="large"][mode
="icons"]:not
([currentset
]),
1979 #nav-bar[iconsize
="large"][mode
="icons"][currentset$
=",urlbar-container"],
1980 #nav-bar[iconsize
="large"][mode
="icons"][currentset$
=",search-container"] {
1981 -moz-padding-end: 2px;
1984 #nav-bar[mode
="full"]:not
([currentset
]):-moz-system-metric
(windows-default-theme
),
1985 #nav-bar[mode
="full"][currentset$
=",urlbar-container"]:-moz-system-metric
(windows-default-theme
),
1986 #nav-bar[mode
="full"][currentset$
=",search-container"]:-moz-system-metric
(windows-default-theme
),
1987 #nav-bar[iconsize
="large"][mode
="icons"]:not
([currentset
]):-moz-system-metric
(windows-default-theme
),
1988 #nav-bar[iconsize
="large"][mode
="icons"][currentset$
=",urlbar-container"]:-moz-system-metric
(windows-default-theme
),
1989 #nav-bar[iconsize
="large"][mode
="icons"][currentset$
=",search-container"]:-moz-system-metric
(windows-default-theme
) {
1990 -moz-padding-end: 3px;
1993 /* ::::: Keyboard UI Panel ::::: */
1995 -moz-appearance: none
;
1996 background: rgba
(0, 0, 0, .8) url
(KUI-background
.png
) repeat-x
;
1998 border: 1px solid
#ccc;
1999 -moz-border-radius: 10px;
2004 /* ::::: Ctrl-Tab Panel ::::: */
2007 border-bottom-width: 9px;
2008 -moz-border-bottom-colors: #ccc black black black black black black black black
;
2016 margin-bottom: 10px;
2019 svg|
*.ctrlTab-thumbnailborder
{
2024 svg|
*#ctrlTab-fadeGradientTop
{
2029 svg|
*#ctrlTab-fadeGradientBottom
{