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"] {
62 padding: 2px 0px 0px 2px;
65 .bookmark-item > .toolbarbutton-icon {
70 /* Prevent [mode="icons"] from hiding the label */
71 .bookmark-item > .toolbarbutton-text {
72 display: -moz-box !important;
75 .bookmark-item > .toolbarbutton-menu-dropmarker {
79 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
82 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
85 .bookmarks-toolbar-customize {
87 max-width: 15em !important;
90 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
94 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
98 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
102 /* ::::: bookmark menus ::::: */
105 menuitem.bookmark-item {
108 border-top: 1px solid transparent !important;
109 border-bottom: 1px solid transparent !important;
110 padding: 1px 3px 1px 2px;
114 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
119 /* ..... drag and drop styles ..... */
121 .bookmark-item[dragover-left="true"] {
122 -moz-border-left-colors: #000000;
124 .bookmark-item[dragover-right="true"] {
125 -moz-border-right-colors: #000000;
127 .bookmark-item[dragover-top="true"] {
128 -moz-border-top-colors: #000000;
130 .bookmark-item[dragover-bottom="true"] {
131 -moz-border-bottom-colors: #000000;
134 /* ::::: bookmark items ::::: */
137 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
140 .bookmark-item[container="true"] {
141 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
143 .bookmark-item[open="true"],
144 .bookmark-item[container="true"][open="true"] {
145 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
148 /* ::::: primary toolbar buttons ::::: */
151 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
152 -moz-box-orient: vertical;
156 toolbarbutton:not([disabled="true"]):hover,
157 menubutton:not([disabled="true"]):hover,
158 toolbarbutton:not([disabled="true"]):hover:active,
159 menubutton:not([disabled="true"]):hover:active {
160 color: #000000 !important;
164 .toolbarbutton-menubutton-stack,
165 .toolbarbutton-menubutton-button,
166 .toolbarbutton-menubutton-stack:hover,
167 .toolbarbutton-menubutton-button:hover,
168 .toolbarbutton-menubutton-stack:hover:active,
169 .toolbarbutton-menubutton-button:hover:active {
170 margin: 0 !important;
175 toolbarbutton[type="menu-button"] {
176 -moz-box-orient: horizontal;
179 toolbar[mode="icons"] .toolbarbutton-text {
183 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
184 toolbar[mode="text"] .toolbarbutton-icon {
188 toolbar[mode="text"] .toolbarbutton-text {
189 padding: 0 !important;
190 margin: 3px 5px !important;
194 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
195 list-style-image: url("chrome://browser/skin/icons/back.gif");
197 #back-button[disabled="true"] {
198 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
202 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
203 list-style-image: url("chrome://browser/skin/icons/forward.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[disabled="true"] {
213 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
217 list-style-image: url("chrome://browser/skin/icons/stop.gif");
219 #stop-button[disabled="true"] {
220 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
224 list-style-image: url("chrome://browser/skin/icons/home.gif");
226 #home-button[disabled="true"] {
227 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
231 list-style-image: url("chrome://browser/skin/icons/print.gif");
233 #print-button[disabled="true"] {
234 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
238 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
240 #new-tab-button[disabled="true"] {
241 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
245 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
247 #new-window-button[disabled="true"] {
248 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
252 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
254 #downloads-button[disabled="true"] {
255 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
259 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
261 #bookmarks-button[disabled="true"] {
262 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
266 list-style-image: url("chrome://browser/skin/icons/history.gif");
268 #history-button[disabled="true"] {
269 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
273 list-style-image: url("chrome://browser/skin/icons/cut.gif");
275 #cut-button[disabled="true"] {
276 list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif");
280 list-style-image: url("chrome://browser/skin/icons/copy.gif");
282 #copy-button[disabled="true"] {
283 list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif");
287 list-style-image: url("chrome://browser/skin/icons/paste.gif");
289 #paste-button[disabled="true"] {
290 list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif");
294 /* ::::: small primary toolbar buttons ::::: */
296 toolbar[iconsize="small"] #back-button {
297 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
299 toolbar[iconsize="small"] #back-button[disabled="true"] {
300 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
303 toolbar[iconsize="small"] #forward-button {
304 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
306 toolbar[iconsize="small"] #forward-button[disabled="true"] {
307 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
310 toolbar[iconsize="small"] #reload-button {
311 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
313 toolbar[iconsize="small"] #reload-button[disabled="true"] {
314 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
317 toolbar[iconsize="small"] #stop-button {
318 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
320 toolbar[iconsize="small"] #stop-button[disabled="true"] {
321 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
324 toolbar[iconsize="small"] #home-button {
325 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
327 toolbar[iconsize="small"] #home-button[disabled="true"] {
328 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
331 toolbar[iconsize="small"] #print-button {
332 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
334 toolbar[iconsize="small"] #print-button[disabled="true"] {
335 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
338 toolbar[iconsize="small"] #downloads-button {
339 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
341 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
342 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
345 toolbar[iconsize="small"] #new-tab-button {
346 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
348 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
349 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
352 toolbar[iconsize="small"] #new-window-button {
353 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
355 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
356 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
359 toolbar[iconsize="small"] #bookmarks-button {
360 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
362 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
363 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
366 toolbar[iconsize="small"] #history-button {
367 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
369 toolbar[iconsize="small"] #history-button[disabled="true"] {
370 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
373 toolbar[iconsize="small"] #cut-button {
374 list-style-image: url("chrome://browser/skin/icons/cut-small.gif");
376 toolbar[iconsize="small"] #cut-button[disabled="true"] {
377 list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif");
380 toolbar[iconsize="small"] #copy-button {
381 list-style-image: url("chrome://browser/skin/icons/copy-small.gif");
383 toolbar[iconsize="small"] #copy-button[disabled="true"] {
384 list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif");
387 toolbar[iconsize="small"] #paste-button {
388 list-style-image: url("chrome://browser/skin/icons/paste-small.gif");
390 toolbar[iconsize="small"] #paste-button[disabled="true"] {
391 list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif");
395 /* Smaller padding on small toolbar buttons */
397 toolbar[iconsize="small"] .toolbarbutton-1 {
401 toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
402 toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
403 padding: 3px 1px 1px 3px;
406 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
407 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
408 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
409 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
413 toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
414 padding: 3px 1px 1px 3px !important;
417 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
418 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
419 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
420 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
421 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
422 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
423 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
427 /* ::::: fullscreen window controls ::::: */
430 -moz-box-align: center;
431 padding: 0 2px 0 4px;
432 border-left: 2px groove #CCD0DD;
436 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
439 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
442 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
445 /* ::::: nav-bar-inner ::::: */
455 /* ::::: page proxy icon ::::: */
469 #page-proxy-favicon {
470 list-style-image: none;
474 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
477 #page-proxy-button[pageproxystate="invalid"] {
479 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
483 statusbarpanel#statusbar-display {
487 /* ::::: search-bar ::::: */
489 #search-proxy-button {
491 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
495 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
498 /* ::::: autocomplete ::::: */
500 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
504 /* ::::: go button ::::: */
508 background-color: transparent;
513 list-style-image: url("chrome://browser/skin/icons/go.gif");
517 border: 1px solid transparent;
521 border: 1px outset #CCD0DD;
524 #go-button:hover:active {
525 border: 1px inset #CCD0DD;
528 #go-button[disabled="true"] {
529 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
530 border: 1px solid transparent;
533 #go-button > .button-box > .button-text {
534 margin-left: 5px !important;
537 #go-button > .button-box {
542 background-color: #CCD0DD;
545 /* ::::: content area ::::: */
555 #security-button[level="high"] {
556 list-style-image: url("chrome://browser/skin/icons/secure.gif");
560 #security-button[level="low"] {
561 list-style-image: url("chrome://browser/skin/icons/secure.gif");
565 #security-button[level="broken"] {
566 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
570 #page-report-button {
574 #page-report-button[blocked] {
576 list-style-image: url("chrome://browser/skin/icons/info.gif");
577 padding: 0px 3px 0px 3px;
584 #page-theme-button[themes] {
586 list-style-image: url("chrome://browser/skin/icons/page-themes.gif");
587 padding: 0px 3px 0px 3px;
590 /* ::::: throbber ::::: */
592 #navigator-throbber {
593 -moz-user-focus: ignore;
594 margin: 0 !important;
595 border: none !important;
596 padding: 0px !important;
598 background-color: transparent;
599 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
601 #navigator-throbber[busy="true"] {
602 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
605 toolbar[iconsize="small"] #navigator-throbber,
606 toolbar[mode="text"] #navigator-throbber {
607 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
609 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
610 toolbar[mode="text"] #navigator-throbber[busy="true"] {
611 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
615 list-style-image: url("chrome://global/skin/icons/close-button.gif");
618 #content .tabs-closebutton {
619 list-style-image: url("chrome://browser/skin/Close-tab.png");
620 -moz-image-region: rect(0px, 18px, 14px, 0px);
623 #content .tabs-closebutton:hover {
624 -moz-image-region: rect(0px, 36px, 14px, 18px);
627 toolbarbutton.chevron {
628 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
632 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
636 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
640 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
644 #sidebar-throbber[loading="true"] {
645 list-style-image: url(chrome://global/skin/icons/loading.gif);