root / snf-astakos-app / astakos / im / static / im / css / forms.css @ d6ea9b3d
History | View | Annotate | Download (13.4 kB)
1 |
/* generic form styles */
|
---|---|
2 |
input, textarea, .form-widget { background-color: #ffffff; color: #000;border-color: #000000; } |
3 |
#forms .input, #forms input { font-family: 'Didact Gothic', Verdana, sans-serif; font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #9e9e9e; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; } |
4 |
#forms .input:focus, |
5 |
#forms input:focus { position: relative; border: 1px solid #000; z-index: 100; } |
6 |
#forms .input:focus label, |
7 |
#forms input:focus label { z-index: 300; } |
8 |
form.withlabels label { width: 224px; display: block; float: left; padding-top: 0.8em; } |
9 |
form.withlabels input[type=text], |
10 |
form.withlabels input[type=password] { width: 228px; } |
11 |
form.withlabels input[type=text].long, |
12 |
form.withlabels input[type=password].long, |
13 |
form.withlabels textarea.long { width: 224px; } |
14 |
form.withlabels textarea { width:228px; } |
15 |
.login-section a.button { margin-bottom: 12px; } |
16 |
.login-section a.button:last-child { margin-bottom: none;} |
17 |
.login-section a.button.withicon { background-repeat: no-repeat; background-position: 15px 50%; padding-left: 40px; } |
18 |
.login-section.loggedin { padding-bottom: 0 !important; background-image: none !important; } |
19 |
form.login { margin-bottom: 22px; width:340px; } |
20 |
form h2 span { padding-bottom: 3px; } |
21 |
form .form-row { min-height: 30px; position: relative;} |
22 |
form .form-row.submit { margin: 22px 0 ;} |
23 |
form .form-row .extra-link { color: #808080; text-decoration: none; border: none; margin-top:15px; line-height:98%; display:inline-block; padding-top:15px; float: right; position:absolute; right:0; top:0; } |
24 |
form .form-row .extra-link:hover { border-bottom:1px solid #9e9e9e;} |
25 |
form .form-row label { font-size: 1.077em; } |
26 |
form.innerlabels label { position: absolute; bottom: 11px; left: 1.5em; color: #808080 ; } |
27 |
form.innerlabels p { margin:0; position: relative;} |
28 |
form.innerlabels p.p15px { font-size:1.154em;} |
29 |
form.innerlabels p.p15px a { margin:0 5px;} |
30 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
31 |
form.innerlabels a, |
32 |
form.innerlabels a:hover { } |
33 |
form textarea, |
34 |
form input.text, |
35 |
form input[type="text"], |
36 |
form input[type="password"] { color:#808080; font-family: 'Didact Gothic', Verdana, sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px;border: 1px solid #9e9e9e; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; padding-right: 4em;z-index: 2; width:258px; } |
37 |
form select { font-family: 'Didact Gothic', Verdana, sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #9e9e9e; display:block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:301px; } |
38 |
form textarea:focus, |
39 |
form input.text:focus, |
40 |
form input[type="text"]:focus, |
41 |
form input[type="password"]:focus {position: relative; border: 1px solid #000; z-index: 3;} |
42 |
form textarea:focus label, |
43 |
form input.text:focus label, |
44 |
form input[type="text"]:focus label, |
45 |
form input[type="password"]:focus label { z-index: 5;} |
46 |
form input.submit, |
47 |
form input[type="submit"], |
48 |
a.submit { font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing:1px; background-color: #f89a1c;color: #ffffff; border: none; padding: 10px 22px;font-size: 1em; margin:15px 0 0 223px; height:43px; } |
49 |
form.innerlabels input.submit, |
50 |
form.innerlabels input[type="submit"] {margin-left:0;} |
51 |
form input.submit:hover, |
52 |
form input[type="submit"]:hover, |
53 |
.content a.submit:hover { background-color:#3582AC;border-color:#3582ac; text-decoration:none;} |
54 |
form input.submit.back, |
55 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
56 |
form input.submit.back.right, |
57 |
form input[type="submit"].back.right {right: 0;} |
58 |
form input.submit.back, |
59 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
60 |
form input.submit.back.right, |
61 |
form input[type="submit"].back.right { right: 0; } |
62 |
form textarea { height: 150px; width: 350px; max-height:150px; max-width:350px;} |
63 |
form .with-errors input, |
64 |
form .with-errors textarea, |
65 |
form .with-errors select { color: #9d261d;} |
66 |
form .with-errors label { color: #e4776f; } |
67 |
.form-error { color:red; font-size: 0.8em; padding: 5px 5px; } |
68 |
.form-errors.all .form-error { position: relative; border-radius: 0; margin-bottom: 1.3em; padding: 0.5em; } |
69 |
div.form-stacked { margin-bottom: 2em; padding-bottom:1em; } |
70 |
.checkbox-widget.checked { background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; } |
71 |
.content a.checkbox-widget { border: 1px solid #808080; cursor: pointer; display: block; float: left; height: 25px; margin:5px 20px 0 0 ; width: 25px; } |
72 |
form.withlabels .checkbox-widget { margin-top:12px; } |
73 |
form.innerlabels .checkbox-widget + label { position:static; line-height:36px; color:#808080; } |
74 |
form.innerlabels .checkbox-widget + label + a { border-bottom:1px solid #F89A1C; font-size: 1.1em; } |
75 |
form span.info { position:absolute;z-index:7; bottom:32px; } |
76 |
form.innerlabels span.info { left: 290px; } |
77 |
form.withlabels span.info { left:485px; } |
78 |
form span.info em { display:block; overflow:hidden; position:absolute; left:0; text-indent:-100px; top:0; height:21px; width:21px; background:url(../images/symbols.png) no-repeat -4px -31px;cursor:pointer; } |
79 |
form span.info:hover em { background-position:-4px -3px; } |
80 |
form span.info span { position:absolute; left:29px; top:-2px; width:120px; padding-left:30px; background:url(../images/black-line.jpg ) no-repeat left 8px; min-height:50px; display:none; font-size:0.846em;} |
81 |
form span.info:hover span { display:block; } |
82 |
form span.extra-img:hover +span.info span { display:block; } |
83 |
form .with-errors span.info { display:none;} |
84 |
form p { margin-bottom:0;position:relative;} |
85 |
form input[readonly=true] { /*background-color: #ddd;*/ color: #5e5e5e; } |
86 |
#recaptcha_area { margin-top:20px; } |
87 |
form.innerlabels .with-checkbox .checkbox-widget { } |
88 |
form.innerlabels .with-checkbox .checkbox-label { left:2.5em; top:17px; } |
89 |
form.withlabels .with-checkbox .checkbox-widget { position:absolute; left:224px; top:0; } |
90 |
|
91 |
form .extra-img { display:block; width:21px; height:21px; overflow:hidden; position:absolute; } |
92 |
form.withlabels .extra-img { left:485px; bottom:12px; } |
93 |
form.innerlabels .extra-img { bottom:10px; left:290px } |
94 |
form .with-checkbox .extra-img { } |
95 |
form .with-errors .extra-img { background:url(../images/symbols.png) no-repeat -58px -3px; z-index:101;} |
96 |
form .with-errors .extra-img:hover + span.info, |
97 |
form .with-errors .extra-img:hover + span.info span { display:block; } |
98 |
form .with-errors textarea+.extra-img, |
99 |
form .with-errors noscript+.extra-img { background:transparent;} |
100 |
form .with-errors input[type="text"], |
101 |
form .with-errors input[type="password"] { border:1px solid red;} |
102 |
form.innerlabels .with-errors .extra-img { left:290px;} |
103 |
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px; z-index:101;} |
104 |
form.withlabels .with-checkbox .extra-img { display:none; } |
105 |
.errorlist { margin:0; padding:0;} |
106 |
.errorlist li { list-style:none outside;} |
107 |
|
108 |
form .with-hidden { display:none; } |
109 |
|
110 |
|
111 |
/* custom captcha */
|
112 |
#okeanos_recaptcha { width:329px; border:1px solid #9e9e9e; margin:0 0 20px; position:relative; } |
113 |
#okeanos_recaptcha #recaptcha_image { padding:15px 0; } |
114 |
#okeanos_recaptcha label.recaptcha_only_if_image, |
115 |
#okeanos_recaptcha label.recaptcha_only_if_audio{ position:absolute; top:auto; bottom:11px; } |
116 |
#okeanos_recaptcha a.recaptcha_audio_cant_hear_link { margin-left:20px; } |
117 |
#okeanos_recaptcha #recaptcha_response_field { width:170px; float:left; margin-left:-1px; } |
118 |
#okeanos_recaptcha .img { width:23px; float:left; height:23px; overflow:hidden; margin:8px; } |
119 |
#okeanos_recaptcha .img a { display:block; width:100%; height:100%; background:url(../images/refresh_lg.png) no-repeat top left; text-indent:-100px } |
120 |
#okeanos_recaptcha .img-refresh a { background:url(../images/refresh_lg.png); } |
121 |
#okeanos_recaptcha .img-refresh a:hover { background:url(../images/refresh_g.png); } |
122 |
#okeanos_recaptcha .img-audio a { background:url(../images/sound_lg.png); } |
123 |
#okeanos_recaptcha .img-audio a:hover { background:url(../images/sound_g.png); } |
124 |
#okeanos_recaptcha .actions-wrap { border-top:1px solid #9e9e9e; } |
125 |
|
126 |
input.submit:focus, |
127 |
input[type="submit"]:focus, |
128 |
.content a.submit:focus { box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #F89A1C; outline:0 none; line-height:20px;} |
129 |
.content a.submit:hover { border-color:#3582AC; } |
130 |
|
131 |
p+ form { margin:2em 0; } |
132 |
.full-dotted legend { padding-top:40px; } |
133 |
form .form-row .radios label { width:auto; float:none; display:inline-block; } |
134 |
form .form-row .radios input[type="radio"] { margin-right:165px; vertical-align:middle; } |
135 |
form.withfieldset textarea { width: 224px; } |
136 |
form.withfieldset select { width: 256px; background:#fff;} |
137 |
form+p:first-child, form legend + p { margin-bottom:2em; } |
138 |
|
139 |
|
140 |
form.link-like { display:inline-block; margin:0 5px; float:right;} |
141 |
form.link-like input[type="submit"] { margin:0; padding:0; background:transparent; color:#F89A1C; cursor:pointer; height:auto; line-height:120%; } |
142 |
form.link-like input[type="submit"]:hover { text-decoration:underline; } |
143 |
form.link-like.alone { float:none; margin:0; position:absolute; right:0; top:96px;} |
144 |
form.link-like.alone .form-row { margin:0; } |
145 |
form.link-like.alone input[type="submit"] { padding:0; } |
146 |
.projects form.withlabels .checkbox-widget { margin-top:5px; } |
147 |
.projects form .with-checkbox { margin:20px 0; } |
148 |
.projects form .with-checkbox label { padding-top:7px; } |
149 |
.projects form .with-checkbox span.info { bottom:24px; } |
150 |
.projects .minimal { float:right; position:relative; margin-bottom:-28px;} |
151 |
.projects .minimal select { padding:3px; width:250px; } |
152 |
.projects .minimal label { position:absolute; right:290px; top:5px; white-space:nowrap} |
153 |
|
154 |
@media screen and (max-width : 630px) { |
155 |
form.withlabels .extra-img { left:260px; } |
156 |
form.withlabels span.info { left:260px; } |
157 |
form .extra-img { left:260px; } |
158 |
.form-error { margin-left:0!important; } |
159 |
|
160 |
} |
161 |
|
162 |
|
163 |
@media screen and (max-width : 410px) { |
164 |
form.withlabels .extra-img { left:90% } |
165 |
form.login { width:auto; } |
166 |
form textarea, |
167 |
form input.text, |
168 |
form input[type="text"], |
169 |
form input[type="password"] { width:90%; } |
170 |
form.withlabels input[type="text"], |
171 |
form.withlabels input[type="password"], |
172 |
form.withlabels textarea, |
173 |
form textarea, |
174 |
form input.text, |
175 |
form input[type="text"], |
176 |
form input[type="password"] { width:90%; } |
177 |
form.withlabels select { width:90%; } |
178 |
form.innerlabels .extra-img, |
179 |
form.innerlabels .with-errors .extra-img { left:90%; } |
180 |
form.innerlabels { width:auto; } |
181 |
.container form.innerlabels.overflow-hidden { overflow:visible;} |
182 |
form span.info { display:none; } |
183 |
#okeanos_recaptcha { width:inherit } |
184 |
#okeanos_recaptcha #recaptcha_response_field { width:55%; } |
185 |
#okeanos_recaptcha #recaptcha_image img { width:80%; } |
186 |
} |
187 |
|
188 |
|
189 |
@media screen and ( max-width : 320px) { |
190 |
#okeanos_recaptcha { width:259px } |
191 |
form.withlabels input[type="text"], |
192 |
form.withlabels input[type="password"], |
193 |
form.withlabels textarea, |
194 |
form textarea, |
195 |
form input.text, |
196 |
form input[type="text"], |
197 |
form input[type="password"] { width:75%; } |
198 |
.form-row .dk_container { width:100%; } |
199 |
} |
200 |
form.submit-inline { position:relative } |
201 |
form.submit-inline .form-row.submit { position:absolute; left:578px; top:0; margin:0; } |
202 |
form.submit-inline .form-row input { margin:0 20px 0 0 ; } |
203 |
form.signup .back { float:right; margin:15px 70px 0 0 ; height:43px; line-height:43px } |
204 |
|
205 |
|
206 |
/* styles for complex profile form */
|
207 |
form .form-following p span.extra-img { background:url(../images/symbols3.png) 0 -161px; z-index:8; } |
208 |
form .form-following input:hover + span.extra-img { background-position:0 0px; } |
209 |
form .form-following p:hover span.extra-img:hover { background-position:0 -54px; cursor:pointer; } |
210 |
form .form-following.open p span.extra-img { background-position: -33px -161px; } |
211 |
form .form-following.open input:hover + span.extra-img { background-position: -33px 0px; } |
212 |
form .form-following.open p:hover span.extra-img:hover { background-position: -33px -54px; cursor:pointer; } |
213 |
|
214 |
form .refresh p span.extra-img { background:url(../images/symbols3.png) 54px -161px; z-index:8; } |
215 |
form .refresh input:hover + span.extra-img { background-position:54px 0px; } |
216 |
form .refresh p:hover span.extra-img:hover { background-position:54px -54px; cursor:pointer; } |
217 |
form .refresh.open p span.extra-img { background-position: -33px -161px; } |
218 |
form .refresh.open input:hover + span.extra-img { background-position: -33px 0px; } |
219 |
form .refresh.open p:hover span.extra-img:hover { background-position: -33px -54px; cursor:pointer; } |
220 |
.hidden-form-rows { display:none; } |
221 |
.signup .form-row.with-checkbox { margin-top:1em; } |