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