X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..d3369bca6a8fec22726a71faeb4e839d56b9ac3f:/templates/disorder.css diff --git a/templates/disorder.css b/templates/disorder.css index d38311c..84b306b 100644 --- a/templates/disorder.css +++ b/templates/disorder.css @@ -1,7 +1,11 @@ -/* default colors */ +/* default font and colors */ body { color: black; background-color: white + font-family: serif; + font-weight: normal; + font-size: 12pt; + font-variant: normal } /* general link colors */ @@ -17,23 +21,47 @@ a:active { color: red } +/* title bars */ h1.title { font-family: sans-serif; font-weight: bold; + font-size: 18pt; + font-variant: normal; text-align: center; - font-size: 18pt + border: 1px solid black; + padding: 0.2em; + background-color: #e0e0e0; + display: block } -/* playing and recent *********************************************************/ +/* secondary titles */ +h2 { + font-family: sans-serif; + font-weight: bold; + font-size: 16pt; + font-variant: normal; + display: block +} + +/* playing, recent and new ***************************************************/ /* table of current and future tracks */ table.playing { + border-collapse: collapse; width: 100%; /* use the full available width */ border-spacing: 0 /* no unsightly gaps between cells */ } /* table of recently played tracks */ table.recent { + border-collapse: collapse; + width: 100%; /* use the full available width */ + border-spacing: 0 /* no unsightly gaps between cells */ +} + +/* table of newly added played tracks */ +table.new { + border-collapse: collapse; width: 100%; /* use the full available width */ border-spacing: 0 /* no unsightly gaps between cells */ } @@ -45,7 +73,7 @@ th { /* ordinary cells in tables */ td { - vertical-align: center + vertical-align: middle } /* the headings of the table */ @@ -137,9 +165,7 @@ td.length { td.button { text-align: center; padding: 1px; - border-color: black; - border-width: 1px; - border-style: solid; + border: 1px solid black; background-color: #c0c0c0; color: #000000 } @@ -148,16 +174,34 @@ p.mgmt,form.volume { display: inline } -/* choose *********************************************************************/ +/* choose ********************************************************************/ /* first letter choice */ p.choosealpha { - text-align: center + text-align: center; + font-size: 140%; + font-weight: bold; + border: 1px solid black; + padding: 0.2em } /* containing directory */ p.directoryname { - font-weight: bold + font-weight: bold; + background-color: #ffffe0; /* pastel yellow */ + padding: 0.2em +} + +a.thisdirectory:link { + color: black +} + +a.thisdirectory:visited { + color: black +} + +a.thisdirectory:active { + color: red } /* directories */ @@ -166,15 +210,20 @@ div.directories { /* heading for directories */ p.directories { - font-weight: bold + font-weight: bold; + display: block; + background-color: #e0ffe0; /* pastel green */ + padding: 0.2em; + padding-left: 1.2em } /* one directory */ p.directory { - margin-left: 1em + margin-left: 2em } a.directory { + text-decoration: none; } a.directory:link { @@ -195,12 +244,16 @@ div.files { /* heading for files */ p.files { - font-weight: bold + font-weight: bold; + display: block; + background-color: #e0ffe0; /* pastel green */ + padding: 0.2em; + padding-left: 1.2em } /* one file */ p.file { - margin-left: 1em + margin-left: 2em } a.file { @@ -219,7 +272,12 @@ a.file:active { color: red } -/* buttons ********************************************************************/ +/* all files */ +p.allfiles { + margin-left: 1.2em +} + +/* buttons *******************************************************************/ /* a.allfiles turns up in track choice * button is used e.g. in searching @@ -253,7 +311,7 @@ img.button { border-width: 0 } -/* searching ******************************************************************/ +/* searching *****************************************************************/ div.searchresults { } @@ -303,7 +361,12 @@ a.search_title:active { color: red } -/* sidebar ********************************************************************/ +form.search { + border: 1px solid black; + padding: 0.2em +} + +/* sidebar *******************************************************************/ div#sidebar { margin: 1em; @@ -343,7 +406,7 @@ a.sidebarlink:visited { color: black } -/* topbar *********************************************************************/ +/* topbar ********************************************************************/ p.menubar { word-spacing: 1em @@ -376,13 +439,22 @@ a.activemenu:active,a.inactivemenu:active { color: red } -/* prefs **********************************************************************/ +span.invalidmenu { + text-decoration: none; + color: #808080; /* grey */ + font-family: sans-serif; + font-weight: bold; + font-size: 14pt +} + +/* prefs *********************************************************************/ p.prefs_new,p.prefs_head { font-weight: bold } table.prefs { + border-collapse: collapse; border-spacing: 0 } @@ -413,7 +485,7 @@ input.prefs_name,input.prefs_value { font-family: monospace } -/* help ***********************************************************************/ +/* help **********************************************************************/ .helpbuttons,.helpprefs,.helpcontexts { margin-left: 2em; @@ -438,22 +510,91 @@ input.prefs_name,input.prefs_value { font-weight: bold } -/* volume *********************************************************************/ +span.configuration { + font-family: monospace +} + +h2.helptitle { + background-color: #e0ffe0; /* pastel green */ + padding: 0.2em +} + +/* volume ********************************************************************/ p.volume { text-align: center } -/* miscelleanous **************************************************************/ +/* login page ****************************************************************/ + +form.login { + border: 1px solid black; + background-color: #e0ffe0 /* pastel green */ +} + +form.reminder { + border: 1px solid black; + background-color: #e0e0ff /* pastel blue */ +} + +form.register { + border: 1px solid black; + background-color: #e0e0ff /* pastel blue */ +} + +form.edituser { + border: 1px solid black; + background-color: #ffffe0 /* pastel yellow */ +} + +form.logout { + border-style: none; +} + +div.loginstatus { + border: 1px solid black; + background-color: #ffff00 /* solid yellow */ +} + +div.loginstatus > p { + margin: 0.2em +} + +p.loginstatus { + color: #0000ff; /* solid blue */ + font-size: 150%; + font-weight: bold +} + +/* errors ********************************************************************/ + +div.error { + border: 1px solid black; + background-color: #ff0000; /* solid red */ + color: white; + font-size: 150%; + font-weight: bold +} + +div.error > p { + margin: 0.2em +} + +p.error { +} + +/* miscelleanous *************************************************************/ /* credits */ p.credits { font-size: small; /* because visually intrusive */ - text-align: right + text-align: right; + background-color: #e0e0e0; + padding: 0.2em } /* This file is part of DisOrder. -Copyright (C) 2003, 2004, 2005 Richard Kettlewell +Copyright (C) 2003-2007 Richard Kettlewell This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by