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