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: demo pulldown syntax
[wfpl.git]
/
metaform
/
style.css
diff --git
a/metaform/style.css
b/metaform/style.css
index
06b8762
..
8d31357
100644
(file)
--- a/
metaform/style.css
+++ b/
metaform/style.css
@@
-1,22
+1,21
@@
-div.field {
- margin-bottom: 15px;
+.caption {
+ margin-top: 15px;
font-weight: bold;
}
font-weight: bold;
}
+.field {
+ margin-bottom: 15px;
+}
div.field_notes {
font-size: 12px;
line-height: 16px;
}
div.field_notes {
font-size: 12px;
line-height: 16px;
}
-div.form_section {
+fieldset {
border: 1px dotted black;
border: 1px dotted black;
- padding: 23px 15px 15px 15px;
- margin: 40px 0;
+ padding: 0 15px 15px 15px;
+ margin: 15px 0;
position: relative;
}
position: relative;
}
-div.form_section_header {
- position: absolute;
- left: 42px;
- top: -9px;
- background: white;
+legend {
padding: 0 6px;
font-weight: bold;
}
padding: 0 6px;
font-weight: bold;
}
@@
-27,10
+26,25
@@
div.error {
background: #fdd;
}
background: #fdd;
}
+/* hack so that vertical margins are only between siblings for the most part */
+td > :first-child,
+th > :first-child,
+legend + :first-child,
+article > :first-child,
+section > :first-child,
+nav > :first-child,
+div > :first-child,
.first {
padding-top: 0px;
margin-top: 0px;
}
.first {
padding-top: 0px;
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 {
padding-bottom: 0px;
margin-bottom: 0px;
.last {
padding-bottom: 0px;
margin-bottom: 0px;