From 6c121e97825991985a585178ca89c84fa915a81d Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 22 Nov 2009 22:32:16 +1300 Subject: [PATCH] CSS tweaks for new maintenance screens. --- htdocs/css/browse.css | 8 ++- htdocs/css/edit.css | 119 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 htdocs/css/edit.css diff --git a/htdocs/css/browse.css b/htdocs/css/browse.css index 4bf5b945..36b75e26 100644 --- a/htdocs/css/browse.css +++ b/htdocs/css/browse.css @@ -20,11 +20,11 @@ tr.r0:hover, tr.r1:hover { background-color:#AADEFF; } -.r0 { +tr.r0 { background-color: white; } -.r1 { +tr.r1 { background-color: #DEF; } @@ -39,3 +39,7 @@ text-align:right; .left { text-align:left; } + +#browser h2 { + margin: 0.8em 0 0.1em; +} \ No newline at end of file diff --git a/htdocs/css/edit.css b/htdocs/css/edit.css new file mode 100644 index 00000000..4002b6d4 --- /dev/null +++ b/htdocs/css/edit.css @@ -0,0 +1,119 @@ +.left { + text-align:left; +} + + +.center { + text-align:center; + white-space:nowrap; +} + + +.money, .right { + text-align:right; +} + +.entry, input.money, input.date { + padding: 0; + margin: 0 -2px; +/* border: 1px #fffff0 dashed; + background-color: #f0f8d0; */ + font-size: 0.9em; + font-family: Courier New, Courier, fixed; +} +input[type="checkbox"].entry { + margin-top:0.25em; +} + +select.entry { + font-family: Helvetica Narrow, Arial Narrow, sans-serif; + font-size: 85%; +} + +th.h2 { + font-size: 130%; + font-weight: bold; + font-family: verdana, sans-serif; + padding: 0 0.3em; + margin: 1px 0 0 0; + line-height: inherit; + text-align: left; +} + + +input { + margin: 0; + font-family: Courier New, monospace; +} + + +label, th.prompt { + font-family: Verdana, sans-serif; + font-weight: bolder; + font-size: 110%; + text-align: right; +} + + +a.order, a.invisilink { + text-decoration:none; + color: inherit; +} + + +.submit { + text-decoration: none; + font: small-caps bold 95% sans-serif; + color: #fff; + background-color: #483D8B; + padding: 0px 1px 1px 1px; + margin: 0; + vertical-align: text-bottom; + border: thin outset; +} + + +.submit:hover { + color: #FFD700; + border: thin inset; +} + + +table { + background-color: #F0E8FF; + border-collapse:collapse; + margin-top:1px; + margin-bottom:0.1em; +} + + +th { + padding: 0.15em 0.3em 0; + font-weight: bolder; + background-color: #F0E8FF; +} + + +td { + padding: 0 0.2em; + border: thin white solid; +} + + +tr { + vertical-align:top; + border: thin white solid; +} + + + +table.form_inner, table.form_inner tr, table.form_inner td, table.form_inner th { + margin: 0; + padding-left: 0; + border: 0; + border-collapse: collapse; +} + +table.form_inner { + width: 100%; +}