chiark / gitweb /
Macdink the web interface.
[disorder] / templates / disorder.css
CommitLineData
328248ba 1/* default font and colors */
460b9539 2body {
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 */
12a:link {
13 color: blue
14}
15
16a:visited {
17 color: blue
18}
19
20a:active {
21 color: red
22}
23
328248ba 24/* title bars */
460b9539 25h1.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 */
38h2 {
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 */
49table.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 */
55table.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 */
61table.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 */
67th {
68 text-align: left
69}
70
71/* ordinary cells in tables */
72td {
6398b077 73 vertical-align: middle
460b9539 74}
75
76/* the headings <tr> of the table */
77tr.headings {
78 background-color: black;
79 color: white
80}
81
82/* The 'now playing' heading */
83tr.nowplaying {
84}
85
86td.nowplaying {
87 background-color: #d0d0d0;
88 font-weight: bold;
89 text-align: center
90}
91
92/* the currently playing track */
93tr.playing {
94 background-color: #e0ffe0 /* pastel green */
95}
96
97/* the "next" heading */
98tr.next {
99}
100
101td.next {
102 background-color: #d0d0d0;
103 font-weight: bold;
104 text-align: center
105}
106
107/* even-numbered rows */
108tr.even {
109 background-color: #ffecec /* faint pastel red */
110}
111
112/* odd-numbered rows */
113tr.odd {
114 background-color: #ffffff /* white */
115}
116
117/* column titles */
118th.when {
119}
120
121th.who {
122}
123
124th.artist {
125}
126
127th.album {
128}
129
130th.title {
131}
132
133th.length {
134 text-align: right
135}
136
137th.button {
138}
139
140/* individual cells */
141
142td.when {
143}
144
145td.who {
146}
147
148td.artist {
149}
150
151td.album {
152}
153
154td.title {
155}
156
157td.length {
158 text-align: right;
159 font-size: small /* because otherwise visually intrusive */
160}
161
162td.button {
163 text-align: center;
164 padding: 1px;
328248ba 165 border: 1px solid black;
460b9539 166 background-color: #c0c0c0;
167 color: #000000
168}
169
170p.mgmt,form.volume {
171 display: inline
172}
173
f230d1d6 174/* choose ********************************************************************/
460b9539 175
176/* first letter choice */
177p.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 */
186p.directoryname {
21c8e53a 187 font-weight: bold;
188 background-color: #ffffe0; /* pastel yellow */
189 padding: 0.2em
460b9539 190}
191
192/* directories */
193div.directories {
194}
195
196/* heading for directories */
197p.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 */
206p.directory {
21c8e53a 207 margin-left: 2em
460b9539 208}
209
210a.directory {
211}
212
213a.directory:link {
214 color: black
215}
216
217a.directory:visited {
218 color: black
219}
220
221a.directory:active {
222 color: red
223}
224
225/* files */
226div.files {
227}
228
229/* heading for files */
230p.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 */
239p.file {
21c8e53a 240 margin-left: 2em
460b9539 241}
242
243a.file {
244 text-decoration: none;
245}
246
247a.file:link {
248 color: black
249}
250
251a.file:visited {
252 color: black
253}
254
255a.file:active {
256 color: red
257}
258
21c8e53a 259/* all files */
260p.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 */
269a.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
279a.button {
280 text-decoration: none;
281 font-family: sans-serif
282}
283
284a.button:link,a.button:visited,a.allfiles:link,a.allfiles:visited {
285 background-color: #c0c0c0;
286 color: #000000
287}
288
289a.button:active,a.allfiles:active,button:active {
290 background-color: #c0c0c0;
291 color: #ffffff
292}
293
294img.button {
295 border-width: 0
296}
297
f230d1d6 298/* searching *****************************************************************/
460b9539 299
300div.searchresults {
301}
302
303div.search_artist {
304}
305
306p.search_artist {
307}
308
309span.search_artist {
310 font-weight: bold
311}
312
313div.search_album {
314 margin-left: 1em
315}
316
317p.search_album {
318}
319
320span.search_album {
321}
322
323div.search_title {
324 margin-left: 1em
325}
326
327p.search_title {
328 margin-top: 0;
329 margin-bottom: 0
330}
331
332a.search_title {
333 text-decoration: underline
334}
335
336a.search_title:link {
337 color: black
338}
339
340a.search_title:visited {
341 color: black
342}
343
344a.search_title:active {
345 color: red
346}
347
328248ba 348form.search {
349 border: 1px solid black;
ebd70276 350 padding: 0.2em
328248ba 351}
352
f230d1d6 353/* sidebar *******************************************************************/
460b9539 354
355div#sidebar {
356 margin: 1em;
357 position: absolute;
358 width: 10em;
359 top: 0;
360 right: auto;
361 left: 0;
362}
363
364div#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
376a.sidebarlink {
377 text-decoration: none;
378 color: black
379}
380
381a.sidebarlink:visited {
382 color: black
383}
384
385a.sidebarlink:active {
386 color: red
387}
388
389a.sidebarlink:visited {
390 color: black
391}
392
f230d1d6 393/* topbar ********************************************************************/
460b9539 394
395p.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
411a.inactivemenu,a.inactivemenu:visited {
412 text-decoration: none;
413 color: black
414}
415
416a.activemenu,a.activemenu:visited {
417 text-decoration: none;
418 color: red
419}
420
421a.activemenu:active,a.inactivemenu:active {
422 text-decoration: none;
423 color: red
424}
425
d7ce365e 426span.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
436p.prefs_new,p.prefs_head {
437 font-weight: bold
438}
439
440table.prefs {
441 border-spacing: 0
442}
443
444tr.prefs_headings {
445 background-color: black;
446 color: white
447}
448
449th.prefs_name {
450}
451
452th.prefs_value {
453}
454
455td.prefs_name {
456 vertical-align: top
457}
458
459td.prefs_value {
460 vertical-align: top
461}
462
463td.prefs_delete {
464 vertical-align: top
465}
466
467input.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 496span.configuration {
497 font-family: monospace
498}
499
500h2.helptitle {
501 background-color: #e0ffe0; /* pastel green */
502 padding: 0.2em
503}
504
f230d1d6 505/* volume ********************************************************************/
460b9539 506
507p.volume {
508 text-align: center
509}
510
f230d1d6 511/* login page ****************************************************************/
512
328248ba 513form.login {
514 border: 1px solid black;
515 background-color: #e0ffe0 /* pastel green */
516}
517
518form.register {
519 border: 1px solid black;
520 background-color: #e0e0ff /* pastel blue */
521}
522
523form.edituser {
524 border: 1px solid black;
525 background-color: #ffffe0 /* pastel yellow */
f230d1d6 526}
527
528form.logout {
529 border-style: none;
530}
531
328248ba 532div.loginstatus {
533 border: 1px solid black;
534 background-color: #ffff00 /* solid yellow */
535}
536
ebd70276 537div.loginstatus > p {
538 margin: 0.2em
539}
540
f230d1d6 541p.loginstatus {
328248ba 542 color: #0000ff; /* solid blue */
543 font-size: 150%;
544 font-weight: bold
f230d1d6 545}
546
547/* errors ********************************************************************/
548
328248ba 549div.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 557div.error > p {
558 margin: 0.2em
559}
560
f230d1d6 561p.error {
f230d1d6 562}
563
564/* miscelleanous *************************************************************/
460b9539 565
566/* credits */
567p.credits {
568 font-size: small; /* because visually intrusive */
21c8e53a 569 text-align: right;
570 background-color: #e0e0e0;
571 padding: 0.2em
460b9539 572}
573/*
574This file is part of DisOrder.
8f9616f1 575Copyright (C) 2003-2007 Richard Kettlewell
460b9539 576
577This program is free software; you can redistribute it and/or modify
578it under the terms of the GNU General Public License as published by
579the Free Software Foundation; either version 2 of the License, or
580(at your option) any later version.
581
582This program is distributed in the hope that it will be useful, but
583WITHOUT ANY WARRANTY; without even the implied warranty of
584MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
585General Public License for more details.
586
587You should have received a copy of the GNU General Public License
588along with this program; if not, write to the Free Software
589Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
590USA
591*/