mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed form reset styles
This commit is contained in:
parent
9326d9e60e
commit
4d97f75e15
@ -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; }
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/** ----------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user