Revision 0c887794

b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
71 71
            if (i == 0){
72 72
                username.text(el.name);
73 73
                username.attr('href', el.url);
74
                user.removeClass('full');
74 75
            }else{
75 76
                var link = $("<a />");
76 77
                link.text(el.name);
......
78 79
                var li = $("<li />");
79 80
                li.append(link);
80 81
                usermenu.append(li);
82
                user.addClass('full');
81 83
            }
82 84
        });
83 85
    });
......
97 99

  
98 100
    // ie fix
99 101
    user.hover(function(){$(this).addClass("hover")}, function(){$(this).removeClass("hover")});
102
    
103
    $('.header .profile ul').mouseover(function(){
104
        $(this).parents('.profile').css('backgroundColor','#000');
105
        
106
    });
107
     $('.header .profile ul').mouseout(function(){
108
        $(this).parents('.profile').css('backgroundColor','#01A1AE');
109
        
110
    });
111
    
112
    var profileWidth = profile.outerWidth(); 
113
    $('.header .profile ul').css('width',profileWidth );
114

  
115
    
116
    
117
    
100 118
});
b/snf-astakos-app/astakos/im/static/im/css/forms.css
1 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;}
2
input, textarea, .form-widget 				{ background-color: #ffffff; color: #000;border-color: #000000; }
3
#forms .input, #forms input 				{ font-family: 'Antic', 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
.altcol 									{ background-color: #c3c3b9 !important; }
9
.altcol:hover 								{ background-color: #f89a1c !important; }
10
form.withlabels label 						{ width: 224px; display: block; float: left; padding-top: 1em; }
11
form.withlabels input[type=text], 
12
form.withlabels input[type=password] 		{ width: 224px; }
13
form.withlabels input[type=text].long, 
14
form.withlabels input[type=password].long, 
15
form.withlabels textarea.long 				{ width: 224px; }
16
.login-section a.button 					{ margin-bottom: 12px; }
17
.login-section a.button:last-child 			{ margin-bottom: none;}
18
.login-section a.button.withicon 			{ background-repeat: no-repeat; background-position: 15px 50%; padding-left: 40px; }
19
.login-section.loggedin 					{ padding-bottom: 0 !important; background-image: none !important; }
20
form.login 									{ margin-bottom: 22px; width:340px; }
21
form h2 span 								{ padding-bottom: 3px; }
22
form .form-row 								{ min-height: 30px; position: relative;}
23
form .form-row.submit 						{ margin: 22px 0 ;}
24
form .form-row .extra-link 					{ color: #808080; text-decoration: none; border: none; margin-top:15px; line-height:42px;   float: right; }
25
form .form-row .extra-link:hover			{ text-decoration:underline;}
26
form .form-row label 						{ font-size: 1.1em; }
27
form.innerlabels label 						{ position: absolute; top: 1.1em; left: 1.5em; color: #808080 ; }
28
form.innerlabels p 							{ margin:0; position: relative;}
29
form.innerlabels p.p15px					{ font-size:1.154em;}
30
form.innerlabels p.p15px a					{ margin:0 5px;}
31
form.innerlabels p.p15px a:hover			{ text-decoration:underline;}
103 32
form.innerlabels a,
104
form.innerlabels a:hover { border:0 none;}
33
form.innerlabels a:hover 					{ border:0 none;}
105 34
form textarea,
106 35
form input.text,
107 36
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
}
37
form input[type="password"]  				{ color:#808080; font-family: 'Antic', 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; }
38
form select									{ font-family: 'Antic', 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:331px; }
137 39
form textarea:focus,
138 40
form input.text:focus,
139 41
form input[type="text"]:focus,
140
form input[type="password"]:focus {
141
  position: relative;
142
  border: 1px solid #000;
143
  z-index: 100;
144
}
42
form input[type="password"]:focus 			{position: relative; border: 1px solid #000; z-index: 100;}
145 43
form textarea:focus label,
146 44
form input.text:focus label,
147 45
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

  
46
form input[type="password"]:focus label 	{ z-index: 300;}
47
form input.submit, 
48
form input[type="submit"]					{font-family: 'Antic', sans-serif;font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing:1px; background-color: #3582ac; 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 			{ background-color: #f89a1c;}
53
form input.submit.back, 
54
form input[type="submit"].back 				{ text-decoration: none; bottom: 0; float: right; z-index: 500; }
55
form input.submit.back.right, 
56
form input[type="submit"].back.right 		{right: 0;}
57
form input.submit:hover, 
58
form input[type="submit"]:hover 			{ background-color: #f89a1c;}
59
form input.submit.back, 
60
form input[type="submit"].back 				{ text-decoration: none; bottom: 0; float: right; z-index: 500; }
61
form input.submit.back.right, 
62
form input[type="submit"].back.right 		{ right: 0; }
63
form textarea 								{ height: 150px; width: 350px; max-height:150px; max-width:350px;}
64
form .with-errors input, 
65
form .with-errors textarea, 
66
form .with-errors select 					{ color: #9d261d;}
67
form .with-errors label 					{ color: #e4776f; }
68
.form-error 								{ color:red; font-style:italic; font-size: 0.8em; padding: 5px 5px; }
69
.form-errors.all .form-error 				{ position: relative; border-radius: 0; margin-bottom: 1.3em; padding: 0.5em; }
70
div.form-stacked 							{ margin-bottom: 4em; }
71
.checkbox-widget.checked 					{ background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; }
72
.checkbox-widget 							{ border: 1px solid #808080; cursor: pointer; display: block; float: left; height: 25px; margin:5px 20px 0 0 ; width: 25px; }
73
form.withlabels .checkbox-widget			{ margin-top:20px; }
74
form.innerlabels .checkbox-widget +  label	{ position:static; line-height:36px; color:#808080; }
75
form.innerlabels .checkbox-widget +  label + a	{ border-bottom:1px solid #F89A1C; font-size: 1.1em; }
76
form span.info								{ position:absolute;z-index:10; top:10px;  left: 290px; }
77
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; }
78
form span.info:hover em 					{ background-position:-4px -3px; }
79
form span.info span  						{ position:absolute; left:29px; top:-2px; width:150px; padding-left:55px; background:url(../images/black-line.jpg ) no-repeat left 12px; min-height:50px; display:none; }
80
form span.info:hover span 					{ display:block; }
81
form .with-errors span.info					{ display:none;}
82
form p										{ margin-bottom:0;position:relative;}
83
form input[readonly=true] 					{ background-color: #ddd; color: #5e5e5e; }
84
#recaptcha_area 							{ margin-top:20px; } 
85
form.innerlabels .with-checkbox .checkbox-widget 	{ margin-top:15px; }
86
form.innerlabels .with-checkbox .checkbox-label		{ left:2.5em; }
87

  
88
form .extra-img								{ display:block; width:21px; height:21px; overflow:hidden;  position:absolute; left:440px;top:10px; z-index:101;}
89
form .with-errors .extra-img 				{ background:url(../images/symbols.png) no-repeat -58px -3px;}
90
form .with-errors textarea+.extra-img,
91
form .with-errors noscript+.extra-img		{ background:transparent;}
92
form .with-errors input[type="text"],
93
form .with-errors input[type="password"]	{ border:1px solid red;}
94
form.innerlabels .with-errors .extra-img	{ left:290px;}
95
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px;}
96
.errorlist									{ margin:0; padding:0;}
97
.errorlist li								{ list-style:none outside;}
299 98

  
300
form input[readonly=true] {
301
  background-color: #ddd;
302
  color: #5e5e5e;
303
}
304 99

  
305
#recaptcha_area {
306
	margin-top:20px;
307
}
308
 
b/snf-astakos-app/astakos/im/static/im/css/modules.css
10 10
.header                                         { background:#000; color:#fff;	 height:35px; line-height:35px; }	
11 11
.header .wrapper                                { width:auto; padding:0;}			
12 12
.header a                                       { color:#fff; text-decoration:none;}
13
.header .profile                                { float:right; background:#01A1AE; width:150px; padding:0 20px; text-align:right;  }
13
.header .profile                                { float:right; background:#01A1AE; min-width:150px; padding:0 20px; text-align:right;  }
14 14
.header .profile a                              { text-decoration:none; color:#fff; }
15
.header .profile ul                             { position:absolute; right:0; top:35px; padding:0; margin:0; background:#01A1AE; width:190px; display:none;	}
16
.header .profile ul li                          { list-style:none outside; line-height:35px; border-top:1px solid #000; padding:0 20px;}
17
.header .profile ul li:hover					{ background:#000;}
15
.header .profile ul                             { position:absolute;   right:0; top:35px; padding:0; margin:0;  width:190px; display:none;	z-index:9; background:#fff;}
16
.header .profile ul li                          { list-style:none outside; line-height:35px; padding:0 20px;}
17
.header .profile ul li:hover a					{ color:#01A1AE;}
18 18
.header .profile:hover ul                       { display:block; }
19
.header .profile .full a                        { padding-right:20px; background:url(../images/arrow-white.png) no-repeat right center;}
20
.header .profile .full ul 						{ border:1px dashed #000; border-top:0 none; border-right:0 none;}
21
.header .profile ul li a                        { padding-right:0; background:none; color:#000;}
19 22
.header ul.services                             { margin:0; padding:0; }
20 23
.header ul.services li                          { float:left; height:35px; line-height:35px; text-align:center; padding: 0 30px; list-style:none outside;}
21 24
.header ul.services li:first-child              { padding:0 5px;}
22 25
.header ul.services li.active                   { background:#333;}
23
.header ul.services li:hover                    { background:#444; }
26
.header ul.services li:hover                    { background:#444; } 
24 27

  
25 28

  
26 29
/* footer */
......
36 39

  
37 40

  
38 41
/*top message*/
39
.top-msg	                                    { margin:-36px -70px 40px; background:blue; padding:100px 200px; color:#fff; display:none; position:relative; font-size:1.538em;}
42
.top-msg	                                    { margin:-36px -70px 36px; background:blue; padding:100px 200px; color:#fff; display:none; position:relative; font-size:1.538em;}
40 43
.top-msg  p.title	                            { font-size:1.3em;  }
41 44
.top-msg  p.title span	                        { border-bottom:2px dotted #fff; padding:0 0 10px 0;}
42 45
.top-msg.active                             	{ display:block;}
43
.active+h1	                                    { display:none;}
46
.top-msg +.mainlogo                             { margin-top:-73px;}
44 47
.top-msg .close                                 { position:absolute; bottom:20px; right:20px; font-size:1.3em; font-weight:bold; border:0 none; color:#fff; text-decoration:none;}
48
.top-msg .close:hover                           { color:#000;}
49

  
45 50

  
46 51
/* container */
47
.container h1									{ margin:0; line-height:100%;}
48 52
.container .wrapper                             { padding-bottom:100px;}
49 53
.container .navigation                          { margin:20px 0 40px; font-size:1.231em;}
50 54
.container .navigation ul                       { margin:5px 0; padding:0;}
51 55
.container .navigation ul li                    { list-style:none outside; padding:0; margin:0 0 0 1em; display:inline-block;}
52 56
.container .navigation ul li:first-child        { margin-left:0;}
53 57
.container .navigation ul li a                  { color:#000; text-decoration:none; }
54
.container .navigation ul li a:hover            { border-bottom:1px solid #F89A1C;}	
58
.container .navigation ul li a:hover            { color:#F89A1C; }	
55 59
.container .navigation ul li.active a           { color:#F89A1C; }					
56
.dotted                                         { background:url(../images/double-dots.jpg) no-repeat bottom center; padding:30px 0; margin-bottom:30px;}
60
.dotted                                         { background:url(../images/double-dots.jpg) no-repeat bottom center; padding:0 0 30px; margin-bottom:30px;}
57 61
.two-cols .rt                                   { float:right; width:390px;}
58 62
.two-cols .lt                                   { float:left; width:390px;}
59 63
.two-cols .lt p                                 { padding-right:40px;}
......
69 73
.container ul.options li a:hover				{ text-decoration:underline;}
70 74
.landing h2, .landing a:hover                   { color:#01A1AE;}
71 75
.faq h2, .faq a:hover                           { color:#EF4F54; border:0 none;}
76
.faq h3											{ color:#4085a6; margin:0;}
72 77
.faq ul                                         { padding:0; margin:0; }
73
.faq ul li                                      { list-style:none outside; padding:0 0 0 5px; margin:0;  }
78
.faq ul li                                      { list-style:none outside; padding:0; margin:0;  }
74 79
.faq ul li a                                    { color:#222222; border:0 none;} 
80
.faq .faq-category								{ margin: 0 0 1.5em;}
75 81
.follow h3 a                                    { color:#4085A6;}
76 82
.follow a				                    	{ border:0 none;}
77 83
.follow ul                                      { margin:0; padding:0;}
78 84
.follow ul li                                   { list-style:none outside; padding:0; margin:0 0 20px 0; font-size:0.923em; color:#808080;}
79 85
.follow ul li p.title                           { margin-bottom:0; color:#000;}
80 86
.follow ul li p.title a                         { color:#000;}
81
.follow ul li p a                               { color:#808080;}
87
.follow ul li p a                               { color:#808080;}   
82 88
.posts ul                                       { margin:0;padding:0; }
83 89
.posts ul li                                    { padding:0; margin:0 0 50px; list-style:none outside; }
84
.posts ul li .img-div                           { float:left; width:160px; margin-right:20px; }
85
.posts ul li .img-div img                       { max-width:160px;}
86
.posts ul li .img-div p                         { font-size:1.154em; color:#01A1AE;}
87
.posts ul li .txt                               { overflow:hidden;} 
88
.posts ul li .txt h3                            { color:#F89A1C;}
89
.posts ul li .txt h3 a                          { color:#F89A1C; border:0 none; }
90
.posts ul li p.info                             { background:url(../images/blog-dots.jpg) no-repeat top; padding-top:10px; margin-top:20px; font-size:0.923em; color:#808080;}
91
.article p.info 								{ margin-top:20px; padding-top:10px; font-size:0.923em; color:#808080; border-top:1px dashed #ccc;}
92
p.info a                                        { color:#808080; }
90
.posts ul li img                                { max-width:580px; margin-bottom:1em;}
91
.posts ul li p.info                             { padding-bottom:10px; margin-bottom:20px; font-size:0.923em; color:#808080; border-bottom:1px dashed #000;}
92
.article p.info 								{ margin-top:20px; padding-top:10px; font-size:0.923em; color:#808080; }
93
.article h2, .posts h2                          { color:#ef4f53; }
94
.posts h2 a, .posts h2 a:hover                  { border:0 none;color:#ef4f53;}
95
.posts p.date, .article p.date                  { margin:0; font-size:1.231em; color:#01a1ae; }
96
p.info a                                        { color:#808080; border-bottom:0 none; }
97
p.info a:hover                                  { color:#000; border-bottom:0 none;}
93 98
.bg-wrap                                        { background-position:right top; background-repeat:no-repeat;}
94 99
.bg-wrap .extra                                 { display:none;}
95 100
.bg-wrap.open .extra                            { display:block;}
......
120 125
a.videolink					                    { border: 0 none; display:block; width:367px; height:207px; background:url(../images/video_image_hover.png) no-repeat; text-decoration:none;}
121 126
a.videolink:hover				                { background:url(../images/video_image.png)no-repeat; text-decoration:none; border:0 none;}
122 127
.container .full								{ position:relative;}
123

  
128
.container .bottom-bordered                     { border-bottom:1px dashed #000000;margin-bottom:20px }
129
.container .lt-div                              { width:234px; float:left; }
130
.container .overflow-hidden                     { overflow:hidden;}
124 131

  
125 132

  
126 133
/* resources*/
127
.resources .categories .clear 	                { color: #000000; float: right; margin-right: 4px;}
134
.resources .categories .clear 	                { color: #000000; position:relative; top:-1px;}
128 135
.resources  a, .resources  a:hover              { border:0 none;}
129 136
.resources .categories ul 	                    { margin:0;padding:0;}
130 137
.resources .categories ul li                    { float: left; list-style:none outside;}
......
164 171
.resources .list .resource-cat-2.resource .description  { background-color: #FF6F00  }
165 172
.resources  .resource-cat-2.filter-item a               { color: #FF6F00  }
166 173

  
167
table											{ width:100%;}
168
table th, table td								{ padding:10px;  }
169
table td 										{ border-top: 1px solid #DDDDDD; }
174
table											{ width:80%; color:#B3B3B3;}
175
table th, table td								{ padding:5px 5px 5px 0;  }
176
/*table td 										{ border-top: 1px solid #DDDDDD; }*/
177
table th                                        { color:#222; font-weight:normal;}
170 178
table td.consumed 								{ color: #9D261D; }
171 179

  
172
.zebra-striped tbody tr:nth-child(2n+1) td, 
173
.zebra-striped tbody tr:nth-child(2n+1) th 		{ background-color: #F9F9F9; }
180
/*.zebra-striped tbody tr:nth-child(2n+1) td, 
181
.zebra-striped tbody tr:nth-child(2n+1) th 		{ background-color: #F9F9F9; }*/
174 182
.zebra-striped tbody tr:hover td, 
175 183
.zebra-striped tbody tr:hover th 				{ background-color: #F5F5F5; }
176 184

  
......
187 195
.pagination .nums                               { text-align:right;}
188 196
.pagination .nums span                          { color:#F89A1C;}
189 197
                    
190

  
198
.two-cols .lt .clients-wrapper p				{ padding:0; }
b/snf-astakos-app/astakos/im/static/im/js/common.js
1
function setContainerMinHeight(){
2

  
3
    var h = $('.header').height();
4
    var f = $('.footer').height();
5
    var w = $(window).height();
6
    var pTop = parseInt (($('.container .wrapper').css('padding-top').replace("px", "")) );
7
    var pBottom = parseInt (($('.container .wrapper').css('padding-bottom').replace("px", "")));
1
function setContainerMinHeight( applicableDiv){
2
	
3
    if ( $(applicableDiv).length > 0 ) {
4
        //var h = $('.header').height(); div.header is not found 
5
        var f = $('.footer').height();
6
        var w = $(window).height();
7
        var pTop = parseInt (($(applicableDiv).css('padding-top').replace("px", "")) );
8
        var pBottom = parseInt (($(applicableDiv).css('padding-bottom').replace("px", "")));
8 9

  
9
    var c = w - ( h+f+pTop+pBottom);
10
    $('.container .wrapper').css('min-height', c);
11
    
10
        var c = w - ( f+pTop+pBottom+36);//36 is header's height.
11
        $(applicableDiv).css('min-height', c);
12
    }    
12 13

  
13 14
}
14 15

  
15 16
$(document).ready(function() {
16

  
17
	setContainerMinHeight();
17
	
18
	 
19
    setContainerMinHeight('.container .wrapper');
20
    
18 21
	
19 22
    $('.show-extra').click(function(e) {
20 23
        e.preventDefault();
......
33 36
        $(this).parents('.box-more').toggleClass('border');
34 37
    });
35 38
	
36
		
39
	var topMargin=parseInt($('.mainlogo').height())+parseInt($('.top-msg').css('marginBottom'));
40
	$('.mainlogo').css('marginTop','-'+topMargin+'px')
41
	
37 42
	$('.top-msg a.close').click(function(e) {
38
        e.preventDefault();
39
        $(this).parents('.top-msg').slideUp('5000', function() {
43
        $('.top-msg').animate({
44
            paddingTop:'0',
45
            paddingBottom:'0',
46
            height:'0'
47
        }, 1000, function (){
40 48
             $('.top-msg').removeClass('active')
41 49
        });
42
    });
43
    
50
        $('.mainlogo').animate({
51
            marginTop:'0'
52
        }, 1000, function (){
53
             //todo
54
        });
55
    });	
56
	 
44 57
    //$('select').dropkick();
45 58
    
46
  
47
    if ( $('#os').length > 0 ) {
48
       var os = BrowserDetect.OS;
49
       if ( os!=="an unknown OS" ) {
50
           $('#os').html('version '+os);
51
        }
52
    }
59
 
53 60
    
54 61
    $('.top-msg .success').parents('.top-msg').css(
55 62
    	{
......
74 81
    )
75 82
    
76 83
});
84

  
85
$(window).resize(function() {
86
    
87
   setContainerMinHeight('.container .wrapper');
88

  
89
});
b/snf-astakos-app/astakos/im/static/im/js/os.js
94 94
		{
95 95
			string: navigator.platform,
96 96
			subString: "Win",
97
			identity: "Windows"
97
			identity: "windows"
98 98
		},
99 99
		{
100 100
			string: navigator.platform,
101 101
			subString: "Mac",
102
			identity: "Mac"
102
			identity: "MacOS"
103 103
		},
104 104
		{
105
			   string: navigator.userAgent,
106
			   subString: "iPhone",
107
			   identity: "iPhone/iPod"
105
		   string: navigator.userAgent,
106
		   subString: "iPhone",
107
		   identity: "iPhone"
108
	    },
109
	    {
110
		   string: navigator.userAgent,
111
		   subString: "iPad",
112
		   identity: "iPad"
108 113
	    },
109 114
		{
110 115
			string: navigator.platform,
111 116
			subString: "Linux",
112
			identity: "Linux"
117
			identity: "linux"
113 118
		}
114 119
	]
115 120

  
b/snf-astakos-app/astakos/im/templates/im/base.html
80 80
	            <a href="#" title="close" class="close">X</a>
81 81
	        </div>
82 82
	        {% endif %}
83
	        <h1>
83
	        <div class="mainlogo">
84 84
	        	<a href="/im/">
85 85
	        		<img src="{{ IM_STATIC_URL }}images/accounts-logo.png" alt="accounts" />
86 86
	        	</a>
87
	        </h1>
87
	        </div>
88 88
            {% block page.nav %}
89 89
            <div class="navigation">
90 90
	            <ul>
b/snf-astakos-app/astakos/im/templates/im/form_render.html
11 11
     <p class="{% if field.blank %}required{% endif %}">
12 12
        {{ field.label_tag }}
13 13
        {{ field|safe }}
14
        <span class="extra-img">&nbsp;</span>
14 15
        {%  if field.help_text %}
15 16
        	<span class="info"> 
16 17
			    <em>more info</em>
b/snf-astakos-app/astakos/im/templates/im/invitations.html
1 1
{% extends "im/account_base.html" %}
2 2

  
3 3
{% block page.body %}
4
<div class="two-cols clearfix">
5
	<div class="rt">
4
<div class="full bottom-bordered">
5
	<div class="lt-div">
6
		<p>Invite someone else</p>
7
	</div>
8
	 
6 9
	 {% if inviter.invitations %}
7 10
	  <form action="{% url astakos.im.views.invite %}" method="post"
8
	    class="innerlabels">{% csrf_token %}
9
	    <h2>INVITE SOMEONE ELSE</h2>
11
	    class="innerlabels overflow-hidden">{% csrf_token %}
12
	
10 13
	    {% with invitation_form as form %}
11
	    {% include "im/form_render.html" %}
14
	    	{% include "im/form_render.html" %}
12 15
	    {% endwith %}
13 16
	
14 17
	    <div class="form-row submit">
......
16 19
	    </div>
17 20
	  </form>
18 21
	  {% endif %}
19
	</div>
20
	<div class="lt {% block innerpage.class %}{% endblock %}">
22
	 
23
</div>
24
 
25
	<div class="full {% block innerpage.class %}{% endblock %}">
21 26
	    
22 27
	    <h2>You have <em>{{ inviter.invitations }}</em> invitation{{ inviter.invitations|pluralize }} left.</h2>
23 28
	    {% if sent|length %}
......
43 48
	        <p>No invitations sent</p>
44 49
	    {% endif %}
45 50
	</div>     
46
</div>
51

  
47 52

  
48 53

  
49 54
{% endblock %}
b/snf-astakos-app/astakos/im/templates/im/login_base.html
45 45
    {% block body.signup %}
46 46
	    {% for o in im_modules %}
47 47
	        {% if o != 'local' %}
48
	        <br />
48
	       
49 49
	        {% endif %}
50 50
	    {% endfor %}
51 51
	    <div class="bottom">

Also available in: Unified diff