From a9d708cf9638686d81caf2cc9534a5d34dd63b7e Mon Sep 17 00:00:00 2001 From: oweissbarth Date: Tue, 11 Mar 2014 20:02:10 +0100 Subject: Added errors for register-form. Gave errors more room --- www/static/login.css | 15 +++++++++++---- www/static/register.css | 42 +++++++++++++++++++++++++++++++++++------- 2 files changed, 46 insertions(+), 11 deletions(-) (limited to 'www/static') diff --git a/www/static/login.css b/www/static/login.css index 0ed0dea..6697bcc 100644 --- a/www/static/login.css +++ b/www/static/login.css @@ -2,21 +2,28 @@ Login-Form **********************************************************/ div.login-area{ - height: 200px; + height: 230px; width: 400px; position: relative; top: 50%; - margin-top: -100px; + margin-top: -115px; margin-left: auto; margin-right: auto; border: 1px solid #1F3D4C; padding: 10px; +} +h1.login-area{ + font-size: 32px; + font-weight: normal; + line-height: 32px; + padding:0; + display: block; } -#login-top-bar{ +#login-info-bar{ display: block; - width: 395px; + width: 400px; height:32px; padding:0; margin:0; diff --git a/www/static/register.css b/www/static/register.css index ffd425b..40034d2 100644 --- a/www/static/register.css +++ b/www/static/register.css @@ -2,24 +2,52 @@ Register-Form **********************************************************/ div.register-area{ - height: 370px; + height: 400px; width: 400px; position: relative; top: 50%; - /*transform: translateY(-50%); - -ms-transform: translateY(-50%); - -webkit-transform: translateY(-50%);*/ - margin-top: -185px; - + margin-top: -200px; margin-left: auto; margin-right: auto; - vertical-align: middle; border: 1px solid #1F3D4C; padding: 10px; } h1.register-area{ + font-size: 32px; font-weight: normal; + line-height: 32px; + padding:0; + display: block; +} + +#register-info-bar{ + display: block; + width: 400px; + height:32px; + padding:0; + margin:0; + position: static; + border: none; +/* border: 1px solid blue;*/ +} + +#register-error{ + font-size: 13pt; + background: red; + text-align:right; + float:right; + line-height: 26px; + border: 3px solid #1F3D4C; +} + +#logout-message{ + font-size: 13pt; + text-align:right; + float:right; + display: inline-block; + line-height: 26px; + border: 3px solid #1F3D4C; } form.register-form{ -- cgit v1.2.3