]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/webcit.css
* Move iconbar out of global div so I can shuffle main content position rules
[citadel.git] / webcit / static / webcit.css
index ed5efa299f849edc9c03bcbe82b901f6b49337b3..ba4e64b0dc770e38599dad457b46494050b2c83a 100644 (file)
@@ -1,3 +1,4 @@
+@import url("datepicker.css");
 @media print {
        input#toggler, .toolbar { display: none }
 }
@@ -6,20 +7,35 @@
 
 html { font-size: 100%;}
 
-body { font-size: 11pt}
+body { font-size: 100%;}
 
-#banner h1 { font-size: 16pt; }
+#banner h1 { font-size: 160%; }
 
 #banner h2,#banner .titlebar, .address_book_popup_title {
-       font-size: 13pt;
+       font-size: 130%;
 }
 
-#button, #content .msgbuttons a, .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .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 {
-       font-size: 10pt;
+#button, #content .msgbuttons a, .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .buttons a, .customize, .menubar_link, .roomlist_floor, .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new, .roomlist_old, .ib_roomlist_old, #banner ul.room_actions li, .selector_top, .selector_bottom, .room_banner .infos,.room_banner .nummsgs,li.search,li.view, .room_actions form select option, .selectbox, .message_header, ul.adminitems li span, #message_list tr > td {
+       font-size: 100%;
 }
 
-#wholist li {
-       font-size: 8pt;
+#message_list_hdr table {
+       font-size: 80%;
+}
+
+#navbar {
+       font-size: 75%;
+}
+
+.mailbox_summary {
+       font-size: 80%;
+}
+
+#online_users li {
+       font-size: 80%;
+}
+.marked_row {
+    color: white;
 }
 
 /* Color */
@@ -30,7 +46,7 @@ body {
        font-weight: 400;
 }
 
-#iconbar, .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 {
+#iconbar, .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, #summary_view {
        background-color: #FFF;
        color: #000;
 }
@@ -40,7 +56,7 @@ body {
        background-color: #CCC;
 }
 
-.box, #wholist li.inactiveuser a {
+.box, #online_users li.inactiveuser a {
        background-color: transparent;
 }
 
@@ -54,7 +70,7 @@ body {
        text-transform: uppercase;
 }
 
-#iconbar ul li a, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart {
+#iconbar ul li, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart, #ib_logoff, .iconbar_text {
        background-color: #F0FFFF;
        color: #333;
 }
@@ -64,8 +80,13 @@ body {
        list-style: none;
 }
 
+#iconbar li a, #ib_logoff a {
+       font-size: 100%;
+}
+
 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
        border: 1px solid #333;
+       overflow: hidden;
 }
 
 
@@ -74,7 +95,7 @@ body {
        font-weight: 700;
 }
 
-#button li {
+#button li, #ib_logoff {
        border: none;
        border-bottom: 2px groove #CCC;
        border-right: 2px groove #CCC;
@@ -84,17 +105,17 @@ body {
        border: none;
 }
 
-.logo,.logo_citadel, #button li.switch {
+.logo,.logo_citadel, .iconbar_text {
        border: none;
        border-bottom: 1px solid #AAA;
 }
 
-#button li a {
+#button li a , #ib_logoff a{
        color: #000;
        text-decoration: none;
 }
 
-#wholist li {
+#online_users li {
        border: none;
        border-top: 1px solid #AAA;
 }
@@ -105,6 +126,8 @@ body {
 
 #banner ul.room_actions li.start_page a, #navbar, .selector_top,.selector_bottom {
        background-color: #022750;
+    border-top: 1px solid black;
+    border-bottom: 1px solid black;
        color: #FFF;
 }
 
@@ -142,7 +165,7 @@ body {
 #resize_msglist {
        background-image: url(/static/resizegrippy.gif);
        background-position: center;
-       background-repeat: no-repeat;
+       background-repeat: no-repeat; 
 }
 
 #resize_msglist hr {
@@ -209,7 +232,7 @@ body {
        font-weight: 700;
 }
 
-.floors_config,.roomops_zap {
+.floors_config, .roomops_zap {
        background-color: #700;
        border: 0;
 }
@@ -268,7 +291,7 @@ body {
        background-color: #FF8000;
 }
 
-.tab_cell,.tab_cell_edit {
+.tab_cell, .tab_cell_edit {
        background-color: #CCC;
        font-weight: 700;
 }
@@ -288,7 +311,7 @@ body {
        color: highlighttext;
 }
 
-.warning a:link,.warning a:visited,.warning a:active, .warning {
+.warning a:link, .warning a:visited, .warning a:active, .warning {
        background: none;
        color: #FF4500;
 }
@@ -355,7 +378,6 @@ div.auto_complete ul strong.highlight {
        color: #800;
 }
 
-
 table.altern {
        border-bottom: solid 2px #AAA;
        border-top: solid 2px #AAA;
@@ -386,8 +408,7 @@ ul.adminitems li {
        font-weight: 700;
 }
 
-ul.adminitems li span
-{
+ul.adminitems li span {
        color: #666;
 }
 
@@ -415,8 +436,22 @@ var sub {
        background-color: #EEEECC;
 }
 
-
-
+.current_sort_mode {
+    background-color: white;
+}
+.marked_row {
+    background-color: #69aaff !important;
+}
+#loading {
+    background-color: white;
+}
+/* Message list in mailbox/summaryview */
+.table-row {
+    background-color: white;
+}
+.table-alt-row {
+      background-color: #DDDDDD;
+}
 /* Links */
 
 a {    text-decoration: none; }
@@ -427,15 +462,17 @@ a:link { color: blue; }
 
 a:visited { color: purple; }
 
-#important_message, .buttons a:hover, .msgbuttons a:hover, input:hover, #button li a:hover, #wholist li a:hover, #navbar ul li a:hover {
+#customize a:active, #customize a:link, #customize a:visited { color: black; }
+
+#important_message, .buttons a:hover, .msgbuttons a:hover, input:hover, #button > li:hover, #online_users li a:hover, #navbar ul li a:hover, #ib_logoff:hover {
        background-color: #AD1C00;
        color: #FFF;
 }
 
 
 
-.button_link a, 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, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
-       background-color: #fbf4ca;
+.button_link a, input, select, #login_form #uname, #login_form #pname, li.activeuser, .room_actions form select, .room_actions li.search input, .address_book_popup_title, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
+       background-color: #fbf4ca !important; /* needed for li.activeuser */
 }
 
 .button_link a, input, select, #login_form #uname, #login_form #pname, .room_actions form select, .room_actions li.search input, .address_book_popup_title, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
@@ -483,21 +520,32 @@ body, #global {
        z-index: 2;
        padding: 3px;
 }
-
+#hellomsg, .fmout, .nomsgs {
+    text-align: center;
+}
 #login_screen, #logout_screen {
        margin: 0;
        padding: 3% 6% 3% 6%;
 }
-
+#convlogin, #validate {
+    text-align: center;
+}
 #iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  {
        text-align: left;
 }
-
+.message_content > div > div {
+    text-align: justify !important;
+}
 #iconbar {
        position: absolute;
        top: 0;
        left: 0;
+    bottom: 0;
        width: 16%;
+    z-index: 0;
+    overflow: auto;
+    overflow-x: hidden !important;
+    
 }
 
 #banner {
@@ -523,44 +571,53 @@ body, #global {
        height: 82%;
        overflow: auto;
 }
-
+/* Please avoid setting heights for any of the mailbox view elements (except summary_view and resize). In particular, do NOT set any for message_list_hdr as its not good feng shui */
 #message_list_hdr {
-       position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
-       height: 5%;
-       overflow: hidden;
+    padding-bottom: 0;
+    margin-bottom: 0;
+    background-color: #CCCCCC;
 }
 
-#message_list {
-       position: absolute;
-       top: 5%;
-       left: 0;
-       width: 100%;
+#summary_view {
        height: 20%;
        overflow: auto;
        cursor: pointer;
 }
-
+#message_list_body {
+    background-color: white !important;
+}
+#message_list_body > tr > td {
+    overflow-y: hidden;
+    overflow-x: hidden; /* stop long subjects overflowing */
+}
+.col1 {
+    width: 50%;
+}
+.col2 { 
+    width: 30%;
+}
+.col3 {
+    width: 20%;
+}
+.new_message {
+    font-weight: bold; !important;
+}
+#loading {
+    text-align: center;
+}
 #resize_msglist {
-       position: absolute;
-       top: 25%;
-       left: 0;
        width: 100%;
-       height: 1%;
        overflow: hidden;
        cursor: s-resize;
+    height: 1%;
 }
 
 #preview_pane {
-       position: absolute;
-       top: 26%;
-       left: 0%;
-       width: 100%;
-       height: 74%;
-       overflow: auto;
+       overflow: auto; 
 }
 
 .fix_scrollbar_bug {
@@ -596,7 +653,31 @@ body, #global {
        text-align: left;
 }
 
-
+.ctdlTemplate {
+    display: none;
+}
+#ctdlContextMenu {
+    position: fixed;
+    background-color: white;
+    border: 1px solid black;
+}
+.draganddrop {
+    position: fixed;
+    display: block;
+    border: 1px solid black;
+    z-index: 65535;
+    background-color: white;
+    text-align: left;
+    opacity: 0.9;
+}
+.draganddrop > ul {
+    list-style: none;
+    padding-left: 0;
+    margin-left: 0;
+}
+.hidden {
+    display: none;
+}
 /* Login */
 
 #login_screen .login_message, #login_screen .login_image, .login_hello, #login_screen #login_form {
@@ -647,52 +728,40 @@ body, #global {
 
 /* Iconbar */
 
-.logo, .logo_citadel, #iconbar #button, #button li.switch, #wholist {
+.logo, .logo_citadel, #iconbar #button, .iconbar_text, #ib_logoff {
        margin: 0;
        padding: 0;
 }
 
-.logo, .logo_citadel, #button li.switch, #wholist li {
+.logo, #citlogo, .iconbar_text, #online_users li {
        text-align: center;
 }
 
-.logo, .logo_citadel {
-       display: block;
+.iconbar_text > span {
+    cursor: pointer;
 }
-
 #iconbar #button {
        width: 100%;
 }
 
-#button li {
+#button > li, #ib_logoff {
        margin: 4px 8px 4px 8px;
        padding: 0;
+    display: block;
 }
-
-
-
-#button img {
-       vertical-align: middle;
-       padding-left: 2px;
-       padding-right: 5px;
-}
-
-#button li a {
-       display: block;
-       width: 100%;
-}
-
-html>body #button li a {
-       width: auto;
+#button > li > a, #ib_logoff > a {
+    width: 100%;
+    display: block;
 }
 
-#wholist {
+#online_users {
+    display: none; /* Hide by default */
        border: 0;
        max-height: 200px;
        overflow: auto;
-}
-
-#wholist li {
+    padding-left: 0;
+} 
+#online_users li {
        list-style: none;
        margin: 0;
        padding: 2px;
@@ -759,6 +828,9 @@ html>body #button li a {
        margin-top: 8px;
        margin-right: 4px;
 }
+#selectpage {
+    display: none !important;
+}
 
 /* Navbar */
 
@@ -786,8 +858,47 @@ html>body #button li a {
        float: none;
        margin: 0 2px 0 2px;
 }
-
+.floor {
+    margin-left: 0px;
+}
+.floor > ul {
+    display: none;
+}
+.floor-expanded > ul{
+    display: block !important;
+}
+#roomlist > ul {
+    margin: 0;
+    padding: 0;
+}
+#roomlist > div > ul > li {
+    margin: 0;
+    padding: 0;
+}
+/** Override to disable list-style-image" */
+.room {
+}
+.room-private {
+    list-style-image: url("/static/privatemess_16x.gif");
+}
+.room-addr {
+    list-style-image: url("/static/viewcontacts_16x.gif");
+}
+.room-cal {
+    list-style-image: url("/static/calarea_16x.gif");
+}
+.room-tasks {
+    list-style-image: url("/static/taskmanag_16x.gif");
+}
+.room-notes {
+    list-style-image: url("/static/storenotes_16x.gif");
+}
+.room-chat {
+    list-style-image: url("/static/chatrooms_16x.gif");
+}
+.room-newmsgs {
+    font-weight: bold;
+}
 /* Content */
 
 .boxcontent table {
@@ -817,12 +928,12 @@ html>body #button li a {
 }
 
 #message_list_hdr table {
-       position: absolute;
+/*     position: absolute;
        bottom: 0; 
        left: 0;
+    top: 0; */
        width: 100%;    
 }
-
 .selector_top, .selector_bottom {
        text-align: center;
 }
@@ -965,10 +1076,6 @@ dt { clear: both; }
        width: 98%
 }
 
-.mailbox_summary tr {
-       width: 100%;
-}
-
 .note {
        font-size: 85%;
        margin-left: 10%;
@@ -985,7 +1092,9 @@ dt { clear: both; }
 .imsg {
        text-align: center;
 }
-
+#summary_view > table {
+    width: 100%;
+}
 colgroup.entity {
        text-align: center;
 }
@@ -1050,7 +1159,35 @@ div.auto_complete ul strong.highlight {
        display: block;
 }
 
-
+#citlogo {
+    display: none; /* Overriden later */
+}
+.sort_ascending, .sort_descending {
+    background-repeat: no-repeat;
+    background-position: center right;
+}
+.sort_ascending {
+    background-image: url("/static/down_pointer.gif");
+}
+.sort_descending {
+    background-image: url("/static/up_pointer.gif");
+}
+#message_list_hdr > table {
+    border-collapse: collapse;
+}
+#message_list_hdr > table > tbody > tr > th {
+    border-left: 2px solid white;
+    border-right: 2px solid white;
+}
+#summary_view > table { 
+    border-collapse: collapse;
+}
+th.col1 {
+    border-left: none !important;
+}
+th.col3 {
+    border-right: none !important;
+}
 /* System Administration Menu */
 
 ul.adminitems {
@@ -1157,7 +1294,7 @@ ul.tabbed_dialog li {
 
 .tabcontent_submit {
         margin: 0 auto 0 auto;
-        width: 50%;
+        width: 96%;
         padding: 10px;
         text-align: center;
 }
@@ -1193,11 +1330,11 @@ td.events_of_the_day {
 }
 
 .events_of_the_day dl dt.hour {
-       font-size: 16px;
+       font-size: 160%;
 }
 
 .events_of_the_day dl dt.extrahour {
-       font-size: 8px;
+       font-size: 80%;
 }
 
 .hour_label, .extra_events dl dt {
@@ -1245,7 +1382,7 @@ li.event_framed_unread span, a.event_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 11px;     
+        font-size: 100%;     
 }
 
 .event_framed_read {
@@ -1263,7 +1400,7 @@ li.event_framed_read span, a.event_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 11px;     
+        font-size: 100%;  
 }
 
 .event_read {
@@ -1273,7 +1410,7 @@ li.event_read span, a.event_read_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 11px;     
+        font-size: 100%;     
 }
 
 .event_unread {
@@ -1283,7 +1420,7 @@ li.event_unread span, a.event_read_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 11px;     
+        font-size: 100%;     
 }
 
 .mini_calendar {
@@ -1322,19 +1459,79 @@ li.event_unread span, a.event_read_title {
        padding: 4px;
 }
 
+.roompic {
+      height: 48px;
+      width: 48px;
+      border: none;
+}
+#navbar ul li a img {
+      vertical-align: middle;
+      border: none;
+}
+.table-row, .table-alt-row {
+    width: 100%;
+}
+
 .stickynote_outer {
-       position: relative;
+       position: absolute;
        width: 200px;
        height: 200px;
-       border: 1px solid black;
+       border: 1px solid #333;
        background-color: #ffff00;
+       overflow: hidden;
 }
 
 .stickynote_titlebar {
        position: relative;
        width: 100%;
-       height: 15px;
+       height: 16px;
        top: 0px;
        left: 0px;
        background-color: #888800;
+        font-size: 60%;     
+}
+
+.stickynote_body {
+       position: relative;
+       font-family: "Comic Sans MS", "Verdana", "Bitstream Vera Sans", sans-serif;
+}
+
+.stickynote_resize {
+       position: absolute;
+       background-image: url('resizecorner.png');
+       height: 16px;
+       width: 16px;
+       right: -1px;
+       bottom: -1px;
+}
+
+.stickynote_palette {
+       position: absolute;
+       width: 48px;
+       height: 48px;
+       top: 16px;
+       left: 0px;
+       background-color: #ffffff;
+       border: 1px solid #333;
+       display: none;
+}
+
+.stickynote_palette table {
+       margin: 0;
+       padding: 0;
+}
+
+.stickynote_palette td {
+       width: 16px;
+       height: 16px;
+}
+
+
+.login_using_openid_link {
+       text-align: center;
+}
+
+.openid_urlarea {
+       background: url('openid-small.gif') no-repeat scroll 0pt 50%;
+       padding-left: 18px;
 }