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");
50 /* ::::: bookmark buttons ::::: */
52 toolbarbutton.bookmark-item {
60 toolbarbutton.bookmark-item:hover:active,
61 toolbarbutton.bookmark-item[open="true"] {
64 -moz-padding-start: 2px;
65 -moz-padding-end: 0px;
68 .bookmark-item > .toolbarbutton-icon {
73 /* Prevent [mode="icons"] from hiding the label */
74 .bookmark-item > .toolbarbutton-text {
75 display: -moz-box !important;
78 .bookmark-item > .toolbarbutton-menu-dropmarker {
82 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
85 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
88 .bookmarks-toolbar-customize {
90 max-width: 15em !important;
93 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
97 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
101 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
105 /* ::::: bookmark menus ::::: */
108 menuitem.bookmark-item {
111 border-top: 1px solid transparent !important;
112 border-bottom: 1px solid transparent !important;
115 -moz-padding-start: 2px;
116 -moz-padding-end: 3px;
120 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
125 /* ..... drag and drop styles ..... */
127 .bookmark-item[dragover-left="true"] {
128 -moz-border-left-colors: #000000;
130 .bookmark-item[dragover-right="true"] {
131 -moz-border-right-colors: #000000;
133 .bookmark-item[dragover-top="true"] {
134 -moz-border-top-colors: #000000;
136 .bookmark-item[dragover-bottom="true"] {
137 -moz-border-bottom-colors: #000000;
140 /* ::::: bookmark items ::::: */
143 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
146 .bookmark-item[container="true"] {
147 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
149 .bookmark-item[open="true"],
150 .bookmark-item[container="true"][open="true"] {
151 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
154 /* ::::: primary toolbar buttons ::::: */
157 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
158 -moz-box-orient: vertical;
162 toolbarbutton:not([disabled="true"]):hover,
163 menubutton:not([disabled="true"]):hover,
164 toolbarbutton:not([disabled="true"]):hover:active,
165 menubutton:not([disabled="true"]):hover:active {
166 color: #000000 !important;
170 .toolbarbutton-menubutton-stack,
171 .toolbarbutton-menubutton-button,
172 .toolbarbutton-menubutton-stack:hover,
173 .toolbarbutton-menubutton-button:hover,
174 .toolbarbutton-menubutton-stack:hover:active,
175 .toolbarbutton-menubutton-button:hover:active {
176 margin: 0 !important;
181 toolbarbutton[type="menu-button"] {
182 -moz-box-orient: horizontal;
185 toolbar[mode="icons"] .toolbarbutton-text {
189 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
190 toolbar[mode="text"] .toolbarbutton-icon {
194 toolbar[mode="text"] .toolbarbutton-text {
195 padding: 0 !important;
196 margin: 3px 5px !important;
200 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
201 list-style-image: url("chrome://browser/skin/icons/back.gif");
203 #back-button[disabled="true"] {
204 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
208 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
209 list-style-image: url("chrome://browser/skin/icons/forward.gif");
211 #forward-button[disabled="true"] {
212 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
216 list-style-image: url("chrome://browser/skin/icons/reload.gif");
218 #reload-button[disabled="true"] {
219 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
223 list-style-image: url("chrome://browser/skin/icons/stop.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");
232 #home-button[disabled="true"] {
233 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
237 list-style-image: url("chrome://browser/skin/icons/print.gif");
239 #print-button[disabled="true"] {
240 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
244 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
246 #new-tab-button[disabled="true"] {
247 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
251 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
253 #new-window-button[disabled="true"] {
254 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
258 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
260 #downloads-button[disabled="true"] {
261 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
265 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
267 #bookmarks-button[disabled="true"] {
268 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
272 list-style-image: url("chrome://browser/skin/icons/history.gif");
274 #history-button[disabled="true"] {
275 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
279 list-style-image: url("chrome://browser/skin/icons/cut.gif");
281 #cut-button[disabled="true"] {
282 list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif");
286 list-style-image: url("chrome://browser/skin/icons/copy.gif");
288 #copy-button[disabled="true"] {
289 list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif");
293 list-style-image: url("chrome://browser/skin/icons/paste.gif");
295 #paste-button[disabled="true"] {
296 list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif");
300 /* ::::: small primary toolbar buttons ::::: */
302 toolbar[iconsize="small"] #back-button {
303 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
305 toolbar[iconsize="small"] #back-button[disabled="true"] {
306 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
309 toolbar[iconsize="small"] #forward-button {
310 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
312 toolbar[iconsize="small"] #forward-button[disabled="true"] {
313 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
316 toolbar[iconsize="small"] #reload-button {
317 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
319 toolbar[iconsize="small"] #reload-button[disabled="true"] {
320 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
323 toolbar[iconsize="small"] #stop-button {
324 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
326 toolbar[iconsize="small"] #stop-button[disabled="true"] {
327 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
330 toolbar[iconsize="small"] #home-button {
331 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
333 toolbar[iconsize="small"] #home-button[disabled="true"] {
334 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
337 toolbar[iconsize="small"] #print-button {
338 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
340 toolbar[iconsize="small"] #print-button[disabled="true"] {
341 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
344 toolbar[iconsize="small"] #downloads-button {
345 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
347 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
348 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
351 toolbar[iconsize="small"] #new-tab-button {
352 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
354 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
355 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
358 toolbar[iconsize="small"] #new-window-button {
359 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
361 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
362 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
365 toolbar[iconsize="small"] #bookmarks-button {
366 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
368 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
369 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
372 toolbar[iconsize="small"] #history-button {
373 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
375 toolbar[iconsize="small"] #history-button[disabled="true"] {
376 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
379 toolbar[iconsize="small"] #cut-button {
380 list-style-image: url("chrome://browser/skin/icons/cut-small.gif");
382 toolbar[iconsize="small"] #cut-button[disabled="true"] {
383 list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif");
386 toolbar[iconsize="small"] #copy-button {
387 list-style-image: url("chrome://browser/skin/icons/copy-small.gif");
389 toolbar[iconsize="small"] #copy-button[disabled="true"] {
390 list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif");
393 toolbar[iconsize="small"] #paste-button {
394 list-style-image: url("chrome://browser/skin/icons/paste-small.gif");
396 toolbar[iconsize="small"] #paste-button[disabled="true"] {
397 list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif");
401 /* Smaller padding on small toolbar buttons */
403 toolbar[iconsize="small"] .toolbarbutton-1 {
407 toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
408 toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
411 -moz-padding-start: 3px;
412 -moz-padding-end: 1px;
415 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
416 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
417 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
418 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
422 toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
423 padding-top: 3px !important;
424 padding-bottom: 1px !important;
425 -moz-padding-start: 3px !important;
426 -moz-padding-end: 1px !important;
429 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
430 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
431 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
432 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
433 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
434 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
435 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
439 /* ::::: fullscreen window controls ::::: */
442 -moz-box-align: center;
445 -moz-padding-start: 4px;
446 -moz-padding-end: 2px;
447 border-left: 2px groove #CCD0DD;
451 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
454 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
457 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
460 /* ::::: nav-bar-inner ::::: */
470 /* ::::: page proxy icon ::::: */
484 #page-proxy-favicon {
485 list-style-image: none;
489 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
492 #page-proxy-button[pageproxystate="invalid"] {
494 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
498 statusbarpanel#statusbar-display {
499 -moz-padding-start: 0;
502 /* ::::: search-bar ::::: */
504 #search-proxy-button {
506 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
510 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
513 /* ::::: autocomplete ::::: */
515 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
519 /* ::::: go button ::::: */
523 background-color: transparent;
528 list-style-image: url("chrome://browser/skin/icons/go.gif");
532 border: 1px solid transparent;
536 border: 1px outset #CCD0DD;
539 #go-button:hover:active {
540 border: 1px inset #CCD0DD;
543 #go-button[disabled="true"] {
544 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
545 border: 1px solid transparent;
548 #go-button > .button-box > .button-text {
549 -moz-margin-start: 5px !important;
552 #go-button > .button-box {
557 background-color: #CCD0DD;
560 /* ::::: content area ::::: */
570 #security-button[level="high"] {
571 list-style-image: url("chrome://browser/skin/icons/secure.gif");
575 #security-button[level="low"] {
576 list-style-image: url("chrome://browser/skin/icons/secure.gif");
580 #security-button[level="broken"] {
581 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
585 #page-report-button {
589 #page-report-button[blocked] {
591 list-style-image: url("chrome://browser/skin/icons/info.gif");
599 #page-theme-button[themes] {
601 list-style-image: url("chrome://browser/skin/icons/page-themes.gif");
605 /* ::::: throbber ::::: */
607 #navigator-throbber {
608 -moz-user-focus: ignore;
609 margin: 0 !important;
610 border: none !important;
611 padding: 0px !important;
613 background-color: transparent;
614 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
616 #navigator-throbber[busy="true"] {
617 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
620 toolbar[iconsize="small"] #navigator-throbber,
621 toolbar[mode="text"] #navigator-throbber {
622 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
624 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
625 toolbar[mode="text"] #navigator-throbber[busy="true"] {
626 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
630 list-style-image: url("chrome://global/skin/icons/close-button.gif");
633 #content .tabs-closebutton {
634 list-style-image: url("chrome://browser/skin/Close-tab.png");
635 -moz-image-region: rect(0px, 18px, 14px, 0px);
638 #content .tabs-closebutton:hover {
639 -moz-image-region: rect(0px, 36px, 14px, 18px);
642 toolbarbutton.chevron {
643 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
647 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
651 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
655 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
659 #sidebar-throbber[loading="true"] {
660 list-style-image: url(chrome://global/skin/icons/loading.gif);