suite default theme changes on trunk from 1.9.1 branch point up to 2010-02-21
[themes.git] / EarlyBlue / global / global.css
... / ...
CommitLineData
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@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47/* ::::: XBL bindings ::::: */
48
49checkbox {
50 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
51}
52
53radio {
54 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
55}
56
57menulist > menupopup,
58.menulist-menupopup {
59 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
60}
61
62.menulist-compact {
63 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
64}
65
66/*
67progressmeter[mode="undetermined"] {
68 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
69}
70*/
71
72/* ::::: root elements ::::: */
73
74window,
75page,
76dialog,
77wizard,
78prefwindow {
79 background-color: #CCD0DD;
80 color: #000000;
81 font: 11px helvetica,arial,tahoma,sans-serif;
82}
83
84window.dialog {
85 padding-top: 8px;
86 padding-bottom: 10px;
87 -moz-padding-start: 8px;
88 -moz-padding-end: 10px;
89}
90
91/* ::::: alert icons :::::*/
92
93.message-icon,
94.alert-icon,
95.error-icon,
96.question-icon,
97.authentication-icon {
98 width: 32px;
99 height: 32px;
100}
101
102.message-icon {
103 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
104}
105
106.alert-icon {
107 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
108}
109
110.error-icon {
111 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
112}
113
114.question-icon,
115.authentication-icon {
116 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
117}
118
119/* ::::: iframe ::::: */
120
121iframe {
122 border: none;
123 width: 100px;
124 height: 100px;
125 min-width: 10px;
126 min-height: 10px;
127}
128
129/* ::::: statusbar ::::: */
130
131statusbar {
132 border-top: 1px solid #9999CC;
133 background-color: #666699;
134 color: #CCD0DD;
135 min-height: 16px;
136}
137
138statusbarpanel {
139 -moz-box-align: center;
140 -moz-box-pack: center;
141 padding: 0px 1px;
142}
143
144
145.statusbar-resizerpanel {
146 -moz-box-align: end;
147 -moz-box-pack: end;
148 padding: 0px;
149}
150
151.statusbarpanel-iconic,
152.statusbarpanel-iconic-text,
153.statusbarpanel-menu-iconic {
154 padding: 0px 1px;
155}
156
157window:not([active="true"]) menubar > menu {
158 color: #808080;
159}
160
161.toolbar-focustarget {
162 -moz-user-focus: ignore !important;
163}
164
165/* ::::: miscellaneous formatting ::::: */
166
167.inset {
168 border: 1px inset #CCD0DD;
169 /* margin: 0px 5px 5px; */
170}
171
172.outset {
173 border: 1px outset #CCD0DD;
174}
175
176/* separators */
177separator:not([orient="vertical"]) {
178 height: 1.5em;
179}
180
181separator[orient="vertical"] {
182 width: 1.5em;
183}
184
185separator.thin:not([orient="vertical"]) {
186 height: 0.5em;
187}
188
189separator.thin[orient="vertical"] {
190 width: 0.5em;
191}
192
193separator.groove:not([orient="vertical"]) {
194 border-top: 2px groove #CCD0DD;
195 height: 0px;
196 margin-top: 0.4em;
197 margin-bottom: 0.4em;
198}
199
200separator.groove[orient="vertical"] {
201 border-left: 2px groove #CCD0DD;
202 -moz-margin-start: 0.4em;
203 -moz-margin-end: 0.4em;
204}
205
206/* groove separators (0 padding, for dividing effects) */
207separator.groove-thin {
208 border-top: 2px groove #CCD0DD;
209 height: 0px;
210}
211
212separator[orient="vertical"].groove-thin {
213 border-left: 2px groove #CCD0DD;
214}
215
216.small-margin {
217 margin: 0px 1px;
218}
219
220.plain {
221 margin: 0px !important;
222 border: none;
223 padding: 0px;
224}
225
226description, label {
227 cursor: default;
228 margin: 1px 3px;
229}
230
231label[disabled="true"] {
232 color: #808080;
233}
234
235description {
236/* margin-bottom: 4px; */
237}
238
239.tooltip-label {
240 margin: 0px;
241}
242
243.header {
244 font-weight: bold;
245}
246
247.monospace {
248 font-family: monospace;
249}
250
251.indent {
252/* -moz-margin-start: 23px; */
253 -moz-margin-start: 15px;
254}
255
256.box-padded {
257 padding: 5px;
258}
259
260.spaced {
261 margin: 1px 3px;
262}
263
264.wizard-box {
265 padding: 15px 35px 10px;
266}
267
268.text-link {
269 color: blue;
270 text-decoration: underline;
271 cursor: pointer;
272}
273
274.text-link:focus {
275 color: red;
276 /* Don't specify the outline-color, we should always use initial value. */
277 outline: 1px dotted;
278}
279
280.text-link:hover:active {
281 color: red;
282}
283
284.text-link[visited="true"] {
285 color: purple;
286}
287
288/* :::::: autoscroll popup ::::: */
289
290#autoscroller {
291 height: 28px;
292 width: 28px;
293 border: 0px;
294 margin: -14px;
295 padding: 0px;
296 background-image: url("chrome://global/skin/icons/autoscroll.png");
297 background-color: transparent;
298 -moz-appearance: none;
299}
300
301#autoscroller[scrolldir="NS"] {
302 background-position: left center;
303}
304
305#autoscroller[scrolldir="EW"] {
306 background-position: left bottom;
307}
308
309#autoscroller[transparent="true"] {
310 background-position: center top;
311}
312
313#autoscroller[transparent="true"][scrolldir="NS"] {
314 background-position: center center;
315}
316
317#autoscroller[transparent="true"][scrolldir="EW"] {
318 background-position: center bottom;
319}
320
321#autoscroller[translucent="true"] {
322 background-position: right top;
323}
324
325#autoscroller[translucent="true"][scrolldir="NS"] {
326 background-position: right center;
327}
328
329#autoscroller[translucent="true"][scrolldir="EW"] {
330 background-position: right bottom;
331}