]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/webcit.css
* Handle bad cookies without crashing
[citadel.git] / webcit / static / webcit.css
index 1222be756ee93176af62ecf74406c197f20933bd..13648869cd4bb1909f94e988b314ceba1a098623 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
 @import url("datepicker.css");
 @media print {
        input#toggler, .toolbar { display: none }
 
 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, #message_list tr > td {
-       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%;
 }
 
-#online_users li {
-       font-size: 8pt;
+#message_list_hdr table {
+       font-size: 80%;
+}
+
+#navbar {
+       font-size: 75%;
+}
+
+.mailbox_summary {
+       font-size: 80%;
+}
+
+#online_users li a {
+       font-size: 80% !important;
 }
 .marked_row {
     color: white;
@@ -30,11 +46,11 @@ body { font-size: 11pt}
 
 body {
        background-color: #6C91A6;
-       font-family: "Trebuchet MS", "Verdana", "Bitstream Vera Sans", sans-serif;
+       font-family: sans-serif;
        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, #summary_view {
+#iconbar_container, .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;
 }
@@ -58,16 +74,23 @@ body {
        text-transform: uppercase;
 }
 
-#iconbar ul li, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart, #ib_logoff {
+.ib_button, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart, .iconbar_text{
        background-color: #F0FFFF;
        color: #333;
+} 
+#online_users:hover { /* separate in order for override */
+    background-color: #F0FFFF !important;
+       color: #333 !important;
 }
-
 #iconbar #button {
        border: none;
        list-style: none;
 }
 
+.ib_button {
+       font-size: 90%;
+}
+
 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
        border: 1px solid #333;
        overflow: hidden;
@@ -79,7 +102,7 @@ body {
        font-weight: 700;
 }
 
-#button li, #ib_logoff {
+.ib_button {
        border: none;
        border-bottom: 2px groove #CCC;
        border-right: 2px groove #CCC;
@@ -89,12 +112,12 @@ body {
        border: none;
 }
 
-.logo,.logo_citadel, #switch, #customize {
+.logo,.logo_citadel, .iconbar_text {
        border: none;
        border-bottom: 1px solid #AAA;
 }
 
-#button li a , #ib_logoff a{
+.ib_button_link, .ib_button_link:visited, .ib_button_link:link, #online_users a {
        color: #000;
        text-decoration: none;
 }
@@ -110,16 +133,18 @@ 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;
+       border-top: 1px solid black;
+       border-bottom: 1px solid black;
        color: #FFF;
 }
 
 #banner {
        background-color: #004E79;
-       color: #FFF
-
+       color: #FFF;
+       margin: 0;
+       padding: 0;
 }
+
 #banner a {
        color: #FFF
 }
@@ -216,7 +241,7 @@ body {
        font-weight: 700;
 }
 
-.floors_config,.roomops_zap {
+.floors_config, .roomops_zap {
        background-color: #700;
        border: 0;
 }
@@ -257,10 +282,16 @@ body {
        font-style: italic;
 }
 
-.mimepart dl dd,.mailbox_summary td, .mimepart dl dt {
+.mimepart dl dd, .mimepart dl dt {
        border-top: 1px solid #AAA;
 }
 
+.mailbox_summary td {
+       /* border-top: 1px solid #AAA; */
+       white-space: nowrap;
+       overflow: hidden;
+}
+
 .mimepart dl dt {
        font-weight: 700;
 }
@@ -275,7 +306,7 @@ body {
        background-color: #FF8000;
 }
 
-.tab_cell,.tab_cell_edit {
+.tab_cell, .tab_cell_edit {
        background-color: #CCC;
        font-weight: 700;
 }
@@ -295,7 +326,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;
 }
@@ -362,7 +393,6 @@ div.auto_complete ul strong.highlight {
        color: #800;
 }
 
-
 table.altern {
        border-bottom: solid 2px #AAA;
        border-top: solid 2px #AAA;
@@ -393,8 +423,7 @@ ul.adminitems li {
        font-weight: 700;
 }
 
-ul.adminitems li span
-{
+ul.adminitems li span {
        color: #666;
 }
 
@@ -450,15 +479,15 @@ a:visited { color: purple; }
 
 #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 {
+#important_message, .buttons a:hover, .msgbuttons a:hover, #button li:hover, #online_users li a:hover, #navbar ul li a:hover, #ib_logoff:hover {
        background-color: #AD1C00;
        color: #FFF;
-}
+} /* input:hover as well?? */
 
 
 
-.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 {
@@ -487,7 +516,9 @@ a:visited { color: purple; }
 * html {
        overflow: hidden;
 }
-
+html {
+    overflow: auto;
+}
 body {
        height: 100%;
        overflow: hidden;
@@ -495,10 +526,21 @@ body {
 }
 
 body, #global {
-       margin: 0;
+       margin-left: 0;
        padding: 0;
 }
 
+#global {
+    position: absolute;
+    bottom: 0;
+    top: 0;
+    right: 0;
+    left: 0;
+    overflow-y: auto;
+}
+#global.scrollable {
+    position: fixed;
+}
 #important_message {
        position: absolute;
        top: 0; 
@@ -534,28 +576,15 @@ body, #global {
     
 }
 
-#banner {
-       position: absolute;
-       top: 0;
-       left: 16%;
-       width: 84%;
-       height: 18%;
-}
-
-#navbar {
-       position: absolute;
-       bottom: 0; 
-       left: 0;
-       width: 100%;
-}
-
 #content {
-       position: absolute;
+/*     position: absolute;
        top: 18%;
        left: 16%;
        width: 84%;
        height: 82%;
-       overflow: auto;
+       overflow: auto; */
+    position: relative;
+    bottom: 0;
 }
 /* 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 {
@@ -569,14 +598,15 @@ body, #global {
 }
 
 #summary_view {
-       height: 20%;
-       overflow: auto;
+       height: 100px;
+       overflow-y: scroll;
+    overflow-x: hidden;
        cursor: pointer;
 }
 #message_list_body {
     background-color: white !important;
 }
-#message_list_body > tr > td {
+#message_list_body tr td {
     overflow-y: hidden;
     overflow-x: hidden; /* stop long subjects overflowing */
 }
@@ -589,6 +619,11 @@ body, #global {
 .col3 {
     width: 20%;
 }
+.col1, .col2, .col3 {
+    cursor: pointer;
+    text-overflow: ellipsis;
+    -o-text-overflow: ellipsis;
+}
 .new_message {
     font-weight: bold; !important;
 }
@@ -599,7 +634,7 @@ body, #global {
        width: 100%;
        overflow: hidden;
        cursor: s-resize;
-    height: 1%;
+    height: 6px;
 }
 
 #preview_pane {
@@ -619,24 +654,35 @@ body, #global {
 .box {
        width: 100%;
        padding: 0;
+       margin: 0;
+}
+
+#content .boxlabel, #global .boxlabel {
+       margin: 0;
+       padding: 0;
+       width: 100%;
+       text-align: center;
 }
 
 #content .box {
-       margin: 2% auto 0 auto;
-       width: 95%;
+       margin: 0;
+       padding: 0;
+       width: 100%;
        text-align: center;
 }
 
 .boxlabel, .boxcontent {
-       padding: 5px;
+       margin: 0;
 }
 
 .boxlabel {
        text-align: center;
+       padding: 0;
 }
 
 .boxcontent {
        text-align: left;
+       padding: 5px;
 }
 
 .ctdlTemplate {
@@ -714,26 +760,29 @@ body, #global {
 
 /* Iconbar */
 
-.logo, .logo_citadel, #iconbar #button, #switch, #customize, #ib_logoff {
+.logo, .logo_citadel, #iconbar #button, .iconbar_text, .ib_button {
        margin: 0;
        padding: 0;
 }
 
-.logo, #citlogo, #switch, #customize, #online_users li {
+.logo, #citlogo, .iconbar_text, #online_users li {
        text-align: center;
 }
 
+.iconbar_text > span {
+    cursor: pointer;
+}
 #iconbar #button {
        width: 100%;
 }
 
-#button > li, #ib_logoff {
+.ib_button {
        margin: 4px 8px 4px 8px;
        padding: 0;
     display: block;
 }
-#button > li > a, #ib_logoff > a {
-    width: 100%;
+.ib_button_link {
+    /* width: 100%; */
     display: block;
 }
 
@@ -758,11 +807,9 @@ body, #global {
 }
 
 /* Banner */
-
 #banner .room_banner {
-       float: left;
-       margin: 0;
-       padding: 0;
+    display: table-cell;
+    width: 90%;
 }
 
 #banner .room_banner img {
@@ -789,29 +836,26 @@ body, #global {
 #room_infos img.close_infos {
        float: right;
 }
-
+#actiondiv {
+       display: table-cell;
+}
 #banner ul.room_actions {
-       margin: 0;
        list-style: none;
-       float: right;
-       text-align: right;
+       text-align: left;
 }
-
 #banner ul.room_actions li {
        white-space: nowrap;
        display: inline;
 }
-
 #banner ul.room_actions li form {
         margin: 0;
         padding: 0;
 }
-
 #banner ul.room_actions li select, #banner ul.room_actions li input {
        margin-top: 8px;
        margin-right: 4px;
 }
-#selectpage {
+#selectpage.hidden {
     display: none !important;
 }
 
@@ -859,7 +903,8 @@ body, #global {
     padding: 0;
 }
 /** Override to disable list-style-image" */
-.room {
+.room a, .room a, .room a:visited, .room a:link {
+    color: #333333;
 }
 .room-private {
     list-style-image: url("/static/privatemess_16x.gif");
@@ -882,6 +927,9 @@ body, #global {
 .room-newmsgs {
     font-weight: bold;
 }
+.room-emphasized {
+    text-decoration: underline;
+}
 /* Content */
 
 .boxcontent table {
@@ -1075,8 +1123,12 @@ dt { clear: both; }
 .imsg {
        text-align: center;
 }
-#summary_view > table {
+#summary_view > table { /* hide from IE6 */
     width: 100%;
+    table-layout: fixed;
+}
+#summary_view td {
+       font-size: 8pt;
 }
 colgroup.entity {
        text-align: center;
@@ -1313,11 +1365,11 @@ td.events_of_the_day {
 }
 
 .events_of_the_day dl dt.hour {
-       font-size: 16px;
+       /* font-size: 160%; commenting out because we need to line it up with the actual size */
 }
 
 .events_of_the_day dl dt.extrahour {
-       font-size: 8px;
+       /* font-size: 80%; commenting out because we need to line it up with the actual size */
 }
 
 .hour_label, .extra_events dl dt {
@@ -1365,7 +1417,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 {
@@ -1383,7 +1435,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 {
@@ -1393,7 +1445,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 {
@@ -1403,7 +1455,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 {
@@ -1471,12 +1523,12 @@ li.event_unread span, a.event_read_title {
        top: 0px;
        left: 0px;
        background-color: #888800;
-        font-size: 6px;     
+        font-size: 60%;     
 }
 
 .stickynote_body {
        position: relative;
-       font-family: "Comic Sans MS", "Verdana", "Bitstream Vera Sans", sans-serif;
+       font-family: "Comic Sans MS", sans-serif;
 }
 
 .stickynote_resize {
@@ -1518,3 +1570,14 @@ li.event_unread span, a.event_read_title {
        background: url('openid-small.gif') no-repeat scroll 0pt 50%;
        padding-left: 18px;
 }
+
+.conftitle {
+       font-size: 140%;
+       font-weight: bold;
+       text-align: center;
+}
+
+.confdescr {
+       font-size: 110%;
+       text-align: center;
+}