css for allauth forms + some cleanup on profile form css

This commit is contained in:
Karen 2012-07-19 15:38:48 +05:30
parent 1bf13ef6ef
commit f79e3a2fd5
3 changed files with 53 additions and 11 deletions

View File

@ -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;}
display:block;}
.select2-container .select2-choice
{width:400px;}
.uniForm fieldset
{width:560px;}
#formItf h3
{padding:16px;}
.formset_help_text
{padding-left:16px;}

View File

@ -1,2 +1,2 @@
<input type="hidden" id="id_{{name}}" name="{{name}}" data-ctype="{{ ctype.id }}" class="select2class" data-id="{{ value }}" data-title="{% if title %} {{ title }} {% endif %}" style="width:600px;" /> <a href="/popup_form/{{ ctype.id }}" id="add_{{name}}" onclick="return showAddAnotherPopup(this);">Add</a>
<input type="hidden" id="id_{{name}}" name="{{name}}" data-ctype="{{ ctype.id }}" class="select2class" data-id="{{ value }}" data-title="{% if title %} {{ title }} {% endif %}" style="width:600px;" /> <a href="/popup_form/{{ ctype.id }}" class="popup_add_btn" title="Add new" id="add_{{name}}" onclick="return showAddAnotherPopup(this);">+</a>

View File

@ -6,7 +6,7 @@
{% else %}
<p id="titleLogin">Write to us</p>
<form action="" method="POST" id="formItf">
<form action="" method="POST">
{% csrf_token %}
<table>