MINOR Fixed form reset styles

This commit is contained in:
Ingo Schommer 2012-05-15 22:15:36 +02:00
parent 9326d9e60e
commit 4d97f75e15
2 changed files with 18 additions and 0 deletions

View File

@ -145,7 +145,9 @@ body, html { font-size: 12px; line-height: 16px; font-family: Arial, sans-serif;
/** ---------------------------------------------------- Basic form fields ---------------------------------------------------- */
form.nostyle .field { padding: 0; border: 0; }
form.nostyle label { float: none; width: auto; }
form.nostyle label.left { float: none; display: inherit; width: auto; padding: 0; line-height: inherit; }
form.nostyle .middleColumn { margin-left: 0; }
form.nostyle input.text, form.nostyle textarea, form.nostyle select, form.nostyle .TreeDropdownField { width: auto; max-width: auto; }
.field { display: block; padding: 10px 0; border-bottom: 1px solid rgba(201, 205, 206, 0.8); -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); -o-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); padding: 0 0 7px 0; margin: 0 0 8px 0; *zoom: 1; }
.field:last-child { border-bottom: none; -moz-box-shadow: none; -webkit-box-shadow: none; -o-box-shadow: none; box-shadow: none; }

View File

@ -36,11 +36,27 @@
label {
float: none;
width: auto;
&.left {
float: none;
display: inherit;
width: auto;
padding: 0;
line-height: inherit;
}
}
.middleColumn {
margin-left: 0;
}
input.text,
textarea,
select,
.TreeDropdownField {
width: auto;
max-width: auto;
}
}
/** ----------------------------------------------------