1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
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 * Robert Kaiser (kairo@kairo.at)
28 * Alternatively, the contents of this file may be used under the terms of
29 * either the GNU General Public License Version 2 or later (the "GPL"), or
30 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 * in which case the provisions of the GPL or the LGPL are applicable instead
32 * of those above. If you wish to allow use of your version of this file only
33 * under the terms of either the GPL or the LGPL, and not to allow others to
34 * use your version of this file under the terms of the NPL, indicate your
35 * decision by deleting the provisions above and replace them with the notice
36 * and other provisions required by the GPL or the LGPL. If you do not delete
37 * the provisions above, a recipient may use your version of this file under
38 * the terms of any one of the NPL, the GPL or the LGPL.
40 * ***** END LICENSE BLOCK ***** */
42 @import url("chrome://global/skin/");
44 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47 -moz-binding: url("chrome://global/content/widgets/toolbar.xml#menubar");
48 background-color: transparent;
52 -moz-binding: url("chrome://browser/skin/browser.xml#toolbar");
59 .toolbar-primary > .toolbar-holder {
60 background-color: #FF9F00;
63 .toolbar-primary > .toolbar-begcap,
64 .toolbar-primary > .toolbar-endcap {
65 background-color: #9C9CFF;
72 /* ::::: bookmark buttons ::::: */
74 toolbarbutton.bookmark-item {
83 toolbarbutton.bookmark-item:hover:active,
84 toolbarbutton.bookmark-item[open="true"] {
85 padding: 2px 0px 0px 2px;
88 .bookmark-item > .toolbarbutton-icon {
93 /* Prevent [mode="icons"] from hiding the label */
94 .bookmark-item > .toolbarbutton-text {
95 display: -moz-box !important;
98 .bookmark-item > .toolbarbutton-menu-dropmarker {
102 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
105 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
108 .bookmarks-toolbar-customize {
110 max-width: 15em !important;
113 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
117 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
121 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
125 /* ::::: bookmark menus ::::: */
128 menuitem.bookmark-item {
131 border-top: 1px solid transparent !important;
132 border-bottom: 1px solid transparent !important;
133 padding: 1px 3px 1px 2px;
137 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
142 /* ..... drag and drop styles ..... */
144 .bookmark-item[dragover-left="true"] {
145 -moz-border-left-colors: #008484;
147 .bookmark-item[dragover-right="true"] {
148 -moz-border-right-colors: #008484;
150 .bookmark-item[dragover-top="true"] {
151 -moz-border-top-colors: #008484;
153 .bookmark-item[dragover-bottom="true"] {
154 -moz-border-bottom-colors: #008484;
157 /* ::::: bookmark items ::::: */
160 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
163 .bookmark-item[container="true"] {
164 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
166 .bookmark-item[open="true"],
167 .bookmark-item[container="true"][open="true"] {
168 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
171 /* ::::: primary toolbar buttons ::::: */
174 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
175 -moz-box-orient: vertical;
179 toolbarbutton:not([disabled="true"]):hover,
180 menubutton:not([disabled="true"]):hover,
181 toolbarbutton:not([disabled="true"]):hover:active,
182 menubutton:not([disabled="true"]):hover:active {
183 color: #000000 !important;
187 .toolbarbutton-menubutton-stack,
188 .toolbarbutton-menubutton-button,
189 .toolbarbutton-menubutton-stack:hover,
190 .toolbarbutton-menubutton-button:hover,
191 .toolbarbutton-menubutton-stack:hover:active,
192 .toolbarbutton-menubutton-button:hover:active {
193 margin: 0 !important;
198 toolbarbutton[type="menu-button"] {
199 -moz-box-orient: horizontal;
202 toolbar[mode="icons"] .toolbarbutton-text {
206 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
207 toolbar[mode="text"] .toolbarbutton-icon {
211 toolbar[mode="text"] .toolbarbutton-text {
212 padding: 0 !important;
213 margin: 3px 5px !important;
217 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
218 list-style-image: url("chrome://browser/skin/icons/back.gif");
221 #back-button[open="true"] {
222 list-style-image: url("chrome://browser/skin/icons/back-hover.gif");
224 #back-button[disabled="true"] {
225 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
229 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
230 list-style-image: url("chrome://browser/skin/icons/forward.gif");
232 #forward-button:hover,
233 #forward-button[open="true"] {
234 list-style-image: url("chrome://browser/skin/icons/forward-hover.gif");
236 #forward-button[disabled="true"] {
237 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
241 list-style-image: url("chrome://browser/skin/icons/reload.gif");
243 #reload-button:hover {
244 list-style-image: url("chrome://browser/skin/icons/reload-hover.gif");
246 #reload-button[disabled="true"] {
247 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
251 list-style-image: url("chrome://browser/skin/icons/stop.gif");
254 list-style-image: url("chrome://browser/skin/icons/stop-hover.gif");
256 #stop-button[disabled="true"] {
257 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
261 list-style-image: url("chrome://browser/skin/icons/home.gif");
264 list-style-image: url("chrome://browser/skin/icons/home-hover.gif");
266 #home-button[disabled="true"] {
267 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
271 list-style-image: url("chrome://browser/skin/icons/print.gif");
273 #print-button:hover {
274 list-style-image: url("chrome://browser/skin/icons/print-hover.gif");
276 #print-button[disabled="true"] {
277 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
281 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
283 #new-tab-button:hover {
284 list-style-image: url("chrome://browser/skin/icons/new-tab-hover.gif");
286 #new-tab-button[disabled="true"] {
287 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
291 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
293 #new-window-button:hover {
294 list-style-image: url("chrome://browser/skin/icons/new-window-hover.gif");
296 #new-window-button[disabled="true"] {
297 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
301 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
303 #downloads-button:hover {
304 list-style-image: url("chrome://browser/skin/icons/downloads-hover.gif");
306 #downloads-button[disabled="true"] {
307 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
311 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
313 #bookmarks-button:hover {
314 list-style-image: url("chrome://browser/skin/icons/bookmarks-hover.gif");
316 #bookmarks-button[disabled="true"] {
317 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
321 list-style-image: url("chrome://browser/skin/icons/history.gif");
323 #history-button:hover {
324 list-style-image: url("chrome://browser/skin/icons/history-hover.gif");
326 #history-button[disabled="true"] {
327 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
331 list-style-image: url("chrome://browser/skin/icons/cut.gif");
334 list-style-image: url("chrome://browser/skin/icons/cut-hover.gif");
336 #cut-button[disabled="true"] {
337 list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif");
341 list-style-image: url("chrome://browser/skin/icons/copy.gif");
344 list-style-image: url("chrome://browser/skin/icons/copy-hover.gif");
346 #copy-button[disabled="true"] {
347 list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif");
351 list-style-image: url("chrome://browser/skin/icons/paste.gif");
353 #paste-button:hover {
354 list-style-image: url("chrome://browser/skin/icons/paste-hover.gif");
356 #paste-button[disabled="true"] {
357 list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif");
361 /* ::::: small primary toolbar buttons ::::: */
363 toolbar[iconsize="small"] #back-button {
364 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
366 toolbar[iconsize="small"] #back-button:hover {
367 list-style-image: url("chrome://browser/skin/icons/back-small-hover.gif");
369 toolbar[iconsize="small"] #back-button[disabled="true"] {
370 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
373 toolbar[iconsize="small"] #forward-button {
374 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
376 toolbar[iconsize="small"] #forward-button:hover {
377 list-style-image: url("chrome://browser/skin/icons/forward-small-hover.gif");
379 toolbar[iconsize="small"] #forward-button[disabled="true"] {
380 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
383 toolbar[iconsize="small"] #reload-button {
384 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
386 toolbar[iconsize="small"] #reload-button:hover {
387 list-style-image: url("chrome://browser/skin/icons/reload-small-hover.gif");
389 toolbar[iconsize="small"] #reload-button[disabled="true"] {
390 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
393 toolbar[iconsize="small"] #stop-button {
394 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
396 toolbar[iconsize="small"] #stop-button:hover {
397 list-style-image: url("chrome://browser/skin/icons/stop-small-hover.gif");
399 toolbar[iconsize="small"] #stop-button[disabled="true"] {
400 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
403 toolbar[iconsize="small"] #home-button {
404 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
406 toolbar[iconsize="small"] #home-button:hover {
407 list-style-image: url("chrome://browser/skin/icons/home-small-hover.gif");
409 toolbar[iconsize="small"] #home-button[disabled="true"] {
410 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
413 toolbar[iconsize="small"] #print-button {
414 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
416 toolbar[iconsize="small"] #print-button:hover {
417 list-style-image: url("chrome://browser/skin/icons/print-small-hover.gif");
419 toolbar[iconsize="small"] #print-button[disabled="true"] {
420 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
423 toolbar[iconsize="small"] #downloads-button {
424 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
426 toolbar[iconsize="small"] #downloads-button:hover {
427 list-style-image: url("chrome://browser/skin/icons/downloads-small-hover.gif");
429 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
430 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
433 toolbar[iconsize="small"] #new-tab-button {
434 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
436 toolbar[iconsize="small"] #new-tab-button:hover {
437 list-style-image: url("chrome://browser/skin/icons/new-tab-small-hover.gif");
439 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
440 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
443 toolbar[iconsize="small"] #new-window-button {
444 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
446 toolbar[iconsize="small"] #new-window-button:hover {
447 list-style-image: url("chrome://browser/skin/icons/new-window-small-hover.gif");
449 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
450 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
453 toolbar[iconsize="small"] #bookmarks-button {
454 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
456 toolbar[iconsize="small"] #bookmarks-button:hover {
457 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-hover.gif");
459 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
460 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
463 toolbar[iconsize="small"] #history-button {
464 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
466 toolbar[iconsize="small"] #history-button:hover {
467 list-style-image: url("chrome://browser/skin/icons/history-small-hover.gif");
469 toolbar[iconsize="small"] #history-button[disabled="true"] {
470 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
473 toolbar[iconsize="small"] #cut-button {
474 list-style-image: url("chrome://browser/skin/icons/cut-small.gif");
476 toolbar[iconsize="small"] #cut-button:hover {
477 list-style-image: url("chrome://browser/skin/icons/cut-small-hover.gif");
479 toolbar[iconsize="small"] #cut-button[disabled="true"] {
480 list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif");
483 toolbar[iconsize="small"] #copy-button {
484 list-style-image: url("chrome://browser/skin/icons/copy-small.gif");
486 toolbar[iconsize="small"] #copy-button:hover {
487 list-style-image: url("chrome://browser/skin/icons/copy-small-hover.gif");
489 toolbar[iconsize="small"] #copy-button[disabled="true"] {
490 list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif");
493 toolbar[iconsize="small"] #paste-button {
494 list-style-image: url("chrome://browser/skin/icons/paste-small.gif");
496 toolbar[iconsize="small"] #paste-button:hover {
497 list-style-image: url("chrome://browser/skin/icons/paste-small-hover.gif");
499 toolbar[iconsize="small"] #paste-button[disabled="true"] {
500 list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif");
504 /* Smaller padding on small toolbar buttons */
506 toolbar[iconsize="small"] .toolbarbutton-1 {
510 toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
511 toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
512 padding: 3px 1px 1px 3px;
515 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
516 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
517 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
518 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
522 toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
523 padding: 3px 1px 1px 3px !important;
526 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
527 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
528 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
529 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
530 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
531 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
532 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
536 /* ::::: fullscreen window controls ::::: */
539 -moz-box-align: center;
540 padding: 0 2px 0 0px;
541 border-left: 3px solid #000000;
546 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
548 #minimize-button:hover {
549 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
552 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
554 #restore-button:hover {
555 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
558 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
560 #close-button:hover {
561 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
564 /* ::::: nav-bar-inner ::::: */
574 /* ::::: page proxy icon ::::: */
588 #page-proxy-favicon {
589 list-style-image: none;
593 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
596 #page-proxy-button[pageproxystate="invalid"] {
598 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
602 statusbarpanel#statusbar-display {
606 /* ::::: search-bar ::::: */
608 #search-proxy-button {
610 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
614 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
617 /* ::::: autocomplete ::::: */
619 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
623 /* ::::: go button ::::: */
627 background-color: transparent;
632 list-style-image: url("chrome://browser/skin/icons/go.gif");
636 border: 1px solid transparent;
640 #go-button:hover:active {
641 list-style-image: url("chrome://browser/skin/icons/go-hover.gif");
642 border: 1px outset #CCD0DD;
645 #go-button[disabled="true"] {
646 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
647 border: 1px solid transparent;
650 #go-button > .button-box > .button-text {
651 margin-left: 5px !important;
654 #go-button > .button-box {
659 background-color: #CCD0DD;
662 /* ::::: content area ::::: */
672 #security-button[level="high"] {
673 list-style-image: url("chrome://browser/skin/icons/secure.gif");
677 #security-button[level="low"] {
678 list-style-image: url("chrome://browser/skin/icons/secure.gif");
682 #security-button[level="broken"] {
683 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
687 #page-report-button {
691 #page-report-button[blocked] {
693 list-style-image: url("chrome://browser/skin/icons/info.gif");
694 padding: 0px 3px 0px 3px;
701 #page-theme-button[themes] {
703 list-style-image: url("chrome://browser/skin/icons/page-themes.gif");
704 padding: 0px 3px 0px 3px;
707 /* ::::: throbber ::::: */
709 #navigator-throbber {
710 -moz-user-focus: ignore;
713 border: none !important;
714 padding: 0px !important;
716 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
718 #navigator-throbber[busy="true"] {
719 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
722 toolbar[iconsize="small"] #navigator-throbber,
723 toolbar[mode="text"] #navigator-throbber {
724 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
726 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
727 toolbar[mode="text"] #navigator-throbber[busy="true"] {
728 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
732 list-style-image: url("chrome://global/skin/icons/close-button.gif");
735 #content .tabs-closebutton {
736 list-style-image: url("chrome://browser/skin/Close-tab.png");
737 -moz-image-region: rect(0px, 18px, 14px, 0px);
740 #content .tabs-closebutton:hover {
741 -moz-image-region: rect(0px, 36px, 14px, 18px);
744 toolbarbutton.chevron {
745 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
749 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
753 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
757 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
761 #sidebar-throbber[loading="true"] {
762 list-style-image: url(chrome://global/skin/icons/loading.gif);