e2a62c590218a15a0b2f038aa015067baa073418
[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 .calendar {
404         background-color: #204B78;
405 }
406
407 .day {
408         font-weight: 700;
409 }
410
411 .calout {
412         background-color: #DDDDDD;
413 }
414
415 .calday {
416         background-color: #FFFFFF;
417 }
418
419 .calweekend {
420         background-color: #EEEECC;
421 }
422
423
424
425 /* Links */
426
427 a {     text-decoration: none; }
428
429 a:active { color: #AD1C00; }
430
431 a:link { color: blue; }
432
433 a:visited { color: purple; }
434
435 .msgbuttons a {
436         border: 2px groove #AAA;
437         color: #000;
438 }
439
440 #important_message, .buttons a:hover, .msgbuttons a:hover, input:hover, #button li a:hover, #wholist li a:hover, #navbar ul li a:hover {
441         background-color: #AD1C00;
442         color: #FFF;
443 }
444
445
446 /* Layout */
447
448 * html {
449         overflow: hidden;
450 }
451
452 body {
453         height: 100%;
454         overflow: hidden;
455         text-align: center;
456 }
457
458 body, #global {
459         margin: 0;
460         padding: 0;
461 }
462
463 #important_message {
464         position: absolute;
465         top: 0; 
466         right: 0;
467         z-index: 2;
468 }
469
470 #login_screen {
471         margin: 0;
472         padding: 3% 6% 3% 6%;
473 }
474
475 #iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  {
476         text-align: left;
477 }
478
479 #iconbar {
480         position: absolute;
481         top: 0;
482         left: 0;
483         width: 16%;
484 }
485
486 #banner {
487         position: absolute;
488         top: 0;
489         left: 16%;
490         width: 84%;
491         height: 18%;
492 }
493
494 #navbar {
495         position: absolute;
496         bottom: 0; 
497         left: 0;
498         width: 100%;
499 }
500
501 #content {
502         position: absolute;
503         top: 18%;
504         left: 16%;
505         width: 84%;
506         height: 82%;
507         overflow: auto;
508 }
509
510 #message_list_hdr {
511         position: absolute;
512         display: block;
513         top: 0;
514         left: 0;
515         width: 100%;
516         height: 5%;
517         overflow: hidden;
518 }
519
520 #message_list {
521         position: absolute;
522         top: 5%;
523         left: 0;
524         width: 100%;
525         height: 20%;
526         overflow: auto;
527         cursor: pointer;
528 }
529
530 #resize_msglist {
531         position: absolute;
532         top: 25%;
533         left: 0;
534         width: 100%;
535         height: 1%;
536         overflow: hidden;
537         cursor: s-resize;
538 }
539
540 #preview_pane {
541         position: absolute;
542         top: 26%;
543         left: 0%;
544         width: 100%;
545         height: 74%;
546         overflow: auto;
547 }
548
549 .fix_scrollbar_bug {
550         margin-right: 1px;              /* Gecko and other non-broken browsers */
551         width: expression('96%');       /* Only IE6 understands 'expression' - fixes weird scrollbarbug */
552 }
553
554
555
556
557 /* Boxes */
558
559 .box {
560         width: 100%;
561         padding: 0;
562 }
563
564 .boxlabel, .boxcontent {
565         padding: 5px;
566 }
567
568 .boxlabel {
569         text-align: center;
570 }
571
572
573 /* Login */
574
575 #login_screen .login_message, #login_screen .login_image, .login_hello, #login_screen #login_form {
576         display: block;
577         margin: 0 auto 0 auto;
578 }
579
580 #login_screen .login_message, .login_hello, #global center {
581         width: 80%;
582 }
583
584 #login_screen .login_image {
585         width: 65%;
586 }
587
588 #login_screen #login_form {
589         padding: 10px;
590         width: 320px;
591 }
592
593 #login_form input, #login_form label, #login_form select {
594         display: block;
595         float: left;
596         margin: 6pt;
597 }
598
599 #login_form label, #pname, #uname {
600         width: 130px;
601         text-align: left;
602 }
603
604 #login_form br {
605         clear: left;
606 }
607
608 .login_infos {
609         display: block;
610         margin: 20px auto 0 auto;
611         width: 80% ;
612         text-align: left;
613 }
614
615
616 /* Iconbar */
617
618 .logo, .logo_citadel, #iconbar #button, #button li.switch, #wholist {
619         margin: 0;
620         padding: 0;
621 }
622
623 .logo, .logo_citadel, #button li.switch, #wholist li {
624         text-align: center;
625 }
626
627 .logo, .logo_citadel {
628         display: block;
629 }
630
631 #iconbar #button {
632         width: 100%;
633 }
634
635 #button li {
636         margin: 4px 8px 4px 8px;
637         padding: 0;
638 }
639
640
641
642 #button img {
643         vertical-align: middle;
644         padding-left: 2px;
645         padding-right: 5px;
646 }
647
648 #button li a {
649         display: block;
650         width: 100%;
651 }
652
653 html>body #button li a {
654         width: auto;
655 }
656
657 #wholist {
658         border: 0;
659         max-height: 200px;
660         overflow: auto;
661 }
662
663 #wholist li {
664         list-style: none;
665         margin: 0;
666         padding: 2px;
667         white-space: nowrap;
668 }
669
670
671 /* Banner */
672
673 #banner .room_banner {
674         float: left;
675         margin: 0;
676         padding: 0;
677 }
678
679 #banner .room_banner img {
680         float: left;
681         margin: 0 5px 15px 0;
682 }
683
684 #banner h1, #banner h2, #banner .room_banner .infos, #banner .room_banner p {
685         margin: 2px;
686         padding: 0;
687 }
688
689 #room_infos {
690         position: absolute;
691         top: 0;
692         left: 50%;
693         width: 45%;
694         z-index: 10;
695         cursor: pointer;
696         text-align: left;
697         padding: 10px 2px 2px 2px;
698 }
699
700 #room_infos img.close_infos {
701         float: right;
702 }
703
704 #banner ul.room_actions {
705         margin: 0;
706         list-style: none;
707         float: right;
708         text-align: right;
709 }
710
711 #banner ul.room_actions li {
712         white-space: nowrap;
713         display: inline;
714 }
715
716 #banner ul.room_actions li select, #banner ul.room_actions li input {
717         margin-top: 8px;
718         margin-right: 4px;
719 }
720
721 /* Navbar */
722
723 #navbar ul, .selector_top, .selector_bottom {
724         width: 100%;
725         margin: 0 auto 0 auto;
726         padding: 0;
727         white-space: nowrap;
728         text-align: center;
729         vertical-align: middle;
730 }
731
732 #navbar ul li {
733         display: inline;
734         list-style: none;
735         vertical-align: middle;
736 }
737
738 #navbar ul li a {
739         padding: 2px 8px 8px 8px;
740         white-space: nowrap;
741  }
742
743 #navbar ul li img {
744         float: none;
745         margin: 0 2px 0 2px;
746 }
747  
748
749 /* Content */
750
751 #content .box {
752         margin-top: 2% auto 0 auto;
753         width: 95%;
754         text-align: left;
755 }
756
757 .boxcontent table {
758         margin: 0;
759         padding: 0;
760 }
761
762 #content table .box {
763         margin: 0;
764         width: 100%;
765         text-align: left;
766 }
767
768 .service, .who_is_online {
769         text-align: center;
770         width: 100%;
771 }
772
773 .service table, .advanced table, .who_is_online table {
774         margin-top: 0 auto 0 auto;
775         width: 100%;
776         text-align: left;
777 }
778
779 .advanced table table {
780         margin: 0;
781         padding: 0;
782 }
783
784 .instructions {
785 }
786
787 #message_list_hdr table {
788         position: absolute;
789         bottom: 0; 
790         left: 0;
791         width: 100%;    
792 }
793
794 .selector_top, .selector_bottom {
795         text-align: center;
796 }
797
798 .message {
799         margin: 1%;
800         padding: 0;
801 }
802
803 .message_header p {
804         margin: 2px 0 2px 0;
805         padding: 0;
806 }
807
808 .msgbuttons a {
809         margin: 0 2px 0 2px;
810         padding: 1px;
811 }
812
813 .mimepart {
814         margin-top: 15px;
815         margin-bottom: 15px;
816         margin-left: 15%;
817         width: 70%;
818         padding: 0;
819 }
820
821 .mimepart img {
822         vertical-align: middle;
823         float: left;
824 }
825
826 .mimepart div {
827         vertical-align: middle;
828         margin: 0 0 15px 0 ;
829         padding: 5px;
830 }
831
832 .mimepart div span {
833         vertical-align: top;
834 }
835
836 .mimepart dl {
837         width: 100%;
838         padding: 5px;
839 }
840
841 .mimepart dl dt {
842         width: 30%;
843         float: left;
844         margin: 0 0 0 0;
845         padding: .5em;
846 }
847
848 /* hack ie5 mac \*/
849 dt { clear: both; }
850 /* end hack */
851
852 .mimepart dl dd {
853         float: left;
854         width: 62%;
855         margin: 0;
856         padding: .5em;
857 }
858
859 .mimepart p {
860         margin-top: 1em;
861         margin-bottom: 0;
862         clear: both;
863 }
864
865 .msgbuttons {
866         float: right;
867         visibility: hidden;
868         margin-top: 0;
869         padding: 0;
870 }
871
872 .buttons a {
873         text-align: center;
874 }
875
876 .msgbuttons a span, .buttons span {
877         display: none;
878 }
879
880 .message_content {
881         margin: 0;
882         padding: 3px;
883         clear: both;
884 }
885
886 .message form div label {
887         display: block;
888         float: left;
889         margin: 3px;
890         width: 9em;
891         text-align: right;
892 }
893
894 .message form div input, .message form div select {
895         margin: 3px;
896 }
897
898 .imgedit {
899         vertical-align: middle;
900 }
901
902 .send_edit_msg {
903         float: right;
904         margin-top: 0 ;
905         margin-right: 0;
906         padding-top: 2px 50px 2px 50px;
907 }
908
909 .mailbox_summary tr {
910         width: 100%;
911 }
912
913 .note {
914         font-size: 85%;
915         margin-left: 10%;
916 }
917
918 .toolbar {
919         text-align: center;
920 }
921
922 .toolbar img {
923         float: right;
924 }
925
926 .imsg {
927         text-align: center;
928 }
929
930 colgroup.entity {
931         text-align: center;
932 }
933
934 div.auto_complete ul {
935         margin: 0;
936         padding: 0;
937         width: 100%;
938 }
939
940 div.auto_complete ul li {
941         margin: 0;
942         padding: 3px;
943 }
944
945 div.auto_complete ul strong.highlight {
946         margin: 0;
947         padding: 0;
948 }
949
950 .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  {
951  width: 100%;
952 }
953
954 #address_book_popup {
955         position: absolute;
956         top: 100px;
957         right: 25px;
958         width: 320px;
959         height: auto;
960         z-index: 100;
961         display: none;
962 }
963
964 #address_book_popup_container_div {
965         position: relative;
966         width: 100%;
967         height: 100%;
968 }
969
970 #address_book_popup_middle_div {
971         position: relative;
972 }
973
974 #address_book_inner_div {
975         margin: 5px;
976 }
977
978 #address_book_inner_div select {
979         width: 100%;
980 }
981
982 #address_book_inner_div input {
983         margin: 4px 5px 0 5px;
984 }
985
986 .edit_col, .host_col {
987         display: none;
988 }
989
990 .who_is_online .edit_col, .who_is_online .host_col {
991         display: block;
992 }
993
994
995 /* System Administration Menu */
996
997 ul.adminitems {
998         margin: 15px;
999         padding: 0;
1000 }
1001
1002 ul.adminitems li {
1003         margin: 0.5em;
1004         padding: 0;
1005 }
1006
1007 ul.adminitems li span {
1008         display: block;
1009 }
1010
1011
1012 /* Room list - Tree Node */
1013
1014 .treetitle, .editednode, .treetitleselectedfocused, .treetitleselectedblured {
1015         padding: 2px;
1016         cursor: default;
1017 }
1018
1019
1020 table.altern {
1021         margin: 0 auto 0 auto;
1022         width: 98%
1023
1024
1025 table.altern tr td {
1026         height: 2em;    
1027
1028
1029 /* Advanced menu */
1030
1031 table.advanced {
1032         margin: 0 auto 0 auto;
1033         width: 98%
1034         border-collapse: separate;
1035         border-spacing: 15px;
1036
1037
1038 .advanced .boxcontent ul {
1039         margin-left: 4em;
1040 }
1041
1042 .advanced .boxcontent .col1, .advanced .boxcontent .col2 { 
1043         float: left;
1044         width: 33%;
1045 }
1046
1047 .advanced .boxcontent .col2, .advanced .boxcontent .lastcol {
1048         margin-left: 0;
1049         margin-bottom: 4em;
1050 }
1051
1052 /* Site configuration */
1053
1054 #TheTabs {
1055 }
1056
1057 .tabs_background {
1058         margin-top: 0;
1059 }
1060
1061 /* Links and buttons */
1062
1063 .send_edit_msg {
1064         margin: 0 15px 0 0;
1065 }
1066
1067 .logbuttons, .buttons {
1068         margin: 2px auto 2px auto;
1069         width: 95%;
1070         text-align: center;
1071 }
1072
1073 /* Tabs */
1074
1075 .tab_cell_label, .tab_cell, .tab_cell_edit {
1076         margin: 0;
1077         padding: 0 15px 0 15px;
1078 }
1079
1080 ul.tabbed_dialog {
1081         margin: 3% 0 0 2%;
1082         padding: 0;
1083         float: left;
1084         width: 20%;
1085 }
1086
1087 .tabbed_dialog .tablabel {
1088         margin: 0 0 3% 0;
1089         padding: 0.4em;
1090 }
1091
1092 .tabcontent {
1093         margin-top: 2%;
1094         margin-left: 22%;
1095         width: 74%;
1096         padding: 10px;
1097 }
1098
1099 /* Calendar view */
1100
1101 .calendar {
1102         margin: 2% auto 0 auto;
1103         width: 98%;
1104 }
1105
1106 .calday, .calout, .calweekend {
1107         width: 14%;
1108         height: 60px;
1109         text-align: left;
1110         vertical-align: top;
1111 }