1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
7 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 -moz-binding: url("chrome://global/content/widgets/toolbar.xml#menubar");
11 background-color: transparent;
15 -moz-binding: url("chrome://browser/skin/browser.xml#toolbar");
19 -moz-margin-start: 2px;
22 .toolbar-primary > .toolbar-holder {
23 background-color: #FF9F00;
26 .toolbar-primary > .toolbar-begcap,
27 .toolbar-primary > .toolbar-endcap {
28 background-color: #9C9CFF;
35 /* ::::: bookmark buttons ::::: */
37 toolbarbutton.bookmark-item {
46 toolbarbutton.bookmark-item:hover:active,
47 toolbarbutton.bookmark-item[open="true"] {
50 -moz-padding-start: 2px;
51 -moz-padding-end: 0px;
54 .bookmark-item > .toolbarbutton-icon {
59 /* Prevent [mode="icons"] from hiding the label */
60 .bookmark-item > .toolbarbutton-text {
61 display: -moz-box !important;
64 .bookmark-item > .toolbarbutton-menu-dropmarker {
68 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
71 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
74 .bookmarks-toolbar-customize {
76 max-width: 15em !important;
79 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
83 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
87 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
91 /* ::::: bookmark menus ::::: */
94 menuitem.bookmark-item {
97 border-top: 1px solid transparent !important;
98 border-bottom: 1px solid transparent !important;
101 -moz-padding-start: 2px;
102 -moz-padding-end: 3px;
106 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
111 /* ..... drag and drop styles ..... */
113 .bookmark-item[dragover-left="true"] {
114 -moz-border-left-colors: #008484;
116 .bookmark-item[dragover-right="true"] {
117 -moz-border-right-colors: #008484;
119 .bookmark-item[dragover-top="true"] {
120 -moz-border-top-colors: #008484;
122 .bookmark-item[dragover-bottom="true"] {
123 -moz-border-bottom-colors: #008484;
126 /* ::::: bookmark items ::::: */
129 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
132 .bookmark-item[container="true"] {
133 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
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");
140 /* ::::: primary toolbar buttons ::::: */
143 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
144 -moz-box-orient: vertical;
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;
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;
167 toolbarbutton[type="menu-button"] {
168 -moz-box-orient: horizontal;
171 toolbar[mode="icons"] .toolbarbutton-text {
175 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
176 toolbar[mode="text"] .toolbarbutton-icon {
180 toolbar[mode="text"] .toolbarbutton-text {
181 padding: 0 !important;
182 margin: 3px 5px !important;
186 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
187 list-style-image: url("chrome://browser/skin/icons/back.gif");
190 #back-button[open="true"] {
191 list-style-image: url("chrome://browser/skin/icons/back-hover.gif");
193 #back-button[disabled="true"] {
194 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
198 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
199 list-style-image: url("chrome://browser/skin/icons/forward.gif");
201 #forward-button:hover,
202 #forward-button[open="true"] {
203 list-style-image: url("chrome://browser/skin/icons/forward-hover.gif");
205 #forward-button[disabled="true"] {
206 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
210 list-style-image: url("chrome://browser/skin/icons/reload.gif");
212 #reload-button:hover {
213 list-style-image: url("chrome://browser/skin/icons/reload-hover.gif");
215 #reload-button[disabled="true"] {
216 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
220 list-style-image: url("chrome://browser/skin/icons/stop.gif");
223 list-style-image: url("chrome://browser/skin/icons/stop-hover.gif");
225 #stop-button[disabled="true"] {
226 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
230 list-style-image: url("chrome://browser/skin/icons/home.gif");
233 list-style-image: url("chrome://browser/skin/icons/home-hover.gif");
235 #home-button[disabled="true"] {
236 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
240 list-style-image: url("chrome://browser/skin/icons/print.gif");
242 #print-button:hover {
243 list-style-image: url("chrome://browser/skin/icons/print-hover.gif");
245 #print-button[disabled="true"] {
246 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
250 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
252 #new-tab-button:hover {
253 list-style-image: url("chrome://browser/skin/icons/new-tab-hover.gif");
255 #new-tab-button[disabled="true"] {
256 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
260 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
262 #new-window-button:hover {
263 list-style-image: url("chrome://browser/skin/icons/new-window-hover.gif");
265 #new-window-button[disabled="true"] {
266 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
270 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
272 #downloads-button:hover {
273 list-style-image: url("chrome://browser/skin/icons/downloads-hover.gif");
275 #downloads-button[disabled="true"] {
276 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
280 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
282 #bookmarks-button:hover {
283 list-style-image: url("chrome://browser/skin/icons/bookmarks-hover.gif");
285 #bookmarks-button[disabled="true"] {
286 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
290 list-style-image: url("chrome://browser/skin/icons/history.gif");
292 #history-button:hover {
293 list-style-image: url("chrome://browser/skin/icons/history-hover.gif");
295 #history-button[disabled="true"] {
296 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
300 list-style-image: url("chrome://browser/skin/icons/cut.gif");
303 list-style-image: url("chrome://browser/skin/icons/cut-hover.gif");
305 #cut-button[disabled="true"] {
306 list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif");
310 list-style-image: url("chrome://browser/skin/icons/copy.gif");
313 list-style-image: url("chrome://browser/skin/icons/copy-hover.gif");
315 #copy-button[disabled="true"] {
316 list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif");
320 list-style-image: url("chrome://browser/skin/icons/paste.gif");
322 #paste-button:hover {
323 list-style-image: url("chrome://browser/skin/icons/paste-hover.gif");
325 #paste-button[disabled="true"] {
326 list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif");
330 /* ::::: small primary toolbar buttons ::::: */
332 toolbar[iconsize="small"] #back-button {
333 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
335 toolbar[iconsize="small"] #back-button:hover {
336 list-style-image: url("chrome://browser/skin/icons/back-small-hover.gif");
338 toolbar[iconsize="small"] #back-button[disabled="true"] {
339 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
342 toolbar[iconsize="small"] #forward-button {
343 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
345 toolbar[iconsize="small"] #forward-button:hover {
346 list-style-image: url("chrome://browser/skin/icons/forward-small-hover.gif");
348 toolbar[iconsize="small"] #forward-button[disabled="true"] {
349 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
352 toolbar[iconsize="small"] #reload-button {
353 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
355 toolbar[iconsize="small"] #reload-button:hover {
356 list-style-image: url("chrome://browser/skin/icons/reload-small-hover.gif");
358 toolbar[iconsize="small"] #reload-button[disabled="true"] {
359 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
362 toolbar[iconsize="small"] #stop-button {
363 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
365 toolbar[iconsize="small"] #stop-button:hover {
366 list-style-image: url("chrome://browser/skin/icons/stop-small-hover.gif");
368 toolbar[iconsize="small"] #stop-button[disabled="true"] {
369 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
372 toolbar[iconsize="small"] #home-button {
373 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
375 toolbar[iconsize="small"] #home-button:hover {
376 list-style-image: url("chrome://browser/skin/icons/home-small-hover.gif");
378 toolbar[iconsize="small"] #home-button[disabled="true"] {
379 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
382 toolbar[iconsize="small"] #print-button {
383 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
385 toolbar[iconsize="small"] #print-button:hover {
386 list-style-image: url("chrome://browser/skin/icons/print-small-hover.gif");
388 toolbar[iconsize="small"] #print-button[disabled="true"] {
389 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
392 toolbar[iconsize="small"] #downloads-button {
393 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
395 toolbar[iconsize="small"] #downloads-button:hover {
396 list-style-image: url("chrome://browser/skin/icons/downloads-small-hover.gif");
398 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
399 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
402 toolbar[iconsize="small"] #new-tab-button {
403 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
405 toolbar[iconsize="small"] #new-tab-button:hover {
406 list-style-image: url("chrome://browser/skin/icons/new-tab-small-hover.gif");
408 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
409 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
412 toolbar[iconsize="small"] #new-window-button {
413 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
415 toolbar[iconsize="small"] #new-window-button:hover {
416 list-style-image: url("chrome://browser/skin/icons/new-window-small-hover.gif");
418 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
419 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
422 toolbar[iconsize="small"] #bookmarks-button {
423 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
425 toolbar[iconsize="small"] #bookmarks-button:hover {
426 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-hover.gif");
428 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
429 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
432 toolbar[iconsize="small"] #history-button {
433 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
435 toolbar[iconsize="small"] #history-button:hover {
436 list-style-image: url("chrome://browser/skin/icons/history-small-hover.gif");
438 toolbar[iconsize="small"] #history-button[disabled="true"] {
439 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
442 toolbar[iconsize="small"] #cut-button {
443 list-style-image: url("chrome://browser/skin/icons/cut-small.gif");
445 toolbar[iconsize="small"] #cut-button:hover {
446 list-style-image: url("chrome://browser/skin/icons/cut-small-hover.gif");
448 toolbar[iconsize="small"] #cut-button[disabled="true"] {
449 list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif");
452 toolbar[iconsize="small"] #copy-button {
453 list-style-image: url("chrome://browser/skin/icons/copy-small.gif");
455 toolbar[iconsize="small"] #copy-button:hover {
456 list-style-image: url("chrome://browser/skin/icons/copy-small-hover.gif");
458 toolbar[iconsize="small"] #copy-button[disabled="true"] {
459 list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif");
462 toolbar[iconsize="small"] #paste-button {
463 list-style-image: url("chrome://browser/skin/icons/paste-small.gif");
465 toolbar[iconsize="small"] #paste-button:hover {
466 list-style-image: url("chrome://browser/skin/icons/paste-small-hover.gif");
468 toolbar[iconsize="small"] #paste-button[disabled="true"] {
469 list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif");
473 /* Smaller padding on small toolbar buttons */
475 toolbar[iconsize="small"] .toolbarbutton-1 {
479 toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
480 toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
483 -moz-padding-start: 3px;
484 -moz-padding-end: 1px;
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"] {
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;
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 {
511 /* ::::: fullscreen window controls ::::: */
514 -moz-box-align: center;
517 -moz-padding-start: 0px;
518 -moz-padding-end: 2px;
519 border-left: 3px solid #000000;
524 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
526 #minimize-button:hover {
527 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
530 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
532 #restore-button:hover {
533 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
536 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
538 #close-button:hover {
539 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
542 /* ::::: nav-bar-inner ::::: */
552 /* ::::: page proxy icon ::::: */
566 #page-proxy-favicon {
567 list-style-image: none;
571 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
574 #page-proxy-button[pageproxystate="invalid"] {
576 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
580 statusbarpanel#statusbar-display {
581 -moz-padding-start: 0;
584 /* ::::: search-bar ::::: */
586 #search-proxy-button {
588 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
592 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
595 /* ::::: autocomplete ::::: */
597 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
601 /* ::::: go button ::::: */
605 background-color: transparent;
610 list-style-image: url("chrome://browser/skin/icons/go.gif");
614 border: 1px solid transparent;
618 #go-button:hover:active {
619 list-style-image: url("chrome://browser/skin/icons/go-hover.gif");
620 border: 1px outset #CCD0DD;
623 #go-button[disabled="true"] {
624 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
625 border: 1px solid transparent;
628 #go-button > .button-box > .button-text {
629 -moz-margin-start: 5px !important;
632 #go-button > .button-box {
637 background-color: #CCD0DD;
640 /* ::::: content area ::::: */
650 #security-button[level="high"] {
651 list-style-image: url("chrome://browser/skin/icons/secure.gif");
655 #security-button[level="low"] {
656 list-style-image: url("chrome://browser/skin/icons/secure.gif");
660 #security-button[level="broken"] {
661 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
665 #page-report-button {
669 #page-report-button[blocked] {
671 list-style-image: url("chrome://browser/skin/icons/info.gif");
679 #page-theme-button[themes] {
681 list-style-image: url("chrome://browser/skin/icons/page-themes.gif");
685 /* ::::: throbber ::::: */
687 #navigator-throbber {
688 -moz-user-focus: ignore;
690 -moz-margin-end: 2px;
691 border: none !important;
692 padding: 0px !important;
694 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
696 #navigator-throbber[busy="true"] {
697 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
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");
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");
710 list-style-image: url("chrome://global/skin/icons/close-button.gif");
713 #content .tabs-closebutton {
714 list-style-image: url("chrome://browser/skin/Close-tab.png");
715 -moz-image-region: rect(0px, 18px, 14px, 0px);
718 #content .tabs-closebutton:hover {
719 -moz-image-region: rect(0px, 36px, 14px, 18px);
722 toolbarbutton.chevron {
723 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
727 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
731 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
735 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
739 #sidebar-throbber[loading="true"] {
740 list-style-image: url(chrome://global/skin/icons/loading.gif);