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 {
57 .bookmark-item > .toolbarbutton-icon {
62 /* Prevent [mode="icons"] from hiding the label */
63 .bookmark-item > .toolbarbutton-text {
64 display: -moz-box !important;
67 .bookmark-item > .toolbarbutton-menu-dropmarker {
71 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
74 background: url("chrome://browser/skin/Bookmarks-folder.png") no-repeat;
77 .bookmarks-toolbar-customize {
79 max-width: 15em !important;
82 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
86 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
90 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
94 /* ::::: bookmark menus ::::: */
97 menuitem.bookmark-item {
100 border-top: 1px solid transparent !important;
101 border-bottom: 1px solid transparent !important;
102 padding: 1px 3px 1px 2px;
106 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
111 /* ..... drag and drop styles ..... */
113 .bookmark-item[dragover-left="true"] {
114 -moz-border-left-colors: #000000;
116 .bookmark-item[dragover-right="true"] {
117 -moz-border-right-colors: #000000;
119 .bookmark-item[dragover-top="true"] {
120 -moz-border-top-colors: #000000;
122 .bookmark-item[dragover-bottom="true"] {
123 -moz-border-bottom-colors: #000000;
126 /* ::::: bookmark items ::::: */
129 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
132 .bookmark-item[container="true"] {
133 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
135 .bookmark-item[open="true"],
136 .bookmark-item[container="true"][open="true"] {
137 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
144 padding: 1px 3px 1px 2px;
145 list-style-image: url("chrome://browser/skin/icons/bookmark-group.gif");
148 /* ::::: primary toolbar buttons ::::: */
151 -moz-box-orient: vertical;
153 list-style-image: url("chrome://browser/skin/Toolbar.png");
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: ButtonText !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 -moz-image-region: rect(0px 320px 32px 288px);
240 #new-tab-button:hover,
241 #new-tab-button[checked="true"] {
242 -moz-image-region: rect(32px 320px 64px 288px);
244 #new-tab-button[disabled="true"] {
245 -moz-image-region: rect(64px 320px 96px 288px);
249 -moz-image-region: rect(0px 352px 32px 320px);
251 #new-window-button:hover,
252 #new-window-button[checked="true"] {
253 -moz-image-region: rect(32px 352px 64px 320px);
255 #new-window-button[disabled="true"] {
256 -moz-image-region: rect(64px 352px 96px 320px);
260 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
262 #downloads-button[disabled="true"] {
263 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
267 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
269 #bookmarks-button[disabled="true"] {
270 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
274 list-style-image: url("chrome://browser/skin/icons/history.gif");
276 #history-button[disabled="true"] {
277 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
281 /* ::::: small primary toolbar buttons ::::: */
283 toolbar[iconsize="small"] .toolbarbutton-1 {
284 list-style-image: url("chrome://browser/skin/Toolbar-small.png");
287 toolbar[iconsize="small"] #back-button {
288 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
290 toolbar[iconsize="small"] #back-button[disabled="true"] {
291 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
294 toolbar[iconsize="small"] #forward-button {
295 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
297 toolbar[iconsize="small"] #forward-button[disabled="true"] {
298 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
301 toolbar[iconsize="small"] #reload-button {
302 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
304 toolbar[iconsize="small"] #reload-button[disabled="true"] {
305 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
308 toolbar[iconsize="small"] #stop-button {
309 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
311 toolbar[iconsize="small"] #stop-button[disabled="true"] {
312 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
315 toolbar[iconsize="small"] #home-button {
316 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
318 toolbar[iconsize="small"] #home-button[disabled="true"] {
319 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
322 toolbar[iconsize="small"] #print-button {
323 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
325 toolbar[iconsize="small"] #print-button[disabled="true"] {
326 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
329 toolbar[iconsize="small"] #downloads-button {
330 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
332 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
333 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
336 toolbar[iconsize="small"] #new-tab-button {
337 -moz-image-region: rect(0px 200px 20px 180px);
339 toolbar[iconsize="small"] #new-tab-button:hover,
340 toolbar[iconsize="small"] #new-tab-button[checked="true"] {
341 -moz-image-region: rect(20px 200px 40px 180px);
343 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
344 -moz-image-region: rect(40px 200px 60px 180px) !important;
347 toolbar[iconsize="small"] #new-window-button {
348 -moz-image-region: rect(0px 220px 20px 200px);
350 toolbar[iconsize="small"] #new-window-button:hover,
351 toolbar[iconsize="small"] #new-window-button[checked="true"] {
352 -moz-image-region: rect(20px 220px 40px 200px);
354 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
355 -moz-image-region: rect(40px 220px 60px 200px) !important;
358 toolbar[iconsize="small"] #bookmarks-button {
359 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
361 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
362 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
365 toolbar[iconsize="small"] #history-button {
366 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
368 toolbar[iconsize="small"] #history-button[disabled="true"] {
369 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
373 /* ::::: fullscreen window controls ::::: */
376 -moz-box-align: center;
377 padding: 0 2px 0 4px;
378 border-left: 2px solid;
379 -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
383 list-style-image: url("chrome://navigator/skin/icons/minimize.gif");
386 list-style-image: url("chrome://navigator/skin/icons/restore.gif");
389 list-style-image: url("chrome://navigator/skin/icons/close.gif");
392 /* ::::: nav-bar-inner ::::: */
402 /* ::::: page proxy icon ::::: */
416 #page-proxy-favicon {
417 list-style-image: none;
421 list-style-image: url("chrome://global/skin/icons/Folder-item.png") !important;
422 -moz-image-region: rect(0px, 16px, 16px, 0px);}
424 #page-proxy-button[pageproxystate="invalid"] {
426 -moz-image-region: rect(32px, 16px, 48px, 0px); !important;
430 statusbarpanel#statusbar-display {
434 /* ::::: search-bar ::::: */
436 #search-proxy-button {
438 list-style-image: url("chrome://browser/skin/Search-bar.png");
441 /* ::::: autocomplete ::::: */
443 .autocomplete-treebody:-moz-tree-cell-text(treecolAutoCompleteComment) {
447 /* ::::: go button ::::: */
451 -moz-appearance: none;
452 background-color: transparent;
456 list-style-image: url("chrome://browser/skin/Go.png");
457 -moz-image-region: rect(0px, 20px, 20px, 0px);
461 -moz-appearance: toolbarbutton;
462 border-width: 1px !important;
463 -moz-border-top-colors: transparent;
464 -moz-border-right-colors: transparent;
465 -moz-border-bottom-colors: transparent;
466 -moz-border-left-colors: transparent;
467 -moz-appearance: toolbarbutton;
471 -moz-border-top-colors: ThreeDHighlight;
472 -moz-border-right-colors: ThreeDShadow;
473 -moz-border-bottom-colors: ThreeDShadow;
474 -moz-border-left-colors: ThreeDHighlight;
475 -moz-image-region: rect(0px, 40px, 20px, 20px);
478 #go-button:hover:active {
479 -moz-border-top-colors: ThreeDShadow;
480 -moz-border-right-colors: ThreeDHighlight;
481 -moz-border-bottom-colors: ThreeDHighlight;
482 -moz-border-left-colors: ThreeDShadow;
485 #go-button[disabled="true"] {
486 -moz-image-region: rect(0px, 60px, 20px, 40px);
487 border-color: transparent;
490 #go-button > .button-box > .button-text {
491 margin-left: 5px !important;
494 #go-button > .button-box {
499 background-color: Window;
502 /* ::::: content area ::::: */
512 #security-button[level="high"] {
513 list-style-image: url("chrome://browser/skin/Secure.png");
517 #security-button[level="low"] {
518 list-style-image: url("chrome://browser/skin/Secure.png");
522 #security-button[level="broken"] {
523 list-style-image: url("chrome://browser/skin/Security-broken.png");
527 #page-report-button {
531 #page-report-button[blocked] {
533 list-style-image: url("chrome://browser/skin/Info.png");
534 padding: 0px 3px 0px 3px;
537 /* ::::: throbber ::::: */
539 #navigator-throbber {
540 -moz-appearance: none;
541 -moz-user-focus: ignore;
542 margin: 0 !important;
543 border: none !important;
544 padding: 0px !important;
546 background-color: transparent;
547 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
549 #navigator-throbber[busy="true"] {
550 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
553 toolbar[iconsize="small"] #navigator-throbber,
554 toolbar[mode="text"] #navigator-throbber {
555 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
557 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
558 toolbar[mode="text"] #navigator-throbber[busy="true"] {
559 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
563 list-style-image: url("chrome://global/skin/icons/close-button.gif");
566 #content .tabs-closebutton {
567 list-style-image: url("chrome://browser/skin/Close-tab.png");
568 -moz-image-region: rect(0px, 20px, 16px, 0px);
571 #content .tabs-closebutton:hover {
572 -moz-image-region: rect(0px, 40px, 16px, 20px);
575 toolbarbutton.chevron {
576 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
580 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {