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 * Robert Kaiser <KaiRo@KaiRo.at>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the NPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the NPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 /* ===== global.css =====================================================
39 == Styles that apply everywhere.
40 ======================================================================= */
42 /* all localizable skin settings shall live here */
43 @import url("chrome://global/locale/intl.css");
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47 /* ::::: XBL bindings ::::: */
50 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
54 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
59 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
63 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
67 progressmeter[mode="undetermined"] {
68 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
72 /* ::::: root elements ::::: */
79 background-color: #CCD0DD;
81 font: 11px helvetica,arial,tahoma,sans-serif;
87 -moz-padding-start: 8px;
88 -moz-padding-end: 10px;
91 /* ::::: alert icons :::::*/
97 .authentication-icon {
103 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
107 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
111 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
115 .authentication-icon {
116 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
119 /* ::::: iframe ::::: */
129 /* ::::: statusbar ::::: */
132 border-top: 1px solid #9999CC;
133 background-color: #666699;
139 -moz-box-align: center;
140 -moz-box-pack: center;
145 .statusbar-resizerpanel {
151 .statusbarpanel-iconic,
152 .statusbarpanel-iconic-text,
153 .statusbarpanel-menu-iconic {
157 window:not([active="true"]) menubar > menu {
161 .toolbar-focustarget {
162 -moz-user-focus: ignore !important;
165 /* ::::: miscellaneous formatting ::::: */
168 border: 1px inset #CCD0DD;
169 /* margin: 0px 5px 5px; */
173 border: 1px outset #CCD0DD;
177 separator:not([orient="vertical"]) {
181 separator[orient="vertical"] {
185 separator.thin:not([orient="vertical"]) {
189 separator.thin[orient="vertical"] {
193 separator.groove:not([orient="vertical"]) {
194 border-top: 2px groove #CCD0DD;
197 margin-bottom: 0.4em;
200 separator.groove[orient="vertical"] {
201 border-left: 2px groove #CCD0DD;
202 -moz-margin-start: 0.4em;
203 -moz-margin-end: 0.4em;
206 /* groove separators (0 padding, for dividing effects) */
207 separator.groove-thin {
208 border-top: 2px groove #CCD0DD;
212 separator[orient="vertical"].groove-thin {
213 border-left: 2px groove #CCD0DD;
221 margin: 0px !important;
231 label[disabled="true"] {
236 /* margin-bottom: 4px; */
248 font-family: monospace;
252 /* -moz-margin-start: 23px; */
253 -moz-margin-start: 15px;
265 padding: 15px 35px 10px;
270 text-decoration: underline;
276 /* Don't specify the outline-color, we should always use initial value. */
280 .text-link:hover:active {
284 .text-link[visited="true"] {
288 /* :::::: autoscroll popup ::::: */
296 background-image: url("chrome://global/skin/icons/autoscroll.png");
297 background-color: transparent;
298 -moz-appearance: none;
301 #autoscroller[scrolldir="NS"] {
302 background-position: left center;
305 #autoscroller[scrolldir="EW"] {
306 background-position: left bottom;
309 #autoscroller[transparent="true"] {
310 background-position: center top;
313 #autoscroller[transparent="true"][scrolldir="NS"] {
314 background-position: center center;
317 #autoscroller[transparent="true"][scrolldir="EW"] {
318 background-position: center bottom;
321 #autoscroller[translucent="true"] {
322 background-position: right top;
325 #autoscroller[translucent="true"][scrolldir="NS"] {
326 background-position: right center;
329 #autoscroller[translucent="true"][scrolldir="EW"] {
330 background-position: right bottom;