Revision 3b52a9f4
b/snf-astakos-app/astakos/im/static/im/css/styles.css | ||
---|---|---|
200 | 200 |
line-height: 22px; |
201 | 201 |
letter-spacing: 1px; |
202 | 202 |
background-color: #3582ac; |
203 |
-webkit-transition: background-color 0.15s linear; |
|
204 |
transition: background-color 0.15s linear; |
|
205 |
-webkit-transition: background-color 0.15s linear; |
|
206 |
transition: background-color 0.15s linear; |
|
207 | 203 |
color: #ffffff; |
208 | 204 |
border: none; |
209 | 205 |
padding: 0.8em 22px; |
... | ... | |
212 | 208 |
.button:hover { |
213 | 209 |
background-color: #f89a1c; |
214 | 210 |
} |
215 |
.button a { |
|
216 |
color: #ffffff !important; |
|
217 |
text-decoration: none !important; |
|
218 |
border: none !important; |
|
219 |
} |
|
220 | 211 |
a.button { |
221 |
color: #ffffff !important; |
|
222 |
text-decoration: none !important; |
|
223 |
border: none !important; |
|
224 |
} |
|
225 |
.makeRow { |
|
226 |
zoom: 1; |
|
227 |
margin-left: -22px; |
|
228 |
} |
|
229 |
.makeRow:before, .makeRow:after { |
|
230 |
display: table; |
|
231 |
content: ""; |
|
232 |
zoom: 1; |
|
233 |
} |
|
234 |
.makeRow:after { |
|
235 |
clear: both; |
|
236 |
} |
|
237 |
.button { |
|
238 |
font-family: 'Antic', sans-serif; |
|
239 |
font-size: 14px; |
|
240 |
font-weight: normal; |
|
241 |
line-height: 22px; |
|
242 |
letter-spacing: 1px; |
|
243 |
font-family: 'Antic', sans-serif; |
|
244 |
font-size: 14px; |
|
245 |
font-weight: normal; |
|
246 |
line-height: 22px; |
|
247 |
letter-spacing: 1px; |
|
248 |
background-color: #3582ac; |
|
249 |
-webkit-transition: background-color 0.15s linear; |
|
250 |
transition: background-color 0.15s linear; |
|
251 |
-webkit-transition: background-color 0.15s linear; |
|
252 |
transition: background-color 0.15s linear; |
|
253 |
color: #ffffff; |
|
254 |
border: none; |
|
255 |
padding: 0.8em 22px; |
|
256 |
font-size: 1em; |
|
257 |
} |
|
258 |
.button:hover { |
|
259 |
background-color: #f89a1c; |
|
260 |
} |
|
261 |
.button a { |
|
262 |
color: #ffffff !important; |
|
263 |
text-decoration: none !important; |
|
212 |
text-align: center !important; |
|
213 |
color: #fff !important; |
|
264 | 214 |
border: none !important; |
215 |
display: block !important; |
|
265 | 216 |
} |
266 |
a.button { |
|
267 |
color: #ffffff !important; |
|
268 |
text-decoration: none !important; |
|
269 |
border: none !important; |
|
217 |
a.button:hover { |
|
218 |
color: #fff !important; |
|
270 | 219 |
} |
271 | 220 |
/*addon to style django forms rendered with as_p filter*/ |
272 | 221 |
/* |
... | ... | |
470 | 419 |
table .headerSortUp.purple, table .headerSortDown.purple { |
471 | 420 |
background-color: #e2d5f0; |
472 | 421 |
} |
422 |
.makeRow { |
|
423 |
zoom: 1; |
|
424 |
margin-left: -22px; |
|
425 |
} |
|
426 |
.makeRow:before, .makeRow:after { |
|
427 |
display: table; |
|
428 |
content: ""; |
|
429 |
zoom: 1; |
|
430 |
} |
|
431 |
.makeRow:after { |
|
432 |
clear: both; |
|
433 |
} |
|
434 |
.button { |
|
435 |
font-family: 'Antic', sans-serif; |
|
436 |
font-size: 14px; |
|
437 |
font-weight: normal; |
|
438 |
line-height: 22px; |
|
439 |
letter-spacing: 1px; |
|
440 |
font-family: 'Antic', sans-serif; |
|
441 |
font-size: 14px; |
|
442 |
font-weight: normal; |
|
443 |
line-height: 22px; |
|
444 |
letter-spacing: 1px; |
|
445 |
background-color: #3582ac; |
|
446 |
color: #ffffff; |
|
447 |
border: none; |
|
448 |
padding: 0.8em 22px; |
|
449 |
font-size: 1em; |
|
450 |
} |
|
451 |
.button:hover { |
|
452 |
background-color: #f89a1c; |
|
453 |
} |
|
454 |
a.button { |
|
455 |
text-align: center !important; |
|
456 |
color: #fff !important; |
|
457 |
border: none !important; |
|
458 |
display: block !important; |
|
459 |
} |
|
460 |
a.button:hover { |
|
461 |
color: #fff !important; |
|
462 |
} |
|
463 |
.border-box { |
|
464 |
-moz-box-sizing: border-box; |
|
465 |
-webkit-box-sizing: border-box; |
|
466 |
box-sizing: border-box; |
|
467 |
*behavior: url(boxsizing.htc); |
|
468 |
} |
|
473 | 469 |
body { |
474 | 470 |
font-family: 'Antic', sans-serif; |
475 | 471 |
font-size: 14px; |
... | ... | |
516 | 512 |
section a, |
517 | 513 |
p a, |
518 | 514 |
form a, |
519 |
.section a { |
|
515 |
.section a, |
|
516 |
.styledlinks a { |
|
520 | 517 |
color: #000000; |
521 | 518 |
text-decoration: none; |
522 | 519 |
border-bottom: 1px solid #f89a1c; |
... | ... | |
524 | 521 |
section a:hover, |
525 | 522 |
p a:hover, |
526 | 523 |
form a:hover, |
527 |
.section a:hover { |
|
524 |
.section a:hover, |
|
525 |
.styledlinks a:hover { |
|
528 | 526 |
color: #f89a1c; |
529 | 527 |
} |
530 | 528 |
section a.noborder, |
531 | 529 |
p a.noborder, |
532 | 530 |
form a.noborder, |
533 |
.section a.noborder { |
|
531 |
.section a.noborder, |
|
532 |
.styledlinks a.noborder { |
|
534 | 533 |
border: none; |
535 | 534 |
} |
536 | 535 |
section a em, |
537 | 536 |
p a em, |
538 | 537 |
form a em, |
539 |
.section a em { |
|
538 |
.section a em, |
|
539 |
.styledlinks a em { |
|
540 | 540 |
color: #3582ac; |
541 | 541 |
} |
542 |
a.simple { |
|
543 |
border: none; |
|
544 |
} |
|
542 | 545 |
a.action { |
543 | 546 |
color: #f89a1c; |
544 | 547 |
border-bottom: none; |
... | ... | |
581 | 584 |
} |
582 | 585 |
div.header { |
583 | 586 |
position: relative; |
584 |
margin-top: 42px;
|
|
587 |
margin-top: 88px;
|
|
585 | 588 |
margin-bottom: 22px; |
586 | 589 |
} |
587 | 590 |
div.header h1 { |
... | ... | |
591 | 594 |
border-bottom: 1px solid #cfcdc7; |
592 | 595 |
padding-bottom: 3px; |
593 | 596 |
} |
597 |
.mainlogo { |
|
598 |
height: 36px; |
|
599 |
} |
|
600 |
.mainlogo h1 { |
|
601 |
height: 36px; |
|
602 |
} |
|
594 | 603 |
.mainlogo img { |
595 | 604 |
margin-left: -10px; |
596 | 605 |
} |
... | ... | |
626 | 635 |
margin-right: 0; |
627 | 636 |
margin-left: 1em; |
628 | 637 |
} |
638 |
.navigation { |
|
639 |
height: 83px; |
|
640 |
} |
|
629 | 641 |
.mainnav { |
630 |
font-size: 1.1em;
|
|
642 |
font-size: 1.2em;
|
|
631 | 643 |
} |
632 | 644 |
.mainnav.subnav { |
633 | 645 |
margin-bottom: -22px; |
634 | 646 |
} |
635 | 647 |
.mainnav.subnav li { |
636 |
margin-top: 11px;
|
|
648 |
margin-top: 1.2em;
|
|
637 | 649 |
} |
638 | 650 |
.mainnav li { |
639 | 651 |
margin-top: 66px; |
... | ... | |
655 | 667 |
border-bottom: 1px solid #f89a1c; |
656 | 668 |
color: #f89a1c; |
657 | 669 |
} |
658 |
.page { |
|
670 |
.bottom-section { |
|
671 |
zoom: 1; |
|
672 |
} |
|
673 |
.bottom-section:before, .bottom-section:after { |
|
674 |
display: table; |
|
675 |
content: ""; |
|
676 |
zoom: 1; |
|
677 |
} |
|
678 |
.bottom-section:after { |
|
679 |
clear: both; |
|
680 |
} |
|
681 |
.bottom-section .section img { |
|
682 |
width: 200px; |
|
683 |
} |
|
684 |
.top-section { |
|
685 |
zoom: 1; |
|
686 |
} |
|
687 |
.top-section:before, .top-section:after { |
|
688 |
display: table; |
|
689 |
content: ""; |
|
690 |
zoom: 1; |
|
691 |
} |
|
692 |
.top-section:after { |
|
693 |
clear: both; |
|
694 |
} |
|
695 |
div.page { |
|
659 | 696 |
zoom: 1; |
660 | 697 |
margin-left: -22px; |
661 | 698 |
zoom: 1; |
662 | 699 |
margin-left: -22px; |
663 |
margin-top: 42px;
|
|
700 |
margin-top: 132px;
|
|
664 | 701 |
font-size: 1.1em; |
665 | 702 |
} |
666 |
.page:before, .page:after {
|
|
703 |
div.page:before, div.page:after {
|
|
667 | 704 |
display: table; |
668 | 705 |
content: ""; |
669 | 706 |
zoom: 1; |
670 | 707 |
} |
671 |
.page:after { |
|
708 |
div.page:after {
|
|
672 | 709 |
clear: both; |
673 | 710 |
} |
674 |
.page:before, .page:after {
|
|
711 |
div.page:before, div.page:after {
|
|
675 | 712 |
display: table; |
676 | 713 |
content: ""; |
677 | 714 |
zoom: 1; |
678 | 715 |
} |
679 |
.page:after { |
|
716 |
div.page:after {
|
|
680 | 717 |
clear: both; |
681 | 718 |
} |
682 |
.page .page-inner { |
|
719 |
div.page .page-inner {
|
|
683 | 720 |
position: relative; |
684 | 721 |
} |
685 | 722 |
.maincol { |
... | ... | |
736 | 773 |
.rightcol input[type=text], .rightcol input[type=password] { |
737 | 774 |
width: 273px; |
738 | 775 |
} |
739 |
/* recaptcha */ |
|
740 |
#recaptcha_widget_div { |
|
741 |
margin-top: 10px; |
|
742 |
margin-left: -4px; |
|
743 |
} |
|
744 |
#recaptcha_widget_div #recaptcha_instructions_image { |
|
745 |
font-size: 0.8em; |
|
746 |
margin-bottom: 10px; |
|
747 |
display: block !important; |
|
748 |
} |
|
749 | 776 |
/* generic form styles */ |
750 | 777 |
input, textarea, .form-widget { |
751 | 778 |
background-color: #ffffff; |
752 |
color: #000000;
|
|
779 |
color: #808080;
|
|
753 | 780 |
border-color: #000000; |
754 | 781 |
} |
755 |
.checkbox-widget.checked { |
|
756 |
background-color: #f00; |
|
757 |
background-image: url("../images/checkbox.png"); |
|
758 |
background-position: 50% 50%; |
|
759 |
} |
|
760 |
.checkbox-widget { |
|
761 |
border: 1px solid #808080; |
|
762 |
width: 25px; |
|
763 |
height: 25px; |
|
764 |
display: block; |
|
765 |
float: left; |
|
766 |
cursor: pointer; |
|
767 |
margin-top: 9px; |
|
768 |
} |
|
769 | 782 |
#forms .input, #forms input { |
770 | 783 |
font-family: 'Antic', sans-serif; |
771 | 784 |
font-size: 14px; |
... | ... | |
778 | 791 |
line-height: 22px; |
779 | 792 |
letter-spacing: 1px; |
780 | 793 |
border: 1px solid #808080; |
794 |
height: 21px; |
|
795 |
display: inline-block; |
|
781 | 796 |
margin-bottom: -1px; |
782 | 797 |
padding: 0.8em; |
783 | 798 |
padding-left: 1.5em; |
... | ... | |
788 | 803 |
border: 1px solid #000; |
789 | 804 |
z-index: 100; |
790 | 805 |
} |
806 |
#forms .input:focus label, #forms input:focus label { |
|
807 |
z-index: 300; |
|
808 |
} |
|
791 | 809 |
.altcol { |
792 | 810 |
background-color: #c3c3b9 !important; |
793 | 811 |
} |
... | ... | |
795 | 813 |
background-color: #f89a1c !important; |
796 | 814 |
} |
797 | 815 |
.section { |
798 |
margin-bottom: 2em; |
|
816 |
margin-bottom: 66px; |
|
817 |
} |
|
818 |
.section em { |
|
819 |
color: #3582ac; |
|
820 |
} |
|
821 |
.section.positioned { |
|
822 |
margin-bottom: 0; |
|
799 | 823 |
} |
800 | 824 |
.section.positioned .content { |
801 | 825 |
display: inline; |
... | ... | |
813 | 837 |
float: left; |
814 | 838 |
} |
815 | 839 |
.section.positioned h3 { |
840 |
font-size: 1.2em; |
|
816 | 841 |
margin-bottom: 22px; |
817 | 842 |
} |
818 | 843 |
.section.positioned .text { |
... | ... | |
841 | 866 |
} |
842 | 867 |
input[readonly=true] { |
843 | 868 |
background-color: #ddd; |
844 |
color: #2b2b2b;
|
|
869 |
color: #5e5e5e;
|
|
845 | 870 |
} |
846 | 871 |
form.withlabels label { |
847 | 872 |
width: 224px; |
... | ... | |
855 | 880 |
form.withlabels input[type=text].long, form.withlabels input[type=password].long, form.withlabels textarea.long { |
856 | 881 |
width: 224px; |
857 | 882 |
} |
883 |
.login-section a.button { |
|
884 |
margin-bottom: 12px; |
|
885 |
} |
|
886 |
.login-section a.button:last-child { |
|
887 |
margin-bottom: none; |
|
888 |
} |
|
889 |
.login-section a.button.withicon { |
|
890 |
background-repeat: no-repeat; |
|
891 |
background-position: 15px 50%; |
|
892 |
padding-left: 40px; |
|
893 |
} |
|
894 |
.login-section.loggedin { |
|
895 |
padding-bottom: 0 !important; |
|
896 |
background-image: none !important; |
|
897 |
} |
|
858 | 898 |
form.login { |
859 |
margin-bottom: 3em;
|
|
899 |
margin-bottom: 33px;
|
|
860 | 900 |
} |
861 | 901 |
form h2 { |
862 | 902 |
color: #000000; |
... | ... | |
871 | 911 |
position: relative; |
872 | 912 |
} |
873 | 913 |
form .form-row.submit { |
874 |
margin-top: 22px;
|
|
914 |
margin-top: 33px;
|
|
875 | 915 |
} |
876 | 916 |
form .form-row .extra-link { |
877 | 917 |
color: #808080; |
... | ... | |
905 | 945 |
line-height: 22px; |
906 | 946 |
letter-spacing: 1px; |
907 | 947 |
border: 1px solid #808080; |
948 |
height: 21px; |
|
949 |
display: inline-block; |
|
908 | 950 |
margin-bottom: -1px; |
909 | 951 |
padding: 0.8em; |
910 | 952 |
padding-left: 1.5em; |
... | ... | |
918 | 960 |
border: 1px solid #000; |
919 | 961 |
z-index: 100; |
920 | 962 |
} |
963 |
form textarea:focus label, |
|
964 |
form input.text:focus label, |
|
965 |
form input[type="text"]:focus label, |
|
966 |
form input[type="password"]:focus label { |
|
967 |
z-index: 300; |
|
968 |
} |
|
921 | 969 |
form input.submit, form input[type="submit"] { |
922 | 970 |
font-family: 'Antic', sans-serif; |
923 | 971 |
font-size: 14px; |
... | ... | |
930 | 978 |
line-height: 22px; |
931 | 979 |
letter-spacing: 1px; |
932 | 980 |
background-color: #3582ac; |
933 |
-webkit-transition: background-color 0.15s linear; |
|
934 |
transition: background-color 0.15s linear; |
|
935 |
-webkit-transition: background-color 0.15s linear; |
|
936 |
transition: background-color 0.15s linear; |
|
937 | 981 |
color: #ffffff; |
938 | 982 |
border: none; |
939 | 983 |
padding: 0.8em 22px; |
... | ... | |
949 | 993 |
line-height: 22px; |
950 | 994 |
letter-spacing: 1px; |
951 | 995 |
background-color: #3582ac; |
952 |
-webkit-transition: background-color 0.15s linear; |
|
953 |
transition: background-color 0.15s linear; |
|
954 |
-webkit-transition: background-color 0.15s linear; |
|
955 |
transition: background-color 0.15s linear; |
|
956 | 996 |
color: #ffffff; |
957 | 997 |
border: none; |
958 | 998 |
padding: 0.8em 22px; |
... | ... | |
961 | 1001 |
form input.submit:hover, form input[type="submit"]:hover { |
962 | 1002 |
background-color: #f89a1c; |
963 | 1003 |
} |
964 |
form input.submit a, form input[type="submit"] a { |
|
965 |
color: #ffffff !important; |
|
966 |
text-decoration: none !important; |
|
967 |
border: none !important; |
|
968 |
} |
|
969 | 1004 |
form input.submit:hover, form input[type="submit"]:hover { |
970 | 1005 |
background-color: #f89a1c; |
971 | 1006 |
} |
972 |
form input.submit a, form input[type="submit"] a { |
|
973 |
color: #ffffff !important; |
|
974 |
text-decoration: none !important; |
|
975 |
border: none !important; |
|
976 |
} |
|
977 | 1007 |
form .with-errors input, form .with-errors textarea, form .with-errors select { |
978 | 1008 |
color: #9d261d; |
979 | 1009 |
} |
... | ... | |
995 | 1025 |
div.form-stacked { |
996 | 1026 |
margin-bottom: 4em; |
997 | 1027 |
} |
1028 |
.rightcol .section { |
|
1029 |
background-image: url("../images/dashed_border.png"); |
|
1030 |
background-repeat: repeat-x; |
|
1031 |
background-position: left bottom; |
|
1032 |
padding-bottom: 44px; |
|
1033 |
margin-bottom: 44px; |
|
1034 |
} |
|
998 | 1035 |
.section h2 { |
999 | 1036 |
font-size: 1.1em; |
1037 |
line-height: 1.3em; |
|
1000 | 1038 |
margin-bottom: 33px; |
1001 | 1039 |
} |
1002 | 1040 |
.section h2 a { |
1003 | 1041 |
color: #4085A6; |
1004 | 1042 |
border: none; |
1043 |
line-height: 1.3em; |
|
1044 |
} |
|
1045 |
.section h3 { |
|
1046 |
font-size: 1.1em; |
|
1047 |
line-height: 1.3em; |
|
1048 |
margin-bottom: 33px; |
|
1005 | 1049 |
} |
1006 | 1050 |
.section p { |
1007 | 1051 |
line-height: 1.7em; |
1008 | 1052 |
} |
1053 |
.section .section-img { |
|
1054 |
margin-bottom: 22px; |
|
1055 |
} |
|
1009 | 1056 |
.messages { |
1010 | 1057 |
display: inline; |
1011 | 1058 |
float: left; |
1012 | 1059 |
margin-left: 22px; |
1013 | 1060 |
width: 798px; |
1014 |
margin-bottom: 2em;
|
|
1061 |
margin: 2em 0;
|
|
1015 | 1062 |
background-color: #ddd; |
1063 |
margin-left: 0; |
|
1016 | 1064 |
} |
1017 | 1065 |
.messages li { |
1018 | 1066 |
padding: 1em; |
... | ... | |
1105 | 1153 |
margin-right: 0; |
1106 | 1154 |
} |
1107 | 1155 |
/*pagination*/ |
1156 |
.pagination a.page { |
|
1157 |
display: inline !important; |
|
1158 |
} |
|
1108 | 1159 |
/*blog styles*/ |
1109 | 1160 |
.blog-entry { |
1110 |
margin-bottom: 2em;
|
|
1161 |
margin-bottom: 66px;
|
|
1111 | 1162 |
zoom: 1; |
1112 | 1163 |
margin-bottom: 44px; |
1113 | 1164 |
} |
1165 |
.blog-entry em { |
|
1166 |
color: #3582ac; |
|
1167 |
} |
|
1168 |
.blog-entry.positioned { |
|
1169 |
margin-bottom: 0; |
|
1170 |
} |
|
1114 | 1171 |
.blog-entry.positioned .content { |
1115 | 1172 |
display: inline; |
1116 | 1173 |
float: left; |
... | ... | |
1127 | 1184 |
float: left; |
1128 | 1185 |
} |
1129 | 1186 |
.blog-entry.positioned h3 { |
1187 |
font-size: 1.2em; |
|
1130 | 1188 |
margin-bottom: 22px; |
1131 | 1189 |
} |
1132 | 1190 |
.blog-entry.positioned .text { |
... | ... | |
1155 | 1213 |
} |
1156 | 1214 |
.blog-entry h2 { |
1157 | 1215 |
font-size: 1.1em; |
1216 |
line-height: 1.3em; |
|
1158 | 1217 |
margin-bottom: 33px; |
1159 | 1218 |
} |
1160 | 1219 |
.blog-entry h2 a { |
1161 | 1220 |
color: #4085A6; |
1162 | 1221 |
border: none; |
1222 |
line-height: 1.3em; |
|
1223 |
} |
|
1224 |
.blog-entry h3 { |
|
1225 |
font-size: 1.1em; |
|
1226 |
line-height: 1.3em; |
|
1227 |
margin-bottom: 33px; |
|
1163 | 1228 |
} |
1164 | 1229 |
.blog-entry p { |
1165 | 1230 |
line-height: 1.7em; |
1166 | 1231 |
} |
1232 |
.blog-entry .section-img { |
|
1233 |
margin-bottom: 22px; |
|
1234 |
} |
|
1167 | 1235 |
.blog-entry:before, .blog-entry:after { |
1168 | 1236 |
display: table; |
1169 | 1237 |
content: ""; |
... | ... | |
1175 | 1243 |
.blog-entry .title { |
1176 | 1244 |
margin-bottom: 1em; |
1177 | 1245 |
font-size: 1.1em; |
1246 |
line-height: 1.4em; |
|
1178 | 1247 |
} |
1179 | 1248 |
.blog-entry .media img { |
1180 | 1249 |
border: 1px solid #808080; |
... | ... | |
1199 | 1268 |
margin-bottom: 22px; |
1200 | 1269 |
color: #808080; |
1201 | 1270 |
} |
1271 |
.section.twitter-feed .tweet:last-child { |
|
1272 |
margin-bottom: 0; |
|
1273 |
padding-bottom: 0; |
|
1274 |
border-bottom: none; |
|
1275 |
} |
|
1202 | 1276 |
.section.twitter-feed .tweet .date { |
1203 | 1277 |
display: block; |
1204 | 1278 |
font-size: 0.7em; |
... | ... | |
1207 | 1281 |
text-decoration: none !important; |
1208 | 1282 |
border: none; |
1209 | 1283 |
} |
1284 |
.pagination .page { |
|
1285 |
margin-left: 0; |
|
1286 |
} |
|
1287 |
.entry-list .since { |
|
1288 |
font-size: 0.8em; |
|
1289 |
} |
|
1290 |
.entry-list .title { |
|
1291 |
margin-bottom: 1em; |
|
1292 |
} |
|
1293 |
.entry-list .content, .entry-list .text { |
|
1294 |
margin-bottom: 2em; |
|
1295 |
font-size: 0.8em; |
|
1296 |
} |
|
1297 |
.initial_hidden { |
|
1298 |
display: none; |
|
1299 |
} |
|
1300 |
/*resources styles*/ |
|
1301 |
.resources .categories ul { |
|
1302 |
zoom: 1; |
|
1303 |
} |
|
1304 |
.resources .categories ul:before, .resources .categories ul:after { |
|
1305 |
display: table; |
|
1306 |
content: ""; |
|
1307 |
zoom: 1; |
|
1308 |
} |
|
1309 |
.resources .categories ul:after { |
|
1310 |
clear: both; |
|
1311 |
} |
|
1312 |
.resources .categories ul li { |
|
1313 |
float: left; |
|
1314 |
} |
|
1315 |
.resources .categories .title { |
|
1316 |
margin-bottom: 11px; |
|
1317 |
} |
|
1318 |
.resources .categories ul li a { |
|
1319 |
text-decoration: none; |
|
1320 |
color: #faaf40; |
|
1321 |
margin-right: 22px; |
|
1322 |
} |
|
1323 |
.resources .list { |
|
1324 |
margin-top: 88px; |
|
1325 |
} |
|
1326 |
.resources .list .resource { |
|
1327 |
-moz-box-sizing: border-box; |
|
1328 |
-webkit-box-sizing: border-box; |
|
1329 |
box-sizing: border-box; |
|
1330 |
*behavior: url(boxsizing.htc); |
|
1331 |
width: 33%; |
|
1332 |
padding: 44px; |
|
1333 |
float: left; |
|
1334 |
border: 1px solid #faaf40; |
|
1335 |
height: 264px; |
|
1336 |
} |
|
1337 |
.resources .list .resource .description { |
|
1338 |
display: none; |
|
1339 |
} |
|
1340 |
/* recaptcha */ |
|
1341 |
#recaptcha_widget_div { |
|
1342 |
margin-top: 10px; |
|
1343 |
margin-left: -4px; |
|
1344 |
} |
|
1345 |
#recaptcha_widget_div #recaptcha_instructions_image { |
|
1346 |
font-size: 0.8em; |
|
1347 |
margin-bottom: 10px; |
|
1348 |
display: block !important; |
|
1349 |
} |
|
1350 |
.checkbox-widget.checked { |
|
1351 |
background-color: #f00; |
|
1352 |
background-image: url("../images/checkbox.png"); |
|
1353 |
background-position: 50% 50%; |
|
1354 |
} |
|
1355 |
.checkbox-widget { |
|
1356 |
border: 1px solid #808080; |
|
1357 |
width: 25px; |
|
1358 |
height: 25px; |
|
1359 |
display: block; |
|
1360 |
float: left; |
|
1361 |
cursor: pointer; |
|
1362 |
margin-top: 9px; |
|
1363 |
} |
b/snf-astakos-app/astakos/im/static/im/css/styles.less | ||
---|---|---|
1 | 1 |
@import "../less/bootstrap.less"; |
2 |
@import "../less/xtra.less"; |
|
3 | 2 |
@import "../less/django_forms.less"; |
4 | 3 |
@import "../less/tables.less"; |
4 |
@import "../less/xtra.less"; |
|
5 |
|
|
5 | 6 |
|
7 |
// mixins |
|
8 |
|
|
9 |
.border-box { |
|
10 |
-moz-box-sizing: border-box; |
|
11 |
-webkit-box-sizing: border-box; |
|
12 |
box-sizing: border-box; |
|
13 |
*behavior: url(boxsizing.htc); |
|
14 |
} |
|
6 | 15 |
|
7 | 16 |
@gradCol: #ddd; |
8 | 17 |
body { |
... | ... | |
36 | 45 |
} |
37 | 46 |
|
38 | 47 |
// default link styles |
39 |
section a, p a, form a, .section a { |
|
48 |
section a, p a, form a, .section a, .styledlinks a {
|
|
40 | 49 |
color: @black; |
41 | 50 |
text-decoration: none; |
42 | 51 |
border-bottom: 1px solid @linkColor; |
... | ... | |
54 | 63 |
} |
55 | 64 |
} |
56 | 65 |
|
66 |
a.simple { |
|
67 |
border: none; |
|
68 |
|
|
69 |
} |
|
57 | 70 |
a.action { |
58 | 71 |
color: @linkColor; |
59 | 72 |
border-bottom: none; |
... | ... | |
91 | 104 |
|
92 | 105 |
div.header { |
93 | 106 |
position: relative; |
94 |
margin-top: 42px;
|
|
107 |
margin-top: 4*@gridGutterWidth;
|
|
95 | 108 |
margin-bottom: @gridGutterWidth; |
96 | 109 |
h1 { |
97 | 110 |
color: @shadowColor; |
... | ... | |
102 | 115 |
} |
103 | 116 |
} |
104 | 117 |
.mainlogo { |
118 |
height: 36px; |
|
119 |
|
|
120 |
h1 { height: 36px } |
|
105 | 121 |
img { |
106 | 122 |
margin-left: -10px; |
107 | 123 |
} |
... | ... | |
135 | 151 |
} |
136 | 152 |
} |
137 | 153 |
|
154 |
.navigation { |
|
155 |
height: 83px; |
|
156 |
} |
|
138 | 157 |
|
139 | 158 |
.mainnav { |
140 |
font-size: 1.1em;
|
|
159 |
font-size: 1.2em;
|
|
141 | 160 |
|
142 | 161 |
&.subnav { |
143 | 162 |
margin-bottom: -@gridGutterWidth; |
144 | 163 |
li { |
145 |
margin-top: @gridGutterWidth/2;
|
|
164 |
margin-top: 1.2em;
|
|
146 | 165 |
} |
147 | 166 |
} |
148 | 167 |
|
... | ... | |
172 | 191 |
} |
173 | 192 |
} |
174 | 193 |
|
175 |
.page { |
|
194 |
.bottom-section { |
|
195 |
.clearfix(); |
|
196 |
|
|
197 |
.section { |
|
198 |
img { |
|
199 |
width: 200px; |
|
200 |
} |
|
201 |
} |
|
202 |
} |
|
203 |
|
|
204 |
.top-section { |
|
205 |
.clearfix(); |
|
206 |
} |
|
207 |
|
|
208 |
div.page { |
|
176 | 209 |
.makeRow(); |
177 |
margin-top: 42px;
|
|
210 |
margin-top: 6*@gridGutterWidth;
|
|
178 | 211 |
font-size: 1.1em; |
179 | 212 |
.page-inner { |
180 | 213 |
position: relative; |
... | ... | |
214 | 247 |
} |
215 | 248 |
} |
216 | 249 |
|
217 |
|
|
218 |
/* recaptcha */ |
|
219 |
#recaptcha_widget_div { |
|
220 |
margin-top: 10px; |
|
221 |
margin-left: -4px; |
|
222 |
|
|
223 |
#recaptcha_instructions_image { |
|
224 |
font-size: 0.8em; |
|
225 |
margin-bottom: 10px; |
|
226 |
display: block !important; |
|
227 |
} |
|
228 |
} |
|
229 | 250 |
/* generic form styles */ |
230 | 251 |
input, textarea, .form-widget { |
231 | 252 |
background-color: @white; |
232 |
color: @black;
|
|
253 |
color: @gray;
|
|
233 | 254 |
border-color: @black; |
234 | 255 |
} |
235 | 256 |
|
236 |
.checkbox-widget.checked { |
|
237 |
background-color: #f00; |
|
238 |
background-image: url("../images/checkbox.png"); |
|
239 |
background-position: 50% 50%; |
|
240 |
} |
|
241 |
|
|
242 |
.checkbox-widget { |
|
243 |
border: 1px solid @gray; |
|
244 |
width: 25px; |
|
245 |
height: 25px; |
|
246 |
display: block; |
|
247 |
float: left; |
|
248 |
cursor: pointer; |
|
249 |
margin-top: @gridGutterWidth/2 - 2; |
|
250 |
} |
|
251 |
|
|
252 | 257 |
#forms { |
253 | 258 |
.input, input { |
254 | 259 |
#font.main(); |
255 | 260 |
border: 1px solid @gray; |
261 |
height:21px; |
|
262 |
display: inline-block; |
|
256 | 263 |
margin-bottom: -1px; |
257 | 264 |
padding: 0.8em; |
258 | 265 |
padding-left: 1.5em; |
259 | 266 |
z-index: 2; |
260 |
|
|
261 | 267 |
&:focus { |
262 | 268 |
position: relative; |
263 | 269 |
border: 1px solid #000; |
264 | 270 |
z-index: 100; |
271 |
|
|
272 |
label { |
|
273 |
z-index: 300; |
|
274 |
} |
|
265 | 275 |
} |
266 | 276 |
} |
267 | 277 |
} |
... | ... | |
275 | 285 |
} |
276 | 286 |
|
277 | 287 |
.section { |
288 |
|
|
289 |
em { |
|
290 |
color: @blue; |
|
291 |
} |
|
278 | 292 |
|
279 | 293 |
&.positioned { |
280 |
|
|
294 |
margin-bottom: 0; |
|
281 | 295 |
.content { |
282 | 296 |
.makeColumn(4); |
283 | 297 |
} |
... | ... | |
296 | 310 |
} |
297 | 311 |
|
298 | 312 |
h3 { |
313 |
font-size: 1.2em; |
|
299 | 314 |
margin-bottom: @gridGutterWidth; |
300 | 315 |
} |
301 | 316 |
|
... | ... | |
304 | 319 |
} |
305 | 320 |
} |
306 | 321 |
|
307 |
margin-bottom: 2em;
|
|
322 |
margin-bottom: 3*@gridGutterWidth;
|
|
308 | 323 |
|
309 | 324 |
.left, .right { |
310 | 325 |
width: 50%; |
... | ... | |
324 | 339 |
|
325 | 340 |
input[readonly=true] { |
326 | 341 |
background-color: #ddd; |
327 |
color: darken(#ddd, 70%);
|
|
342 |
color: darken(#ddd, 50%);
|
|
328 | 343 |
} |
329 | 344 |
|
330 | 345 |
form.withlabels { |
... | ... | |
345 | 360 |
} |
346 | 361 |
|
347 | 362 |
|
363 |
.login-section { |
|
364 |
a.button { |
|
365 |
margin-bottom: 0.2*@gridColumnWidth; |
|
366 |
|
|
367 |
&:last-child { |
|
368 |
margin-bottom: none; |
|
369 |
} |
|
370 |
|
|
371 |
&.withicon { |
|
372 |
background-repeat: no-repeat; |
|
373 |
background-position: 15px 50%; |
|
374 |
padding-left: 40px; |
|
375 |
} |
|
376 |
} |
|
377 |
|
|
378 |
&.loggedin { |
|
379 |
padding-bottom: 0 !important; |
|
380 |
background-image: none !important; |
|
381 |
} |
|
382 |
} |
|
383 |
|
|
384 |
|
|
348 | 385 |
@errorColor: lighten(@red, 30%); |
349 | 386 |
// forms |
350 | 387 |
form { |
351 | 388 |
|
352 | 389 |
&.login { |
353 |
margin-bottom: 3em;
|
|
390 |
margin-bottom: 1.5*@gridGutterWidth;
|
|
354 | 391 |
} |
355 | 392 |
|
356 | 393 |
h2 { |
... | ... | |
367 | 404 |
min-height: 2*@gridGutterWidth; |
368 | 405 |
position: relative; |
369 | 406 |
&.submit { |
370 |
margin-top: @gridGutterWidth; |
|
407 |
margin-top: 1.5*@gridGutterWidth;
|
|
371 | 408 |
} |
372 | 409 |
|
373 | 410 |
.extra-link { |
... | ... | |
430 | 467 |
margin-bottom: 4em; |
431 | 468 |
} |
432 | 469 |
// content types |
470 |
|
|
471 |
.rightcol .section { |
|
472 |
background-image: url("../images/dashed_border.png"); |
|
473 |
background-repeat: repeat-x; |
|
474 |
background-position: left bottom; |
|
475 |
padding-bottom: 2*@gridGutterWidth; |
|
476 |
margin-bottom: 2*@gridGutterWidth; |
|
477 |
|
|
478 |
} |
|
479 |
|
|
433 | 480 |
.section { |
434 | 481 |
h2 { |
435 | 482 |
font-size: 1.1em; |
483 |
line-height: 1.3em; |
|
436 | 484 |
margin-bottom: 1.5*@gridGutterWidth; |
437 | 485 |
|
438 | 486 |
a { |
439 | 487 |
color: #4085A6; |
440 | 488 |
border: none; |
489 |
line-height: 1.3em; |
|
441 | 490 |
} |
442 | 491 |
} |
443 | 492 |
|
493 |
h3 { |
|
494 |
font-size: 1.1em; |
|
495 |
line-height: 1.3em; |
|
496 |
margin-bottom: 1.5*@gridGutterWidth; |
|
497 |
} |
|
498 |
|
|
444 | 499 |
p { |
445 | 500 |
line-height: 1.7em; |
446 | 501 |
} |
502 |
|
|
503 |
.section-img { |
|
504 |
margin-bottom: 1*@gridGutterWidth; |
|
505 |
} |
|
447 | 506 |
} |
448 | 507 |
|
449 | 508 |
|
... | ... | |
451 | 510 |
.messages { |
452 | 511 |
.makeColumn(10); |
453 | 512 |
|
454 |
margin-bottom: 2em;
|
|
513 |
margin: 2em 0;
|
|
455 | 514 |
background-color: #ddd; |
515 |
margin-left: 0; |
|
456 | 516 |
|
457 | 517 |
li { |
458 | 518 |
padding: 1em; |
... | ... | |
538 | 598 |
|
539 | 599 |
|
540 | 600 |
/*pagination*/ |
601 |
.pagination { |
|
602 |
a.page { |
|
603 |
display: inline !important; |
|
541 | 604 |
|
605 |
} |
|
606 |
} |
|
542 | 607 |
|
543 | 608 |
/*blog styles*/ |
544 | 609 |
.blog-entries { |
... | ... | |
554 | 619 |
.title { |
555 | 620 |
margin-bottom: 1em; |
556 | 621 |
font-size: 1.1em; |
622 |
line-height: 1.4em; |
|
557 | 623 |
} |
558 | 624 |
|
559 | 625 |
.media { |
... | ... | |
586 | 652 |
.section.twitter-feed { |
587 | 653 |
|
588 | 654 |
.tweet { |
655 |
&:last-child { margin-bottom:0; padding-bottom:0; border-bottom: none } |
|
589 | 656 |
line-height: 1.3em; |
590 | 657 |
font-size: 0.9em; |
591 | 658 |
margin-bottom: @gridGutterWidth; |
... | ... | |
601 | 668 |
} |
602 | 669 |
} |
603 | 670 |
} |
671 |
|
|
672 |
.pagination .page { |
|
673 |
margin-left: 0; |
|
674 |
} |
|
675 |
|
|
676 |
|
|
677 |
.entry-list { |
|
678 |
|
|
679 |
.since { |
|
680 |
font-size: 0.8em; |
|
681 |
} |
|
682 |
|
|
683 |
.title { |
|
684 |
margin-bottom: 1em; |
|
685 |
} |
|
686 |
|
|
687 |
.content, .text { |
|
688 |
margin-bottom: 2em; |
|
689 |
font-size: 0.8em; |
|
690 |
} |
|
691 |
} |
|
692 |
|
|
693 |
|
|
694 |
.initial_hidden { |
|
695 |
display: none; |
|
696 |
} |
|
697 |
|
|
698 |
/*resources styles*/ |
|
699 |
|
|
700 |
@resCol: #FAAF40; |
|
701 |
.resources { |
|
702 |
|
|
703 |
.categories { |
|
704 |
ul { .clearfix() } |
|
705 |
ul li { float: left; } |
|
706 |
.title { |
|
707 |
margin-bottom: @gridGutterWidth/2; |
|
708 |
} |
|
709 |
|
|
710 |
ul li a { |
|
711 |
text-decoration: none; |
|
712 |
color: @resCol; |
|
713 |
margin-right: @gridGutterWidth; |
|
714 |
} |
|
715 |
} |
|
716 |
|
|
717 |
.list { |
|
718 |
|
|
719 |
margin-top: 4*@gridGutterWidth; |
|
720 |
|
|
721 |
.resource { |
|
722 |
.border-box(); |
|
723 |
width: 33%; |
|
724 |
padding: 2*@gridGutterWidth; |
|
725 |
float: left; |
|
726 |
border: 1px solid @resCol; |
|
727 |
height: 12*@gridGutterWidth; |
|
728 |
|
|
729 |
.description { |
|
730 |
display: none; |
|
731 |
} |
|
732 |
} |
|
733 |
} |
|
734 |
|
|
735 |
} |
|
736 |
|
|
737 |
|
|
738 |
/* recaptcha */ |
|
739 |
#recaptcha_widget_div { |
|
740 |
margin-top: 10px; |
|
741 |
margin-left: -4px; |
|
742 |
|
|
743 |
#recaptcha_instructions_image { |
|
744 |
font-size: 0.8em; |
|
745 |
margin-bottom: 10px; |
|
746 |
display: block !important; |
|
747 |
} |
|
748 |
} |
|
749 |
|
|
750 |
.checkbox-widget.checked { |
|
751 |
background-color: #f00; |
|
752 |
background-image: url("../images/checkbox.png"); |
|
753 |
background-position: 50% 50%; |
|
754 |
} |
|
755 |
|
|
756 |
.checkbox-widget { |
|
757 |
border: 1px solid @gray; |
|
758 |
width: 25px; |
|
759 |
height: 25px; |
|
760 |
display: block; |
|
761 |
float: left; |
|
762 |
cursor: pointer; |
|
763 |
margin-top: @gridGutterWidth/2 - 2; |
|
764 |
} |
|
765 |
|
|
766 |
|
|
767 |
|
Also available in: Unified diff