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)
26 * Alternatively, the contents of this file may be used under the terms of
27 * either the GNU General Public License Version 2 or later (the "GPL"), or
28 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the NPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the NPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK ***** */
40 @import url("chrome://global/skin/");
42 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45 -moz-binding: url("chrome://global/content/widgets/toolbar.xml#menubar");
46 background-color: transparent;
50 -moz-binding: url("chrome://browser/skin/browser.xml#toolbar");
57 .toolbar-primary > .toolbar-holder {
58 background-color: #FF9F00;
61 .toolbar-primary > .toolbar-begcap,
62 .toolbar-primary > .toolbar-endcap {
63 background-color: #9C9CFF;
70 /* ::::: bookmark buttons ::::: */
72 toolbarbutton.bookmark-item {
81 toolbarbutton.bookmark-item:hover:active,
82 toolbarbutton.bookmark-item[open="true"] {
83 padding: 2px 0px 0px 2px;
86 .bookmark-item > .toolbarbutton-icon {
91 /* Prevent [mode="icons"] from hiding the label */
92 .bookmark-item > .toolbarbutton-text {
93 display: -moz-box !important;
96 .bookmark-item > .toolbarbutton-menu-dropmarker {
100 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
103 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
106 .bookmarks-toolbar-customize {
108 max-width: 15em !important;
111 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
115 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
119 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
123 /* ::::: bookmark menus ::::: */
126 menuitem.bookmark-item {
129 border-top: 1px solid transparent !important;
130 border-bottom: 1px solid transparent !important;
131 padding: 1px 3px 1px 2px;
135 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
140 /* ..... drag and drop styles ..... */
142 .bookmark-item[dragover-left="true"] {
143 -moz-border-left-colors: #008484;
145 .bookmark-item[dragover-right="true"] {
146 -moz-border-right-colors: #008484;
148 .bookmark-item[dragover-top="true"] {
149 -moz-border-top-colors: #008484;
151 .bookmark-item[dragover-bottom="true"] {
152 -moz-border-bottom-colors: #008484;
155 /* ::::: bookmark items ::::: */
158 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
161 .bookmark-item[container="true"] {
162 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
164 .bookmark-item[open="true"],
165 .bookmark-item[container="true"][open="true"] {
166 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
169 /* ::::: primary toolbar buttons ::::: */
172 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
173 -moz-box-orient: vertical;
177 toolbarbutton:not([disabled="true"]):hover,
178 menubutton:not([disabled="true"]):hover,
179 toolbarbutton:not([disabled="true"]):hover:active,
180 menubutton:not([disabled="true"]):hover:active {
181 color: #000000 !important;
185 .toolbarbutton-menubutton-stack,
186 .toolbarbutton-menubutton-button,
187 .toolbarbutton-menubutton-stack:hover,
188 .toolbarbutton-menubutton-button:hover,
189 .toolbarbutton-menubutton-stack:hover:active,
190 .toolbarbutton-menubutton-button:hover:active {
191 margin: 0 !important;
196 toolbarbutton[type="menu-button"] {
197 -moz-box-orient: horizontal;
200 toolbar[mode="icons"] .toolbarbutton-text {
204 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
205 toolbar[mode="text"] .toolbarbutton-icon {
209 toolbar[mode="text"] .toolbarbutton-text {
210 padding: 0 !important;
211 margin: 3px 5px !important;
215 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
216 list-style-image: url("chrome://browser/skin/icons/back.gif");
219 #back-button[open="true"] {
220 list-style-image: url("chrome://browser/skin/icons/back-hover.gif");
222 #back-button[disabled="true"] {
223 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
227 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
228 list-style-image: url("chrome://browser/skin/icons/forward.gif");
230 #forward-button:hover,
231 #forward-button[open="true"] {
232 list-style-image: url("chrome://browser/skin/icons/forward-hover.gif");
234 #forward-button[disabled="true"] {
235 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
239 list-style-image: url("chrome://browser/skin/icons/reload.gif");
241 #reload-button:hover {
242 list-style-image: url("chrome://browser/skin/icons/reload-hover.gif");
244 #reload-button[disabled="true"] {
245 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
249 list-style-image: url("chrome://browser/skin/icons/stop.gif");
252 list-style-image: url("chrome://browser/skin/icons/stop-hover.gif");
254 #stop-button[disabled="true"] {
255 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
259 list-style-image: url("chrome://browser/skin/icons/home.gif");
262 list-style-image: url("chrome://browser/skin/icons/home-hover.gif");
264 #home-button[disabled="true"] {
265 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
269 list-style-image: url("chrome://browser/skin/icons/print.gif");
271 #print-button:hover {
272 list-style-image: url("chrome://browser/skin/icons/print-hover.gif");
274 #print-button[disabled="true"] {
275 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
279 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
281 #new-tab-button:hover {
282 list-style-image: url("chrome://browser/skin/icons/new-tab-hover.gif");
284 #new-tab-button[disabled="true"] {
285 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
289 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
291 #new-window-button:hover {
292 list-style-image: url("chrome://browser/skin/icons/new-window-hover.gif");
294 #new-window-button[disabled="true"] {
295 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
299 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
301 #downloads-button:hover {
302 list-style-image: url("chrome://browser/skin/icons/downloads-hover.gif");
304 #downloads-button[disabled="true"] {
305 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
309 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
311 #bookmarks-button:hover {
312 list-style-image: url("chrome://browser/skin/icons/bookmarks-hover.gif");
314 #bookmarks-button[disabled="true"] {
315 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
319 list-style-image: url("chrome://browser/skin/icons/history.gif");
321 #history-button:hover {
322 list-style-image: url("chrome://browser/skin/icons/history-hover.gif");
324 #history-button[disabled="true"] {
325 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
329 /* ::::: small primary toolbar buttons ::::: */
331 toolbar[iconsize="small"] #back-button {
332 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
334 toolbar[iconsize="small"] #back-button:hover {
335 list-style-image: url("chrome://browser/skin/icons/back-small-hover.gif");
337 toolbar[iconsize="small"] #back-button[disabled="true"] {
338 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
341 toolbar[iconsize="small"] #forward-button {
342 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
344 toolbar[iconsize="small"] #forward-button:hover {
345 list-style-image: url("chrome://browser/skin/icons/forward-small-hover.gif");
347 toolbar[iconsize="small"] #forward-button[disabled="true"] {
348 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
351 toolbar[iconsize="small"] #reload-button {
352 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
354 toolbar[iconsize="small"] #reload-button:hover {
355 list-style-image: url("chrome://browser/skin/icons/reload-small-hover.gif");
357 toolbar[iconsize="small"] #reload-button[disabled="true"] {
358 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
361 toolbar[iconsize="small"] #stop-button {
362 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
364 toolbar[iconsize="small"] #stop-button:hover {
365 list-style-image: url("chrome://browser/skin/icons/stop-small-hover.gif");
367 toolbar[iconsize="small"] #stop-button[disabled="true"] {
368 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
371 toolbar[iconsize="small"] #home-button {
372 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
374 toolbar[iconsize="small"] #home-button:hover {
375 list-style-image: url("chrome://browser/skin/icons/home-small-hover.gif");
377 toolbar[iconsize="small"] #home-button[disabled="true"] {
378 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
381 toolbar[iconsize="small"] #print-button {
382 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
384 toolbar[iconsize="small"] #print-button:hover {
385 list-style-image: url("chrome://browser/skin/icons/print-small-hover.gif");
387 toolbar[iconsize="small"] #print-button[disabled="true"] {
388 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
391 toolbar[iconsize="small"] #downloads-button {
392 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
394 toolbar[iconsize="small"] #downloads-button:hover {
395 list-style-image: url("chrome://browser/skin/icons/downloads-small-hover.gif");
397 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
398 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
401 toolbar[iconsize="small"] #new-tab-button {
402 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
404 toolbar[iconsize="small"] #new-tab-button:hover {
405 list-style-image: url("chrome://browser/skin/icons/new-tab-small-hover.gif");
407 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
408 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
411 toolbar[iconsize="small"] #new-window-button {
412 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
414 toolbar[iconsize="small"] #new-window-button:hover {
415 list-style-image: url("chrome://browser/skin/icons/new-window-small-hover.gif");
417 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
418 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
421 toolbar[iconsize="small"] #bookmarks-button {
422 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
424 toolbar[iconsize="small"] #bookmarks-button:hover {
425 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-hover.gif");
427 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
428 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
431 toolbar[iconsize="small"] #history-button {
432 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
434 toolbar[iconsize="small"] #history-button:hover {
435 list-style-image: url("chrome://browser/skin/icons/history-small-hover.gif");
437 toolbar[iconsize="small"] #history-button[disabled="true"] {
438 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
442 /* ::::: fullscreen window controls ::::: */
445 -moz-box-align: center;
446 padding: 0 2px 0 0px;
447 border-left: 3px solid #000000;
452 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
454 #minimize-button:hover {
455 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
458 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
460 #restore-button:hover {
461 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
464 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
466 #close-button:hover {
467 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
470 /* ::::: nav-bar-inner ::::: */
480 /* ::::: page proxy icon ::::: */
494 #page-proxy-favicon {
495 list-style-image: none;
499 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
502 #page-proxy-button[pageproxystate="invalid"] {
504 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
508 statusbarpanel#statusbar-display {
512 /* ::::: search-bar ::::: */
514 #search-proxy-button {
516 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
519 /* ::::: autocomplete ::::: */
521 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
525 /* ::::: go button ::::: */
529 background-color: transparent;
534 list-style-image: url("chrome://browser/skin/icons/go.gif");
538 border: 1px solid transparent;
542 #go-button:hover:active {
543 list-style-image: url("chrome://browser/skin/icons/go-hover.gif");
544 border: 1px outset #CCD0DD;
547 #go-button[disabled="true"] {
548 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
549 border: 1px solid transparent;
552 #go-button > .button-box > .button-text {
553 margin-left: 5px !important;
556 #go-button > .button-box {
561 background-color: #CCD0DD;
564 /* ::::: content area ::::: */
574 #security-button[level="high"] {
575 list-style-image: url("chrome://browser/skin/icons/secure.gif");
579 #security-button[level="low"] {
580 list-style-image: url("chrome://browser/skin/icons/secure.gif");
584 #security-button[level="broken"] {
585 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
589 #page-report-button {
593 #page-report-button[blocked] {
595 list-style-image: url("chrome://browser/skin/icons/info.gif");
596 padding: 0px 3px 0px 3px;
599 /* ::::: throbber ::::: */
601 #navigator-throbber {
602 -moz-user-focus: ignore;
605 border: none !important;
606 padding: 0px !important;
608 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
610 #navigator-throbber[busy="true"] {
611 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
614 toolbar[iconsize="small"] #navigator-throbber,
615 toolbar[mode="text"] #navigator-throbber {
616 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
618 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
619 toolbar[mode="text"] #navigator-throbber[busy="true"] {
620 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
624 list-style-image: url("chrome://global/skin/icons/close-button.gif");
627 #content .tabs-closebutton {
628 list-style-image: url("chrome://browser/skin/Close-tab.png");
629 -moz-image-region: rect(0px, 18px, 14px, 0px);
632 #content .tabs-closebutton:hover {
633 -moz-image-region: rect(0px, 36px, 14px, 18px);
636 toolbarbutton.chevron {
637 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
641 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {