root / snf-astakos-app / astakos / im / static / im / css / forms.css @ 0f4a8a68
History | View | Annotate | Download (6.2 kB)
1 |
/* generic form styles */
|
---|---|
2 |
input, textarea, .form-widget { |
3 |
background-color: #ffffff; |
4 |
color: #000; |
5 |
border-color: #000000; |
6 |
} |
7 |
#forms .input, #forms input { |
8 |
font-family: 'Antic', sans-serif; |
9 |
font-size: 14px; |
10 |
font-weight: normal; |
11 |
line-height: 22px; |
12 |
letter-spacing: 1px; |
13 |
border: 1px solid #808080; |
14 |
height: 21px; |
15 |
display: inline-block; |
16 |
margin-bottom: -1px; |
17 |
padding: 0.8em; |
18 |
padding-left: 1.5em; |
19 |
z-index: 2; |
20 |
} |
21 |
#forms .input:focus, #forms input:focus { |
22 |
position: relative; |
23 |
border: 1px solid #000; |
24 |
z-index: 100; |
25 |
} |
26 |
#forms .input:focus label, #forms input:focus label { |
27 |
z-index: 300; |
28 |
} |
29 |
.altcol {
|
30 |
background-color: #c3c3b9 !important; |
31 |
} |
32 |
.altcol:hover { |
33 |
background-color: #f89a1c !important; |
34 |
} |
35 |
|
36 |
form.withlabels label { |
37 |
width: 224px; |
38 |
display: block; |
39 |
float: left; |
40 |
padding-top: 1em; |
41 |
} |
42 |
form.withlabels input[type=text], form.withlabels input[type=password] { |
43 |
width: 224px; |
44 |
} |
45 |
form.withlabels input[type=text].long, form.withlabels input[type=password].long, form.withlabels textarea.long { |
46 |
width: 224px; |
47 |
} |
48 |
.login-section a.button { |
49 |
margin-bottom: 12px; |
50 |
} |
51 |
.login-section a.button:last-child { |
52 |
margin-bottom: none; |
53 |
} |
54 |
.login-section a.button.withicon { |
55 |
background-repeat: no-repeat; |
56 |
background-position: 15px 50%; |
57 |
padding-left: 40px; |
58 |
} |
59 |
.login-section.loggedin { |
60 |
padding-bottom: 0 !important; |
61 |
background-image: none !important; |
62 |
} |
63 |
form.login { |
64 |
margin-bottom: 22px; |
65 |
width:340px; |
66 |
} |
67 |
|
68 |
form h2 span { |
69 |
padding-bottom: 3px; |
70 |
} |
71 |
form .form-row { |
72 |
min-height: 29.333333333333332px; |
73 |
position: relative; |
74 |
} |
75 |
form .form-row.submit { |
76 |
margin: 22px 0 ; |
77 |
} |
78 |
form .form-row .extra-link { |
79 |
color: #808080; |
80 |
text-decoration: none; |
81 |
border: none; |
82 |
|
83 |
line-height:42px; |
84 |
float: right; |
85 |
} |
86 |
form .form-row .extra-link:hover { text-decoration:underline;} |
87 |
form .form-row label { |
88 |
font-size: 1.1em; |
89 |
} |
90 |
form.innerlabels label { |
91 |
position: absolute; |
92 |
top: 1.1em; |
93 |
left: 1.5em; |
94 |
color: #808080 ; |
95 |
} |
96 |
form.innerlabels p { |
97 |
margin:0; |
98 |
position: relative; |
99 |
} |
100 |
form.innerlabels p.p15px { font-size:1.154em;} |
101 |
form.innerlabels p.p15px a { margin:0 5px;} |
102 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
103 |
form.innerlabels a, |
104 |
form.innerlabels a:hover { border:0 none;} |
105 |
form textarea, |
106 |
form input.text, |
107 |
form input[type="text"], |
108 |
form input[type="password"] { |
109 |
color:#808080; |
110 |
font-family: 'Antic', sans-serif; |
111 |
font-weight: normal; |
112 |
line-height: 22px; |
113 |
letter-spacing: 1px; |
114 |
border: 1px solid #808080; |
115 |
height: 21px; |
116 |
display: inline-block; |
117 |
margin-bottom: -1px; |
118 |
padding: 0.8em; |
119 |
padding-left: 1.5em; |
120 |
z-index: 2; |
121 |
width:300px; |
122 |
} |
123 |
|
124 |
form select { |
125 |
font-family: 'Antic', sans-serif; |
126 |
font-weight: normal; |
127 |
line-height: 22px; |
128 |
letter-spacing: 1px; |
129 |
border: 1px solid #808080; |
130 |
display:block; |
131 |
margin-bottom: -1px; |
132 |
padding: 0.8em; |
133 |
padding-left: 1.5em; |
134 |
z-index: 2; |
135 |
width:331px; |
136 |
} |
137 |
form textarea:focus, |
138 |
form input.text:focus, |
139 |
form input[type="text"]:focus, |
140 |
form input[type="password"]:focus { |
141 |
position: relative; |
142 |
border: 1px solid #000; |
143 |
z-index: 100; |
144 |
} |
145 |
form textarea:focus label, |
146 |
form input.text:focus label, |
147 |
form input[type="text"]:focus label, |
148 |
form input[type="password"]:focus label { |
149 |
z-index: 300; |
150 |
} |
151 |
form input.submit, form input[type="submit"] { |
152 |
font-family: 'Antic', sans-serif; |
153 |
font-size: 14px; |
154 |
font-weight: normal; |
155 |
line-height: 22px; |
156 |
letter-spacing:1px; |
157 |
background-color: #3582ac; |
158 |
color: #ffffff; |
159 |
border: none; |
160 |
padding: 10px 22px; |
161 |
font-size: 1em; |
162 |
|
163 |
} |
164 |
form input.submit:hover, form input[type="submit"]:hover { |
165 |
background-color: #f89a1c; |
166 |
} |
167 |
form input.submit.back, form input[type="submit"].back { |
168 |
text-decoration: none; |
169 |
bottom: 0; |
170 |
float: right; |
171 |
z-index: 500; |
172 |
} |
173 |
form input.submit.back.right, form input[type="submit"].back.right { |
174 |
right: 0; |
175 |
} |
176 |
form input.submit:hover, form input[type="submit"]:hover { |
177 |
background-color: #f89a1c; |
178 |
} |
179 |
form input.submit.back, form input[type="submit"].back { |
180 |
text-decoration: none; |
181 |
bottom: 0; |
182 |
float: right; |
183 |
z-index: 500; |
184 |
} |
185 |
form input.submit.back.right, form input[type="submit"].back.right { |
186 |
right: 0; |
187 |
} |
188 |
form textarea { |
189 |
height: 150px; |
190 |
width: 350px; |
191 |
max-height:150px; |
192 |
max-width:350px; |
193 |
} |
194 |
form .with-errors input, form .with-errors textarea, form .with-errors select { |
195 |
color: #9d261d; |
196 |
} |
197 |
form .with-errors label { |
198 |
color: #e4776f; |
199 |
} |
200 |
.form-error {
|
201 |
background-color: #9d261d; |
202 |
color: #fff; |
203 |
font-size: 0.8em; |
204 |
padding: 5px 5px; |
205 |
} |
206 |
.form-errors.all .form-error { |
207 |
position: relative; |
208 |
border-radius: 0; |
209 |
margin-bottom: 1.3em; |
210 |
padding: 0.5em; |
211 |
} |
212 |
div.form-stacked { |
213 |
margin-bottom: 4em; |
214 |
} |
215 |
|
216 |
.checkbox-widget.checked { |
217 |
background-color: #FF0000; |
218 |
background-image: url("../images/checkbox.png"); |
219 |
background-position: 50% 50%; |
220 |
} |
221 |
.checkbox-widget {
|
222 |
border: 1px solid #808080; |
223 |
cursor: pointer; |
224 |
display: block; |
225 |
float: left; |
226 |
height: 25px; |
227 |
margin:5px 20px 0 0 ; |
228 |
width: 25px; |
229 |
|
230 |
} |
231 |
|
232 |
|
233 |
form.withlabels .checkbox-widget{ |
234 |
margin-top:20px; |
235 |
} |
236 |
|
237 |
form.innerlabels .checkbox-widget + label { |
238 |
position:static; |
239 |
line-height:36px; |
240 |
color:#808080; |
241 |
|
242 |
} |
243 |
|
244 |
form.innerlabels .checkbox-widget + label + a { |
245 |
border-bottom:1px solid #F89A1C; |
246 |
font-size: 1.1em; |
247 |
|
248 |
} |
249 |
|
250 |
form span.info{ |
251 |
position:absolute; |
252 |
z-index:10; |
253 |
top:8px; |
254 |
left: 260px; |
255 |
|
256 |
} |
257 |
form span.info em { |
258 |
display:block; |
259 |
overflow:hidden; |
260 |
position:absolute; |
261 |
left:0; |
262 |
text-indent:-100px; |
263 |
top:0; |
264 |
height:28px; |
265 |
width:28px; |
266 |
background:url(../images/question-mark.jpg) no-repeat left bottom; |
267 |
cursor:pointer; |
268 |
} |
269 |
|
270 |
form span.info:hover em { |
271 |
background-position:left top; |
272 |
} |
273 |
|
274 |
form span.info span { |
275 |
position:relative; |
276 |
left:42px; |
277 |
top:2px; |
278 |
width:150px; |
279 |
padding-left:55px; |
280 |
background:url(../images/black-line.jpg ) no-repeat left 12px; |
281 |
min-height:50px; |
282 |
display:none; |
283 |
color:#b3b3b3; |
284 |
} |
285 |
|
286 |
form span.info span a { |
287 |
color:#b3b3b3; |
288 |
border-bottom:1px solid #F89A1C; |
289 |
} |
290 |
|
291 |
form span.info:hover span { |
292 |
display:block; |
293 |
} |
294 |
|
295 |
form p { |
296 |
margin-bottom:0; |
297 |
} |
298 |
|
299 |
|
300 |
form input[readonly=true] { |
301 |
background-color: #ddd; |
302 |
color: #5e5e5e; |
303 |
} |
304 |
|
305 |
#recaptcha_area {
|
306 |
margin-top:20px; |
307 |
} |
308 |
|