1 /* --------------------------------------------------------------
4 * Sets up some default styling for forms
5 * Gives you classes to enhance your forms
8 * For text fields, use class .title or .text
9 * For inline forms, use .inline (even when using columns)
11 -------------------------------------------------------------- */
13 label { font-weight: bold; }
14 fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
15 legend { font-weight: bold; font-size:1.2em; }
19 -------------------------------------------------------------- */
21 input[type=text], input[type=password],
22 input.text, input.title,
24 background-color:#fff;
25 border:1px solid #bbb;
27 input[type=text]:focus, input[type=password]:focus,
28 input.text:focus, input.title:focus,
29 textarea:focus, select:focus {
33 input[type=text], input[type=password],
34 input.text, input.title,
40 input.title { width: 300px; padding:5px; }
41 input.title { font-size:1.5em; }
42 textarea { width: 390px; height: 250px; padding:5px; }
44 input[type=checkbox], input[type=radio],
45 input.checkbox, input.radio {
46 position:relative; top:.25em;
49 form.inline { line-height:3; }
50 form.inline p { margin-bottom:0; }
53 /* Success, notice and error boxes
54 -------------------------------------------------------------- */
58 .success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
60 .error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
61 .notice { background: #FFF6BF; color: #514721; border-color: #FFD324; }
62 .success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
63 .error a { color: #8a1f11; }
64 .notice a { color: #514721; }
65 .success a { color: #264409; }