some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[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
16radio {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio");
18}
19
20menulist > menupopup {
21 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
22}
23
24/* ::::: Variables ::::: */
25:root {
26 --arrowpanel-padding: 6px;
27 --arrowpanel-background: #CCD0DD;
28 --arrowpanel-color: #000000;
29 --arrowpanel-border-color: #CCD0DD;
30}
31
32/* ::::: root elements ::::: */
33
34window,
35page,
36dialog,
37wizard,
38prefwindow {
39 background-color: #CCD0DD;
40 color: #000000;
41 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
42}
43
44window.dialog {
45 padding-top: 8px;
46 padding-bottom: 10px;
47 padding-inline-start: 8px;
48 padding-inline-end: 10px;
49}
50
51/* ::::: alert icons :::::*/
52
53.message-icon,
54.alert-icon,
55.error-icon,
56.question-icon,
57.authentication-icon {
58 width: 32px;
59 height: 32px;
60}
61
62.message-icon {
63 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
64}
65
66.alert-dialog #info\.icon,
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
82iframe {
83 border: none;
84 width: 100px;
85 height: 100px;
86 min-width: 10px;
87 min-height: 10px;
88}
89
90/* ::::: statusbar ::::: */
91
92statusbar {
93 border-top: 1px solid #9999CC;
94 background-color: #666699;
95 color: #CCD0DD;
96 min-height: 16px;
97}
98
99statusbarpanel {
100 -moz-box-align: center;
101 -moz-box-pack: center;
102 padding: 0px 1px;
103}
104
105statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
106 -moz-appearance: none;
107 border-top-style: none;
108 border-bottom-style: none;
109 border-inline-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
128toolbar[mode="text"] .toolbarbutton-text {
129 /* padding: 0 !important;
130 margin: 3px 5px !important; */
131}
132
133/* ::::: miscellaneous formatting ::::: */
134
135:root:-moz-lwtheme {
136 -moz-appearance: none;
137}
138
139:root:-moz-lwtheme-darktext {
140 text-shadow: 0 -0.5px 1.5px #FFFFFF;
141}
142
143:root:-moz-lwtheme-brighttext {
144 text-shadow: 1px 1px 2px #000000;
145}
146
147statusbar:-moz-lwtheme,
148sidebarheader:-moz-lwtheme {
149 -moz-appearance: none;
150 background: none;
151 border-style: none;
152}
153
154.inset {
155 border: 1px inset #CCD0DD;
156 /* margin: 0px 5px 5px; */
157}
158
159.outset {
160 border: 1px outset #CCD0DD;
161}
162
163/* separators */
164separator:not([orient="vertical"]) {
165 height: 1.5em;
166}
167
168separator[orient="vertical"] {
169 width: 1.5em;
170}
171
172separator.thin:not([orient="vertical"]) {
173 height: 0.5em;
174}
175
176separator.thin[orient="vertical"] {
177 width: 0.5em;
178}
179
180separator.groove:not([orient="vertical"]) {
181 border-top: 2px groove #CCD0DD;
182 height: 0px;
183 margin-top: 0.4em;
184 margin-bottom: 0.4em;
185}
186
187separator.groove[orient="vertical"] {
188 border-left: 2px groove #CCD0DD;
189 margin-inline-start: 0.4em;
190 margin-inline-end: 0.4em;
191}
192
193/* groove separators (0 padding, for dividing effects) */
194separator.groove-thin {
195 border-top: 2px groove #CCD0DD;
196 height: 0px;
197}
198
199separator[orient="vertical"].groove-thin {
200 border-left: 2px groove #CCD0DD;
201}
202
203.small-margin {
204 margin: 0px 1px;
205}
206
207.plain {
208 -moz-appearance: none;
209 margin: 0px !important;
210 border: none;
211 padding: 0px;
212}
213
214description, label {
215 cursor: default;
216 margin: 1px 3px;
217}
218
219label[disabled="true"] {
220 color: #808080;
221}
222
223description {
224/* margin-bottom: 4px; */
225}
226
227.tooltip-label {
228 margin: 0px;
229}
230
231.header {
232 font-weight: bold;
233}
234
235.monospace {
236 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
237}
238
239.indent {
240/* margin-inline-start: 23px; */
241 margin-inline-start: 15px;
242}
243
244.box-padded {
245 padding: 5px;
246}
247
248.spaced {
249 margin: 1px 3px;
250}
251
252.wizard-box {
253 padding: 15px 35px 10px;
254}
255
256.text-link {
257 color: blue;
258 cursor: pointer;
259}
260
261.text-link:hover {
262 text-decoration: underline;
263}
264
265.text-link:-moz-focusring {
266 /* Don't specify the outline-color, we should always use initial value. */
267 outline: 1px dotted;
268}
269
270popupnotificationcontent {
271 margin-top: .5em;
272}
273
274/* === BEGIN notification-popup.inc.css === */
275
276.popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
277 /* In order to display the action buttons near the edge of the arrow panel we
278 * have to reset its default padding and specify the padding in the individual
279 * "popupnotification" elements instead. To keep the rounded borders of the
280 * panel, we also have to ensure the contents are clipped to the border box
281 * by hiding the overflow, and we have to override the "display" property so
282 * that the height of the contents is computed correctly in that case. */
283 padding: 0;
284 overflow: hidden;
285 display: block;
286}
287
288/* === END notification-popup.inc.css === */
289
290/* :::::: autoscroll popup ::::: */
291
292.autoscroller {
293 height: 28px;
294 width: 28px;
295 border: 0px;
296 margin: -14px;
297 padding: 0px;
298 background-image: url("chrome://global/skin/icons/autoscroll.png");
299 background-color: transparent;
300 -moz-appearance: none;
301}
302
303.autoscroller[scrolldir="NS"] {
304 background-position: left center;
305}
306
307.autoscroller[scrolldir="EW"] {
308 background-position: left bottom;
309}
310
311.autoscroller[transparent="true"] {
312 background-position: center top;
313}
314
315.autoscroller[transparent="true"][scrolldir="NS"] {
316 background-position: center center;
317}
318
319.autoscroller[transparent="true"][scrolldir="EW"] {
320 background-position: center bottom;
321}
322
323.autoscroller[translucent="true"] {
324 background-position: right top;
325}
326
327.autoscroller[translucent="true"][scrolldir="NS"] {
328 background-position: right center;
329}
330
331.autoscroller[translucent="true"][scrolldir="EW"] {
332 background-position: right bottom;
333}