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