From 4651277992d850de71f2ce7bf663b3ff3a5647d5 Mon Sep 17 00:00:00 2001 From: Karen Date: Fri, 7 Sep 2012 22:49:57 +0530 Subject: [PATCH] changes to forms in register.css --- itf/static/css/register.css | 27 ++++++++++++++++++++++++--- itf/templates/test/person_form.html | 6 +++++- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/itf/static/css/register.css b/itf/static/css/register.css index 3a6f0eb..a67f607 100755 --- a/itf/static/css/register.css +++ b/itf/static/css/register.css @@ -171,12 +171,33 @@ padding-left:20px;} {padding:6px;} .add-row -{padding-left:16px; -padding-top:16px; -display:inline-block;} +{margin:16px 0 16px 16px; +background: #aaa; +color:#fff !important; +padding: 4px 6px; +border-radius: 6px; +display:inline-block; +text-transform:uppercase; +font-variant: small-caps; +font-size: 80%;} .topFormErrors {padding:10px 20px; color:red; font-weight:bold;} +.inlineWrapper h3 +{cursor: pointer; +border-top: 1px solid #ddd; +margin-bottom: 0;} + +.inlineWrapper:last-of-type h3 +{border-bottom: 1px solid #ddd;} + +.inlineWrapper fieldset:nth-of-type(odd) { + background: #f5f5f5; +} + +.inlineWrapper fieldset:nth-of-type(even) { + background: #e8e8e8; +} \ No newline at end of file diff --git a/itf/templates/test/person_form.html b/itf/templates/test/person_form.html index 23d26c8..9fa8105 100644 --- a/itf/templates/test/person_form.html +++ b/itf/templates/test/person_form.html @@ -25,6 +25,10 @@ .inlineHidden { display:none; } + + div[id$="DELETE"] { + color: red; + } @@ -182,7 +186,7 @@ $(function(){ {% for inline in inlines %}
-

{{inline.title }}

+

{{inline.title }}

{% if inline.help_text %}
{{ inline.help_text }}