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