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");
48 /* ::::: bookmark buttons ::::: */
50 toolbarbutton.bookmark-item {
58 toolbarbutton.bookmark-item:hover:active,
59 toolbarbutton.bookmark-item[open="true"] {
60 padding: 2px 0px 0px 2px;
63 .bookmark-item > .toolbarbutton-icon {
68 /* Prevent [mode="icons"] from hiding the label */
69 .bookmark-item > .toolbarbutton-text {
70 display: -moz-box !important;
73 .bookmark-item > .toolbarbutton-menu-dropmarker {
77 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
80 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
83 .bookmarks-toolbar-customize {
85 max-width: 15em !important;
88 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
92 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
96 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
100 /* ::::: bookmark menus ::::: */
103 menuitem.bookmark-item {
106 border-top: 1px solid transparent !important;
107 border-bottom: 1px solid transparent !important;
108 padding: 1px 3px 1px 2px;
112 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
117 /* ..... drag and drop styles ..... */
119 .bookmark-item[dragover-left="true"] {
120 -moz-border-left-colors: #000000;
122 .bookmark-item[dragover-right="true"] {
123 -moz-border-right-colors: #000000;
125 .bookmark-item[dragover-top="true"] {
126 -moz-border-top-colors: #000000;
128 .bookmark-item[dragover-bottom="true"] {
129 -moz-border-bottom-colors: #000000;
132 /* ::::: bookmark items ::::: */
135 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
138 .bookmark-item[container="true"] {
139 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
141 .bookmark-item[open="true"],
142 .bookmark-item[container="true"][open="true"] {
143 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
146 /* ::::: primary toolbar buttons ::::: */
149 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
150 -moz-box-orient: vertical;
154 toolbarbutton:not([disabled="true"]):hover,
155 menubutton:not([disabled="true"]):hover,
156 toolbarbutton:not([disabled="true"]):hover:active,
157 menubutton:not([disabled="true"]):hover:active {
158 color: #000000 !important;
162 .toolbarbutton-menubutton-stack,
163 .toolbarbutton-menubutton-button,
164 .toolbarbutton-menubutton-stack:hover,
165 .toolbarbutton-menubutton-button:hover,
166 .toolbarbutton-menubutton-stack:hover:active,
167 .toolbarbutton-menubutton-button:hover:active {
168 margin: 0 !important;
173 toolbarbutton[type="menu-button"] {
174 -moz-box-orient: horizontal;
177 toolbar[mode="icons"] .toolbarbutton-text {
181 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
182 toolbar[mode="text"] .toolbarbutton-icon {
186 toolbar[mode="text"] .toolbarbutton-text {
187 padding: 0 !important;
188 margin: 3px 5px !important;
192 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
193 list-style-image: url("chrome://browser/skin/icons/back.gif");
195 #back-button[disabled="true"] {
196 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
200 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
201 list-style-image: url("chrome://browser/skin/icons/forward.gif");
203 #forward-button[disabled="true"] {
204 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
208 list-style-image: url("chrome://browser/skin/icons/reload.gif");
210 #reload-button[disabled="true"] {
211 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
215 list-style-image: url("chrome://browser/skin/icons/stop.gif");
217 #stop-button[disabled="true"] {
218 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
222 list-style-image: url("chrome://browser/skin/icons/home.gif");
224 #home-button[disabled="true"] {
225 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
229 list-style-image: url("chrome://browser/skin/icons/print.gif");
231 #print-button[disabled="true"] {
232 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
236 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
238 #new-tab-button[disabled="true"] {
239 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
243 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
245 #new-window-button[disabled="true"] {
246 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
250 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
252 #downloads-button[disabled="true"] {
253 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
257 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
259 #bookmarks-button[disabled="true"] {
260 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
264 list-style-image: url("chrome://browser/skin/icons/history.gif");
266 #history-button[disabled="true"] {
267 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
271 /* ::::: small primary toolbar buttons ::::: */
273 toolbar[iconsize="small"] #back-button {
274 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
276 toolbar[iconsize="small"] #back-button[disabled="true"] {
277 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
280 toolbar[iconsize="small"] #forward-button {
281 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
283 toolbar[iconsize="small"] #forward-button[disabled="true"] {
284 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
287 toolbar[iconsize="small"] #reload-button {
288 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
290 toolbar[iconsize="small"] #reload-button[disabled="true"] {
291 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
294 toolbar[iconsize="small"] #stop-button {
295 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
297 toolbar[iconsize="small"] #stop-button[disabled="true"] {
298 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
301 toolbar[iconsize="small"] #home-button {
302 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
304 toolbar[iconsize="small"] #home-button[disabled="true"] {
305 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
308 toolbar[iconsize="small"] #print-button {
309 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
311 toolbar[iconsize="small"] #print-button[disabled="true"] {
312 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
315 toolbar[iconsize="small"] #downloads-button {
316 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
318 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
319 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
322 toolbar[iconsize="small"] #new-tab-button {
323 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
325 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
326 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
329 toolbar[iconsize="small"] #new-window-button {
330 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
332 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
333 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
336 toolbar[iconsize="small"] #bookmarks-button {
337 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
339 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
340 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
343 toolbar[iconsize="small"] #history-button {
344 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
346 toolbar[iconsize="small"] #history-button[disabled="true"] {
347 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
351 /* ::::: fullscreen window controls ::::: */
354 -moz-box-align: center;
355 padding: 0 2px 0 4px;
356 border-left: 2px groove #CCD0DD;
360 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
363 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
366 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
369 /* ::::: nav-bar-inner ::::: */
379 /* ::::: page proxy icon ::::: */
393 #page-proxy-favicon {
394 list-style-image: none;
398 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
401 #page-proxy-button[pageproxystate="invalid"] {
403 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
407 statusbarpanel#statusbar-display {
411 /* ::::: search-bar ::::: */
413 #search-proxy-button {
415 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
418 /* ::::: autocomplete ::::: */
420 .autocomplete-treebody:-moz-tree-cell-text(treecolAutoCompleteComment) {
424 /* ::::: go button ::::: */
428 background-color: transparent;
433 list-style-image: url("chrome://browser/skin/icons/go.gif");
437 border: 1px solid transparent;
441 border: 1px outset #CCD0DD;
444 #go-button:hover:active {
445 border: 1px inset #CCD0DD;
448 #go-button[disabled="true"] {
449 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
450 border: 1px solid transparent;
453 #go-button > .button-box > .button-text {
454 margin-left: 5px !important;
457 #go-button > .button-box {
462 background-color: #CCD0DD;
465 /* ::::: content area ::::: */
475 #security-button[level="high"] {
476 list-style-image: url("chrome://browser/skin/icons/secure.gif");
480 #security-button[level="low"] {
481 list-style-image: url("chrome://browser/skin/icons/secure.gif");
485 #security-button[level="broken"] {
486 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
490 #page-report-button {
494 #page-report-button[blocked] {
496 list-style-image: url("chrome://browser/skin/icons/info.gif");
497 padding: 0px 3px 0px 3px;
500 /* ::::: throbber ::::: */
502 #navigator-throbber {
503 -moz-user-focus: ignore;
504 margin: 0 !important;
505 border: none !important;
506 padding: 0px !important;
508 background-color: transparent;
509 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
511 #navigator-throbber[busy="true"] {
512 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
515 toolbar[iconsize="small"] #navigator-throbber,
516 toolbar[mode="text"] #navigator-throbber {
517 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
519 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
520 toolbar[mode="text"] #navigator-throbber[busy="true"] {
521 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
525 list-style-image: url("chrome://global/skin/icons/close-button.gif");
528 #content .tabs-closebutton {
529 list-style-image: url("chrome://browser/skin/Close-tab.png");
530 -moz-image-region: rect(0px, 18px, 14px, 0px);
533 #content .tabs-closebutton:hover {
534 -moz-image-region: rect(0px, 36px, 14px, 18px);
537 toolbarbutton.chevron {
538 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
542 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {