root / snf-astakos-app / astakos / im / static / im / css / forms.css @ 59728d4e
History | View | Annotate | Download (11.8 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 #808080; 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: 270px; } |
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:270px; } |
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 #808080;} |
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 #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:300px; } |
37 |
form select { font-family: 'Didact Gothic', Verdana, sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; 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: 100;} |
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: 300;} |
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: 4em; } |
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:101; top:10px; } |
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 .with-errors span.info { display:none;} |
83 |
form p { margin-bottom:0;position:relative;} |
84 |
form input[readonly=true] { /*background-color: #ddd;*/ color: #5e5e5e; } |
85 |
#recaptcha_area { margin-top:20px; } |
86 |
form.innerlabels .with-checkbox .checkbox-widget { } |
87 |
form.innerlabels .with-checkbox .checkbox-label { left:2.5em; top:17px; } |
88 |
form.withlabels .with-checkbox .checkbox-widget { position:absolute; left:224px; top:0; } |
89 |
|
90 |
form .extra-img { display:block; width:21px; height:21px; overflow:hidden; position:absolute; } |
91 |
form.withlabels .extra-img { left:485px; bottom:12px; } |
92 |
form.innerlabels .extra-img { bottom:10px; left:290px } |
93 |
form .with-checkbox .extra-img { } |
94 |
form .with-errors .extra-img { background:url(../images/symbols.png) no-repeat -58px -3px; z-index:101;} |
95 |
form .with-errors textarea+.extra-img, |
96 |
form .with-errors noscript+.extra-img { background:transparent;} |
97 |
form .with-errors input[type="text"], |
98 |
form .with-errors input[type="password"] { border:1px solid red;} |
99 |
form.innerlabels .with-errors .extra-img { left:290px;} |
100 |
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px; z-index:101;} |
101 |
form.withlabels .with-checkbox .extra-img { display:none; } |
102 |
.errorlist { margin:0; padding:0;} |
103 |
.errorlist li { list-style:none outside;} |
104 |
|
105 |
form .with-hidden { display:none; } |
106 |
|
107 |
|
108 |
/* custom captcha */
|
109 |
#okeanos_recaptcha { width:329px; border:1px solid #808080; margin:0 0 20px; position:relative; } |
110 |
#okeanos_recaptcha #recaptcha_image { padding:15px 0; } |
111 |
#okeanos_recaptcha label.recaptcha_only_if_image, |
112 |
#okeanos_recaptcha label.recaptcha_only_if_audio{ position:absolute; top:auto; bottom:11px; } |
113 |
#okeanos_recaptcha a.recaptcha_audio_cant_hear_link { margin-left:20px; } |
114 |
#okeanos_recaptcha #recaptcha_response_field { width:220px; float:left; margin-left:-1px; } |
115 |
#okeanos_recaptcha .img { width:23px; float:left; height:23px; overflow:hidden; margin:8px; } |
116 |
#okeanos_recaptcha .img a { display:block; width:100%; height:100%; background:url(../images/refresh_lg.png) no-repeat top left; text-indent:-100px } |
117 |
#okeanos_recaptcha .img-refresh a { background:url(../images/refresh_lg.png); } |
118 |
#okeanos_recaptcha .img-refresh a:hover { background:url(../images/refresh_g.png); } |
119 |
#okeanos_recaptcha .img-audio a { background:url(../images/sound_lg.png); } |
120 |
#okeanos_recaptcha .img-audio a:hover { background:url(../images/sound_g.png); } |
121 |
#okeanos_recaptcha .actions-wrap { border-top:1px solid #808080 } |
122 |
|
123 |
input.submit:focus, |
124 |
input[type="submit"]:focus, |
125 |
.content a.submit:focus { box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #F89A1C; outline:0 none; } |
126 |
.content a.submit:hover { border-color:#3582AC; } |
127 |
|
128 |
p+ form { margin:2em 0; } |
129 |
.full-dotted legend { padding-top:40px; } |
130 |
form .form-row .radios label { width:auto; float:none; display:inline-block; } |
131 |
form .form-row .radios input[type="radio"] { margin-right:165px; vertical-align:middle; } |
132 |
form.withfieldset textarea { width: 224px; } |
133 |
form.withfieldset select { width: 256px; background:#fff;} |
134 |
form+p:first-child, form legend + p { margin-bottom:2em; } |
135 |
|
136 |
|
137 |
form.link-like { display:inline-block; margin:0 5px; float:right;} |
138 |
form.link-like input[type="submit"] { margin:0; padding:0 5px; background:transparent; color:#F89A1C; cursor:pointer; height:auto; line-height:120%; } |
139 |
form.link-like input[type="submit"]:hover { text-decoration:underline; } |
140 |
form.link-like.alone { float:none; margin:0; position:absolute; right:0; top:96px;} |
141 |
form.link-like.alone .form-row { margin:0; } |
142 |
form.link-like.alone input[type="submit"] { padding:0; } |
143 |
.projects form.withlabels .checkbox-widget { margin-top:5px; } |
144 |
.projects form .with-checkbox { margin:20px 0; } |
145 |
.projects form .with-checkbox label { padding-top:7px; } |
146 |
.projects form .with-checkbox span.info { bottom:24px; } |
147 |
.projects .minimal { float:right; position:relative; margin-bottom:-28px;} |
148 |
.projects .minimal select { padding:3px; width:250px; } |
149 |
.projects .minimal label { position:absolute; right:290px; top:5px; white-space:nowrap} |
150 |
|
151 |
@media screen and (max-width : 630px) { |
152 |
form.withlabels .extra-img { left:260px; } |
153 |
form.withlabels span.info { left:260px; } |
154 |
form .extra-img { left:260px; } |
155 |
.form-error { margin-left:0!important; } |
156 |
|
157 |
} |
158 |
|
159 |
|
160 |
@media screen and (max-width : 410px) { |
161 |
form.withlabels .extra-img { left:90% } |
162 |
form.login { width:auto; } |
163 |
form textarea, |
164 |
form input.text, |
165 |
form input[type="text"], |
166 |
form input[type="password"] { width:90%; } |
167 |
form.withlabels input[type="text"], |
168 |
form.withlabels input[type="password"], |
169 |
form.withlabels textarea, |
170 |
form textarea, |
171 |
form input.text, |
172 |
form input[type="text"], |
173 |
form input[type="password"] { width:90%; } |
174 |
form.withlabels select { width:90%; } |
175 |
form.innerlabels .extra-img, |
176 |
form.innerlabels .with-errors .extra-img { left:90%; } |
177 |
form.innerlabels { width:auto; } |
178 |
.container form.innerlabels.overflow-hidden { overflow:visible;} |
179 |
form span.info { display:none; } |
180 |
#okeanos_recaptcha { width:inherit } |
181 |
#okeanos_recaptcha #recaptcha_response_field { width:55%; } |
182 |
#okeanos_recaptcha #recaptcha_image img { width:80%; } |
183 |
} |
184 |
|
185 |
|
186 |
@media screen and ( max-width : 320px) { |
187 |
#okeanos_recaptcha { width:259px } |
188 |
form.withlabels input[type="text"], |
189 |
form.withlabels input[type="password"], |
190 |
form.withlabels textarea, |
191 |
form textarea, |
192 |
form input.text, |
193 |
form input[type="text"], |
194 |
form input[type="password"] { width:90%; } |
195 |
.form-row .dk_container { width:100%; } |
196 |
} |
197 |
form.submit-inline { position:relative } |
198 |
form.submit-inline .form-row.submit { position:absolute; left:578px; top:0; margin:0; } |
199 |
form.submit-inline .form-row input { margin:0 20px 0 0 ; } |