aboutsummaryrefslogblamecommitdiffstats
path: root/etherpad/src/static/css/pad2_ejs.css
blob: 253b8e2ebcbea997c218bccb0541a1aacfa39f34 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
 

                                      
                                                             









                                                                                       


                                                                                               




                                                                                                         
                                                                                      
                                                            
                                                                                       
 


                                                                                               



                                                                                        
                                                                           



                                                                                             
                                                                             









                                                                              
                                                                          


                                                          


                                                                                              
 
                                                                                                    























                                                                                    
                                                                                        


                                                                                                                        
                                                                                          

                                                                                                     
                                                                                                            




















                                                                                                                                                                                                                                                      
                                                                            

                                                                                               
                                                                                                                                     


















                                                                            
                                                                   



















                                                                    
                                                                                                        

                                                           
                                                                                       
                                                             
                                                                                        





                          
                                                            











                                                                   
                                                            

















                                                                                   











                                                


































































































































































































































































                                                                                                                                                            
                                              

































































































































































































































































































































































































































                                                                                                                                    
*,html.body { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { display: inline; line-height: 2em; }

.clear { clear: both; }

html { font-size: 62.5%; }

body { background: #ebebeb url(/static/img/jun09/pad/backgrad.gif) repeat-x left top; }
body, textarea { font-family: Arial, sans-serif; }

#padpage { margin-left: auto; margin-right: auto; width: 900px; }

body.fullwidth #padpage { width: auto; margin-left: 6px; margin-right: 6px; min-width: 800px; }
body.squish1width #padpage { width: 900px; }
body.squish2width #padpage { width: 800px; }

#topbar { height: 25px; background: #326cbd url(/static/img/jun09/pad/padtopback2.gif) repeat-x left top;
  position: relative; }

#topbarleft { float: left; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat left top; width: 5px; }
#topbarright { float: right; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat right top; width: 5px; }

.propad #topbar { background: #2c2c2c url(/static/img/jun09/pad/protop.png) repeat-x 0 -25px; }
.propad #topbarleft { background: url(/static/img/jun09/pad/protop.png) no-repeat left top; }
.propad #topbarright { background: url(/static/img/jun09/pad/protop.png) no-repeat right top; }
  
/*
a#topbarnewpad { display: block; float: left; position: relative; top: 4px; width: 94px;
  height: 0; padding-top: 26px; overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat -5px -4px; }
a#topbarnewpad:focus { outline: 0; }

a#topbarfullwidth { display: block; float: right; position: relative; top: 2px; width: 107px;
  height: 0; padding-top: 27px; overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat -788px -2px; }
a#topbarfullwidth:focus { outline: 0; }
*/

a#backtoprosite, #accountnav {
  display: block; position: absolute; height: 15px; line-height: 15px;
  width: auto; top: 5px; font-size: 1.2em;
}
a#backtoprosite, #accountnav a { color: #cde7ff; text-decoration: underline; }

a#backtoprosite { padding-left: 20px; left: 6px;
  background: url(/static/img/jun09/pad/protop.png) no-repeat -5px -6px; }
#accountnav { right: 10px; color: #fff; }
  
#topbarcenter { margin-left: 150px; margin-right: 150px; }
a#topbaretherpad { margin-left: auto; margin-right: auto; display: block; width: 127px;
  position: relative; top: 0px; height: 0; padding-top: 25px;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat -397px 0px; overflow: hidden; }

.propad a#topbaretherpad { background: url(/static/img/jun09/pad/protop.png) no-repeat -397px 0px; }

#specialkeyarea { top: 5px; left: 250px; color: yellow; font-weight: bold;
  font-size: 1.5em; position: absolute; }

#alertbar { margin-top: 6px;
opacity: 0; filter: alpha(opacity = 0); /* IE */
display: none;
}

#servermsg { position: relative; zoom: 1; border: 1px solid #992;
  background: #ffc; padding: 0.8em; font-size: 1.2em; }
#servermsg h3 { font-weight: bold; margin-right: 10px;
  margin-bottom: 1em; float: left; width: auto; }
#servermsg #servermsgdate { font-style: italic; font-weight: normal; color: #666; }
a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; }

#shuttingdown { position: relative; zoom: 1; border: 1px solid #992;
  background: #ffc; padding: 0.6em; font-size: 1.2em; margin-top: 6px; }

#docbar { margin-top: 6px; height: 30px; position: relative; zoom: 1;
  background: #fbfbfb url(/static/img/jun09/pad/padtopback2.gif) repeat-x 0 -31px; }

#docbarleft { position: absolute; left: 0; top: 0; height: 100%;
  overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat left -31px; width: 7px; }

<% function docbarButton(name, width, imgleft, posright, hoverimgleft, openimgleft) {
  return ("#docbar$name$-outer { width: "+width+"px; position: absolute; height: 30px; top: 0; right: "+posright+"px; "+
  "background: url(/static/img/jun09/pad/padtop5.png) no-repeat "+(-imgleft)+"px -31px; "+
  "/* avoid IE flicker using double background */ }"+
  "a#docbar$name$ { display: block; height: 0; padding-top: 30px; position: absolute; width: 100%; "+
  "overflow: hidden; background: url(/static/img/jun09/pad/padtop5.png) no-repeat "+(-imgleft)+"px -31px; "+
  "z-index: 53; /* > .dbpanel-wrapper */} "+
  "a#docbar$name$:focus { outline: 0; } "+
  "a#docbar$name$:hover { background: url(/static/img/jun09/pad/docbarstates3.png) no-repeat "+(-hoverimgleft)+"px 0; } "+
  ".docbar$name$-opening a#docbar$name$, .docbar$name$-opening a#docbar$name$:hover, .docbar$name$-closing a#docbar$name$, .docbar$name$-closing a#docbar$name$:hover, .docbar$name$-open a#docbar$name$, .docbar$name$-open a#docbar$name$:hover { "+
  "background: url(/static/img/jun09/pad/docbarstates3.png) no-repeat "+(-openimgleft)+"px 0; } "+
  "a#docbar$name$:hover, .docbar$name$-closing a#docbar$name$ { padding-top: 29px; } "+
  ".docbar$name$-opening a#docbar$name$, .docbar$name$-opening a#docbar$name$:hover { "+
  "/* opening or closing: link covers gray line below it */ "+
  "padding-top: 30px; }"+
  ".docbar$name$-open a#docbar$name$, .docbar$name$-open a#docbar$name$:hover { "+
  "/* link covers gray line below it, and also top highlight of panel */ "+
  "padding-top: 30px; }").replace(/\$name\$/g, name);
} %>

<% // include left border, not right %>
<%= docbarButton("savedrevs", 128, 669, 103, 123, 123) %>
<%= docbarButton("impexp", 122, 547, 231, 0, 0) %>
<%= docbarButton("options", 109, 438, 353, 379, 379) %>
<%= docbarButton("security", 85, 353, 462, 489, 489) %>

#docbarslider-outer { width: 104px; position: absolute; height: 30px; top: 0; right: 0;
  background: url(/static/img/jun09/pad/padtop5.png) no-repeat -796px -31px;
  /* avoid IE flicker using double background */ }
a#docbarslider { display: block; height: 0; padding-top: 30px; position: absolute; width: 100%;
  overflow: hidden; background: url(/static/img/jun09/pad/padtop5.png) no-repeat -796px -31px; z-index: 53; /* > .dbpanel-wrapper */}

<% /* changing the size of the title / rename area means adjusting
   the #docbarpadtitle.width, #padtitlebuttons.left,
   and #padtitleedit.width */ %>
  
#docbarpadtitle { position: absolute; height: auto; left: 9px;
  width: 280px; font-size: 1.6em; color: #444; font-weight: normal;
  line-height: 22px; margin-left: 2px; height: 22px; top: 4px;
  overflow: hidden; text-overflow: ellipsis /*not supported in FF*/;
  white-space:nowrap; }
.docbar-public #docbarpadtitle { padding-left: 22px;
  background: url(/static/img/jun09/pad/public.gif) no-repeat left center; }
  
#docbarrenamelink { position: absolute; top: 9px;
  font-size: 1.1em; display: none; }
#docbarrenamelink a { color: #999; }
#docbarrenamelink a:hover { color: #48d; }
#padtitlebuttons { position: absolute; width: 120px; zoom: 1;
  height: 22px; top: 4px; left: 223px; display: none;
  background: url(/static/img/jun09/pad/padtop5.png) -19px -35px; }
#padtitlesave { position: absolute; display: block;
  height: 0; padding-top: 22px; overflow: hidden;
  width: 49px; left: 0; top: 0; }
#padtitlecancel { position: absolute; display: block;
  height: 0; padding-top: 22px; overflow: hidden;
  width: 49px; right: 0; top: 0; }
#padtitleedit { position: absolute; top: 4px; left: 5px;
  height: 17px; padding: 2px; font-size: 1.4em;
  background: white; border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
  width: 207px; display: none;
}
  
#padmain { margin-top: 6px; position: relative; zoom: 1; }

#padeditor { margin-right: 300px; zoom: 1; }
.hidesidebar #padeditor { margin-right: 0; }

#editbar { height: 36px;
  background: #a5bfe2 url(/static/img/jun09/pad/editbar3.png) repeat-x left -36px; position: relative; }

#editbarleft { float: left; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/editbar3.png) no-repeat left top; width: 3px; }
#editbarright { float: right; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/editbar3.png) no-repeat right top; width: 3px; }

#editbar a.editbarbutton {
  display: block;
  position: absolute;
  height: 26px;
  width: 26px;
  background-image: url(/static/img/jun09/pad/editbar3.png);
  background-color: transparent;
  background-repeat: no-repeat;
  text-decoration: none;
  top: 5px;
}
#editbar.disabledtoolbar a.editbarbutton {
  opacity: 0.5;
  filter: alpha(opacity = 50); /* IE */
  zoom: 1;
  cursor: auto;
}
/*#editbar .divider { position: absolute; width: 4px; height: 15px;
  background-image: url(/static/img/jun09/pad/editbar3.png);
  background-color: transparent; background-repeat: no-repeat; }
#editbar .divider1 { left: 137px; top: 11px; background-position: -137px -11px; }
#editbar .divider2 { left: 188px; top: 11px; background-position: -188px -11px; }*/
#editbar a:focus { outline: 0; }

<% function editbarButton(name, pos, width, fromRight) {
  width = width || 26;
  var bposX = - (fromRight ? 600-width-pos : pos);
  return "div#editbar a."+name+" { "+
    (fromRight?'right':'left')+": "+pos+"px; background-position: "+
    bposX+"px -5px; width: "+width+"px; }\n"+
    "div#padeditor div.enabledtoolbar a."+name+":active { background-position: "+
    bposX+"px -77px; }";
} %>
<%= editbarButton('bold', 7, 25) %>
<%= editbarButton('italic', 32, 23) %>
<%= editbarButton('underline', 55, 23) %>
<%= editbarButton('strikethrough', 78, 24) %>
<%= editbarButton('h1', 108, 25) %>
<%= editbarButton('h2', 133, 23) %>
<%= editbarButton('h3', 156, 23) %>
<%= editbarButton('h4', 179, 23) %>
<%= editbarButton('h5', 202, 23) %>
<%= editbarButton('h6', 225, 24) %>
<%= editbarButton('clearauthorship', 342) %>
<%= editbarButton('undo', 374, 25) %>
<%= editbarButton('redo', 399, 24) %>
<%= editbarButton('insertunorderedlist', 255) %>
<%= editbarButton('indent', 287, 25) %>
<%= editbarButton('outdent', 312, 24) %>
<%= editbarButton('save', 6, null, true) %>

#editbar #syncstatussyncing { position: absolute; height: 26px; width: 26px;
  background: url(/static/img/jun09/pad/syncing2.gif) no-repeat center center;
  right: 38px; top: 5px; display: none; }
#editbar #syncstatusdone { position: absolute; height: 26px; width: 26px;
  background: url(/static/img/jun09/pad/syncdone.gif) no-repeat center center;
  right: 38px; top: 5px; display: none; }
  
#editorcontainerbox {
  border-left: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  background: #fff; overflow: hidden; position: relative;
  zoom: 1; height: 397px; /*...initially*/ }

#editorcontainer { height: 100%; }
  
#editorcontainer iframe { width: 100%; padding: 0; margin: 0; }

#editorloadingbox { padding-top: 100px; padding-bottom: 100px; font-size: 2.5em;  color: #aaa;
   text-align: center; position: absolute; width: 100%; height: 30px; z-index: 100; }

#padsidebar { float: right; width: 290px; }
.hidesidebar #padsidebar { width: 0; overflow: hidden; }

#padusers { border: 1px solid #c4c4c4; background: #fafafa; position: relative; zoom: 1; }

#myuser { background: #d9e7f9; padding: 5px; height: 53px; position: relative; }
#myswatchbox { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px;
  /*border-top: 1px solid #c3cfe0; border-left: 1px solid #c3cfe0;
  border-right: 1px solid #ecf3fc; border-bottom: 1px solid #ecf3fc;*/
  border: 1px solid #bbb;
  padding: 1px; background: transparent; cursor: pointer; }
#myuser .myswatchboxhoverable, #myuser .myswatchboxunhoverable {
  background: white;
}
#myuser .myswatchboxhoverable:hover {
  background: #bbb;
}
#myswatch { width: 100%; height: 100%; background: transparent;/*...initially*/ }
#mycolorpicker {
  background: url(/static/img/jun09/pad/colorpicker.gif) no-repeat left top;
  width: 232px; height: 76px;
  position: absolute;
  left: 13px; top: 13px; z-index: 101;
  display: none;/*...initially*/
}
#mycolorpicker .n1 { left: 13px; }
#mycolorpicker .n2 { left: 40px; }
#mycolorpicker .n3 { left: 67px; }
#mycolorpicker .n4 { left: 94px; }
#mycolorpicker .n5 { left: 121px; }
#mycolorpicker .n6 { left: 148px; }
#mycolorpicker .n7 { left: 175px; }
#mycolorpicker .n8 { left: 202px; }
#mycolorpicker .pickerswatchouter {
  border: 1px solid white;
  width: 15px; height: 15px; position: absolute;
  top: 12px;
}
#mycolorpicker .pickerswatch {
  border: 1px solid #999;
  width: 13px;
  height: 13px;
  position: absolute;
  left: 0; top: 0;
}
#mycolorpicker .picked { border: 1px solid #666 !important; }
#mycolorpicker .picked .pickerswatch { border: 1px solid #666; }
#mycolorpickersave { position: absolute; left: 14px; top: 42px;
  width: 47px; height: 0; padding-top: 20px; overflow: hidden;
  cursor: pointer; }
#mycolorpickercancel { position: absolute; left: 87px; top: 42px;
  width: 44px; height: 0; padding-top: 20px; overflow: hidden;
  cursor: pointer; }
#myusernameform { margin-left: 35px; }
#myusernameedit { font-size: 1.6em; color: #444;
  padding: 3px; height: 18px; margin: 0; border: 0;
  width: 197px; background: transparent; }
#myusernameform input.editable { border: 1px solid #bbb; }
#myuser .myusernameedithoverable:hover { background: white; }
#mystatusform { margin-left: 35px; margin-top: 5px; }
#mystatusedit { font-size: 1.2em; color: #777;
  font-style: italic; display: none;
  padding: 2px; height: 14px; margin: 0; border: 1px solid #bbb;
  width: 199px; background: transparent; }
#myusernameform .editactive, #myusernameform .editempty {
  background: white;  border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
}
#myusernameform .editempty { color: #ef641e; }

#otherusers {
  height: 100px;/*...initially*/
  overflow: auto;
}
  
table#otheruserstable { display: none; }
#nootherusers { padding: 10px; font-size: 1.2em; color: #999; font-weight: bold;}
#nootherusers a { color: #48d; }

#otheruserstable td {
  border-bottom: 1px solid #e1e1e1;
  height: 26px;
  vertical-align: middle;
  padding: 0 2px;
}

#otheruserstable .swatch {
  border: 1px solid #999; width: 13px; height: 13px; overflow: hidden;
  margin: 0 4px;
}

.usertdswatch { width: 1%; }
.usertdname { font-size: 1.3em; color: #444; }
.usertdstatus { font-size: 1.1em; font-style: italic; color: #999; }
.usertdactivity { font-size: 1.1em; color: #777; }

.usertdname input { border: 1px solid #bbb; width: 80px; padding: 2px; }
.usertdname input.editactive, .usertdname input.editempty {
  background: white;  border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
}
.usertdname input.editempty { color: #888; font-style: italic;}

#userlistbuttonarea { height: 28px; position: relative;
  background: url(/static/img/jun09/pad/inviteshare2.gif) repeat-x 0 0; }
#sharebutton {
  background: url(/static/img/jun09/pad/inviteshare2.gif) no-repeat 0 -31px;
  position: absolute; display: block; top: 3px; padding-top: 23px;
  height: 0; overflow: hidden; width: 96px; left: 96px; }

  /*#guestslabel { font-size: 1.2em; position: absolute; width: auto;
  height: 22px; line-height: 22px; top: 4px; left: 8px; }
#guestsmenu { font-size: 1.2em; position: absolute; left: 100px;
  top: 5px; width: 95px; }
.guestpolicystuff { display: none; }*/

.guestprompt { border: 1px solid #ccc; font-size: 1.2em;
  padding: 5px; color: #222; background: #ffc; }
.guestprompt .choices { float: right; }
.guestprompt a { margin: 0 0.5em; }

#hdraggie {
  background: url(/static/img/jun09/pad/hdraggie.gif) repeat-x center top;
  height: 10px; cursor: S-resize; }

#padchat { border: 1px solid #c4c4c4; }

#chattop { background: #ecf2fa; padding: 5px; font-size: 1.2em; border-bottom: 1px solid #ddd; }
#chattop a { color: #36b; }
#chatlines { height: 198px;/*...initially*/ overflow: auto; background: #fafafa; position: relative; }
#chatlines .chatline { color: #444; padding-left: 5px; padding-top: 2px; padding-bottom: 2px;
  background: #ddd; overflow: hidden; }
#chatlines .chatlinetime { display: block; font-size: 1em; color: #666; float: right; width: auto;
  padding-right: 5px; }
#chatlines .chatlinename, #chatlines .chatlinetext { font-size: 1.2em; }
#chatlines h2 { margin: 0; padding-left: 5px; padding-top: 2px; padding-bottom: 2px; color: #999; font-style: italic; font-weight: bold; font-size: 1.2em; }
#chatbottom { background: #ecf2fa; padding: 4px; }
#chatprompt { font-size: 1.2em; color: #444; float: left; line-height: 22px; width: 35px; text-align: right; }
#chatentryform { margin-left: 40px; }
#chatentrybox { font-size: 1.2em; color: #444;
  padding: 2px; height: 16px; margin: 0; border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
  width: 230px; }
#padchat a#chatloadmore { display: none; font-size: 1.2em; padding: 2px 5px; font-style: italic; }
#padchat #chatloadingmore { display: none; font-size: 1.2em; padding: 2px 5px; font-style: italic;
  color: #999; }
#padchat a#chatloadmore:focus { outline: 0; }

#djs { font-family: monospace;  font-size: 10pt;
  height: 200px;  overflow: auto; border: 1px solid #ccc;
  background: #fee; margin: 0; padding: 6px;
}
#djs p { margin: 0; padding: 0; display: block; }

#connectionbox {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 191px;/*...initially; #padusers height */
  z-index: 10; zoom: 1; overflow: hidden;
}
#connectionboxinner {
  position: relative; width: 100%; height: 100%; overflow: hidden;
}
.cboxconnecting #connectionboxinner {
  background: #ffd url(/static/img/jun09/pad/connectingbar.gif) no-repeat center 60px;
}
.cboxreconnecting #connectionboxinner {
  background: #fed url(/static/img/jun09/pad/connectingbar.gif) no-repeat center 60px;
}
.cboxdisconnected #connectionboxinner {
  background: #fdd;
}
.cboxdisconnected #connectionboxinner div { display: none; }
.cboxdisconnected_userdup #connectionboxinner #disconnected_userdup { display: block; }
.cboxdisconnected_initsocketfail #connectionboxinner #disconnected_initsocketfail { display: block; }
.cboxdisconnected_looping #connectionboxinner #disconnected_looping { display: block; }
.cboxdisconnected_slowcommit #connectionboxinner #disconnected_slowcommit { display: block; }
.cboxdisconnected_unauth #connectionboxinner #disconnected_unauth { display: block; }
.cboxdisconnected_unknown #connectionboxinner #disconnected_unknown { display: block; }
.cboxdisconnected_initsocketfail #connectionboxinner #reconnect_advise,
.cboxdisconnected_looping #connectionboxinner #reconnect_advise,
.cboxdisconnected_slowcommit #connectionboxinner #reconnect_advise,
.cboxdisconnected_unknown #connectionboxinner #reconnect_advise { display: block; }
.cboxdisconnected div#reconnect_form { display: block; }
.cboxdisconnected .disconnected h2 { display: none; }
.cboxdisconnected .disconnected .h2_disconnect { display: block; }
.cboxdisconnected_userdup .disconnected h2.h2_disconnect { display: none; }
.cboxdisconnected_userdup .disconnected h2.h2_userdup { display: block; }
.cboxdisconnected_unauth .disconnected h2.h2_disconnect { display: none; }
.cboxdisconnected_unauth .disconnected h2.h2_unauth { display: block; }

#connectionstatus {
  position: absolute; width: 37px; height: 32px; overflow: hidden;
  right: 0;
  z-index: 11;
}
#connectionboxinner .connecting {
  margin-top: 20px;
  font-size: 2.0em; color: #555;
  text-align: center; display: none;
}
.cboxconnecting #connectionboxinner .connecting { display: block; }

#connectionboxinner .disconnected h2 {
  font-size: 1.8em; color: #333;
  text-align: left;
  margin-top: 10px; margin-left: 10px; margin-right: 10px;
  margin-bottom: 10px;
}
#connectionboxinner .disconnected p {
  margin: 10px 10px;
  font-size: 1.2em;
  line-height: 1.1;
  color: #333;
}
#connectionboxinner .disconnected { display: none; }
.cboxdisconnected #connectionboxinner .disconnected { display: block; }

#connectionboxinner .reconnecting {
  margin-top: 20px;
  font-size: 1.6em; color: #555;
  text-align: center; display: none;
}
.cboxreconnecting #connectionboxinner .reconnecting { display: block; }

#reconnect_form button {
  position: relative; width: 268px; height: 28px; left: 10px;
  font-size: 12pt;
}

/* We give docbar a higher z-index than its descendant impexp-wrapper in
   order to allow the Import/Export panel to be on top of stuff lower
   down on the page in IE.  Strange but it works! */
#docbar { z-index: 52; }

#impexp-wrapper { width: 500px; right: 10px; }
#impexp-panel { height: 160px; }
.docbarimpexp-closing #impexp-wrapper { z-index: 50; }

#savedrevs-wrapper { width: 100%; left: 0; }
#savedrevs-panel { height: 79px; }
.docbarsavedrevs-closing #savedrevs-wrapper { z-index: 50; }
#savedrevs-wrapper .dbpanel-rightedge { background-position: 0 -10px; }

#options-wrapper { width: 340px; right: 200px; }
#options-panel { height: 114px; }
.docbaroptions-closing #options-wrapper { z-index: 50; }

#security-wrapper { width: 320px; right: 300px; }
#security-panel { height: 130px; }
.docbarsecurity-closing #security-wrapper { z-index: 50; }

#revision-notifier { position: absolute; right: 8px; top: 25px;
  width: auto; height: auto; font-size: 1.2em; background: #ffc;
  border: 1px solid #aaa; color: #444; padding: 3px 5px;
  display: none; z-index: 55; }
#revision-notifier .label { color: #777; font-weight: bold; }

/* We don't ever actually hide the wrapper, even when the panel is
   cloased, so that its contents can always be manipulated accurately. */
.dbpanel-wrapper { position: absolute;
  overflow: hidden; /* animated: */ height: 0; top: 30px; /* /animated */
  z-index: 51; zoom: 1; }
.dbpanel-panel { position: absolute; bottom: 0; width: 100%; }

.dbpanel-middle { margin-left: 7px; margin-right: 7px;
  position: relative; height: 100%; overflow: hidden; zoom: 1; }
.dbpanel-inner { background: #f7f7f7 /* covered up by images */;
  width: 100%; height: 100%; position: absolute; overflow: hidden; top: -10px; }

.dbpanel-top { position: absolute; top: 0; width: 100%;
  height: 400px; background-image: url(/static/img/jun09/pad/docpanelmiddle2.png);
  background-position: left top; }

.dbpanel-bottom { position: absolute; height: 400px;
  bottom: -390px; width: 100%;
  background-image: url(/static/img/jun09/pad/docpanelmiddle2.png);
  background-position: left top;
}

* html .dbpanel-top, * html .dbpanel-bottom { /* for IE 6+ */
  background-color: transparent;
  background-image: url(/static/img/apr09/blank.gif);
  /* scale the image instead of repeating, but it amounts to the same */
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/docpanelmiddle2.png", sizingMethod="scale");
}

.dbpanel-leftedge, .dbpanel-rightedge, .dbpanel-botleftcorner, .dbpanel-botrightcorner {
  position: absolute; 
  background-repeat: no-repeat;
  background-color: transparent;
  background-image: url(/static/img/jun09/pad/docpaneledge2.png);
}

.dbpanel-leftedge, .dbpanel-rightedge { height: 100%; width: 7px; bottom: 11px; }
.dbpanel-botleftcorner, .dbpanel-botrightcorner { height: 11px; width: 7px; bottom: 0; }

.dbpanel-leftedge, .dbpanel-botleftcorner { left: 0; background-position: -7px 0; }
.dbpanel-rightedge, .dbpanel-botrightcorner { right: 0; background-position: 0 0; }

#importexport { position: absolute; top: 5px; left: 0; font-size: 1.2em; color: #444;
  height: 100%; width: 100%; }

* html .dbpanel-leftedge, * html .dbpanel-rightedge, * html .dbpanel-botleftcorner, * html .dbpanel-botrightcorner {
  background-color: transparent;
  background-image: url(/static/img/apr09/blank.gif);
  /* crop the image */
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/docpaneledge2.png", sizingMethod="crop");
}
* html .dbpanel-leftedge, * html .dbpanel-botleftcorner { left: -7px;  width: 14px; }

#impexp-importlabel { position: absolute; top: 5px; left: 10px; width: 300px; }

#importform { position: absolute; top: 24px; left: 5px; width: 300px; height: 60px; }
#importformsubmitdiv, #importformfilediv { padding: 5px 5px; }
#importexport .importformenabled {
  background: #cfc;
  border: 1px solid #292;
}
#importexport span.nowrap { white-space: nowrap; }
#importexport #importstatusball { margin-left: 3px; padding-top: 1px; display: none; }
#importexport #importarrow { margin-left: 5px; padding-top: 1px; display: none; }
#importexport .importmessage { border: 1px solid #992;
  background: #ffc; padding: 5px; font-size: 85%; display: none; }
#importexport #importmessagefail { margin-top: 5px; }
#importexport #importmessagesuccess { margin: 0 20px; }
#importexport a.disabledexport {
  color: #333; text-decoration: none;
  opacity: 0.5; filter: alpha(opacity = 50) /*IE*/;
}
#importexport #importfileinput { padding: 2px 0; }
#importexport #importsubmitinput { padding: 2px; }

#impexp-divider { position: absolute; left: 320px; top: 5px; height: 135px; width: 2px;
  background: #ddd; }
#impexp-close { display: block; position: absolute; right: 2px; bottom: 15px;
  width: auto; height: auto; font-size: 85%; color: #444;
  z-index: 61 /* > clickcatcher */}
#impexp-disabled-clickcatcher {
  display: none;
  position: absolute; width: 100%; height: 100%;
  z-index: 60;
}

#impexp-exportlabel { position: absolute; top: 5px; left: 350px;
  width: 300px; }
#exportlinks .exportlink {
  display: block; position: absolute; height: 22px; width: auto;
  background-repeat: no-repeat;
  background-image: url(/static/img/jun09/pad/fileicons.gif);
  line-height: 22px; padding-left: 22px; padding-right: 2px;
}
#exportlinks .n1 { left: 350px; top: 30px; }
#exportlinks .n2 { left: 350px; top: 57px; }
#exportlinks .n3 { left: 350px; top: 84px; }
#exportlinks .n4 { left: 485px; top: 30px; }
#exportlinks .n5 { left: 485px; top: 57px; }
#exportlinks .n6 { left: 485px; top: 84px; }
#exportlinks .exporthrefdoc { background-position: 2px -1px; }
#exportlinks .exporthrefhtml { background-position: 2px -25px; }
#exportlinks .exporthreflink { background-position: 2px -49px; }
#exportlinks .exporthrefodt { background-position: 2px -73px; }
#exportlinks .exporthrefpdf { background-position: 2px -97px; }
#exportlinks .exporthreftxt { background-position: 2px -121px; }

#savedrevisions { position: absolute; top: 0; left: 0; font-size: 1.2em;
  color: #444; height: 100%; width: 100%; }
#savedrevs-scrolly { height: 75px; width: auto; margin-right: 136px;
  overflow: hidden; position: relative; top: 1px;
}
#savedrevs-scrollleft { height: 100%; width: 14px; position: absolute;
  left: 0; top: 0; cursor: pointer;
  background: url(/static/img/jun09/pad/savedrevarrows.gif) no-repeat right top;
}
#savedrevs-scrollright { height: 100%; width: 14px; position: absolute;
  right: 0; top: 0; cursor: pointer;
  background: url(/static/img/jun09/pad/savedrevarrows.gif) no-repeat left top;
}
#savedrevs-scrolly .disabledscrollleft { background-position: right bottom; }
#savedrevs-scrolly .disabledscrollright { background-position: left bottom; }
#savedrevs-scrollouter { margin-left: 14px; margin-right: 14px;
  width: auto; height: 100%; overflow: hidden; position: relative;
}
#savedrevs-scrollinner { position: absolute; width: 1px; height: 100%;
  overflow: visible; right: 0/*...initially*/; top: 0; }
#savedrevisions .srouterbox { width: 120px; height: 100%;
  position: absolute; top: 0;
}
#savedrevisions .srinnerbox { position: relative; top: 8px;
  height: 59px; width: auto; border-left: 1px solid #ddd;
  padding: 0 8px 0 8px; }
#savedrevisions a.srname { display: block; white-space: nowrap;
  text-overflow: ellipsis /*no FF support*/; overflow: hidden;
  text-decoration: none; color: #444; cursor: text;
  padding: 1px; height: 14px;  position: relative; left: -1px;
  width: 100px /*specify for proper overflow in IE*/;
}
#savedrevisions a.srname:hover { text-decoration: none; color: #444;
  border: 1px solid #ccc; padding: 0; }
#savedrevisions .sractions { font-size: 85%; color: #ccc;
 margin-top: 1px; height: 12px; }
#savedrevisions .sractions a { text-decoration: none;
  color: #06c; }
#savedrevisions .sractions a:hover { text-decoration: underline; }
#savedrevisions .srtime { color: #666; font-size: 90%;
 white-space: nowrap; margin-top: 3px; }
#savedrevisions .srauthor { color: #666; font-size: 90%;
 white-space: nowrap; overflow: hidden; text-overflow: ellipsis /*no FF*/;
}
#savedrevisions .srtwirly { position: absolute; display: block;
  bottom: 0; right: 10px; display: none; }
#savedrevisions .srnameedit {
  position: absolute;
}
#savedrevs-savenow { display: block; position: absolute;
  overflow: hidden; height: 0; padding-top: 24px; width: 81px;
  top: 22px; right: 27px;
  background: url(/static/img/jun09/pad/savedrevsgfx2.gif) no-repeat 0 0;
}
#savedrevs-savenow:active { background-position: 0 -24px; }
#savedrevs-close { display: block; position: absolute; right: 7px; bottom: 8px;
  width: auto; height: auto; font-size: 85%; color: #444; }
form#reconnectform { display: none; }

#padoptions { position: absolute; top: 0; left: 0; font-size: 1.2em;
  color: #444; height: 100%; width: 100%; line-height: 15px; }
#options-viewhead { font-weight: bold; position: absolute; top: 10px; left: 15px;
  width: auto; height: auto; }
#padoptions label { display: block; }
#padoptions input { padding: 0; margin: 0; }
#options-colorscheck { position: absolute; left: 15px; top: 34px; width: 15px; height: 15px; }
#options-colorslabel { position: absolute; left: 35px; top: 34px; }
#options-linenoscheck { position: absolute; left: 15px; top: 57px; width: 15px; height: 15px; }
#options-linenoslabel { position: absolute; left: 35px; top: 57px; }
#options-fontlabel { position: absolute; left: 15px; top: 82px; }
#viewfontmenu { position: absolute; top: 80px; left: 90px; width: 110px; }
#options-viewexplain { position: absolute; left: 215px; top: 15px; width: 100px; height: 70px;
  padding-left: 10px; padding-top: 10px; border-left: 1px solid #ccc;
  line-height: 20px; font-weight: bold; color: #999; }
#options-close { display: block; position: absolute; right: 7px; bottom: 8px;
  width: auto; height: auto; font-size: 85%; color: #444; }

#padsecurity { position: absolute; top: 0; left: 0; font-size: 1.2em;
  color: #444; height: 100%; width: 100%; line-height: 15px; }
#security-close { display: block; position: absolute; right: 7px; bottom: 8px;
  width: auto; height: auto; font-size: 85%; color: #444; }
#security-passhead { font-weight: bold; position: absolute; top: 90px; left: 15px;
  width: auto; height: auto; }
#security-passbody { position: absolute; left: 75px; top: 90px; }
#security-passwordedit { height: 15px; border: 1px solid #bbb;
  position: absolute; top: 0; left: 15px; width: 120px; }
#security-password a { text-decoration: none; display: block;
  width: auto; height: auto; }
#password-savelink, #password-cancellink {position: absolute; top: 0; }
#security-password a:hover { text-decoration: underline; }
#password-savelink { left: 144px; color: #06c; }
#password-cancellink { left: 180px; color: #666; }
#password-nonedit { left: 15px; position: absolute;
  width: 220px; top: 0; }
#password-setlink { color: #06c; }
#password-clearlink { color: #06c; }
#password-display { height: 15px; width: auto; }
#password-inedit { display: none; }
#password-display, #password-setlink, #password-clearlink {
  float: left; margin-right: 10px;
}
#password-display { font-size: 18px; }
#security-password .nopassword #password-display { font-size: 100%; }
#security-password .nopassword #password-clearlink { display: none; }
#security-password .nopassword #password-setlink { left: 60px; }

#security-access { position: absolute; left: 15px; width: 200px; }
#security-accesshead { font-weight: bold; position: absolute; top: 10px;
  left: 0; width: auto; height: auto; }
#security-access input, #security-access label { position: absolute; }
#security-access input { left: 10px; }
#security-access label { left: 30px; width: 250px; }
#access-private, #access-private-label { top: 35px; }
#access-public, #access-public-label { top: 60px; }
#security-access label { color: #999;  }
#security-access label strong { font-weight: normal; padding-right: 10px;
  color: #444; }

#mainmodals { z-index: 600; /* higher than the modals themselves
                               so that modals are on top in IE */ }

.modalfield { font-size: 1.2em; padding: 1px; border: 1px solid #bbb;
  position: absolute;}
#mainmodals .editempty { color: #aaa; }

<% feedbackbox = {width:400, height:270}; %>
#feedbackbox {
  position: absolute; display: none;
  width: <%=feedbackbox.width%>px; height: <%=feedbackbox.height%>px;
  left: 100px/*set in code*/; bottom: 50px;
  z-index: 501; zoom: 1;
}
#feedbackbox-tl, #feedbackbox-tr, #feedbackbox-bl, #feedbackbox-br,
#feedbackbox-hide, #feedbackbox-send, #feedbackbox-back {
  position: absolute; display: block;
  background-repeat: no-repeat;
  background-image: url(/static/img/jun09/pad/feedbackbox2.gif);
}
#feedbackbox-tl { width: <%=feedbackbox.width-8%>px;
  height: <%=feedbackbox.height-8%>px; left: 0; top: 0;
  background-position: left top; }
#feedbackbox-tr { width: 8px; height: <%=feedbackbox.height-8%>px;
  right: 0; top: 0; background-position: right top; }
#feedbackbox-bl { width: <%=feedbackbox.width-8%>px;
  height: 8px; left: 0; bottom: 0;
  background-position: left bottom; }
#feedbackbox-br { width: 8px; height: 8px; bottom: 0; right: 0;
  background-position: right bottom; }
#feedbackbox-hide { width: 22px; height: 22px; right: 9px; top: 7px;
  background-position: -569px -6px;
}
#feedbackbox-back { width: <%=feedbackbox.width-16%>px;
  height: <%=feedbackbox.height-16%>px; left: 8px; top: 8px;
  background-position: -8px -8px;
  background-color: white; }
#feedbackbox-contents { width: <%=feedbackbox.width-16%>px;
  height: <%=feedbackbox.height-16%>px; left: 8px; top: 8px;
  position: absolute; font-size: 1.4em; color: #444; }
#feedbackbox-contentsinner { padding: 10px; }
#feedbackbox-send { width: 50px; height: 22px; right: 15px; bottom: 15px;
  background-position: -535px -363px;
}
#feedbackbox-email { left: 90px; top: 48px; width: 356px; height: auto; }
#feedbackbox-message { left: 90px; top: 84px; width: 358px; height: 100px; }
#feedbackbox-response { position: absolute; bottom: 15px; left: 15px;
  width: 390px; height: auto; font-size: 1.2em; display: none; }
#feedbackbox .goodresponse { font-weight: bold; color: green; }
#feedbackbox .badresponse { font-weight: bold; color: red; }
#feedbackbox p { margin-bottom: 1em; }
#feedbackbox ul { margin: 1em 0 1em 2em }
#feedbackbox li { padding: 0.3em 0; }
#feedbackbox li a { display: block; font-weight: bold; }
#feedbackbox li a:hover { background: #ffe; }
#feedbackbox a, #feedbackbox li a:visited { color: #47b; }
#feedbackbox tt { font-size: 110%; }

<% var shareboxfull = {width:485, height:326}; %>
#sharebox {
  position: absolute;
  width: 485px;
  left: 300px/*set in code*/; top: 100px; display: none;
  z-index: 501; zoom: 1;
  overflow: hidden;
  background: white; border: 1px solid #999;
}
#sharebox { height: 160px/*set in code*/; }
.nonprouser #sharebox { height: 110px/*set in code*/; }
#sharebox-inner { width: 100%; }
#sharebox-forms { position: absolute; top: 50px; width: 100%; }
#sharebox-hide, #sharebox-send {
  position: absolute; background-repeat: no-repeat;
  background-image: url(/static/img/jun09/pad/sharebox4.gif);
}
#sharebox-hide, #sharebox-send { display: block; }
#sharebox-hide { width: 22px; height: 22px; right: 9px; top: 7px;
  background-position: <%= -(shareboxfull.width-31) %>px -6px;
}
#sharebox-send { width: 87px; height: 22px; right: 15px; top: <%= shareboxfull.height-22-15 %>px;
  background-position: <%= -(shareboxfull.width-87-15) %>px <%= -(shareboxfull.height-22-15) %>px;
}
#sharebox-url { position: absolute; left: 20px; top: 42px; width: 440px; height: 18px;
  text-align: left; font-size: 1.3em; line-height: 18px; padding: 2px; }

#sharebox-to { left: 90px; top: 117px; height: auto; width: 378px; background: #ffe; }
#sharebox-subject { left: 90px; top: 150px; height: auto; width: 378px; font-weight: bold; }
#sharebox-message { left: 90px; top: 182px; width: 380px; height: 90px; }
#sharebox-response { position: absolute; bottom: 15px; left: 15px;
  width: 350px; height: auto; font-size: 1.2em; display: none; }
#sharebox .goodresponse { font-weight: bold; color: green; }
#sharebox .badresponse { font-weight: bold; color: red; }
#sharebox-dislink { position: absolute; left: 12px; top: 78px;
  height: 22px; width: 220px; cursor: pointer;
  background-image: url(/static/img/jun09/pad/sharedistri.gif);
  background-repeat: no-repeat;
  background-position: 0 5px;
}
.sharebox-open #sharebox-dislink { background-position: 0 -28px; }
#sharebox-shownwhenexpanded { display: none; }
.sharebox-open #sharebox-shownwhenexpanded { display: block; }

#sharebox-pastelink { font-size: 155%; font-weight: bold;
  top: 13px; left: 17px; position: absolute; color: #444; }
#sharebox-orsend { font-size: 145%; font-weight: bold;
  top: 80px; left: 31px; position: absolute; color: #444; }
#sharebox-fieldname-to, #sharebox-fieldname-subject, #sharebox-fieldname-message {
  position: absolute; font-weight: bold; font-size: 125%;
  left: 15px; color: #222;
}
#sharebox-fieldname-to { top: 119px; }
#sharebox-fieldname-subject { top: 152px; }
#sharebox-fieldname-message { top: 183px; }

#sharebox-stripe { position: absolute; left: 10px;
  width: 436px; top: 8px; height: 45px; line-height: 1.2; }
#sharebox-stripe div { padding: 5px; font-size: 130%; }
#sharebox-stripe strong { font-weight: bold; }
.sharebox-stripe-public { background: #cfc; }
.sharebox-stripe-private { background: #fec; }
.sharebox-stripe-public .private { display: none; }
.sharebox-stripe-private .public { display: none; }
#sharebox-stripe a { color: #06c; }

.nonprouser #sharebox-stripe { display: none; }
.nonprouser #sharebox-forms { top: 0; }

#viewbarcontents { display: none; }
#viewzoomtitle {
  position: absolute; left: 10px; top: 4px; height: 20px; line-height: 20px;
  width: auto;
}
#viewzoommenu {
  position: absolute; top: 3px; left: 50px;
  width: 65px;
}
#bottomarea { height: 28px; overflow: hidden; position: relative;
  font-size: 1.2em; color: #444; }
#widthprefcheck { position: absolute;
  background-image: url(/static/img/jun09/pad/layoutbuttons.gif);
  background-repeat: no-repeat; cursor: pointer;
  width: 86px; height: 20px; top: 4px; right: 2px; }
.widthprefunchecked { background-position: -1px -1px; }
.widthprefchecked { background-position: -1px -23px; }
#sidebarcheck { position: absolute;
  background-image: url(/static/img/jun09/pad/layoutbuttons.gif);
  background-repeat: no-repeat; cursor: pointer;
  width: 86px; height: 20px; top: 4px; right: 90px; }
.sidebarunchecked { background-position: -1px -45px; }
.sidebarchecked { background-position: -1px -67px; }
#feedbackbutton { display: block; position: absolute; width: 68px;
  height: 0; padding-top: 17px; overflow: hidden;
  background: url(/static/img/jun09/pad/bottomareagfx.gif);
  top: 5px; right: 220px;
}

#modaloverlay {
  z-index: 500; display: none;
  background-image: url(/static/img/jun09/pad/overlay2.png);
  background-repeat: repeat-both;
  width: 100%; position: absolute;
  height: 400px; left: 0; top: 0;
}

* html #modaloverlay { /* for IE 6+ */
  opacity: 1; /* in case this is looked at */
  background-image: none;
  background-repeat: no-repeat;
  /* scale the image */
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/overlay2.png", sizingMethod="scale");
}