JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: added fieldset support
[wfpl.git] / metaform / style.css
index 04cb329..ded770c 100644 (file)
@@ -1,6 +1,24 @@
+.caption {
+       margin-top: 15px;
+       font-weight: bold;
+}
 .field {
        margin-bottom: 15px;
 }
+div.field_notes {
+       font-size: 12px;
+       line-height: 16px;
+}
+fieldset {
+       border: 1px dotted black;
+       padding: 0 15px 15px 15px;
+       margin: 15px 0;
+       position: relative;
+}
+legend {
+       padding: 0 6px;
+       font-weight: bold;
+}
 div.error {
        border: 2px solid red;
        padding: 13px;
@@ -8,11 +26,11 @@ div.error {
        background: #fdd;
 }
 
-.first {
+:first-child, .first {
        padding-top: 0px;
        margin-top: 0px;
 }
-.last {
+:last-child, .last {
        padding-bottom: 0px;
        margin-bottom: 0px;
 }