Line | |
---|
1 | input[type=text], |
---|
2 | input[type=password], |
---|
3 | input[type=submit], |
---|
4 | input[type=button], |
---|
5 | input[type=reset], |
---|
6 | a.button, |
---|
7 | button, |
---|
8 | textarea, |
---|
9 | select, |
---|
10 | legend { |
---|
11 | border-radius: 3px; |
---|
12 | max-width: 100%; |
---|
13 | } |
---|
14 | |
---|
15 | form { |
---|
16 | display: block; |
---|
17 | margin: 0; |
---|
18 | padding: 0; |
---|
19 | } |
---|
20 | |
---|
21 | fieldset { |
---|
22 | display: block; |
---|
23 | margin: 1em 0; |
---|
24 | padding: 1em 0.5em; |
---|
25 | border-width: 1px 0; |
---|
26 | border-style: solid; |
---|
27 | border-color: #ccc; |
---|
28 | background: #f7f7f7; |
---|
29 | } |
---|
30 | |
---|
31 | input[type=text], |
---|
32 | textarea { |
---|
33 | font-family: $sans-serif-input; |
---|
34 | font-size: 100%; |
---|
35 | } |
---|
36 | |
---|
37 | legend { |
---|
38 | padding: 0.2em 0.6em; |
---|
39 | border-width: 1px; |
---|
40 | border-style: solid; |
---|
41 | border-color: #676e78; |
---|
42 | background: #fff; |
---|
43 | margin-bottom: 0.5em; |
---|
44 | } |
---|
45 | |
---|
46 | label .maximal, |
---|
47 | textarea.maximal, |
---|
48 | input.maximal, |
---|
49 | select.maximal { |
---|
50 | width: 99%; |
---|
51 | } |
---|
52 | |
---|
53 | input[type=text], |
---|
54 | input[type=password], |
---|
55 | textarea, |
---|
56 | select { |
---|
57 | background: #fcfcfc; |
---|
58 | color: #000; |
---|
59 | border-width: 1px; |
---|
60 | border-style: solid; |
---|
61 | border-color: #dfdfdf; |
---|
62 | box-shadow: 1px 1px 2px #f3f3f3 inset; |
---|
63 | padding: 3px; |
---|
64 | vertical-align: top; |
---|
65 | } |
---|
66 | |
---|
67 | input:focus, |
---|
68 | textarea:focus, |
---|
69 | select:focus { |
---|
70 | border-color: #9bca1c; |
---|
71 | } |
---|
72 | |
---|
73 | textarea { |
---|
74 | padding: 2px 0; |
---|
75 | &.maximal { |
---|
76 | resize: vertical; |
---|
77 | } |
---|
78 | .area & { |
---|
79 | display: block; |
---|
80 | width: 100%; |
---|
81 | resize: vertical; |
---|
82 | } |
---|
83 | } |
---|
84 | |
---|
85 | select { |
---|
86 | padding: 2px 0; |
---|
87 | vertical-align: middle; |
---|
88 | } |
---|
89 | |
---|
90 | select.l10n option { |
---|
91 | padding-left: 16px; |
---|
92 | } |
---|
93 | |
---|
94 | option.avail10n { |
---|
95 | background: transparent url(../images/check-on.png) no-repeat 0 50%; |
---|
96 | } |
---|
97 | |
---|
98 | input.invalid, |
---|
99 | textarea.invalid, |
---|
100 | select.invalid { |
---|
101 | border: 1px solid red; |
---|
102 | background: #FFBABA; |
---|
103 | color: #900; |
---|
104 | box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3); |
---|
105 | } |
---|
106 | |
---|
107 | input[type=text], |
---|
108 | input[type=password], |
---|
109 | textarea { |
---|
110 | margin-right: .3em; |
---|
111 | } |
---|
112 | |
---|
113 | input[type=checkbox], |
---|
114 | input[type=radio], |
---|
115 | input[type=file] { |
---|
116 | border: none; |
---|
117 | margin: 0 .33em 0 0; |
---|
118 | padding: 0; |
---|
119 | background: transparent; |
---|
120 | } |
---|
121 | |
---|
122 | input[type=file] { |
---|
123 | margin-top: .3em; |
---|
124 | margin-bottom: .3em; |
---|
125 | } |
---|
126 | |
---|
127 | optgroup { |
---|
128 | font-weight: bold; |
---|
129 | font-style: normal; |
---|
130 | } |
---|
131 | |
---|
132 | option { |
---|
133 | font-weight: normal; |
---|
134 | } |
---|
135 | |
---|
136 | label, |
---|
137 | label span { |
---|
138 | display: block; |
---|
139 | } |
---|
140 | |
---|
141 | label.ib, |
---|
142 | input.ib { |
---|
143 | display: inline-block; |
---|
144 | } |
---|
145 | |
---|
146 | label.classic { |
---|
147 | display: inline; |
---|
148 | } |
---|
149 | |
---|
150 | label.classic input, |
---|
151 | label span input, |
---|
152 | label.classic select, |
---|
153 | label span select { |
---|
154 | display: inline; |
---|
155 | } |
---|
156 | |
---|
157 | label.required { |
---|
158 | font-weight: bold; |
---|
159 | } |
---|
160 | |
---|
161 | label.required abbr { |
---|
162 | color: #900; |
---|
163 | font-size: 1.3em; |
---|
164 | } |
---|
165 | |
---|
166 | label.bold { |
---|
167 | text-transform: uppercase; |
---|
168 | font-weight: bold; |
---|
169 | margin-top: 2em; |
---|
170 | } |
---|
171 | |
---|
172 | label.area, |
---|
173 | p.area { |
---|
174 | width: inherit !important; |
---|
175 | } |
---|
176 | |
---|
177 | p.field { |
---|
178 | position: relative; |
---|
179 | label { |
---|
180 | display: inline-block; |
---|
181 | width: 14em; |
---|
182 | } |
---|
183 | &.wide label { |
---|
184 | width: 21em; |
---|
185 | } |
---|
186 | input, |
---|
187 | select { |
---|
188 | display: inline-block; |
---|
189 | } |
---|
190 | } |
---|
191 | |
---|
192 | .form-note { |
---|
193 | font-style: italic; |
---|
194 | font-weight: normal; |
---|
195 | color: #676e78; |
---|
196 | } |
---|
197 | |
---|
198 | p.form-note { |
---|
199 | margin-top: -.7em; |
---|
200 | } |
---|
201 | |
---|
202 | span.form-note { |
---|
203 | text-transform: none; |
---|
204 | } |
---|
205 | |
---|
206 | // .more-info Additional information on fieldset, field, … (may be hide from user-prefs) |
---|
207 | .more-info {} |
---|
208 | |
---|
209 | .no-more-info { |
---|
210 | display: none; |
---|
211 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.