chiark / gitweb /
Fix queue/etc popup menu
[disorder] / templates / disorder.css
CommitLineData
328248ba 1/* default font and colors */
460b9539 2body {
3 color: black;
3225872d
RK
4 background-color: white;
5 font-family: times,serif;
328248ba 6 font-weight: normal;
7 font-size: 12pt;
8 font-variant: normal
460b9539 9}
10
d9af6e21 11input,button {
3225872d
RK
12 font-family: helvetica,sans-serif;
13 font-weight: normal;
14 font-size: 12pt;
15 font-variant: normal
460b9539 16}
17
3225872d
RK
18/* general link colors */
19a {
460b9539 20 color: blue
21}
22
23a:active {
24 color: red
25}
26
328248ba 27/* title bars */
3225872d
RK
28h1 {
29 font-family: helvetica,sans-serif;
460b9539 30 font-weight: bold;
328248ba 31 font-size: 18pt;
32 font-variant: normal;
460b9539 33 text-align: center;
328248ba 34 border: 1px solid black;
35 padding: 0.2em;
21c8e53a 36 background-color: #e0e0e0;
37 display: block
328248ba 38}
39
40/* secondary titles */
41h2 {
3225872d 42 font-family: helvetica,sans-serif;
328248ba 43 font-weight: bold;
44 font-size: 16pt;
45 font-variant: normal;
21c8e53a 46 display: block
460b9539 47}
48
3225872d
RK
49/* Some titles are links too, but we don't want them to go blue */
50h2 a {
51 color: black
52}
460b9539 53
3225872d
RK
54/* Use the same table model everywhere */
55table {
56 border-collapse: collapse
460b9539 57}
58
3225872d
RK
59/* tabular data **************************************************************/
60
61/* playing, recent and new classes correspond to the tables in playing.html,
62 * recent.html and new.html */
e7ce7665 63table.playing, table.recent, table.new, table.search {
3225872d 64 width: 100% /* use full screen width */
460b9539 65}
66
e7ce7665 67table.playing th, table.recent th, table.new th, table.search th {
3225872d 68 text-align: left /* titles should be left-aligned */
78efa64e
RK
69}
70
e7ce7665 71table.playing td, table.recent td, table.new td, table.search td {
3225872d 72 vertical-align: middle /* centre cell contents vertically */
460b9539 73}
74
e7ce7665 75table.playing a, table.recent a, table.new a, table.search a {
3225872d 76 color: black
460b9539 77}
78
3225872d 79/* tr.headings is the row containing column headings */
460b9539 80tr.headings {
3225872d 81 background-color: black; /* heading rows are white on black */
460b9539 82 color: white
83}
84
3225872d
RK
85/* tr.nowplaying and tr.next are the section heading rows */
86tr.nowplaying td, tr.next td {
87 background-color: #d0d0d0; /* table section headings are black on grey */
88 color: black;
89 font-weight: bold; /* table section headings are bold */
460b9539 90 text-align: center
91}
92
3225872d 93/* tr.playing is the row for the currently playing track */
460b9539 94tr.playing {
3225872d
RK
95 background-color: #e0ffe0; /* playing track is black on pastel green */
96 color: back
460b9539 97}
98
3225872d 99/* tr.even and tr.odd are odd and even rows of the main body of the table */
460b9539 100tr.even {
3225872d
RK
101 background-color: #ffecec; /* even rows are black on red */
102 color: black
460b9539 103}
104
460b9539 105tr.odd {
3225872d
RK
106 background-color: #ffffff; /* odd rows are black on white */
107 color: black
460b9539 108}
109
3225872d
RK
110/* th/td.length are the length column */
111table th.length {
112 text-align: right /* track length column is right-aligned */
460b9539 113}
114
115td.length {
3225872d
RK
116 text-align: right; /* track length column is right-aligned */
117 font-size: 10pt /* track length is slightly smaller */
460b9539 118}
119
3225872d
RK
120/* p.mgmt is the bar of management buttons */
121/* form.volume is the form for setting the volume */
122/* This is needed to stop FF breaking the management button line in two */
123p.mgmt, form.volume {
460b9539 124 display: inline
125}
126
f230d1d6 127/* choose ********************************************************************/
460b9539 128
3225872d 129/* p.choosealpha is the bar of first-letter links */
460b9539 130p.choosealpha {
328248ba 131 text-align: center;
3225872d
RK
132 font-size: 17pt; /* links are one letter so make them big... */
133 font-weight: bold; /* ...and bold */
134 border: 1px solid black; /* border the link list */
ebd70276 135 padding: 0.2em
460b9539 136}
137
3225872d 138/* p.directoryname contains the current directory when navigating */
460b9539 139p.directoryname {
21c8e53a 140 font-weight: bold;
141 background-color: #ffffe0; /* pastel yellow */
3225872d 142 color: black;
21c8e53a 143 padding: 0.2em
460b9539 144}
145
3225872d 146p.directoryname a {
460b9539 147 color: black
148}
149
3225872d
RK
150/* section headings */
151div.filesdirectories p.heading {
21c8e53a 152 display: block;
3225872d
RK
153 background-color: #e0ffe0; /* heading are black on pastel green */
154 color: black;
155 font-weight: bold; /* ...and bold */
21c8e53a 156 padding: 0.2em;
157 padding-left: 1.2em
460b9539 158}
159
3225872d
RK
160/* one file or directory */
161div.filesdirectories p.entry {
162 margin-left: 2em /* indent files & directories two steps */
460b9539 163}
164
3225872d
RK
165div.filesdirectories a {
166 text-decoration: none /* don't underline file/directory names */
460b9539 167}
168
3225872d 169div.filesdirectories a {
460b9539 170 color: black
171}
172
3225872d 173div.filesdirectories a:active {
460b9539 174 color: red
175}
176
21c8e53a 177/* all files */
e2307576 178div.filesdirectories div.allfiles {
3225872d 179 margin-left: 1em /* indent play all button only one step */
21c8e53a 180}
181
f230d1d6 182/* buttons *******************************************************************/
460b9539 183
cf4ae3d5
RK
184form.button {
185 display: inline
49e57291
RK
186}
187
3225872d 188/* Buttons and links that look like buttons share the same formatting */
cf4ae3d5 189a.button {
49e57291 190 padding-top: 2px;
3225872d
RK
191 border-width: 3px;
192 border-color: #fefefe; /* Off-white */
460b9539 193 border-style: inset;
3225872d 194 background-color: #c0c0c0; /* Black on light grey */
460b9539 195 color: #000000;
3225872d
RK
196 text-decoration: none; /* Don't underline links */
197 font-family: helvetica,sans-serif;
198 font-weight: normal;
199 font-variant: normal;
8e4b76bc 200 font-size: 12pt;
49e57291
RK
201 cursor: pointer
202}
203
204a.button {
205 padding-left: 4px;
206 padding-right: 4px;
460b9539 207}
208
3225872d 209a.button:active,button:active {
460b9539 210 background-color: #c0c0c0;
211 color: #ffffff
212}
213
3225872d
RK
214/* Images that act like buttons aren't styled in the same way, but do want
215 * to lose their border */
460b9539 216img.button {
217 border-width: 0
218}
219
f230d1d6 220/* searching *****************************************************************/
460b9539 221
57f55a15 222div.search {
3225872d 223 border: 1px solid black; /* Give the search box a border */
57f55a15 224 padding: 0.2em;
328248ba 225}
226
57f55a15 227form.search, form.search p {
cf4ae3d5
RK
228 display: inline
229}
230
3225872d 231/* menu bar *******************************************************************/
460b9539 232
5d30e04b
RK
233div.top {
234 background-color: #e0e0e0;
235 border: 1px solid black
236}
237
238div.logo {
239 float:right;
240 margin-top:4px;
241 margin-right:4px
242}
243
3225872d 244/* p.menubar is the menu bar at the top */
460b9539 245p.menubar {
5d30e04b
RK
246 float:left;
247 margin-left: 4px;
fd4bfc4f 248 word-spacing: 0px
460b9539 249}
250
3225872d
RK
251/* Subelements are A for usable menus or SPAN for unusable ones */
252p.menubar a, p.menubar span {
253 font-family: helvetica,sans-serif;
a84eb605 254 font-size: 24px;
fd4bfc4f
RK
255 text-decoration: none;
256 padding: 4px
460b9539 257}
258
3225872d 259/* a.activemenu is the current menu item */
153115c0
RK
260img.activemenu, a.activemenu {
261 background-color: #d0d0d0;
262 color: black;
263 padding: 4px;
264 border: none
460b9539 265}
266
3225872d 267/* a.inactivemenu is a non-current but choosable menu item */
153115c0 268img.inactivemenu, a.inactivemenu {
fd4bfc4f
RK
269 color: black;
270 padding:4px;
153115c0 271 border:none
460b9539 272}
273
3225872d 274/* span.invaliemenu is a non-choosable menu item */
d7ce365e 275span.invalidmenu {
3225872d 276 color: #808080
d7ce365e 277}
278
3225872d 279/* track preferences *********************************************************/
460b9539 280
3225872d
RK
281/* p.prefs_head is the per-track heading */
282p.prefs_head {
283 background-color: #ffffe0; /* Pastel yellow on black */
284 color: black;
285 font-weight: bold;
286 padding: 0.2em
460b9539 287}
288
3225872d 289/* table.prefs contains the prefs for one track */
460b9539 290table.prefs {
3225872d
RK
291 border-spacing: 0;
292 margin-left: 1em /* Indent each track's details */
460b9539 293}
294
3225872d
RK
295table.prefs th {
296 text-align: left /* Titles should be left-aligned */
460b9539 297}
298
3225872d 299table.prefs td {
460b9539 300 vertical-align: top
301}
302
3225872d 303table.prefs input {
460b9539 304 font-family: monospace
305}
306
5d30e04b
RK
307/* text with sectiosn *******************************************************/
308
309/* h2.sectiontitle is used for subsection headings */
310h2.sectiontitle {
311 background-color: #e0ffe0; /* Black on pastel green */
312 color: black;
313 padding: 0.2em
314}
315
316/* There is a div.section for each subsection */
317div.section {
318 margin-left: 1em
319}
320
f230d1d6 321/* help **********************************************************************/
460b9539 322
3225872d
RK
323/* table.helpbuttons is used for various tables of buttons */
324table.helpbuttons td {
460b9539 325 vertical-align: top
326}
327
3225872d
RK
328table.helpbuttons {
329 margin-left: 2em;
330 margin-right: 2em
460b9539 331}
332
3225872d 333/* span.configuration marks configuration directives */
21c8e53a 334span.configuration {
335 font-family: monospace
336}
337
f230d1d6 338/* volume ********************************************************************/
460b9539 339
340p.volume {
341 text-align: center
342}
343
f230d1d6 344/* login page ****************************************************************/
345
328248ba 346form.login {
347 border: 1px solid black;
348 background-color: #e0ffe0 /* pastel green */
349}
350
6207d2f3 351form.reminder {
352 border: 1px solid black;
353 background-color: #e0e0ff /* pastel blue */
354}
355
328248ba 356form.register {
357 border: 1px solid black;
358 background-color: #e0e0ff /* pastel blue */
359}
360
361form.edituser {
362 border: 1px solid black;
363 background-color: #ffffe0 /* pastel yellow */
f230d1d6 364}
365
3225872d
RK
366form.login table, form.reminder table, form.register table, form.edituser table {
367 margin: 0.2em /* Space login boxes nicely */
368}
369
f230d1d6 370form.logout {
371 border-style: none;
372}
373
328248ba 374div.loginstatus {
375 border: 1px solid black;
376 background-color: #ffff00 /* solid yellow */
377}
378
3225872d 379div.loginstatus p {
328248ba 380 color: #0000ff; /* solid blue */
3225872d
RK
381 font-size: 18pt;
382 font-weight: bold;
383 margin: 0.2em
f230d1d6 384}
385
386/* errors ********************************************************************/
387
328248ba 388div.error {
389 border: 1px solid black;
3225872d 390 background-color: #ff0000; /* White on solid red */
328248ba 391 color: white;
3225872d 392 font-size: 18pt;
328248ba 393 font-weight: bold
394}
395
3225872d 396div.error p {
ebd70276 397 margin: 0.2em
398}
399
f230d1d6 400/* miscelleanous *************************************************************/
460b9539 401
402/* credits */
403p.credits {
3225872d 404 font-size: 10pt; /* because visually intrusive */
21c8e53a 405 text-align: right;
406 background-color: #e0e0e0;
3225872d 407 color: black;
21c8e53a 408 padding: 0.2em
460b9539 409}
410/*
411This file is part of DisOrder.
3225872d 412Copyright (C) 2003-2008 Richard Kettlewell
460b9539 413
414This program is free software; you can redistribute it and/or modify
415it under the terms of the GNU General Public License as published by
416the Free Software Foundation; either version 2 of the License, or
417(at your option) any later version.
418
419This program is distributed in the hope that it will be useful, but
420WITHOUT ANY WARRANTY; without even the implied warranty of
421MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
422General Public License for more details.
423
424You should have received a copy of the GNU General Public License
425along with this program; if not, write to the Free Software
426Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
427USA
428*/