JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: php refactor, opt_public_*
[wfpl.git] / metaform / style.less
1 #wfpl_messages {
2         border: 2px solid red;
3         background: #fbb;
4         padding: 5px;
5         margin: 20px 0px;
6         p {
7                 font-size: 120%;
8                 padding: 5px;
9                 margin: 0px;
10         }
11         hr {
12                 height: 1px;
13         }
14 }
15 .caption {
16         margin-top: 15px;
17         font-weight: bold;
18 }
19 .field {
20         margin-bottom: 15px;
21 }
22 div.field_notes {
23         font-size: 12px;
24         line-height: 16px;
25 }
26 fieldset {
27         border: 1px dotted black;
28         padding: 0 15px 15px 15px;
29         margin: 15px 0;
30         position: relative;
31 }
32 legend {
33         padding: 0 6px;
34         font-weight: bold;
35 }
36 div.error {
37         border: 2px solid red;
38         padding: 13px;
39         margin: 20px;
40         background: #fdd;
41 }
42
43 /* hack so that vertical margins are only between siblings for the most part */
44 td > :first-child,
45 th > :first-child,
46 legend + *,
47 article > :first-child,
48 section > :first-child,
49 nav > :first-child,
50 div > :first-child,
51 .first {
52         margin-top: 0px;
53 }
54 td > :last-child,
55 th > :last-child,
56 fieldset > :last-child,
57 article > :last-child,
58 section > :last-child,
59 nav > :last-child,
60 div > :last-child,
61 .last {
62         margin-bottom: 0px;
63 }