2
* CSS styles for form and input fields.
4
* These styles are used with form and input fields generated via yiic script.
2
* CSS styles for forms generated by yiic.
4
* The styles can be applied to the following form structure:
8
* <label for="inputid">xyz</label>
9
* <input name="inputid" id="inputid" type="text" />
10
* <p class="hint">hint text</p>
13
* <label for="inputid">xyz</label>
14
* <input name="inputid" id="inputid" type="text" />
15
* <p class="hint">hint text</p>
17
* <div class="row buttons">
18
* <label for="inputid">xyz</label>
19
* <input name="inputid" id="inputid" type="text" />
20
* <p class="hint">hint text</p>
24
* The above code will render the labels and input fields in separate lines.
25
* In order to render them in the same line, please use the "wide" form as follows,
27
* <div class="wide form">
6
31
* @author Qiang Xue <qiang.xue@gmail.com>
7
32
* @link http://www.yiiframework.com/
8
* @copyright Copyright © 2008-2009 Yii Software LLC
33
* @copyright Copyright © 2008-2010 Yii Software LLC
9
34
* @license http://www.yiiframework.com/license/
14
border: 2px solid #B7DDF2;
21
div.yiiForm label.required
25
div.yiiForm span.required
46
margin: 0.2em 0 0.5em 0;
51
border: 1px solid #DDD;
54
-moz-border-radius:7px;
81
div.form span.required
93
div.form textarea.error,
100
div.form .errorSummary
32
102
border: 2px solid #C00;
33
103
padding: 7px 7px 12px 7px;
104
div.yiiForm label.error,
105
div.yiiForm span.error
110
div.yiiForm input.error,
111
div.yiiForm textarea.error,
112
div.yiiForm select.error
118
div.yiiForm div.simple div,
119
div.yiiForm div.complex div
141
div.wide form .buttons
147
div.wide form .errorMessage