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/icons/bookmarks-folder.gif") 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;
155 toolbarbutton:not([disabled="true"]):hover,
156 menubutton:not([disabled="true"]):hover,
157 toolbarbutton:not([disabled="true"]):hover:active,
158 menubutton:not([disabled="true"]):hover:active {
159 color: ButtonText !important;
163 .toolbarbutton-menubutton-stack,
164 .toolbarbutton-menubutton-button,
165 .toolbarbutton-menubutton-stack:hover,
166 .toolbarbutton-menubutton-button:hover,
167 .toolbarbutton-menubutton-stack:hover:active,
168 .toolbarbutton-menubutton-button:hover:active {
169 margin: 0 !important;
174 toolbarbutton[type="menu-button"] {
175 -moz-box-orient: horizontal;
178 toolbar[mode="icons"] .toolbarbutton-text {
182 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
183 toolbar[mode="text"] .toolbarbutton-icon {
187 toolbar[mode="text"] .toolbarbutton-text {
188 padding: 0 !important;
189 margin: 3px 5px !important;
193 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
194 list-style-image: url("chrome://browser/skin/icons/back.gif");
196 #back-button[disabled="true"] {
197 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
201 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
202 list-style-image: url("chrome://browser/skin/icons/forward.gif");
204 #forward-button[disabled="true"] {
205 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
209 list-style-image: url("chrome://browser/skin/icons/reload.gif");
211 #reload-button[disabled="true"] {
212 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
216 list-style-image: url("chrome://browser/skin/icons/stop.gif");
218 #stop-button[disabled="true"] {
219 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
223 list-style-image: url("chrome://browser/skin/icons/home.gif");
225 #home-button[disabled="true"] {
226 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
230 list-style-image: url("chrome://browser/skin/icons/print.gif");
232 #print-button[disabled="true"] {
233 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
237 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
239 #new-tab-button[disabled="true"] {
240 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
244 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
246 #new-window-button[disabled="true"] {
247 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
251 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
253 #downloads-button[disabled="true"] {
254 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
258 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
260 #bookmarks-button[disabled="true"] {
261 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
265 list-style-image: url("chrome://browser/skin/icons/history.gif");
267 #history-button[disabled="true"] {
268 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
272 /* ::::: small primary toolbar buttons ::::: */
274 toolbar[iconsize="small"] #back-button {
275 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
277 toolbar[iconsize="small"] #back-button[disabled="true"] {
278 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
281 toolbar[iconsize="small"] #forward-button {
282 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
284 toolbar[iconsize="small"] #forward-button[disabled="true"] {
285 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
288 toolbar[iconsize="small"] #reload-button {
289 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
291 toolbar[iconsize="small"] #reload-button[disabled="true"] {
292 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
295 toolbar[iconsize="small"] #stop-button {
296 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
298 toolbar[iconsize="small"] #stop-button[disabled="true"] {
299 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
302 toolbar[iconsize="small"] #home-button {
303 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
305 toolbar[iconsize="small"] #home-button[disabled="true"] {
306 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
309 toolbar[iconsize="small"] #print-button {
310 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
312 toolbar[iconsize="small"] #print-button[disabled="true"] {
313 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
316 toolbar[iconsize="small"] #downloads-button {
317 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
319 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
320 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
323 toolbar[iconsize="small"] #new-tab-button {
324 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
326 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
327 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
330 toolbar[iconsize="small"] #new-window-button {
331 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
333 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
334 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
337 toolbar[iconsize="small"] #bookmarks-button {
338 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
340 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
341 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
344 toolbar[iconsize="small"] #history-button {
345 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
347 toolbar[iconsize="small"] #history-button[disabled="true"] {
348 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
352 /* ::::: fullscreen window controls ::::: */
355 -moz-box-align: center;
356 padding: 0 2px 0 4px;
357 border-left: 2px solid;
358 -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
362 list-style-image: url("chrome://navigator/skin/icons/minimize.gif");
365 list-style-image: url("chrome://navigator/skin/icons/restore.gif");
368 list-style-image: url("chrome://navigator/skin/icons/close.gif");
371 /* ::::: nav-bar-inner ::::: */
381 /* ::::: page proxy icon ::::: */
395 #page-proxy-favicon {
396 list-style-image: none;
400 list-style-image: url("chrome://browser/skin/icons/bookmark-item.png") !important;
402 #page-proxy-button[pageproxystate="invalid"] {
404 list-style-image: none !important;
408 statusbarpanel#statusbar-display {
412 /* ::::: search-bar ::::: */
414 #search-proxy-button {
416 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
419 /* ::::: autocomplete ::::: */
421 .autocomplete-treebody:-moz-tree-cell-text(treecolAutoCompleteComment) {
425 /* ::::: go button ::::: */
429 -moz-appearance: none;
430 background-color: transparent;
434 list-style-image: url("chrome://browser/skin/icons/go.gif");
438 border-width: 1px !important;
439 -moz-border-top-colors: transparent;
440 -moz-border-right-colors: transparent;
441 -moz-border-bottom-colors: transparent;
442 -moz-border-left-colors: transparent;
446 -moz-border-top-colors: ThreeDHighlight;
447 -moz-border-right-colors: ThreeDShadow;
448 -moz-border-bottom-colors: ThreeDShadow;
449 -moz-border-left-colors: ThreeDHighlight;
452 #go-button:hover:active {
453 -moz-border-top-colors: ThreeDShadow;
454 -moz-border-right-colors: ThreeDHighlight;
455 -moz-border-bottom-colors: ThreeDHighlight;
456 -moz-border-left-colors: ThreeDShadow;
459 #go-button[disabled="true"] {
460 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
461 border-color: transparent;
464 #go-button > .button-box > .button-text {
465 margin-left: 5px !important;
468 #go-button > .button-box {
473 background-color: Window;
476 /* ::::: content area ::::: */
486 #security-button[level="high"] {
487 list-style-image: url("chrome://browser/skin/icons/secure.gif");
491 #security-button[level="low"] {
492 list-style-image: url("chrome://browser/skin/icons/secure.gif");
496 #security-button[level="broken"] {
497 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
501 #page-report-button {
505 #page-report-button[blocked] {
507 list-style-image: url("chrome://browser/skin/icons/info.gif");
508 padding: 0px 3px 0px 3px;
511 /* ::::: throbber ::::: */
513 #navigator-throbber {
514 -moz-appearance: none;
515 -moz-user-focus: ignore;
516 margin: 0 !important;
517 border: none !important;
518 padding: 0px !important;
520 background-color: transparent;
521 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
523 #navigator-throbber[busy="true"] {
524 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
527 toolbar[iconsize="small"] #navigator-throbber,
528 toolbar[mode="text"] #navigator-throbber {
529 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
531 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
532 toolbar[mode="text"] #navigator-throbber[busy="true"] {
533 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
537 list-style-image: url("chrome://global/skin/icons/close-button.gif");
540 #content .tabs-closebutton {
541 list-style-image: url("chrome://browser/skin/Close-tab.png");
542 -moz-image-region: rect(0px, 20px, 16px, 0px);
545 #content .tabs-closebutton:hover {
546 -moz-image-region: rect(0px, 40px, 16px, 20px);
549 toolbarbutton.chevron {
550 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
554 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {