preliminary work for getting themes ready for suiterunner, add files we need for...
[themes.git] / EarlyBlue / global / global.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3  *
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/
8  *
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
12  * License.
13  *
14  * The Original Code is mozilla.org code.
15  *
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.
20  *
21  * Contributor(s):
22  *   Robert Kaiser <KaiRo@KaiRo.at>
23  *
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.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 /* ===== global.css =====================================================
39   == Styles that apply everywhere.
40   ======================================================================= */
41
42 /* all localizable skin settings shall live here */
43 @import url("chrome://global/locale/intl.css");
44
45 @import url("chrome://global/skin/formatting.css");
46
47 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
48
49 /* ::::: XBL bindings ::::: */
50
51 checkbox {
52   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
53 }
54
55 radio {
56   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
57 }
58
59 menulist > menupopup,
60 .menulist-menupopup {
61   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
62 }
63
64 .menulist-compact {
65   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
66 }
67
68 /*
69 progressmeter[mode="undetermined"] {
70   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
71 }
72 */
73
74 /* ::::: root elements ::::: */
75
76 window,
77 page,
78 dialog,
79 wizard {
80   background-color: #CCD0DD;
81   color: #000000;
82   font: 11px helvetica,arial,tahoma,sans-serif;
83 }
84
85 page {
86   padding: 3px;
87 }
88
89 /* deprecated */
90 window.dialog {
91   padding: 8px 10px 10px 8px;
92 }
93
94 [wait-cursor] {
95   cursor: wait !important;
96 }
97
98 /* ::::: alert icons :::::*/
99
100 .message-icon,
101 .alert-icon,
102 .error-icon,
103 .question-icon {
104   width: 32px;
105   height: 32px;
106 }
107
108 .message-icon {
109   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
110 }
111
112 .alert-icon {
113   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
114 }
115
116 .error-icon {
117   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
118 }
119
120 .question-icon {
121   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
122 }
123
124 /* ::::: iframe ::::: */
125
126 iframe {
127   border: none;
128   width: 100px;
129   height: 100px;
130   min-width: 10px;
131   min-height: 10px;
132 }
133
134 /* ::::: statusbar ::::: */
135
136 statusbar {
137   border-top: 1px solid #9999CC;
138   background-color: #666699;
139   color: #CCD0DD;
140   min-width: 1px;
141 }
142
143 statusbarpanel {
144   -moz-box-align: center;
145   -moz-box-pack: center;
146   padding: 0px 1px 0px 1px;
147 }
148
149
150 .statusbar-resizerpanel {
151   -moz-box-align: end;
152   -moz-box-pack: end;
153   padding: 0px;
154 }
155
156 .statusbarpanel-iconic {
157   padding: 0px;
158 }
159
160 resizer[dir="bottomright"] {
161   cursor: se-resize;
162 }
163
164 /* ::::: miscellaneous ::::: */
165
166 .toolbar-focustarget {
167   -moz-user-focus: ignore !important;
168 }
169
170 description.error {
171   color: #FF0000;
172 }