NIHVIVO-1559: Fixed position of error messages and call to action buttons for forms.

This commit is contained in:
mb863 2010-12-17 16:41:24 +00:00
parent 70f7b3787d
commit 85db89c47a
2 changed files with 11 additions and 6 deletions

View file

@ -62,7 +62,9 @@ form.customForm p.inline.year input {
input, input,
select, select,
form.customForm p { form.customForm p {
margin-bottom: 1em; /*margin-bottom: 1em;*/
margin-top: 0;
padding-top: 0;
} }
option { option {
@ -75,18 +77,21 @@ form.customForm .hint {
} }
form.customForm .requiredHint { form.customForm .requiredHint {
color: #f00; color: #c00;
font-weight: normal; font-weight: normal;
font-size: small; font-size: small;
} }
form.customForm #requiredLegend { form.customForm #requiredLegend {
font-style: italic; font-style: italic;
margin-top: .5em;
} }
form.customForm p.validationError { form.customForm p.validationError {
clear: both; clear: both;
margin-bottom: 1.25em; /*margin-bottom: 1.25em;*/
margin-top: .3em;
padding-top: 0;
} }
form.customForm a.close { form.customForm a.close {

View file

@ -9,7 +9,7 @@ input[type="password"]{
border-radius: 5px; border-radius: 5px;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
margin-bottom: 1em; /*margin-bottom: 1em;*/
} }
label{ label{
margin-top: .5em; margin-top: .5em;
@ -194,10 +194,10 @@ p.submit {
background-color: #fff; background-color: #fff;
} }
.formsEdit p{ .formsEdit p{
padding-top: 1em; /*padding-top: 1em;*/
margin-bottom: 0; margin-bottom: 0;
padding-bottom: 0; padding-bottom: 0;
margin-top: 1em; margin-top: .7em;
} }
form.deleteForm{ form.deleteForm{
margin-top: 2em; margin-top: 2em;