Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metaform impl: checkbox opts as bool in php
[wfpl.git]
/
metaform
/
style.css
diff --git
a/metaform/style.css
b/metaform/style.css
index
006ccab
..
c39d711
100644
(file)
--- a/
metaform/style.css
+++ b/
metaform/style.css
@@
-1,18
+1,49
@@
-td.field, td.right_caption {
- text-align: left;
- vertical-align: bottom;
+.caption {
+ margin-top: 15px;
+ font-weight: bold;
+}
+.field {
+ margin-bottom: 15px;
+}
+div.field_notes {
+ font-size: 12px;
+ line-height: 16px;
}
}
-td.caption, td.errorcaption {
- text-align: right;
- vertical-align: top;
+fieldset {
+ border: 1px dotted black;
+ padding: 0 15px 15px 15px;
+ margin: 15px 0;
+ position: relative;
}
}
-td.caption, td.errorcaption, td.right_caption {
+legend {
+ padding: 0 6px;
font-weight: bold;
}
font-weight: bold;
}
-td.errorcaption { color: red; }
div.error {
border: 2px solid red;
padding: 13px;
margin: 20px;
background: #fdd;
}
div.error {
border: 2px solid red;
padding: 13px;
margin: 20px;
background: #fdd;
}
+
+/* hack so that vertical margins are only between siblings for the most part */
+td > :first-child,
+th > :first-child,
+legend + *,
+article > :first-child,
+section > :first-child,
+nav > :first-child,
+div > :first-child,
+.first {
+ margin-top: 0px;
+}
+td > :last-child,
+th > :last-child,
+fieldset > :last-child,
+article > :last-child,
+section > :last-child,
+nav > :last-child,
+div > :last-child,
+.last {
+ margin-bottom: 0px;
+}