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