Commit | Line | Data |
---|---|---|
328248ba | 1 | /* default font and colors */ |
460b9539 | 2 | body { |
3 | color: black; | |
4 | background-color: white | |
328248ba | 5 | font-family: serif; |
6 | font-weight: normal; | |
7 | font-size: 12pt; | |
8 | font-variant: normal | |
460b9539 | 9 | } |
10 | ||
11 | /* general link colors */ | |
12 | a:link { | |
13 | color: blue | |
14 | } | |
15 | ||
16 | a:visited { | |
17 | color: blue | |
18 | } | |
19 | ||
20 | a:active { | |
21 | color: red | |
22 | } | |
23 | ||
328248ba | 24 | /* title bars */ |
460b9539 | 25 | h1.title { |
26 | font-family: sans-serif; | |
27 | font-weight: bold; | |
328248ba | 28 | font-size: 18pt; |
29 | font-variant: normal; | |
460b9539 | 30 | text-align: center; |
328248ba | 31 | border: 1px solid black; |
32 | padding: 0.2em; | |
21c8e53a | 33 | background-color: #e0e0e0; |
34 | display: block | |
328248ba | 35 | } |
36 | ||
37 | /* secondary titles */ | |
38 | h2 { | |
39 | font-family: sans-serif; | |
40 | font-weight: bold; | |
41 | font-size: 16pt; | |
42 | font-variant: normal; | |
21c8e53a | 43 | display: block |
460b9539 | 44 | } |
45 | ||
78efa64e | 46 | /* playing, recent and new ***************************************************/ |
460b9539 | 47 | |
48 | /* table of current and future tracks */ | |
49 | table.playing { | |
50 | width: 100%; /* use the full available width */ | |
51 | border-spacing: 0 /* no unsightly gaps between cells */ | |
52 | } | |
53 | ||
54 | /* table of recently played tracks */ | |
55 | table.recent { | |
56 | width: 100%; /* use the full available width */ | |
57 | border-spacing: 0 /* no unsightly gaps between cells */ | |
58 | } | |
59 | ||
78efa64e RK |
60 | /* table of newly added played tracks */ |
61 | table.new { | |
62 | width: 100%; /* use the full available width */ | |
63 | border-spacing: 0 /* no unsightly gaps between cells */ | |
64 | } | |
65 | ||
460b9539 | 66 | /* titles in tables */ |
67 | th { | |
68 | text-align: left | |
69 | } | |
70 | ||
71 | /* ordinary cells in tables */ | |
72 | td { | |
6398b077 | 73 | vertical-align: middle |
460b9539 | 74 | } |
75 | ||
76 | /* the headings <tr> of the table */ | |
77 | tr.headings { | |
78 | background-color: black; | |
79 | color: white | |
80 | } | |
81 | ||
82 | /* The 'now playing' heading */ | |
83 | tr.nowplaying { | |
84 | } | |
85 | ||
86 | td.nowplaying { | |
87 | background-color: #d0d0d0; | |
88 | font-weight: bold; | |
89 | text-align: center | |
90 | } | |
91 | ||
92 | /* the currently playing track */ | |
93 | tr.playing { | |
94 | background-color: #e0ffe0 /* pastel green */ | |
95 | } | |
96 | ||
97 | /* the "next" heading */ | |
98 | tr.next { | |
99 | } | |
100 | ||
101 | td.next { | |
102 | background-color: #d0d0d0; | |
103 | font-weight: bold; | |
104 | text-align: center | |
105 | } | |
106 | ||
107 | /* even-numbered rows */ | |
108 | tr.even { | |
109 | background-color: #ffecec /* faint pastel red */ | |
110 | } | |
111 | ||
112 | /* odd-numbered rows */ | |
113 | tr.odd { | |
114 | background-color: #ffffff /* white */ | |
115 | } | |
116 | ||
117 | /* column titles */ | |
118 | th.when { | |
119 | } | |
120 | ||
121 | th.who { | |
122 | } | |
123 | ||
124 | th.artist { | |
125 | } | |
126 | ||
127 | th.album { | |
128 | } | |
129 | ||
130 | th.title { | |
131 | } | |
132 | ||
133 | th.length { | |
134 | text-align: right | |
135 | } | |
136 | ||
137 | th.button { | |
138 | } | |
139 | ||
140 | /* individual cells */ | |
141 | ||
142 | td.when { | |
143 | } | |
144 | ||
145 | td.who { | |
146 | } | |
147 | ||
148 | td.artist { | |
149 | } | |
150 | ||
151 | td.album { | |
152 | } | |
153 | ||
154 | td.title { | |
155 | } | |
156 | ||
157 | td.length { | |
158 | text-align: right; | |
159 | font-size: small /* because otherwise visually intrusive */ | |
160 | } | |
161 | ||
162 | td.button { | |
163 | text-align: center; | |
164 | padding: 1px; | |
328248ba | 165 | border: 1px solid black; |
460b9539 | 166 | background-color: #c0c0c0; |
167 | color: #000000 | |
168 | } | |
169 | ||
170 | p.mgmt,form.volume { | |
171 | display: inline | |
172 | } | |
173 | ||
f230d1d6 | 174 | /* choose ********************************************************************/ |
460b9539 | 175 | |
176 | /* first letter choice */ | |
177 | p.choosealpha { | |
328248ba | 178 | text-align: center; |
179 | font-size: 140%; | |
180 | font-weight: bold; | |
181 | border: 1px solid black; | |
ebd70276 | 182 | padding: 0.2em |
460b9539 | 183 | } |
184 | ||
185 | /* containing directory */ | |
186 | p.directoryname { | |
21c8e53a | 187 | font-weight: bold; |
188 | background-color: #ffffe0; /* pastel yellow */ | |
189 | padding: 0.2em | |
460b9539 | 190 | } |
191 | ||
192 | /* directories */ | |
193 | div.directories { | |
194 | } | |
195 | ||
196 | /* heading for directories */ | |
197 | p.directories { | |
21c8e53a | 198 | font-weight: bold; |
199 | display: block; | |
200 | background-color: #e0ffe0; /* pastel green */ | |
201 | padding: 0.2em; | |
202 | padding-left: 1.2em | |
460b9539 | 203 | } |
204 | ||
205 | /* one directory */ | |
206 | p.directory { | |
21c8e53a | 207 | margin-left: 2em |
460b9539 | 208 | } |
209 | ||
210 | a.directory { | |
211 | } | |
212 | ||
213 | a.directory:link { | |
214 | color: black | |
215 | } | |
216 | ||
217 | a.directory:visited { | |
218 | color: black | |
219 | } | |
220 | ||
221 | a.directory:active { | |
222 | color: red | |
223 | } | |
224 | ||
225 | /* files */ | |
226 | div.files { | |
227 | } | |
228 | ||
229 | /* heading for files */ | |
230 | p.files { | |
21c8e53a | 231 | font-weight: bold; |
232 | display: block; | |
233 | background-color: #e0ffe0; /* pastel green */ | |
234 | padding: 0.2em; | |
235 | padding-left: 1.2em | |
460b9539 | 236 | } |
237 | ||
238 | /* one file */ | |
239 | p.file { | |
21c8e53a | 240 | margin-left: 2em |
460b9539 | 241 | } |
242 | ||
243 | a.file { | |
244 | text-decoration: none; | |
245 | } | |
246 | ||
247 | a.file:link { | |
248 | color: black | |
249 | } | |
250 | ||
251 | a.file:visited { | |
252 | color: black | |
253 | } | |
254 | ||
255 | a.file:active { | |
256 | color: red | |
257 | } | |
258 | ||
21c8e53a | 259 | /* all files */ |
260 | p.allfiles { | |
261 | margin-left: 1.2em | |
262 | } | |
263 | ||
f230d1d6 | 264 | /* buttons *******************************************************************/ |
460b9539 | 265 | |
266 | /* a.allfiles turns up in track choice | |
267 | * button is used e.g. in searching | |
268 | */ | |
269 | a.allfiles,a.prefs,button,span.button { | |
270 | padding: 1px; | |
271 | border-color: #fefefe; | |
272 | border-style: inset; | |
273 | background-color: #c0c0c0; | |
274 | color: #000000; | |
275 | text-decoration: none; | |
276 | font-family: sans-serif | |
277 | } | |
278 | ||
279 | a.button { | |
280 | text-decoration: none; | |
281 | font-family: sans-serif | |
282 | } | |
283 | ||
284 | a.button:link,a.button:visited,a.allfiles:link,a.allfiles:visited { | |
285 | background-color: #c0c0c0; | |
286 | color: #000000 | |
287 | } | |
288 | ||
289 | a.button:active,a.allfiles:active,button:active { | |
290 | background-color: #c0c0c0; | |
291 | color: #ffffff | |
292 | } | |
293 | ||
294 | img.button { | |
295 | border-width: 0 | |
296 | } | |
297 | ||
f230d1d6 | 298 | /* searching *****************************************************************/ |
460b9539 | 299 | |
300 | div.searchresults { | |
301 | } | |
302 | ||
303 | div.search_artist { | |
304 | } | |
305 | ||
306 | p.search_artist { | |
307 | } | |
308 | ||
309 | span.search_artist { | |
310 | font-weight: bold | |
311 | } | |
312 | ||
313 | div.search_album { | |
314 | margin-left: 1em | |
315 | } | |
316 | ||
317 | p.search_album { | |
318 | } | |
319 | ||
320 | span.search_album { | |
321 | } | |
322 | ||
323 | div.search_title { | |
324 | margin-left: 1em | |
325 | } | |
326 | ||
327 | p.search_title { | |
328 | margin-top: 0; | |
329 | margin-bottom: 0 | |
330 | } | |
331 | ||
332 | a.search_title { | |
333 | text-decoration: underline | |
334 | } | |
335 | ||
336 | a.search_title:link { | |
337 | color: black | |
338 | } | |
339 | ||
340 | a.search_title:visited { | |
341 | color: black | |
342 | } | |
343 | ||
344 | a.search_title:active { | |
345 | color: red | |
346 | } | |
347 | ||
328248ba | 348 | form.search { |
349 | border: 1px solid black; | |
ebd70276 | 350 | padding: 0.2em |
328248ba | 351 | } |
352 | ||
f230d1d6 | 353 | /* sidebar *******************************************************************/ |
460b9539 | 354 | |
355 | div#sidebar { | |
356 | margin: 1em; | |
357 | position: absolute; | |
358 | width: 10em; | |
359 | top: 0; | |
360 | right: auto; | |
361 | left: 0; | |
362 | } | |
363 | ||
364 | div#content { | |
365 | position: absolute; | |
366 | width: auto; | |
367 | top: 0; | |
368 | right: 1em; | |
369 | left: 6em; | |
370 | } | |
371 | ||
372 | .sidebarlink { | |
373 | font-family: sans-serif | |
374 | } | |
375 | ||
376 | a.sidebarlink { | |
377 | text-decoration: none; | |
378 | color: black | |
379 | } | |
380 | ||
381 | a.sidebarlink:visited { | |
382 | color: black | |
383 | } | |
384 | ||
385 | a.sidebarlink:active { | |
386 | color: red | |
387 | } | |
388 | ||
389 | a.sidebarlink:visited { | |
390 | color: black | |
391 | } | |
392 | ||
f230d1d6 | 393 | /* topbar ********************************************************************/ |
460b9539 | 394 | |
395 | p.menubar { | |
396 | word-spacing: 1em | |
397 | } | |
398 | ||
399 | .activemenu { | |
400 | font-family: sans-serif; | |
401 | font-weight: bold; | |
402 | font-size: 14pt | |
403 | } | |
404 | ||
405 | .inactivemenu { | |
406 | font-family: sans-serif; | |
407 | font-weight: bold; | |
408 | font-size: 14pt | |
409 | } | |
410 | ||
411 | a.inactivemenu,a.inactivemenu:visited { | |
412 | text-decoration: none; | |
413 | color: black | |
414 | } | |
415 | ||
416 | a.activemenu,a.activemenu:visited { | |
417 | text-decoration: none; | |
418 | color: red | |
419 | } | |
420 | ||
421 | a.activemenu:active,a.inactivemenu:active { | |
422 | text-decoration: none; | |
423 | color: red | |
424 | } | |
425 | ||
d7ce365e | 426 | span.invalidmenu { |
427 | text-decoration: none; | |
428 | color: grey; | |
429 | font-family: sans-serif; | |
430 | font-weight: bold; | |
431 | font-size: 14pt | |
432 | } | |
433 | ||
f230d1d6 | 434 | /* prefs *********************************************************************/ |
460b9539 | 435 | |
436 | p.prefs_new,p.prefs_head { | |
437 | font-weight: bold | |
438 | } | |
439 | ||
440 | table.prefs { | |
441 | border-spacing: 0 | |
442 | } | |
443 | ||
444 | tr.prefs_headings { | |
445 | background-color: black; | |
446 | color: white | |
447 | } | |
448 | ||
449 | th.prefs_name { | |
450 | } | |
451 | ||
452 | th.prefs_value { | |
453 | } | |
454 | ||
455 | td.prefs_name { | |
456 | vertical-align: top | |
457 | } | |
458 | ||
459 | td.prefs_value { | |
460 | vertical-align: top | |
461 | } | |
462 | ||
463 | td.prefs_delete { | |
464 | vertical-align: top | |
465 | } | |
466 | ||
467 | input.prefs_name,input.prefs_value { | |
468 | font-family: monospace | |
469 | } | |
470 | ||
f230d1d6 | 471 | /* help **********************************************************************/ |
460b9539 | 472 | |
473 | .helpbuttons,.helpprefs,.helpcontexts { | |
474 | margin-left: 2em; | |
475 | margin-right: 2em; | |
476 | vertical-align: top | |
477 | } | |
478 | ||
479 | .helpsection { | |
480 | margin-left: 1em; | |
481 | } | |
482 | ||
483 | .helppref { | |
484 | font-family: monospace | |
485 | } | |
486 | ||
487 | .helpprefbit { | |
488 | font-family: monospace; | |
489 | font-style: italic | |
490 | } | |
491 | ||
492 | .helpcontext { | |
493 | font-weight: bold | |
494 | } | |
495 | ||
21c8e53a | 496 | span.configuration { |
497 | font-family: monospace | |
498 | } | |
499 | ||
500 | h2.helptitle { | |
501 | background-color: #e0ffe0; /* pastel green */ | |
502 | padding: 0.2em | |
503 | } | |
504 | ||
f230d1d6 | 505 | /* volume ********************************************************************/ |
460b9539 | 506 | |
507 | p.volume { | |
508 | text-align: center | |
509 | } | |
510 | ||
f230d1d6 | 511 | /* login page ****************************************************************/ |
512 | ||
328248ba | 513 | form.login { |
514 | border: 1px solid black; | |
515 | background-color: #e0ffe0 /* pastel green */ | |
516 | } | |
517 | ||
518 | form.register { | |
519 | border: 1px solid black; | |
520 | background-color: #e0e0ff /* pastel blue */ | |
521 | } | |
522 | ||
523 | form.edituser { | |
524 | border: 1px solid black; | |
525 | background-color: #ffffe0 /* pastel yellow */ | |
f230d1d6 | 526 | } |
527 | ||
528 | form.logout { | |
529 | border-style: none; | |
530 | } | |
531 | ||
328248ba | 532 | div.loginstatus { |
533 | border: 1px solid black; | |
534 | background-color: #ffff00 /* solid yellow */ | |
535 | } | |
536 | ||
ebd70276 | 537 | div.loginstatus > p { |
538 | margin: 0.2em | |
539 | } | |
540 | ||
f230d1d6 | 541 | p.loginstatus { |
328248ba | 542 | color: #0000ff; /* solid blue */ |
543 | font-size: 150%; | |
544 | font-weight: bold | |
f230d1d6 | 545 | } |
546 | ||
547 | /* errors ********************************************************************/ | |
548 | ||
328248ba | 549 | div.error { |
550 | border: 1px solid black; | |
551 | background-color: #ff0000; /* solid red */ | |
552 | color: white; | |
553 | font-size: 150%; | |
554 | font-weight: bold | |
555 | } | |
556 | ||
ebd70276 | 557 | div.error > p { |
558 | margin: 0.2em | |
559 | } | |
560 | ||
f230d1d6 | 561 | p.error { |
f230d1d6 | 562 | } |
563 | ||
564 | /* miscelleanous *************************************************************/ | |
460b9539 | 565 | |
566 | /* credits */ | |
567 | p.credits { | |
568 | font-size: small; /* because visually intrusive */ | |
21c8e53a | 569 | text-align: right; |
570 | background-color: #e0e0e0; | |
571 | padding: 0.2em | |
460b9539 | 572 | } |
573 | /* | |
574 | This file is part of DisOrder. | |
8f9616f1 | 575 | Copyright (C) 2003-2007 Richard Kettlewell |
460b9539 | 576 | |
577 | This program is free software; you can redistribute it and/or modify | |
578 | it under the terms of the GNU General Public License as published by | |
579 | the Free Software Foundation; either version 2 of the License, or | |
580 | (at your option) any later version. | |
581 | ||
582 | This program is distributed in the hope that it will be useful, but | |
583 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
584 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
585 | General Public License for more details. | |
586 | ||
587 | You should have received a copy of the GNU General Public License | |
588 | along with this program; if not, write to the Free Software | |
589 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | |
590 | USA | |
591 | */ |