From 85db89c47aa8c7c528bd86d60ade0d872a22d868 Mon Sep 17 00:00:00 2001 From: mb863 Date: Fri, 17 Dec 2010 16:41:24 +0000 Subject: [PATCH] NIHVIVO-1559: Fixed position of error messages and call to action buttons for forms. --- productMods/edit/forms/css/customForm.css | 11 ++++++++--- themes/wilma/css/edit.css | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/productMods/edit/forms/css/customForm.css b/productMods/edit/forms/css/customForm.css index 038da142..4cf976ec 100644 --- a/productMods/edit/forms/css/customForm.css +++ b/productMods/edit/forms/css/customForm.css @@ -62,7 +62,9 @@ form.customForm p.inline.year input { input, select, form.customForm p { - margin-bottom: 1em; + /*margin-bottom: 1em;*/ + margin-top: 0; + padding-top: 0; } option { @@ -75,18 +77,21 @@ form.customForm .hint { } form.customForm .requiredHint { - color: #f00; + color: #c00; font-weight: normal; font-size: small; } form.customForm #requiredLegend { font-style: italic; + margin-top: .5em; } form.customForm p.validationError { clear: both; - margin-bottom: 1.25em; + /*margin-bottom: 1.25em;*/ + margin-top: .3em; + padding-top: 0; } form.customForm a.close { diff --git a/themes/wilma/css/edit.css b/themes/wilma/css/edit.css index 0194288f..6f4030cd 100644 --- a/themes/wilma/css/edit.css +++ b/themes/wilma/css/edit.css @@ -9,7 +9,7 @@ input[type="password"]{ border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; - margin-bottom: 1em; + /*margin-bottom: 1em;*/ } label{ margin-top: .5em; @@ -194,10 +194,10 @@ p.submit { background-color: #fff; } .formsEdit p{ - padding-top: 1em; + /*padding-top: 1em;*/ margin-bottom: 0; padding-bottom: 0; - margin-top: 1em; + margin-top: .7em; } form.deleteForm{ margin-top: 2em;