From f79e3a2fd55f4665f5bc034551e758435fc084e2 Mon Sep 17 00:00:00 2001 From: Karen Date: Thu, 19 Jul 2012 15:38:48 +0530 Subject: [PATCH] css for allauth forms + some cleanup on profile form css --- itf/static/css/register.css | 58 +++++++++++++++++++++---- itf/templates/formwidgets/select2.html | 4 +- itf/templates/registration/contact.html | 2 +- 3 files changed, 53 insertions(+), 11 deletions(-) diff --git a/itf/static/css/register.css b/itf/static/css/register.css index 28eff5a..4e4cfa6 100755 --- a/itf/static/css/register.css +++ b/itf/static/css/register.css @@ -20,7 +20,9 @@ background-color:#FFF; position:absolute; right:0px; left:0px; -display: table-cell; vertical-align: middle;margin:0 auto; +display: table-cell; +vertical-align: middle; +margin:0 auto; padding:30px; -moz-border-radius:20px; -webkit-border-radius:20px; @@ -32,10 +34,14 @@ margin-top:100px; font-family:'Century Gothic', Arial, Helvetica, 'DejaVu Sans', sans-serif; font-size:15px; color:#666; -text-align:right; -text-transform:capitalize;} +text-align:center; +line-height:1.4; +} -#titleLogin +#regContent label +{font-weight:600;} + +#titleLogin, #regContent h1 {font-size:24px; padding-bottom:18px; text-align:center; @@ -70,7 +76,7 @@ font-weight:bold;}*/ {font-size:12px; color:#FF8400;} -#formItf input[type=text], #formItf input[type=password], #formItf textarea { +#regContent input[type=text], #regContent input[type=password], #regContent textarea, #formItf input[type=text], #formItf input[type=email], #formItf textarea, #formItf select { border:1px solid #e3e3e3; padding:2px 2px 2px 4px; width:200px; @@ -83,15 +89,26 @@ box-shadow:inset 2px 2px 6px #d7d7d7; margin-bottom:10px; margin-left:8px;} -#formItf textarea{ +#regContent a +{color:#FF8400; +text-decoration:none;} + +#regContent a:hover, #regContent a:focus +{text-decoration:underline;} + +#regContent textarea{ vertical-align:text-top; } + +#formItf +{text-transform:capitalize;} + #formItf input:focus {outline:none; border:1px solid #999;} -#formItf input[type=submit] +#regContent input[type=submit], #regContent button, #formItf input[type=submit] {background-color:#f7bd00; color:#FFF; font-size:14px; @@ -104,8 +121,33 @@ margin-top:10px; font-family:'Century Gothic', Arial, 'DejaVu Sans', sans-serif; cursor:pointer;} +#formItf input[type=submit] +{margin-left:16px; +margin-bottom:16px;} + +#regContent form +{text-align:right; +width:370px; +margin:0 auto; +padding-top:10px;} + +#regContent .login +{width:320px;} + #alreadyUser {font-size:12px; margin-left:70px; margin-top:10px; -display:block;} \ No newline at end of file +display:block;} + +.select2-container .select2-choice +{width:400px;} + +.uniForm fieldset +{width:560px;} + +#formItf h3 +{padding:16px;} + +.formset_help_text +{padding-left:16px;} \ No newline at end of file diff --git a/itf/templates/formwidgets/select2.html b/itf/templates/formwidgets/select2.html index b673845..aa0ca2d 100644 --- a/itf/templates/formwidgets/select2.html +++ b/itf/templates/formwidgets/select2.html @@ -1,2 +1,2 @@ - Add - + + + diff --git a/itf/templates/registration/contact.html b/itf/templates/registration/contact.html index fadc26e..3054085 100755 --- a/itf/templates/registration/contact.html +++ b/itf/templates/registration/contact.html @@ -6,7 +6,7 @@ {% else %}

Write to us

-
+ {% csrf_token %}