]> code.citadel.org Git - citadel.git/blob - webcit/static/webcit.css
Optimize the CSS stylesheet, in progress, test it
[citadel.git] / webcit / static / webcit.css
1 @media print {
2         input#toggler, .toolbar { display: none }
3 }
4
5 /* Typography & colors */
6
7 html {  font-size: 100%;}
8
9 body { font-size: 11pt}
10
11 #banner h1 { font-size: 16pt; }
12
13 #banner h2,#banner .titlebar, .address_book_popup_title {
14         font-size: 13pt;
15 }
16
17 #button, #content .msgbuttons a,input#delbutton,.attachfile,.logbuttons input,.buttons input, #wholist li, .buttons a, .customize, .mailbox_summary, .menubar_link, .roomlist_floor, .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new, .roomlist_old, .ib_roomlist_old, #banner ul.room_actions li, #navbar, .selector_top, .selector_bottom, .room_banner .infos,.room_banner .nummsgs,li.search,li.view, .room_actions form select option, .selectbox, #message_list_hdr table, .message_header, ul.adminitems li span {
18         font-size: 10pt;
19 }
20
21 /* Color */
22
23 body {
24         background-color: #004E79;
25         font-family: "Trebuchet MS", "Verdana", "Bitstream Vera Sans", sans-serif;
26         font-weight: 400;
27 }
28
29 .boxcontent,.service form div,table.altern .odd, #message_list, .message_content, #roomlist_div,.editednode,.mailbox_summary, .auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_background, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .downloads_background, .vcard_edit_background, div.auto_complete, div.auto_complete ul {
30         background-color: #FFF;
31         color: #000;
32 }
33
34 #login_form, #message_list_hdr table, #resize_msglist, .message, .message_header, .vcard_edit_background_alt,.roomops_background_alt 
35  {
36         background-color: #CCC;
37 }
38
39 .box, #wholist li.inactiveuser a {
40         background-color: transparent;
41 }
42
43 .room_banner .infos {
44         cursor: help;
45 }
46
47 input, select, #login_form #uname, #login_form #pname, #wholist li.activeuser a, .room_actions form select, .room_actions li.search input, .address_book_popup_title {
48         background-color: #fbf4ca;
49 }
50
51 input, select, #login_form #uname, #login_form #pname, .room_actions form select, .room_actions li.search input, .address_book_popup_title {
52         border: 1px solid #999;
53         color: #333;
54 }
55
56 .login_message {
57         color: #AD1C00;
58         font-weight: 700;
59         text-transform: uppercase;
60 }
61
62 #iconbar, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart {
63         background-color: #F0FFFF;
64         color: #666;
65 }
66
67 #iconbar #button {
68         border: none;
69         list-style: none;
70 }
71
72 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
73         border: 1px solid #333;
74 }
75
76
77 .buttons a,.roomlist_floor,.tablabel,.treetitle {
78         color: #000;
79         font-weight: 700;
80 }
81
82 #button li {
83         border: none;
84         border-bottom: 2px groove #AAA;
85         border-right: 2px groove #AAA;
86 }
87
88 .logo_citadel a,.logo_citadel img {
89         border: none;
90 }
91
92 .logo,.logo_citadel, #button li.switch {
93         border: none;
94         border-bottom: 1px solid #AAA;
95 }
96
97 #button li a {
98         color: #000;
99         text-decoration: none;
100 }
101
102 #wholist li {
103         border: none;
104         border-top: 1px solid #AAA;
105 }
106
107 #banner h1,#banner h2,.room_banner .nummsgs,.mimepart div,.required {
108         font-weight: 700;
109 }
110
111 #banner ul.room_actions li.start_page a, #navbar, .selector_top,.selector_bottom {
112         background-color: #022750;
113         color: #FFF;
114 }
115
116 #banner, #banner a {
117         color: #FFF
118 }
119
120 .room_actions form select {
121         cursor: pointer;
122 }
123
124 #content {
125         background-color: #6C91A6;
126         color: #000;
127 }
128
129 input#delbutton,.attachfile, .logbuttons input,.buttons input {
130         background-color: transparent;
131         border: 2px groove #AAA;
132         color: #000;
133 }
134
135 #message_list_hdr form input {
136         border: 0;
137 }
138
139 #message_list_hdr select {
140         background-color: #AD1C00;
141         border: 1px solid #6C91A6;
142 }
143
144 #message_list_hdr table {
145         font-style: italic;
146 }
147
148 #resize_msglist {
149         background-image: url(/static/resizegrippy.gif);
150         background-position: center;
151         background-repeat: no-repeat;
152 }
153
154 #resize_msglist hr {
155         background-color: #999;
156         border: 0;
157         color: #999;
158         height: 3px;
159 }
160
161 .message {
162         border: 1px outset #999;
163         clear: both;
164 }
165
166 .message_header .message_subject {
167         font-style: italic;
168 }
169
170 .adminlist,.tabbed_dialog {
171         list-style: none;
172 }
173
174 .customize {
175         background-color: #DDC;
176         color: #004;
177         font-style: italic;
178 }
179
180 .default {
181         font-style: normal;
182         text-decoration: underline;
183 }
184
185 .editednodeinput {
186         background-color: #FFF;
187         border: 1px solid #000;
188         color: #000;
189         height: 17px;
190         width: 150px;
191 }
192
193 .error a: link,.error a:visited,.error a:active {
194         background: none;
195         color: #DC143C;
196         text-decoration: underline;
197 }
198
199 .error strong {
200         background: #FFD700;
201         color: #DC143C;
202         text-decoration: none;
203 }
204
205 .error strong a: link,.error strong a:visited,.error strong a:active {
206         background: #FFD700;
207         color: #DC143C;
208 }
209
210 .errormsg {
211         background: none;
212         color: #A00;
213         font-style: italic;
214         font-weight: 700;
215 }
216
217 .floors_config,.roomops_zap {
218         background-color: #700;
219         border: 0;
220 }
221
222 .ib_roomlist_floor, .ib_roomlist_new, .ib_roomlist_old {
223         cursor: pointer;
224 }
225
226 .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new {
227         font-weight: 700;
228 }
229
230 .ib_roomlist_floor {
231         color: #000;
232 }
233
234 .roomlist_new, .ib_roomlist_new {
235         color: #800;
236 }
237
238 .roomlist_old, .ib_roomlist_old {
239         color: #008;
240 }
241
242 .imsg {
243         background: none;
244         color: #AAA;
245         font-style: italic;
246         font-weight: 700;
247 }
248
249 .menubar_bg {
250         background-color: red;
251 }
252
253 .mimepart div span {
254         display: block;
255         font-style: italic;
256 }
257
258 .mimepart dl dd,.mailbox_summary td, .mimepart dl dt {
259         border-top: 1px solid #AAA;
260 }
261
262 .mimepart dl dt {
263         font-weight: 700;
264 }
265
266 .roomops_cell_label,.boxlabel,.tab_cell_label {
267         background-color: #FF7814;
268         color: #FFF;
269         font-weight: 700;
270 }
271
272 .selectbox {
273         background-color: #FF8000;
274 }
275
276 .tab_cell,.tab_cell_edit {
277         background-color: #CCC;
278         font-weight: 700;
279 }
280
281 .tabcontent {
282         background-color: #FFF;
283         border-left: 3px solid #FF7814;
284 }
285
286 .treetitleselectedblured {
287         background-color: menu;
288         color: windowtext;
289 }
290
291 .treetitleselectedfocused {
292         background-color: highlight;
293         color: highlighttext;
294 }
295
296 .warning a: link,.warning a:visited,.warning a:active, .warning {
297         background: none;
298         color: #FF4500;
299 }
300
301 .warning, .warning strong {
302         text-decoration: none;
303 }
304
305 .warning a: link,.warning a:visited,.warning a:active {
306         text-decoration: underline;
307 }
308
309 .warning strong {
310         background: #FFD700;
311         color: #FF4500;
312 }
313
314 .warning strong a: link,.warning strong a:visited,.warning strong a:active {
315         background: #FFD700;
316         color: #FF4500;
317 }
318
319 blockquote {
320         background-color: #f5f5f5 !important;
321         color: navy !important;
322 }
323
324 blockquote blockquote {
325         background-color: #ebebeb !important;
326         color: maroon !important;
327 }
328
329 blockquote blockquote blockquote {
330         background-color: #e1e1e1 !important;
331         color: green !important;
332 }
333
334 blockquote blockquote blockquote blockquote {
335         background-color: #d7d7d7 !important;
336         color: purple !important;
337 }
338
339 blockquote blockquote blockquote blockquote blockquote {
340         background-color: #cdcdcd !important;
341         color: teal !important;
342 }
343
344 blockquote pre {
345         margin-left: 1%;
346         margin-right: 1%;
347 }
348
349 div.auto_complete ul {
350         background: #fff;
351         border: 1px solid #888;
352         list-style-type: none;
353 }
354
355 div.auto_complete ul li.selected {
356         background-color: #ffc;
357 }
358
359 div.auto_complete ul strong.highlight {
360         color: #800;
361 }
362
363
364 table.altern {
365         border-bottom: solid 2px #AAA;
366         border-top: solid 2px #AAA;
367 }
368
369 table.altern .even {
370         background-color: #DDD;
371 }
372
373 td li.frameset,.elements li.frameset {
374         background: none;
375         color: gray;
376         font-weight: lighter;
377 }
378
379 td li.transitional,.elements li.transitional {
380         background: none;
381         color: #696969;
382         font-weight: lighter;
383 }
384
385 ul.adminitems {
386         list-style-type: disc;
387         padding: 0;
388 }
389
390 ul.adminitems li {
391         font-weight: 700;
392 }
393
394 ul.adminitems li span
395 {
396         color: #666;
397 }
398
399 var sub {
400         font-style: normal;
401 }
402
403
404 /* Links */
405
406 a {     text-decoration: none; }
407
408 a:active { color: #AD1C00; }
409
410 a:link { color: blue; }
411
412 a:visited { color: purple; }
413
414 .msgbuttons a {
415         border: 2px groove #AAA;
416         color: #000;
417 }
418
419 #important_message, .buttons a:hover, .msgbuttons a:hover, input:hover, #button li a:hover, #wholist li a:hover, #navbar ul li a:hover, ul.adminitems li {
420         background-color: #AD1C00;
421         color: #FFF;
422 }
423
424
425 /* Layout */
426
427 * html {
428         overflow: hidden;
429 }
430
431 body {
432         height: 100%;
433         overflow: hidden;
434         text-align: center;
435 }
436
437 body, #global {
438         margin: 0;
439         padding: 0;
440 }
441
442 #important_message {
443         position: absolute;
444         top: 0; 
445         right: 0;
446         z-index: 2;
447 }
448
449 #login_screen {
450         margin: 0;
451         padding: 3% 6% 3% 6%;
452 }
453
454 #iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  {
455         text-align: left;
456 }
457
458 #iconbar {
459         position: absolute;
460         top: 0;
461         left: 0;
462         width: 16%;
463 }
464
465 #banner {
466         position: absolute;
467         top: 0;
468         left: 16%;
469         width: 84%;
470         height: 18%;
471 }
472
473 #navbar {
474         position: absolute;
475         bottom: 0; 
476         left: 0;
477         width: 100%;
478 }
479
480 #content {
481         position: absolute;
482         top: 18%;
483         left: 16%;
484         width: 84%;
485         height: 82%;
486         overflow: auto;
487 }
488
489 #message_list_hdr {
490         position: absolute;
491         display: block;
492         top: 0;
493         left: 0;
494         width: 100%;
495         height: 5%;
496         overflow: hidden;
497 }
498
499 #message_list {
500         position: absolute;
501         top: 5%;
502         left: 0;
503         width: 100%;
504         height: 20%;
505         overflow: auto;
506         cursor: pointer;
507 }
508
509 #resize_msglist {
510         position: absolute;
511         top: 25%;
512         left: 0;
513         width: 100%;
514         height: 1%;
515         overflow: hidden;
516         cursor: s-resize;
517 }
518
519 #preview_pane {
520         position: absolute;
521         top: 26%;
522         left: 0%;
523         width: 100%;
524         height: 74%;
525         overflow: auto;
526 }
527
528 .fix_scrollbar_bug {
529         margin-right: 1px;              /* Gecko and other non-broken browsers */
530         width: expression('96%');       /* Only IE6 understands 'expression' - fixes weird scrollbarbug */
531 }
532
533
534
535
536 /* Boxes */
537
538 .box {
539         width: 100%;
540         padding: 0;
541 }
542
543 .boxlabel, .boxcontent {
544         padding: 5px;
545 }
546
547 .boxlabel {
548         text-align: center;
549 }
550
551
552 /* Login */
553
554 #login_screen .login_message, #login_screen .login_image, .login_hello, #login_screen #login_form {
555         display: block;
556         margin: 0 auto 0 auto;
557 }
558
559 #login_screen .login_message, .login_hello, #global center {
560         width: 80%;
561 }
562
563 #login_screen .login_image {
564         width: 65%;
565 }
566
567 #login_screen #login_form {
568         padding: 10px;
569         width: 320px;
570 }
571
572 #login_form input, #login_form label, #login_form select {
573         display: block;
574         float: left;
575         margin: 6pt;
576 }
577
578 #login_form label, #pname, #uname {
579         width: 130px;
580         text-align: left;
581 }
582
583 #login_form br {
584         clear: left;
585 }
586
587 .login_infos {
588         display: block;
589         margin: 20px auto 0 auto;
590         width: 80% ;
591         text-align: left;
592 }
593
594
595 /* Iconbar */
596
597 .logo, .logo_citadel, #iconbar #button, #button li.switch, #wholist {
598         margin: 0;
599         padding: 0;
600 }
601
602 .logo, .logo_citadel, #button li.switch, #wholist li {
603         text-align: center;
604 }
605
606 .logo, .logo_citadel {
607         display: block;
608 }
609
610 #iconbar #button {
611         width: 100%;
612 }
613
614 #button li {
615         margin: 4px 8px 4px 8px;
616         padding: 0;
617 }
618
619
620
621 #button img {
622         vertical-align: middle;
623         padding-left: 2px;
624         padding-right: 5px;
625 }
626
627 #button li a {
628         display: block;
629         width: 100%;
630 }
631
632 html>body #button li a {
633         width: auto;
634 }
635
636 #wholist {
637         border: 0;
638         max-height: 200px;
639         overflow: auto;
640 }
641
642 #wholist li {
643         list-style: none;
644         margin: 0;
645         padding: 2px;
646         white-space: nowrap;
647 }
648
649
650 /* Banner */
651
652 #banner .room_banner {
653         float: left;
654         margin: 0;
655         padding: 0;
656 }
657
658 #banner .room_banner img {
659         float: left;
660         margin: 0 5px 15px 0;
661 }
662
663 #banner h1, #banner h2, #banner .room_banner .infos, #banner .room_banner p {
664         margin: 2px;
665         padding: 0;
666 }
667
668 #room_infos {
669         position: absolute;
670         top: 0;
671         left: 50%;
672         width: 45%;
673         z-index: 10;
674         cursor: pointer;
675         text-align: left;
676         padding: 10px 2px 2px 2px;
677 }
678
679 #room_infos img.close_infos {
680         float: right;
681 }
682
683 #banner ul.room_actions {
684         margin: 0;
685         list-style: none;
686         float: right;
687         text-align: right;
688 }
689
690 #banner ul.room_actions li {
691         white-space: nowrap;
692         display: inline;
693 }
694
695 #banner ul.room_actions li select, #banner ul.room_actions li input {
696         margin-top: 8px;
697         margin-right: 4px;
698 }
699
700 /* Navbar */
701
702 #navbar ul, .selector_top, .selector_bottom {
703         width: 100%;
704         margin: 0 auto 0 auto;
705         padding: 0;
706         white-space: nowrap;
707         text-align: center;
708         vertical-align: middle;
709 }
710
711 #navbar ul li {
712         display: inline;
713         list-style: none;
714         vertical-align: middle;
715 }
716
717 #navbar ul li a {
718         padding: 2px 8px 8px 8px;
719         white-space: nowrap;
720  }
721
722 #navbar ul li img {
723         float: none;
724         margin: 0 2px 0 2px;
725 }
726  
727
728 /* Content */
729
730 #content .box {
731         margin-top: 2% auto 0 auto;
732         width: 95%;
733         text-align: left;
734 }
735
736 .boxcontent table {
737         margin: 0;
738         padding: 0;
739 }
740
741 #content table .box {
742         margin: 0;
743         width: 100%;
744         text-align: left;
745 }
746
747 .service, .who_is_online {
748         text-align: center;
749         width: 100%;
750 }
751
752 .service table, .advanced table, .who_is_online table {
753         margin-top: 0 auto 0 auto;
754         width: 100%;
755         text-align: left;
756 }
757
758 .advanced table table {
759         margin: 0;
760         padding: 0;
761 }
762
763 .instructions {
764 }
765
766 #message_list_hdr table {
767         position: absolute;
768         bottom: 0; 
769         left: 0;
770         width: 100%;    
771 }
772
773 .selector_top, .selector_bottom {
774         text-align: center;
775 }
776
777 .message {
778         margin: 1%;
779         padding: 0;
780 }
781
782 .message_header p {
783         margin: 2px 0 2px 0;
784         padding: 0;
785 }
786
787 .msgbuttons a {
788         margin: 0 2px 0 2px;
789         padding: 1px;
790 }
791
792 .mimepart {
793         margin-top: 15px;
794         margin-bottom: 15px;
795         margin-left: 15%;
796         width: 70%;
797         padding: 0;
798 }
799
800 .mimepart img {
801         vertical-align: middle;
802         float: left;
803 }
804
805 .mimepart div {
806         vertical-align: middle;
807         margin: 0 0 15px 0 ;
808         padding: 5px;
809 }
810
811 .mimepart div span {
812         vertical-align: top;
813 }
814
815 .mimepart dl {
816         width: 100%;
817         padding: 5px;
818 }
819
820 .mimepart dl dt {
821         width: 30%;
822         float: left;
823         margin: 0 0 0 0;
824         padding: .5em;
825 }
826
827 /* hack ie5 mac \*/
828 dt { clear: both; }
829 /* end hack */
830
831 .mimepart dl dd {
832         float: left;
833         width: 62%;
834         margin: 0;
835         padding: .5em;
836 }
837
838 .mimepart p {
839         margin-top: 1em;
840         margin-bottom: 0;
841         clear: both;
842 }
843
844 .msgbuttons {
845         float: right;
846         visibility: hidden;
847         margin-top: 0;
848         padding: 0;
849 }
850
851 .buttons a {
852         text-align: center;
853 }
854
855 .msgbuttons a span, .buttons span {
856         display: none;
857 }
858
859 .message_content {
860         margin: 0;
861         padding: 3px;
862         clear: both;
863 }
864
865 .message form div label {
866         display: block;
867         float: left;
868         margin: 3px;
869         width: 9em;
870         text-align: right;
871 }
872
873 .message form div input, .message form div select {
874         margin: 3px;
875 }
876
877 .imgedit {
878         vertical-align: middle;
879 }
880
881 .send_edit_msg {
882         float: right;
883         margin-top: 0 ;
884         margin-right: 0;
885         padding-top: 2px 50px 2px 50px;
886 }
887
888 .mailbox_summary tr {
889         width: 100%;
890 }
891
892 .note {
893         font-size: 85%;
894         margin-left: 10%;
895 }
896
897 .toolbar {
898         text-align: center;
899 }
900
901 .toolbar img {
902         float: right;
903 }
904
905 .imsg {
906         text-align: center;
907 }
908
909 colgroup.entity {
910         text-align: center;
911 }
912
913 div.auto_complete ul {
914         margin: 0;
915         padding: 0;
916         width: 100%;
917 }
918
919 div.auto_complete ul li {
920         margin: 0;
921         padding: 3px;
922 }
923
924 div.auto_complete ul strong.highlight {
925         margin: 0;
926         padding: 0;
927 }
928
929 .auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_background, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .downloads_background, .vcard_edit_background, .vcard_edit_background_alt, .roomops_background_alt, .floors_config, .roomops_zap  {
930  width: 100%;
931 }
932
933 #address_book_popup {
934         position: absolute;
935         top: 100px;
936         right: 25px;
937         width: 320px;
938         height: auto;
939         z-index: 100;
940         display: none;
941 }
942
943 #address_book_popup_container_div {
944         position: relative;
945         width: 100%;
946         height: 100%;
947 }
948
949 #address_book_popup_middle_div {
950         position: relative;
951 }
952
953 #address_book_inner_div {
954         margin: 5px;
955 }
956
957 #address_book_inner_div select {
958         width: 100%;
959 }
960
961 #address_book_inner_div input {
962         margin: 4px 5px 0 5px;
963 }
964
965 .edit_col, .host_col {
966         display: none;
967 }
968
969 .who_is_online .edit_col, .who_is_online .host_col {
970         display: block;
971 }
972
973
974 /* System Administration Menu */
975
976 ul.adminitems {
977         margin: 15px;
978         padding: 0;
979 }
980
981 ul.adminitems li {
982         margin: 0.5em;
983         padding: 0;
984 }
985
986 ul.adminitems li span {
987         display: block;
988 }
989
990
991 /* Room list - Tree Node */
992
993 .treetitle, .editednode, .treetitleselectedfocused, .treetitleselectedblured {
994         padding: 2px;
995         cursor: default;
996 }
997
998
999 table.altern {
1000         margin: 0 auto 0 auto;
1001         width: 98%
1002
1003
1004 table.altern tr td {
1005         height: 2em;    
1006
1007
1008 /* Advanced menu */
1009
1010 table.advanced {
1011         margin: 0 auto 0 auto;
1012         width: 98%
1013         border-collapse: separate;
1014         border-spacing: 15px;
1015
1016
1017 .advanced .boxcontent ul {
1018         margin-left: 4em;
1019 }
1020
1021 .advanced .boxcontent .col1, .advanced .boxcontent .col2 { 
1022         float: left;
1023         width: 33%;
1024 }
1025
1026 .advanced .boxcontent .col2, .advanced .boxcontent .lastcol {
1027         margin-left: 0;
1028         margin-bottom: 4em;
1029 }
1030
1031 /* Site configuration */
1032
1033 #TheTabs {
1034 }
1035
1036 .tabs_background {
1037         margin-top: 0;
1038 }
1039
1040 /* Links and buttons */
1041
1042 .send_edit_msg {
1043         margin: 0 15px 0 0;
1044 }
1045
1046 .logbuttons, .buttons {
1047         margin: 2px auto 2px auto;
1048         width: 95%;
1049         text-align: center;
1050 }
1051
1052 /* Tabs */
1053
1054 .tab_cell_label, .tab_cell, .tab_cell_edit {
1055         margin: 0;
1056         padding: 0 15px 0 15px;
1057 }
1058
1059 ul.tabbed_dialog {
1060         margin: 3% 0 0 2%;
1061         padding: 0;
1062         float: left;
1063         width: 20%;
1064 }
1065
1066 .tabbed_dialog .tablabel {
1067         margin: 0 0 3% 0;
1068         padding: 0.4em;
1069 }
1070
1071 .tabcontent {
1072         margin-top: 2%;
1073         margin-left: 22%;
1074         width: 74%;
1075         padding: 10px;
1076 }