From e6b653642c79cc8d279234ac3ad07bec2da402b8 Mon Sep 17 00:00:00 2001 From: erlehmann Date: Wed, 15 Oct 2008 22:27:20 +0000 Subject: [PATCH] upload form git-svn-id: http://yolanda.mister-muffin.de/svn@389 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/yolanda/public/css/colors/tango.css | 5 +- trunk/yolanda/public/css/fonts/hurrdurr.css | 3 +- trunk/yolanda/public/css/layout/fake6.css | 57 ++++++++- trunk/yolanda/templates/xhtml/base.mako | 11 +- trunk/yolanda/templates/xhtml/upload.mako | 126 +++++++++++++++++++- trunk/yolanda/templates/xhtml/video.mako | 41 ++++++- 6 files changed, 229 insertions(+), 14 deletions(-) diff --git a/trunk/yolanda/public/css/colors/tango.css b/trunk/yolanda/public/css/colors/tango.css index 5b300f4..b4fa2c1 100644 --- a/trunk/yolanda/public/css/colors/tango.css +++ b/trunk/yolanda/public/css/colors/tango.css @@ -22,12 +22,13 @@ body color: #E5E5E5; } -input +input, +textarea { background-color: #E5E5E5; - color: #131313; border-color: #363636; border-style: solid; + color: #131313; } input#query diff --git a/trunk/yolanda/public/css/fonts/hurrdurr.css b/trunk/yolanda/public/css/fonts/hurrdurr.css index 8a1b425..3b91ca3 100644 --- a/trunk/yolanda/public/css/fonts/hurrdurr.css +++ b/trunk/yolanda/public/css/fonts/hurrdurr.css @@ -67,9 +67,10 @@ blockquote:after } */ +*, body { - font-size: 12px; + font-size: 10pt; font-family: sans-serif; } diff --git a/trunk/yolanda/public/css/layout/fake6.css b/trunk/yolanda/public/css/layout/fake6.css index 98fa365..4b8344f 100644 --- a/trunk/yolanda/public/css/layout/fake6.css +++ b/trunk/yolanda/public/css/layout/fake6.css @@ -40,7 +40,54 @@ h3 margin-bottom: 0.38em; /* roughly 0.5em relative to base */ } -input +form ol +{ + display: inline-block; + text-align: center; +} + + form li + { + list-style: none; + } + + form li input, + form li select, + form li textarea + { + width: 15em !important; + } + + form li label + { + display: inline-block; + margin: 0.5em; + width: 15em; + } + + form li fieldset + { + border: none; + margin-bottom: 0.5em; + margin-right: 0px; + margin-left: 0px; + margin-top: 0.5em; + padding: 0px; + } + + form li fieldset label + { + display: block; + margin: 0px; + /* padding of outer fieldset needs to be substracted */ + margin-left: 14.5em; + padding: 0px; + width: auto; + } + +input, +fieldset, +textarea { padding: 0.5em; } @@ -167,6 +214,14 @@ ul padding-bottom: 0.5em; } +#login h1, +#messagebox h1, +#search h1, +#tagcloud h1 +{ + display: none; +} + #content, #header { diff --git a/trunk/yolanda/templates/xhtml/base.mako b/trunk/yolanda/templates/xhtml/base.mako index 10d70e6..6f18531 100644 --- a/trunk/yolanda/templates/xhtml/base.mako +++ b/trunk/yolanda/templates/xhtml/base.mako @@ -5,6 +5,8 @@ <%def name="search()">