Revision e44aadcd
b/cloudcms/static/cloudcms/css/forms.css | ||
---|---|---|
1 | 1 |
/* generic form styles */ |
2 | 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; }
|
|
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 | 4 |
#forms .input:focus, |
5 | 5 |
#forms input:focus { position: relative; border: 1px solid #000; z-index: 100; } |
6 | 6 |
#forms .input:focus label, |
7 | 7 |
#forms input:focus label { z-index: 300; } |
8 | 8 |
form.withlabels label { width: 224px; display: block; float: left; padding-top: 0.8em; } |
9 | 9 |
form.withlabels input[type=text], |
10 |
form.withlabels input[type=password] { width: 270px; }
|
|
10 |
form.withlabels input[type=password] { width: 228px; }
|
|
11 | 11 |
form.withlabels input[type=text].long, |
12 | 12 |
form.withlabels input[type=password].long, |
13 | 13 |
form.withlabels textarea.long { width: 224px; } |
14 |
form.withlabels textarea { width:270px; }
|
|
14 |
form.withlabels textarea { width:228px; }
|
|
15 | 15 |
.login-section a.button { margin-bottom: 12px; } |
16 | 16 |
.login-section a.button:last-child { margin-bottom: none;} |
17 | 17 |
.login-section a.button.withicon { background-repeat: no-repeat; background-position: 15px 50%; padding-left: 40px; } |
... | ... | |
21 | 21 |
form .form-row { min-height: 30px; position: relative;} |
22 | 22 |
form .form-row.submit { margin: 22px 0 ;} |
23 | 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;}
|
|
24 |
form .form-row .extra-link:hover { border-bottom:1px solid #9e9e9e;}
|
|
25 | 25 |
form .form-row label { font-size: 1.077em; } |
26 | 26 |
form.innerlabels label { position: absolute; bottom: 11px; left: 1.5em; color: #808080 ; } |
27 | 27 |
form.innerlabels p { margin:0; position: relative;} |
... | ... | |
33 | 33 |
form textarea, |
34 | 34 |
form input.text, |
35 | 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; }
|
|
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 | 38 |
form textarea:focus, |
39 | 39 |
form input.text:focus, |
40 | 40 |
form input[type="text"]:focus, |
... | ... | |
66 | 66 |
form .with-errors label { color: #e4776f; } |
67 | 67 |
.form-error { color:red; font-size: 0.8em; padding: 5px 5px; } |
68 | 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; }
|
|
69 |
div.form-stacked { margin-bottom: 2em; padding-bottom:1em; }
|
|
70 | 70 |
.checkbox-widget.checked { background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; } |
71 | 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 | 72 |
form.withlabels .checkbox-widget { margin-top:12px; } |
73 | 73 |
form.innerlabels .checkbox-widget + label { position:static; line-height:36px; color:#808080; } |
74 | 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; }
|
|
75 |
form span.info { position:absolute;z-index:7; bottom:32px; }
|
|
76 | 76 |
form.innerlabels span.info { left: 290px; } |
77 | 77 |
form.withlabels span.info { left:485px; } |
78 | 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 | 79 |
form span.info:hover em { background-position:-4px -3px; } |
80 | 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 | 81 |
form span.info:hover span { display:block; } |
82 |
form span.extra-img:hover +span.info span { display:block; } |
|
82 | 83 |
form .with-errors span.info { display:none;} |
83 | 84 |
form p { margin-bottom:0;position:relative;} |
84 | 85 |
form input[readonly=true] { /*background-color: #ddd;*/ color: #5e5e5e; } |
... | ... | |
108 | 109 |
|
109 | 110 |
|
110 | 111 |
/* custom captcha */ |
111 |
#okeanos_recaptcha { width:329px; border:1px solid #808080; margin:0 0 20px; position:relative; }
|
|
112 |
#okeanos_recaptcha { width:329px; border:1px solid #9e9e9e; margin:0 0 20px; position:relative; }
|
|
112 | 113 |
#okeanos_recaptcha #recaptcha_image { padding:15px 0; } |
113 | 114 |
#okeanos_recaptcha label.recaptcha_only_if_image, |
114 | 115 |
#okeanos_recaptcha label.recaptcha_only_if_audio{ position:absolute; top:auto; bottom:11px; } |
115 | 116 |
#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 #recaptcha_response_field { width:170px; float:left; margin-left:-1px; }
|
|
117 | 118 |
#okeanos_recaptcha .img { width:23px; float:left; height:23px; overflow:hidden; margin:8px; } |
118 | 119 |
#okeanos_recaptcha .img a { display:block; width:100%; height:100%; background:url(../images/refresh_lg.png) no-repeat top left; text-indent:-100px } |
119 | 120 |
#okeanos_recaptcha .img-refresh a { background:url(../images/refresh_lg.png); } |
120 | 121 |
#okeanos_recaptcha .img-refresh a:hover { background:url(../images/refresh_g.png); } |
121 | 122 |
#okeanos_recaptcha .img-audio a { background:url(../images/sound_lg.png); } |
122 | 123 |
#okeanos_recaptcha .img-audio a:hover { background:url(../images/sound_g.png); } |
123 |
#okeanos_recaptcha .actions-wrap { border-top:1px solid #808080 }
|
|
124 |
#okeanos_recaptcha .actions-wrap { border-top:1px solid #9e9e9e; }
|
|
124 | 125 |
|
125 | 126 |
input.submit:focus, |
126 | 127 |
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:focus { box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #F89A1C; outline:0 none; line-height:20px;}
|
|
128 | 129 |
.content a.submit:hover { border-color:#3582AC; } |
129 | 130 |
|
130 | 131 |
p+ form { margin:2em 0; } |
... | ... | |
193 | 194 |
form textarea, |
194 | 195 |
form input.text, |
195 | 196 |
form input[type="text"], |
196 |
form input[type="password"] { width:90%; }
|
|
197 |
form input[type="password"] { width:75%; }
|
|
197 | 198 |
.form-row .dk_container { width:100%; } |
198 | 199 |
} |
199 | 200 |
form.submit-inline { position:relative } |
200 | 201 |
form.submit-inline .form-row.submit { position:absolute; left:578px; top:0; margin:0; } |
201 | 202 |
form.submit-inline .form-row input { margin:0 20px 0 0 ; } |
202 | 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; } |
b/cloudcms/static/cloudcms/css/modules.css | ||
---|---|---|
8 | 8 |
img.left { margin:0 1em 1em 0; float:left;} |
9 | 9 |
img.right { margin:0 0 1em 1em; float:right;} |
10 | 10 |
|
11 |
|
|
11 | 12 |
|
12 | 13 |
/* footer */ |
13 | 14 |
.footer { font-size:0.923em;color:#B3B3B3; } |
... | ... | |
34 | 35 |
.top-msg.error { background-color:#EF4F54; color: #fff} |
35 | 36 |
.top-msg.warning { background-color:#F6921E; color: #fff} |
36 | 37 |
.top-msg.info { background-color:#C3C3B9; color: #fff} |
37 |
.top-msg.warning a { color: #3582AC}
|
|
38 |
.top-msg.warning a { color: #4F3515}
|
|
38 | 39 |
.top-msg.info a { color: #222} |
39 | 40 |
|
40 | 41 |
/* container */ |
... | ... | |
55 | 56 |
.two-cols .lt { float:left; width:400px;} |
56 | 57 |
.two-cols-blog .rt { float:right; width:220px; margin-left:80px; padding-right:65px;} |
57 | 58 |
.two-cols-blog .lt { overflow:hidden;} |
58 |
.container h2 { font-weight:normal; font-size:1.308em; margin-bottom:1em; } |
|
59 |
.container h2 { font-weight:normal; font-size:1.308em; margin-bottom:1.5em; }
|
|
59 | 60 |
.container h3 { font-weight:normal; margin-bottom:1em; } |
60 | 61 |
.container h2 em { color: #3582AC; font-style:normal; } |
61 | 62 |
/*.content a { border-bottom: 1px solid #F89A1C; text-decoration:none; color:#000; } |
... | ... | |
81 | 82 |
.faq ul li { padding:0; margin:0 0 8px 0; list-style:none outside none;line-height:140%; } |
82 | 83 |
.faq ul li a { color:#222222; border:0 none; } |
83 | 84 |
.faq .faq-category { margin: 0 0 1.5em;} |
85 |
.faq .question.details ul li { list-style:circle inside none; } |
|
86 |
.faq .question.details ul li a { color:#F6921E } |
|
84 | 87 |
.follow h3 a { color:#4085A6;} |
85 | 88 |
.follow a { border:0 none;} |
86 | 89 |
.follow ul { margin:0; padding:0;} |
... | ... | |
391 | 394 |
/* end of workaround*/ |
392 | 395 |
|
393 | 396 |
.quotas-form legend span { color:#222; font-size:0.867em; } |
394 |
form.quotas-form legend span.info { position:relative; display:inline-block; top:auto; left:auto; margin-left:10px; vertical-align:middle; margin-top:-2px;} |
|
397 |
form.quotas-form legend span.info { position:relative; display:inline-block; top:auto; left:auto; bottom:auto; margin-left:10px; vertical-align:middle; margin-top:-2px;}
|
|
395 | 398 |
form.quotas-form legend span.info em { position:static; } |
396 | 399 |
form.quotas-form legend span.info span { width:530px; } |
397 | 400 |
form.quotas-form span.info span { width:285px; } |
398 | 401 |
.quotas-form .with-checkbox .checkbox-widget { margin-top:9px; } |
399 | 402 |
.quotas-form .with-checkbox span.info { top:12px; } |
400 | 403 |
.quotas-form .form-row.submit { text-align:center; } |
401 |
.quotas-form input[type="submit"] { margin:15px 0; background-color:#B3B3B3 } |
|
404 |
.quotas-form input[type="submit"] { margin:15px 0; } |
|
405 |
/* grey green buttons |
|
406 |
.quotas-form input[type="submit"] { background-color:#B3B3B3 } |
|
402 | 407 |
.quotas-form input[type="submit"]:hover { background:#55B577 } |
403 | 408 |
.quotas-form input[type="submit"]:focus { border-color: #B3B3B3} |
404 | 409 |
.quotas-form input[type="submit"]:focus:hover { border-color: #55B577} |
410 |
*/ |
|
411 |
|
|
405 | 412 |
.quotas-form input[type="submit"].lt { position:absolute; left:0; top:0; } |
413 |
|
|
414 |
.form-row.submit .rt-link { position:absolute; right:70px;bottom:15px; } |
|
415 |
.quotas-form .form-row.submit .rt-link { right:0; bottom:30px } |
|
416 |
.form-row.submit .rt-link.reset { right:15px; } |
|
406 | 417 |
.quotas-form fieldset ul { padding:0; margin:0 0 1em; position:relative; } |
407 | 418 |
.quotas-form fieldset ul li { list-style:none outside none; float:left; margin:0 0 0 60px; padding:0; } |
408 | 419 |
.quotas-form fieldset ul li:first-child { margin-left:0; } |
... | ... | |
419 | 430 |
.quotas-form .group fieldset { background:transparent; margin-bottom:1em; padding-bottom:1em; } |
420 | 431 |
.quotas-form .group fieldset legend { } |
421 | 432 |
.quotas-form fieldset ul li.rel+li.rel { background:url(../images/quota-related-bg.png) no-repeat left center; } |
433 |
|
|
434 |
|
|
422 | 435 |
.quotas-form .double-checks label { font-size:1.077em; } |
423 | 436 |
.quotas-form .double-checks .form-row { float:left; margin-right:10px;} |
424 | 437 |
.quotas-form .double-checks .with-checkbox .checkbox-widget { left:0; } |
... | ... | |
434 | 447 |
.quotas-form .with-info .double-checks span.info { left:262px; } |
435 | 448 |
.quotas-form .with-info .with-checkbox { margin-bottom:12px; } |
436 | 449 |
.quotas-form .quota input[type="text"] { width:150px;} |
437 |
.quotas-form .quota .error-msg { display:none; color:red; font-size:0.8em; margin:0; margin-left:224px; margin-bottom:5px; padding:5px; } |
|
450 |
|
|
451 |
/* quota form errors */ |
|
452 |
.quotas-form .quota .with-errors input[type="text"] { border-color:#222; color:grey;} |
|
453 |
.quotas-form .quota .with-errors.strong-error input[type="text"] { border-color:red; color:#9D261D} |
|
454 |
.quotas-form .quota .with-errors .extra-img { display:none; } |
|
455 |
.quotas-form .quota .with-errors.strong-error .extra-img { display:block; } |
|
456 |
.quotas-form .quota .with-errors span.info { display:block; } |
|
457 |
.quotas-form .quota .error-msg { display:none; color:#B3B3B3; font-size:0.8em; margin:0; margin-left:224px; margin-bottom:5px; padding:5px; } |
|
438 | 458 |
.quotas-form .quota .with-errors .error-msg { display:block;} |
459 |
.quotas-form .quota .strong-error .error-msg { color:red; } |
|
460 |
.quotas-form .quota .with-errors label { color:#222; } |
|
461 |
.quotas-form .quota .with-errors.strong-error label { color:#E4776F } |
|
462 |
|
|
439 | 463 |
form input[type="text"]::-webkit-input-placeholder, |
440 | 464 |
form textarea::-webkit-input-placeholder { color: #D4D4D4; font-style:italic; } |
441 | 465 |
form input[type="text"]:-moz-placeholder, |
... | ... | |
449 | 473 |
/* stats */ |
450 | 474 |
.stats ul { margin:0; padding:0; list-style:none outside none; } |
451 | 475 |
.stats ul li { margin:0 0 1em 0; padding:0 0 1em 0; list-style:none outside none; background:url(../images/stats-line.jpg) repeat-x left bottom} |
452 |
.stats .bar { padding: 0; text-align:center; float:left; width:200px;}
|
|
476 |
.stats .bar { padding: 0; float:left; }
|
|
453 | 477 |
.stats .bar div { width:340px; height:30px; border:1px solid #000; margin-top:20px; overflow:hidden;} |
454 |
.stats .bar span { text-align:right; display:block; height:100%; position: relative; overflow: visible; } |
|
478 |
.stats .bar span { text-align:right; display:block; float:left; height:100%; position: relative; overflow: visible; } |
|
479 |
.stats .bar span.hovered { } |
|
455 | 480 |
.stats .bar span.value { background-color: transparent !important; } |
456 | 481 |
.stats .bar span em { color:#000; } |
457 |
.stats .bar span em.hovered { color:#fff; }
|
|
482 |
.stats .bar span.hovered em { color:#fff; }
|
|
458 | 483 |
.stats .bar em { |
459 | 484 |
font-style:normal; |
460 | 485 |
color:#222; |
461 | 486 |
line-height:30px; |
462 | 487 |
font-size:1.231em; |
463 | 488 |
padding-left:10px; |
464 |
position: absolute; |
|
465 |
right: 10px; |
|
466 |
left: 10px; |
|
489 |
|
|
467 | 490 |
} |
491 |
|
|
492 |
.stats .bar span + em { position: } |
|
468 | 493 |
.stats .red .bar span { background:#ef4f54; } |
469 | 494 |
.stats .yellow .bar span { background:#f6921e; } |
470 | 495 |
.stats .green .bar span { background:#55b577; } |
... | ... | |
522 | 547 |
.content .how-it-works .link-33 { bottom:275px; right:14px; } |
523 | 548 |
.content .how-it-works .link-42 { bottom:12px; left:251px; } |
524 | 549 |
|
550 |
/* |
|
525 | 551 |
.auth_methods { margin-top:2em; padding-bottom:1em; } |
526 | 552 |
.auth_methods ul { margin:1em 0; padding:0; list-style:none outside none; } |
527 | 553 |
.auth_methods ul li { margin:0 0 1em 0; padding:0; list-style:none outside none; font-size:1.154em; } |
... | ... | |
535 | 561 |
.auth_methods .dialog-wrap { display:inline; position:relative; } |
536 | 562 |
.auth_methods .dialog { background:#fff; border:1px dashed #ccc; position:absolute; bottom:30px; left:0; padding:15px; width:220px; display:none;} |
537 | 563 |
.auth_methods .dialog .submit { min-width:30px; padding:5px 22px; } |
564 |
*/ |
|
538 | 565 |
.right-align { text-align:right; } |
539 | 566 |
|
540 |
|
|
567 |
.auth_methods h3 { float:left; width:224px; font-size:1.077em;} |
|
568 |
.auth_methods ul { overflow:hidden; padding:0; } |
|
569 |
.auth_methods ul li { list-style:none outside none; padding:0; margin:0 0 5px 0; position:relative;} |
|
570 |
.auth_methods ul li a { display:inline-block; height:50px; overflow:hidden; vertical-align:middle; } |
|
571 |
.auth_methods ul li a:hover img { margin-top:-240px; } |
|
572 |
.auth_methods ul li span.extra-message { display:none; color:#F6921E; position:absolute; left:140px; top:13px; } |
|
573 |
.auth_methods ul li span.extra-message em { font-style:normal; background:#fff; } |
|
574 |
.auth_methods ul li span.extra-message em span { display:inline-block; max-width:420px; vertical-align: middle; } |
|
575 |
.auth_methods ul li a:hover + span { display:inline; } |
|
576 |
.auth_methods .dialog-wrap { color:#F24E53; display:none; margin-top:1em; } |
|
577 |
.auth_methods .dialog-wrap .submit { min-width:10px; text-transform:uppercase; margin-right:10px; } |
|
578 |
.auth_methods ul li a.noaction:hover img { margin-top:-60px } |
|
579 |
.auth_methods ul li a.noaction:hover { cursor:default; } |
|
580 |
.auth_methods ul li a.noaction:focus { outline:0 none; } |
|
581 |
.auth_methods ul li a.canremove:hover img, |
|
582 |
.auth_methods .assigned ul li.remove a img { margin-top:-120px; } |
|
583 |
.auth_methods .assigned ul li span.extra-message{ color:#F24E53;} |
|
584 |
.auth_methods .assigned ul li a img { margin-top:-60px } |
|
585 |
.auth_methods .assigned, |
|
586 |
.auth_methods .notassigned { margin-bottom:40px; } |
|
587 |
.auth_methods .assigned span.details { color:grey; display:inline-block; max-width:400px; vertical-align:middle; position:absolute; left:140px; top:13px;} |
|
588 |
#token-confirm { display:none; position:absolute; left:550px; top:-10px; } |
|
541 | 589 |
/* login section */ |
542 | 590 |
.login-section {} |
543 | 591 |
.main-login-method { margin-bottom: 20px;} |
... | ... | |
559 | 607 |
} |
560 | 608 |
|
561 | 609 |
i.tiny { font-size: 0.8em; color: #999;} |
610 |
|
|
611 |
h2 span.subtitle { font-size: 0.9em; color: #55B577;} |
|
612 |
|
|
613 |
.main-login-method + .extralogin { margin-top:3em; } |
|
614 |
.extralogin a.icons { display:inline-block; margin-right:5px; height:28px; overflow:hidden; vertical-align:middle; } |
|
615 |
.extralogin a.icons:hover img { margin-top:-38px; } |
|
616 |
.landing-page .dotted { padding-bottom:40px; margin-bottom:40px; } |
|
617 |
.landing-page .cyclades a { color:#04a0af; } |
|
618 |
.landing-page .dashboard a { color:#3780b0; } |
|
619 |
.landing-page .cms a { color:#3780b0; } |
|
620 |
.landing-page .rt { text-align:center;vertical-align:middle; } |
|
621 |
#signup-classic { clear:both; } |
|
622 |
#signup-classic + .form-stacked { display:none; } |
|
623 |
.extralogin a.standalone { display:block; width:150px; margin-bottom:20px; white-space:nowrap;} |
|
624 |
.hidden-form-rows { display:none; } |
|
625 |
|
|
626 |
|
|
627 |
.content a:hover:focus { outline: 0 none } |
|
628 |
.content a:hover, |
|
629 |
.content a:active, |
|
630 |
.content a:visited { outline: 0 none; } |
|
631 |
.content a:visited { border:0 none; } |
|
632 |
|
|
633 |
#hand { position:absolute; height:79px; width:61px; background:url(../images/xeraki_hover.png) no-repeat; overflow:hidden; display:none; top:40px;} |
b/cloudcms/static/cloudcms/js/common.js | ||
---|---|---|
23 | 23 |
|
24 | 24 |
} |
25 | 25 |
|
26 |
|
|
26 |
function addClassHover(hoverEl, applicableEl){ |
|
27 |
$(hoverEl).hover( |
|
28 |
function () { |
|
29 |
|
|
30 |
$(applicableEl).addClass('red-border') |
|
31 |
}, |
|
32 |
function () { |
|
33 |
$(applicableEl).removeClass('red-border'); |
|
34 |
|
|
35 |
}); |
|
36 |
} |
|
27 | 37 |
//equal heights |
28 | 38 |
|
29 | 39 |
(function($) { |
... | ... | |
74 | 84 |
} |
75 | 85 |
//end of fix |
76 | 86 |
|
87 |
|
|
77 | 88 |
$(document).ready(function() { |
78 | 89 |
|
79 | 90 |
|
... | ... | |
188 | 199 |
}); |
189 | 200 |
}); |
190 | 201 |
|
191 |
|
|
202 |
|
|
203 |
|
|
192 | 204 |
$('table .more-info').click(function(e){ |
193 |
|
|
194 | 205 |
e.preventDefault(); |
195 | 206 |
$(this).toggleClass('open'); |
196 | 207 |
if ($(this).hasClass('open')){ |
... | ... | |
241 | 252 |
|
242 | 253 |
|
243 | 254 |
|
244 |
$('.auth_methods').find('li>a').click(function(e){ |
|
245 |
e.preventDefault(); |
|
246 |
$(this).siblings('.wrap').toggle('slow'); |
|
247 |
$(this).toggleClass('up'); |
|
248 |
}); |
|
249 |
|
|
250 |
$('.auth_methods a.red').click(function(e){ |
|
251 |
e.preventDefault(); |
|
252 |
$(this).siblings('.dialog').show(); |
|
253 |
}) |
|
254 |
|
|
255 |
|
|
255 | 256 |
|
256 |
$('.auth_methods .dialog .no').click( function(e){ |
|
257 |
e.preventDefault(); |
|
258 |
console.log($(this)); |
|
259 |
$(this).parents('.dialog').hide(); |
|
260 |
}) |
|
261 | 257 |
|
262 | 258 |
setTimeout(function() { |
263 | 259 |
if ($('input#id_username').val()){ |
... | ... | |
268 | 264 |
} |
269 | 265 |
}, 100); |
270 | 266 |
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
$('.landing-page .cms').hover( |
|
271 |
function () { |
|
272 |
el = $('.cloudbar ul.services li').first(); |
|
273 |
var offset = el.offset(); |
|
274 |
positionX = offset.left; |
|
275 |
$('#hand').css('left',positionX); |
|
276 |
$('#hand').show(); |
|
277 |
}, |
|
278 |
function () { |
|
279 |
$('#hand').hide(); |
|
280 |
|
|
281 |
}); |
|
282 |
|
|
283 |
$('.landing-page .pithos').hover( |
|
284 |
function () { |
|
285 |
el = $('.cloudbar ul.services li:nth-child(3)'); |
|
286 |
var offset = el.offset(); |
|
287 |
positionX = offset.left; |
|
288 |
left = parseInt(positionX) +20; |
|
289 |
$('#hand').css('left',left+'px'); |
|
290 |
$('#hand').show(); |
|
291 |
}, |
|
292 |
function () { |
|
293 |
$('#hand').hide(); |
|
294 |
|
|
295 |
}); |
|
296 |
|
|
297 |
$('.landing-page .cyclades').hover( |
|
298 |
function () { |
|
299 |
el = $('.cloudbar ul.services li:nth-child(2)').first(); |
|
300 |
var offset = el.offset(); |
|
301 |
positionX = offset.left; |
|
302 |
left = parseInt(positionX) +20; |
|
303 |
$('#hand').css('left',left+'px'); |
|
304 |
$('#hand').show(); |
|
305 |
}, |
|
306 |
function () { |
|
307 |
$('#hand').hide(); |
|
308 |
|
|
309 |
}); |
|
310 |
|
|
311 |
|
|
312 |
$('.landing-page .dashboard').hover( |
|
313 |
function () { |
|
314 |
el = $('.cloudbar .profile'); |
|
315 |
var offset = el.offset(); |
|
316 |
positionX = offset.left +50; |
|
317 |
$('#hand').css('left',positionX); |
|
318 |
$('#hand').show(); |
|
319 |
}, |
|
320 |
function () { |
|
321 |
$('#hand').hide(); |
|
322 |
|
|
323 |
}); |
|
324 |
|
|
325 |
$('.pagination a.disabled').click(function(e){ |
|
326 |
e.preventDefault(); |
|
327 |
}); |
|
328 |
|
|
329 |
// fix for recaptcha fields |
|
330 |
$('#okeanos_recaptcha').parents('.form-row').find('.extra-img').hide(); |
|
331 |
|
|
271 | 332 |
|
272 | 333 |
|
273 | 334 |
}); |
... | ... | |
275 | 336 |
$(window).resize(function() { |
276 | 337 |
|
277 | 338 |
setContainerMinHeight('.container .wrapper'); |
278 |
|
|
279 |
}); |
|
280 |
|
|
339 |
|
|
340 |
|
|
341 |
}); |
Also available in: Unified diff