update both themes for toolkit winstripe trunk changes up to 2009-11-06
[themes.git] / EarlyBlue / global / global.css
CommitLineData
128000f4 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
f6e0a33f 3 *
128000f4 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/
f6e0a33f 8 *
128000f4 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.
f6e0a33f 13 *
128000f4 14 * The Original Code is mozilla.org code.
15 *
76983f4c 16 * The Initial Developer of the Original Code is
128000f4 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998-1999
19 * the Initial Developer. All Rights Reserved.
f6e0a33f 20 *
21 * Contributor(s):
128000f4 22 * Robert Kaiser <KaiRo@KaiRo.at>
f6e0a33f 23 *
128000f4 24 * Alternatively, the contents of this file may be used under the terms of
76983f4c 25 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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 ***** */
f6e0a33f 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
f6e0a33f 45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
74d14f90 47/* ::::: XBL bindings ::::: */
f6e0a33f 48
76983f4c 49checkbox {
50 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
51}
52
74d14f90 53radio {
76983f4c 54 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
f6e0a33f 55}
74d14f90 56
57menulist > menupopup,
58.menulist-menupopup {
59 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
f6e0a33f 60}
61
74d14f90 62.menulist-compact {
ecb2fda9 63 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
f6e0a33f 64}
65
caf7fc11 66/*
67progressmeter[mode="undetermined"] {
68 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
69}
70*/
71
74d14f90 72/* ::::: root elements ::::: */
73
74window,
75page,
76dialog,
df8c26c4
RK
77wizard,
78prefwindow {
74d14f90 79 background-color: #CCD0DD;
80 color: #000000;
c8120ee9 81 font: 11px helvetica,arial,tahoma,sans-serif;
74d14f90 82}
d36c7ec4 83
76983f4c 84window.dialog {
02920d2b
RK
85 padding-top: 8px;
86 padding-bottom: 10px;
87 -moz-padding-start: 8px;
88 -moz-padding-end: 10px;
74d14f90 89}
90
74d14f90 91/* ::::: alert icons :::::*/
92
93.message-icon,
94.alert-icon,
95.error-icon,
6c5a63bb
RK
96.question-icon,
97.authentication-icon {
74d14f90 98 width: 32px;
99 height: 32px;
100}
128000f4 101
74d14f90 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
6c5a63bb
RK
114.question-icon,
115.authentication-icon {
74d14f90 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;
df8c26c4 135 min-height: 16px;
74d14f90 136}
137
138statusbarpanel {
139 -moz-box-align: center;
140 -moz-box-pack: center;
d8de8145 141 padding: 0px 1px;
74d14f90 142}
143
144
145.statusbar-resizerpanel {
146 -moz-box-align: end;
147 -moz-box-pack: end;
148 padding: 0px;
149}
150
7862e6ee
RK
151.statusbarpanel-iconic,
152.statusbarpanel-iconic-text,
153.statusbarpanel-menu-iconic {
154 padding: 0px 1px;
76983f4c 155}
74d14f90 156
7862e6ee
RK
157window:not([active="true"]) menubar > menu {
158 color: #808080;
159}
160
74d14f90 161.toolbar-focustarget {
162 -moz-user-focus: ignore !important;
3eaf1060 163}
56029caf 164
18f5421a
RK
165toolbar[mode="text"] .toolbarbutton-text {
166 /* padding: 0 !important;
167 margin: 3px 5px !important; */
168}
169
7862e6ee
RK
170/* ::::: miscellaneous formatting ::::: */
171
3b1530c2
RK
172:root:-moz-lwtheme,
173[lwthemefooter="true"] {
174 -moz-appearance: none;
175}
176
177:root:-moz-lwtheme-darktext {
178 text-shadow: 1px 1px 2px #FFFFFF;
179}
180
181:root:-moz-lwtheme-brighttext {
182 text-shadow: 1px 1px 2px #000000;
183}
184
185statusbar:-moz-lwtheme,
186sidebarheader:-moz-lwtheme {
187 -moz-appearance: none;
188 background: none;
189 border-style: none;
190}
191
7862e6ee
RK
192.inset {
193 border: 1px inset #CCD0DD;
02920d2b 194 /* margin: 0px 5px 5px; */
7862e6ee
RK
195}
196
197.outset {
198 border: 1px outset #CCD0DD;
199}
200
201/* separators */
202separator:not([orient="vertical"]) {
203 height: 1.5em;
204}
205
206separator[orient="vertical"] {
207 width: 1.5em;
208}
209
210separator.thin:not([orient="vertical"]) {
211 height: 0.5em;
212}
213
214separator.thin[orient="vertical"] {
215 width: 0.5em;
216}
217
218separator.groove:not([orient="vertical"]) {
219 border-top: 2px groove #CCD0DD;
220 height: 0px;
221 margin-top: 0.4em;
222 margin-bottom: 0.4em;
223}
224
225separator.groove[orient="vertical"] {
226 border-left: 2px groove #CCD0DD;
8caa872d
RK
227 -moz-margin-start: 0.4em;
228 -moz-margin-end: 0.4em;
7862e6ee
RK
229}
230
231/* groove separators (0 padding, for dividing effects) */
232separator.groove-thin {
233 border-top: 2px groove #CCD0DD;
234 height: 0px;
235}
236
237separator[orient="vertical"].groove-thin {
238 border-left: 2px groove #CCD0DD;
239}
240
241.small-margin {
242 margin: 0px 1px;
243}
244
245.plain {
18f5421a 246 -moz-appearance: none;
7862e6ee
RK
247 margin: 0px !important;
248 border: none;
249 padding: 0px;
250}
251
252description, label {
253 cursor: default;
254 margin: 1px 3px;
255}
256
257label[disabled="true"] {
258 color: #808080;
259}
260
261description {
262/* margin-bottom: 4px; */
263}
264
265.tooltip-label {
266 margin: 0px;
267}
268
269.header {
270 font-weight: bold;
271}
272
273.monospace {
274 font-family: monospace;
275}
276
277.indent {
8caa872d
RK
278/* -moz-margin-start: 23px; */
279 -moz-margin-start: 15px;
7862e6ee
RK
280}
281
282.box-padded {
283 padding: 5px;
284}
285
286.spaced {
287 margin: 1px 3px;
288}
289
290.wizard-box {
02920d2b 291 padding: 15px 35px 10px;
7862e6ee
RK
292}
293
294.text-link {
295 color: blue;
296 text-decoration: underline;
297 cursor: pointer;
298}
299
300.text-link:focus {
7862e6ee
RK
301 /* Don't specify the outline-color, we should always use initial value. */
302 outline: 1px dotted;
303}
304
56029caf
RK
305/* :::::: autoscroll popup ::::: */
306
18f5421a 307.autoscroller {
56029caf
RK
308 height: 28px;
309 width: 28px;
310 border: 0px;
311 margin: -14px;
312 padding: 0px;
c79d2bbe 313 background-image: url("chrome://global/skin/icons/autoscroll.png");
56029caf
RK
314 background-color: transparent;
315 -moz-appearance: none;
316}
317
18f5421a 318.autoscroller[scrolldir="NS"] {
56029caf
RK
319 background-position: left center;
320}
321
18f5421a 322.autoscroller[scrolldir="EW"] {
56029caf
RK
323 background-position: left bottom;
324}
325
18f5421a 326.autoscroller[transparent="true"] {
56029caf
RK
327 background-position: center top;
328}
329
18f5421a 330.autoscroller[transparent="true"][scrolldir="NS"] {
56029caf
RK
331 background-position: center center;
332}
333
18f5421a 334.autoscroller[transparent="true"][scrolldir="EW"] {
56029caf
RK
335 background-position: center bottom;
336}
337
18f5421a 338.autoscroller[translucent="true"] {
56029caf
RK
339 background-position: right top;
340}
341
18f5421a 342.autoscroller[translucent="true"][scrolldir="NS"] {
56029caf
RK
343 background-position: right center;
344}
345
18f5421a 346.autoscroller[translucent="true"][scrolldir="EW"] {
56029caf
RK
347 background-position: right bottom;
348}