second and final part of syncing both themes with toolkit windows theme changes in...
[themes.git] / EarlyBlue / global / global.css
... / ...
CommitLineData
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
16checkbox {
17 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
18}
19
20radio {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
22}
23
24menulist > 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
38window,
39page,
40dialog,
41wizard,
42prefwindow {
43 background-color: #CCD0DD;
44 color: #000000;
45 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
46}
47
48window.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
86iframe {
87 border: none;
88 width: 100px;
89 height: 100px;
90 min-width: 10px;
91 min-height: 10px;
92}
93
94/* ::::: statusbar ::::: */
95
96statusbar {
97 border-top: 1px solid #9999CC;
98 background-color: #666699;
99 color: #CCD0DD;
100 min-height: 16px;
101}
102
103statusbarpanel {
104 -moz-box-align: center;
105 -moz-box-pack: center;
106 padding: 0px 1px;
107}
108
109statusbarpanel: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
132toolbar[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
152statusbar:-moz-lwtheme,
153sidebarheader:-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 */
169separator:not([orient="vertical"]) {
170 height: 1.5em;
171}
172
173separator[orient="vertical"] {
174 width: 1.5em;
175}
176
177separator.thin:not([orient="vertical"]) {
178 height: 0.5em;
179}
180
181separator.thin[orient="vertical"] {
182 width: 0.5em;
183}
184
185separator.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
192separator.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) */
199separator.groove-thin {
200 border-top: 2px groove #CCD0DD;
201 height: 0px;
202}
203
204separator[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
219description, label {
220 cursor: default;
221 margin: 1px 3px;
222}
223
224label[disabled="true"] {
225 color: #808080;
226}
227
228description {
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
275popupnotificationcontent {
276 margin-top: .5em;
277}
278
279/* === BEGIN notification-popup.inc.css === */
280
281.popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
282 /* In order to display the action buttons near the edge of the arrow panel we
283 * have to reset its default padding and specify the padding in the individual
284 * "popupnotification" elements instead. To keep the rounded borders of the
285 * panel, we also have to ensure the contents are clipped to the border box
286 * by hiding the overflow, and we have to override the "display" property so
287 * that the height of the contents is computed correctly in that case. */
288 padding: 0;
289 overflow: hidden;
290 display: block;
291}
292
293/* === END notification-popup.inc.css === */
294
295/* :::::: autoscroll popup ::::: */
296
297.autoscroller {
298 height: 28px;
299 width: 28px;
300 border: 0px;
301 margin: -14px;
302 padding: 0px;
303 background-image: url("chrome://global/skin/icons/autoscroll.png");
304 background-color: transparent;
305 -moz-appearance: none;
306}
307
308.autoscroller[scrolldir="NS"] {
309 background-position: left center;
310}
311
312.autoscroller[scrolldir="EW"] {
313 background-position: left bottom;
314}
315
316.autoscroller[transparent="true"] {
317 background-position: center top;
318}
319
320.autoscroller[transparent="true"][scrolldir="NS"] {
321 background-position: center center;
322}
323
324.autoscroller[transparent="true"][scrolldir="EW"] {
325 background-position: center bottom;
326}
327
328.autoscroller[translucent="true"] {
329 background-position: right top;
330}
331
332.autoscroller[translucent="true"][scrolldir="NS"] {
333 background-position: right center;
334}
335
336.autoscroller[translucent="true"][scrolldir="EW"] {
337 background-position: right bottom;
338}