fix 2.30 review comments, hamburger button display, some overridden icons, and checkb...
[themes.git] / LCARStrek / global / global.css
CommitLineData
9099c61d
RK
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/. */
351107c9 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
351107c9 12@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13
b1eaa419 14/* ::::: XBL bindings ::::: */
351107c9 15
3d6dd546 16checkbox {
17 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
18}
19
b1eaa419 20radio {
3d6dd546 21 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
351107c9 22}
23
e82e1bf4 24menulist > menupopup {
b1eaa419 25 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
351107c9 26}
27
351107c9 28/* LCARStrek special bindings */
29
b1eaa419 30statusbar {
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
32}
33
34toolbar {
35 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
36}
37
38menubar {
39 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
dd676468
RK
40}
41
42toolbaritem > menubar {
b36fc72e 43 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
b1eaa419 44}
3a121502 45
ee49f520 46@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
3cf61cef 47 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96b206fe
RK
48 toolbar.chromeclass-menubar {
49 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
50 border-bottom: none;
51 }
52}
53
b1eaa419 54/* ::::: root elements ::::: */
55
56window,
57page,
58dialog,
c79d2bbe
RK
59wizard,
60prefwindow {
b1eaa419 61 background-color: #000000;
62 color: #FF9F00;
63/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
4ed82c79 64 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
b1eaa419 65 padding: 3px;
66}
67
68/* deprecated */
3d6dd546 69window.dialog {
b1eaa419 70 background-color: #000000;
02920d2b
RK
71 padding-top: 8px;
72 padding-bottom: 10px;
73 -moz-padding-start: 8px;
74 -moz-padding-end: 10px;
b1eaa419 75}
76
b1eaa419 77/* ::::: alert icons :::::*/
78
79.message-icon,
80.alert-icon,
81.error-icon,
c79d2bbe
RK
82.question-icon,
83.authentication-icon {
b1eaa419 84 width: 32px;
85 height: 32px;
86}
87
88.message-icon {
89 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
90}
91
92.alert-icon {
93 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
94}
95
96.error-icon {
97 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
98}
99
c79d2bbe
RK
100.question-icon,
101.authentication-icon {
b1eaa419 102 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
103}
104
105/* ::::: iframe ::::: */
106
107iframe {
108 border: none;
109 width: 100px;
110 height: 100px;
111 min-width: 10px;
112 min-height: 10px;
113}
114
115/* ::::: statusbar ::::: */
116
117statusbar {
118 margin-top: 3px;
c79d2bbe 119 min-height: 16px;
b1eaa419 120}
121
122.statusbar-center {
123 background-color: #8050B0;
8caa872d 124 -moz-padding-start: 2px;
507ac708 125 color: #FFCF00;
d0646e4a 126 -moz-box-align: stretch;
b1eaa419 127}
128
129.statusbar-left {
569543b3 130 border-radius: 9px 0px 0px 9px;
b1eaa419 131 background-color: #6000CF;
132 width: 13px;
8caa872d 133 -moz-margin-end: 3px;
b1eaa419 134}
135
136.statusbar-right {
569543b3 137 border-radius: 0px 9px 9px 0px;
b1eaa419 138 background-color: #6000CF;
139 width: 13px;
8caa872d 140 -moz-margin-start: 3px;
b1eaa419 141}
142
143statusbarpanel {
144 -moz-box-align: center;
145 -moz-box-pack: center;
2184a049 146 border-left: 3px solid black;
507ac708 147 padding: 0px 2px;
b1eaa419 148}
3d6dd546 149
2184a049
RK
150statusbarpanel:first-child {
151 border-left: none;
152}
153
a064a540
RK
154statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
155 -moz-appearance: none;
156 border-top-style: none;
157 border-bottom-style: none;
158 -moz-border-start-style: none;
159}
160
b1eaa419 161.statusbar-resizerpanel {
162 -moz-box-align: end;
163 -moz-box-pack: end;
164 padding: 0px;
165}
166
cfae8c74
RK
167.statusbarpanel-iconic,
168.statusbarpanel-iconic-text,
169.statusbarpanel-menu-iconic {
507ac708
RK
170}
171
172.statusbarpanel-progress {
173 -moz-box-orient: vertical;
9e9946be 174 padding: 0px;
3d6dd546 175}
b1eaa419 176
b1eaa419 177.toolbar-focustarget {
178 -moz-user-focus: ignore !important;
179}
6046f027 180
18f5421a
RK
181toolbar[mode="text"] .toolbarbutton-text {
182 /* padding: 0 !important;
183 margin: 3px 5px !important; */
184}
185
cfae8c74
RK
186/* ::::: miscellaneous formatting ::::: */
187
3b1530c2
RK
188:root:-moz-lwtheme,
189[lwthemefooter="true"] {
190 -moz-appearance: none;
191}
192
193:root:-moz-lwtheme-darktext {
24547055 194 text-shadow: 0 -0.5px 1.5px #FFCF00;
3b1530c2
RK
195}
196
197:root:-moz-lwtheme-brighttext {
198 text-shadow: 1px 1px 2px #000000;
199}
200
201statusbar:-moz-lwtheme,
202sidebarheader:-moz-lwtheme {
203 -moz-appearance: none;
204 background: none;
205 border-style: none;
206}
207
cfae8c74
RK
208.inset {
209/* border: 1px inset #FF9F00;
02920d2b 210 margin: 0px 5px 5px; */
cfae8c74
RK
211}
212
213.outset {
214/* border: 1px outset #FF9F00; */
215}
216
217/* separators */
218separator:not([orient="vertical"]) {
219 height: 1.5em;
220}
221
222separator[orient="vertical"] {
223 width: 1.5em;
224}
225
226separator.thin:not([orient="vertical"]) {
227 height: 0.5em;
228}
229
230separator.thin[orient="vertical"] {
231 width: 0.5em;
232}
233
234separator.groove:not([orient="vertical"]) {
235 border-top: 2px groove #FF9F00;
236 height: 0px;
237 margin-top: 0.4em;
238 margin-bottom: 0.4em;
239}
240
241separator.groove[orient="vertical"] {
242 border-left: 2px groove #FF9F00;
8caa872d
RK
243 -moz-margin-start: 0.4em;
244 -moz-margin-end: 0.4em;
cfae8c74
RK
245}
246
247/* groove separators (0 padding, for dividing effects) */
248separator.groove-thin {
249 border-top: 2px groove #FF9F00;
250 height: 0px;
251}
252
253separator[orient="vertical"].groove-thin {
254 border-left: 2px groove #FF9F00;
255}
256
257.small-margin {
258 margin: 0px 1px;
259}
260
261.plain {
18f5421a 262 -moz-appearance: none;
cfae8c74
RK
263 margin: 0px !important;
264 border: none;
265 padding: 0px;
266}
267
268description, label {
269 cursor: default;
d15efd04 270 margin: 1px 2px;
cfae8c74
RK
271}
272
273label[disabled="true"] {
274 color: #8050B0;
275}
276
277description {
278/* margin-bottom: 4px; */
279}
280
281.tooltip-label {
282 margin: 0px;
283}
284
285.header {
286 font-weight: bold;
287}
288
289.monospace {
8ad8bf83 290 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
cfae8c74
RK
291}
292
293.indent {
8caa872d
RK
294/* -moz-margin-start: 23px; */
295 -moz-margin-start: 15px;
cfae8c74
RK
296}
297
298.box-padded {
299 padding: 5px;
300}
301
302.spaced {
303 margin: 1px 3px;
304}
305
306.wizard-box {
02920d2b 307 padding: 15px 35px 10px;
cfae8c74
RK
308}
309
310.text-link {
dbd844cb 311 color: #3333FF;
cfae8c74
RK
312 cursor: pointer;
313}
314
a6c8d0f5
RK
315.text-link:hover {
316 text-decoration: underline;
317}
318
024ec655 319.text-link:-moz-focusring {
cfae8c74
RK
320 /* Don't specify the outline-color, we should always use initial value. */
321 outline: 1px dotted;
322}
323
c79d2bbe
RK
324/* :::::: autoscroll popup ::::: */
325
18f5421a 326.autoscroller {
c79d2bbe
RK
327 height: 28px;
328 width: 28px;
329 border: 0px;
330 margin: -14px;
331 padding: 0px;
332 background-image: url("chrome://global/skin/icons/autoscroll.png");
333 background-color: transparent;
334 -moz-appearance: none;
335}
336
18f5421a 337.autoscroller[scrolldir="NS"] {
c79d2bbe
RK
338 background-position: left center;
339}
340
18f5421a 341.autoscroller[scrolldir="EW"] {
c79d2bbe
RK
342 background-position: left bottom;
343}
344
18f5421a 345.autoscroller[transparent="true"] {
c79d2bbe
RK
346 background-position: center top;
347}
348
18f5421a 349.autoscroller[transparent="true"][scrolldir="NS"] {
c79d2bbe
RK
350 background-position: center center;
351}
352
18f5421a 353.autoscroller[transparent="true"][scrolldir="EW"] {
c79d2bbe
RK
354 background-position: center bottom;
355}
356
18f5421a 357.autoscroller[translucent="true"] {
c79d2bbe
RK
358 background-position: right top;
359}
360
18f5421a 361.autoscroller[translucent="true"][scrolldir="NS"] {
c79d2bbe
RK
362 background-position: right center;
363}
364
18f5421a 365.autoscroller[translucent="true"][scrolldir="EW"] {
c79d2bbe 366 background-position: right bottom;
6046f027 367}