Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / static / im / css / forms.css @ 003d8fcf

History | View | Annotate | Download (13.1 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: 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: 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:7; 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 .extra-img:hover + span.info,
96
form .with-errors .extra-img:hover + span.info span                                { display:block; }
97
form .with-errors textarea+.extra-img,
98
form .with-errors noscript+.extra-img                { background:transparent;}
99
form .with-errors input[type="text"],
100
form .with-errors input[type="password"]        { border:1px solid red;}
101
form.innerlabels .with-errors .extra-img        { left:290px;}
102
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px; z-index:101;}
103
form.withlabels .with-checkbox .extra-img        { display:none; } 
104
.errorlist                                                                        { margin:0; padding:0;}
105
.errorlist li                                                                { list-style:none outside;}
106

    
107
form .with-hidden                                                        { display:none; }
108

    
109

    
110
/* custom captcha */
111
#okeanos_recaptcha                                                                { width:329px; border:1px solid #808080; margin:0 0 20px; position:relative; }
112
#okeanos_recaptcha #recaptcha_image                                { padding:15px 0; }
113
#okeanos_recaptcha label.recaptcha_only_if_image,
114
#okeanos_recaptcha label.recaptcha_only_if_audio{ position:absolute; top:auto; bottom:11px; }
115
#okeanos_recaptcha a.recaptcha_audio_cant_hear_link { margin-left:20px;  }
116
#okeanos_recaptcha #recaptcha_response_field        { width:220px; float:left; margin-left:-1px;  }
117
#okeanos_recaptcha .img                                                        { width:23px; float:left; height:23px; overflow:hidden; margin:8px; }
118
#okeanos_recaptcha .img a                                                { display:block; width:100%; height:100%; background:url(../images/refresh_lg.png) no-repeat top left; text-indent:-100px }
119
#okeanos_recaptcha .img-refresh        a                                { background:url(../images/refresh_lg.png); }
120
#okeanos_recaptcha .img-refresh a:hover                        { background:url(../images/refresh_g.png); }
121
#okeanos_recaptcha .img-audio        a                                { background:url(../images/sound_lg.png); }
122
#okeanos_recaptcha .img-audio a:hover                        { background:url(../images/sound_g.png); }
123
#okeanos_recaptcha .actions-wrap                                { border-top:1px solid #808080 }
124

    
125
input.submit:focus,
126
input[type="submit"]:focus,
127
.content a.submit:focus                                                        { box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #F89A1C; outline:0 none; }                                                
128
.content a.submit:hover                                                        { border-color:#3582AC; }
129

    
130
p+ form                                                                                        { margin:2em 0; }
131
.full-dotted legend                                                                { padding-top:40px; }
132
form .form-row .radios label                                        { width:auto; float:none; display:inline-block; }
133
form .form-row .radios input[type="radio"]                { margin-right:165px; vertical-align:middle; }
134
form.withfieldset textarea                                                { width: 224px; }
135
form.withfieldset select                                                { width: 256px; background:#fff;}
136
form+p:first-child, form legend + p                                { margin-bottom:2em; }
137

    
138

    
139
form.link-like                                                                        { display:inline-block; margin:0 5px; float:right;}
140
form.link-like input[type="submit"]                                { margin:0; padding:0; background:transparent; color:#F89A1C; cursor:pointer; height:auto; line-height:120%;  }
141
form.link-like input[type="submit"]:hover                { text-decoration:underline;  }
142
form.link-like.alone                                                        { float:none; margin:0; position:absolute; right:0; top:96px;}
143
form.link-like.alone .form-row                                        { margin:0; }
144
form.link-like.alone input[type="submit"]                { padding:0; }        
145
.projects form.withlabels .checkbox-widget                { margin-top:5px; }
146
.projects form .with-checkbox                                        { margin:20px 0; }
147
.projects form .with-checkbox label                                { padding-top:7px; }
148
.projects form .with-checkbox span.info                        { bottom:24px; }
149
.projects .minimal                                                                { float:right; position:relative; margin-bottom:-28px;}
150
.projects .minimal select                                                { padding:3px; width:250px; }
151
.projects .minimal label                                                { position:absolute; right:290px; top:5px; white-space:nowrap}
152

    
153
@media screen and (max-width : 630px)                 { 
154
        form.withlabels .extra-img                                           { left:260px; }
155
    form.withlabels span.info                                            { left:260px; }
156
    form .extra-img                                                       { left:260px; }
157
    .form-error                                                               { margin-left:0!important; } 
158
    
159
}
160

    
161

    
162
@media screen and (max-width : 410px)                 { 
163
        form.withlabels .extra-img                                           { left:90% }        
164
        form.login                                                                        { width:auto; }
165
        form textarea, 
166
        form input.text, 
167
        form input[type="text"], 
168
        form input[type="password"]                                 { width:90%; }
169
        form.withlabels input[type="text"], 
170
    form.withlabels input[type="password"],
171
    form.withlabels textarea,
172
    form textarea, 
173
        form input.text, 
174
        form input[type="text"], 
175
        form input[type="password"]                                        { width:90%; }
176
        form.withlabels select                                                { width:90%; }
177
        form.innerlabels .extra-img,
178
        form.innerlabels .with-errors .extra-img         { left:90%; }
179
        form.innerlabels                                                        { width:auto; }
180
        .container form.innerlabels.overflow-hidden        { overflow:visible;}
181
        form span.info                                                                { display:none; }
182
        #okeanos_recaptcha                                                        { width:inherit }
183
        #okeanos_recaptcha #recaptcha_response_field        { width:55%; }
184
        #okeanos_recaptcha #recaptcha_image        img                { width:80%; }
185
}
186

    
187

    
188
@media screen and ( max-width : 320px)                 { 
189
        #okeanos_recaptcha                                                        { width:259px }
190
    form.withlabels input[type="text"], 
191
    form.withlabels input[type="password"],
192
    form.withlabels textarea,
193
    form textarea, 
194
        form input.text, 
195
        form input[type="text"], 
196
        form input[type="password"]                                        { width:90%; }
197
        .form-row .dk_container                                         { width:100%; }
198
}
199
form.submit-inline                                                                 { position:relative }
200
form.submit-inline .form-row.submit                                { position:absolute; left:578px; top:0; margin:0; }
201
form.submit-inline .form-row input                                { margin:0 20px 0 0 ; }
202
form.signup .back                                                                { float:right; margin:15px 70px 0 0 ; height:43px; line-height:43px }
203

    
204

    
205
/* styles for complex profile form */
206
form .form-following p span.extra-img                                { background:url(../images/symbols3.png) 0 -161px; z-index:8; }
207
form .form-following p:hover span.extra-img                        { background-position:0 0px; }
208
form .form-following p:hover span.extra-img:hover        { background-position:0 -54px; cursor:pointer; }
209
form .form-following.open p span.extra-img                                { background-position: -33px -161px; }
210
form .form-following.open p:hover span.extra-img                        { background-position: -33px 0px; }
211
form .form-following.open p:hover span.extra-img:hover        { background-position: -33px -54px; cursor:pointer; }
212

    
213
form .refresh p span.extra-img                                                { background:url(../images/symbols3.png) 54px -161px; z-index:8; }
214
form .refresh p:hover span.extra-img                                { background-position:54px 0px; }
215
form .refresh p:hover span.extra-img:hover                        { background-position:54px -54px; cursor:pointer; }
216
form .refresh.open p span.extra-img                                        { background-position: -33px -161px; }
217
form .refresh.open p:hover span.extra-img                        { background-position: -33px 0px; }
218
form .refresh.open p:hover span.extra-img:hover                { background-position: -33px -54px; cursor:pointer; }