complete sync of both themes with toolkit winstripe changes in Mozilla 16 cycle
[themes.git] / EarlyBlue / global / global.css
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 /* ===== global.css =====================================================
6   == Styles that apply everywhere.
7   ======================================================================= */
8
9 /* all localizable skin settings shall live here */
10 @import url("chrome://global/locale/intl.css");
11
12 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13
14 /* ::::: XBL bindings ::::: */
15
16 checkbox {
17   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
18 }
19
20 radio {
21   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
22 }
23
24 menulist > menupopup,
25 .menulist-menupopup {
26   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
27 }
28
29 .menulist-compact {
30   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
31 }
32
33 /*
34 progressmeter[mode="undetermined"] {
35   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
36 }
37 */
38
39 /* ::::: root elements ::::: */
40
41 window,
42 page,
43 dialog,
44 wizard,
45 prefwindow {
46   background-color: #CCD0DD;
47   color: #000000;
48   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
49 }
50
51 window.dialog {
52   padding-top: 8px;
53   padding-bottom: 10px;
54   -moz-padding-start: 8px;
55   -moz-padding-end: 10px;
56 }
57
58 /* ::::: alert icons :::::*/
59
60 .message-icon,
61 .alert-icon,
62 .error-icon,
63 .question-icon,
64 .authentication-icon {
65   width: 32px;
66   height: 32px;
67 }
68
69 .message-icon {
70   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
71 }
72
73 .alert-icon {
74   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
75 }
76
77 .error-icon {
78   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
79 }
80
81 .question-icon,
82 .authentication-icon {
83   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
84 }
85
86 /* ::::: iframe ::::: */
87
88 iframe {
89   border: none;
90   width: 100px;
91   height: 100px;
92   min-width: 10px;
93   min-height: 10px;
94 }
95
96 /* ::::: statusbar ::::: */
97
98 statusbar {
99   border-top: 1px solid #9999CC;
100   background-color: #666699;
101   color: #CCD0DD;
102   min-height: 16px;
103 }
104
105 statusbarpanel {
106   -moz-box-align: center;
107   -moz-box-pack: center;
108   padding: 0px 1px;
109 }
110
111 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
112   -moz-appearance: none;
113   border-top-style: none;
114   border-bottom-style: none;
115   -moz-border-start-style: none;
116 }
117
118 .statusbar-resizerpanel {
119   -moz-box-align: end;
120   -moz-box-pack: end;
121   padding: 0px;
122 }
123
124 .statusbarpanel-iconic,
125 .statusbarpanel-iconic-text,
126 .statusbarpanel-menu-iconic {
127   padding: 0px 1px;
128 }
129
130 .toolbar-focustarget {
131   -moz-user-focus: ignore !important;
132 }
133
134 toolbar[mode="text"] .toolbarbutton-text {
135   /* padding: 0 !important;
136   margin: 3px 5px !important; */
137 }
138
139 /* ::::: miscellaneous formatting ::::: */
140
141 :root:-moz-lwtheme,
142 [lwthemefooter="true"] {
143   -moz-appearance: none;
144 }
145
146 :root:-moz-lwtheme-darktext {
147   text-shadow: 0 -0.5px 1.5px #FFFFFF;
148 }
149
150 :root:-moz-lwtheme-brighttext {
151   text-shadow: 1px 1px 2px #000000;
152 }
153
154 statusbar:-moz-lwtheme,
155 sidebarheader:-moz-lwtheme {
156   -moz-appearance: none;
157   background: none;
158   border-style: none;
159 }
160
161 .inset {
162   border: 1px inset #CCD0DD;
163   /* margin: 0px 5px 5px; */
164 }
165
166 .outset {
167   border: 1px outset #CCD0DD;
168 }
169
170 /* separators */
171 separator:not([orient="vertical"]) {
172   height: 1.5em;
173 }
174
175 separator[orient="vertical"] {
176   width: 1.5em;
177 }
178
179 separator.thin:not([orient="vertical"]) {
180   height: 0.5em;
181 }
182
183 separator.thin[orient="vertical"] {
184   width: 0.5em;
185 }
186
187 separator.groove:not([orient="vertical"]) {
188   border-top: 2px groove #CCD0DD;
189   height: 0px;
190   margin-top: 0.4em;
191   margin-bottom: 0.4em;
192 }
193
194 separator.groove[orient="vertical"] {
195   border-left: 2px groove #CCD0DD;
196   -moz-margin-start: 0.4em;
197   -moz-margin-end: 0.4em;
198 }
199
200 /* groove separators (0 padding, for dividing effects) */
201 separator.groove-thin {
202   border-top: 2px groove #CCD0DD;
203   height: 0px;
204 }
205
206 separator[orient="vertical"].groove-thin {
207   border-left: 2px groove #CCD0DD;
208 }
209
210 .small-margin {
211   margin: 0px 1px;
212 }
213
214 .plain {
215   -moz-appearance: none;
216   margin: 0px !important;
217   border: none;
218   padding: 0px;
219 }
220
221 description, label  {
222   cursor: default;
223   margin: 1px 3px;
224 }
225
226 label[disabled="true"] {
227   color: #808080;
228 }
229
230 description {
231 /*  margin-bottom: 4px; */
232 }
233
234 .tooltip-label {
235   margin: 0px;
236 }
237
238 .header {
239   font-weight: bold;
240 }
241
242 .monospace {
243   font-family: "Liberation Mono", Consolas, "Courier New", monospace;
244 }
245
246 .indent {
247 /*  -moz-margin-start: 23px; */
248   -moz-margin-start: 15px;
249 }
250
251 .box-padded {
252   padding: 5px;
253 }
254
255 .spaced {
256   margin: 1px 3px;
257 }
258
259 .wizard-box {
260   padding: 15px 35px 10px;
261 }
262
263 .text-link {
264   color: blue;
265   text-decoration: underline;
266   cursor: pointer;
267 }
268
269 .text-link:-moz-focusring {
270   /* Don't specify the outline-color, we should always use initial value. */
271   outline: 1px dotted;
272 }
273
274 /* :::::: autoscroll popup ::::: */
275
276 .autoscroller {
277   height: 28px;
278   width: 28px;
279   border: 0px;
280   margin: -14px;
281   padding: 0px;
282   background-image: url("chrome://global/skin/icons/autoscroll.png");
283   background-color: transparent;
284   -moz-appearance: none;
285 }
286
287 .autoscroller[scrolldir="NS"] {
288   background-position: left center;
289 }
290
291 .autoscroller[scrolldir="EW"] {
292   background-position: left bottom;
293 }
294
295 .autoscroller[transparent="true"] {
296   background-position: center top;
297 }
298
299 .autoscroller[transparent="true"][scrolldir="NS"] {
300   background-position: center center;
301 }
302
303 .autoscroller[transparent="true"][scrolldir="EW"] {
304   background-position: center bottom;
305 }
306
307 .autoscroller[translucent="true"] {
308   background-position: right top;
309 }
310
311 .autoscroller[translucent="true"][scrolldir="NS"] {
312   background-position: right center;
313 }
314
315 .autoscroller[translucent="true"][scrolldir="EW"] {
316   background-position: right bottom;
317 }