'older posts' and 'newer posts' links now work. 'max posts' is working but not setab...
[citadel.git] / webcit / static / styles / webcit.css
index 722b8dab9f4692913549a1ab8399f33204679757..497bf88af028c82ae81fc4f0db6c83487b085230 100644 (file)
 @import url("navbar.css");
 @import url("content.css");
 @import url("box.css");
+@import url("message.css");
+@import url("modal.css");
 
 @media print {
        input#toggler, .toolbar { display: none }
 }
 
-/* Typography */
-
-html {font-size: 100%}
-
-body { font-size: 100%}
+html, body {
+       font-size: 100%;
+       height:100%;
+       width:100%;
+       margin:0;
+       padding:0;
+       overflow:hidden;
+}
 
 .address_book_popup_title { font-size: 130% }
 
-#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, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, .message_header, ul.adminitems li span, #message_list tr > td {
+#button, #content .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .buttons a, .customize, .menubar_link, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, ul.adminitems li span, #message_list tr > td {
        font-size: 100%;
 }
 
@@ -35,12 +40,10 @@ body { font-size: 100%}
 
 .mailbox_summary { font-size: 80% }
 
-#online_users li a { font-size: 80% !important }
-
 /* Color */
 
 body {
-       background-color: #6C91A6;
+       background-color: #F3F6F2;
        font-family: sans-serif;
 }
 
@@ -49,42 +52,30 @@ body {
        background-color: #69aaff !important;
 }
 
-.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, .wiki_history_background, .wiki_pagelist_background, .downloads_background, .vcard_edit_background, div.auto_complete, div.auto_complete ul, #summary_view {
+.service form div,table.altern .odd, #message_list, #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, .wiki_history_background, .wiki_pagelist_background, .downloads_background, .vcard_edit_background, div.auto_complete, div.auto_complete ul, #summary_view {
        background-color: #FFF;
        color: #000;
 }
 
-#message_list_hdr table, #resize_msglist, .message, .message_header, .vcard_edit_background_alt,.roomops_background_alt {
+#message_list_hdr table, #resize_msglist, .vcard_edit_background_alt,.roomops_background_alt {
        background-color: #CCC;
 }
 
-#online_users li.inactiveuser a { background-color: transparent }
-
-#room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart {
+#room_infos, #address_book_popup, .roomops_cell, .roomops_cell_edit, .mimepart {
        background-color: #F0FFFF;
        color: #333;
 } 
 
-#online_users:hover { /* separate in order for override */
-       background-color: #F0FFFF !important;
-       color: #333 !important;
-}
-
 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
        border: 1px solid #333;
        overflow: scroll;
 }
 
-.buttons a,.roomlist_floor,.tablabel,.treetitle {
+.buttons a,.tablabel,.treetitle {
        color: #000;
        font-weight: 700;
 }
 
-#online_users li {
-       border: none;
-       border-top: 1px solid #AAA;
-}
-
 .mimepart div,.required { font-weight: 700 }
 
 .selector_top,.selector_bottom {
@@ -97,7 +88,8 @@ body {
 #message_list_hdr form input { border: 0 }
 
 #message_list_hdr select {
-       background-color: #AD1C00;
+       background-color: #3E65AF;
+       color: #F1BD22;
        border: 1px solid #6C91A6;
 }
 
@@ -116,16 +108,6 @@ body {
        height: 3px;
 }
 
-.message {
-       border: 1px outset #999;
-       clear: both;
-}
-
-.message_header .message_subject {
-       font-style: italic;
-       float: left;    
-}
-
 .adminlist { list-style: none }
 
 .customize {
@@ -203,29 +185,34 @@ body {
 .mimepart dl dt { font-weight: 700 }
 
 .roomops_cell_label, .tab_cell_label {
-       background-color: #FF7814;
-       color: #FFF;
-       font-size: 90%;
+       background-color: #424b52;
+       color: #EABB3A;
+       font-size: 80%;
+       font-weight: bold;
        border-radius: 8px 8px 0 0;
        -webkit-border-radius: 8px 8px 0 0;
        -moz-border-radius: 8px 8px 0 0;
-       behavior: url(/static/styles/PIE.htc);
+       /* behavior: url(/static/styles/PIE.htc); disabled for now; see http://github.com/lojjic/PIE/issues#issue/21 */
 }
 
-.selectbox { background-color: #FF8000 }
+.selectbox {
+       background-color: #FF8000;
+}
 
 .tab_cell, .tab_cell_edit {
-       background-color: #CCC;
-       font-size: 90%;
+       background-color: #5c646b;
+       color: #F9FDFB;
+       font-size: 80%;
+       font-weight: bold;
        border-radius: 8px 8px 0 0;
        -webkit-border-radius: 8px 8px 0 0;
        -moz-border-radius: 8px 8px 0 0;
-       behavior: url(/static/styles/PIE.htc);
+       /* behavior: url(/static/styles/PIE.htc); disabled for now; see http://github.com/lojjic/PIE/issues#issue/21 */
 }
 
 .tabcontent {
-       background-color: #FFF;
-       border-top: 3px solid #FF7814;
+       background-color: #FEFFFC;
+       border: 2px solid #424B52;
 }
 
 .treetitleselectedblured {
@@ -333,8 +320,6 @@ ul.adminitems li span {     color: #666 }
 
 var sub { font-style: normal }
 
-.calendar { background-color: #204B78 }
-
 .week_of_year {
        background-color: #e1e1e1;
        font-size: 70%; 
@@ -363,31 +348,58 @@ var sub { font-style: normal }
 
 a { text-decoration: none }
 
-a:active { color: #AD1C00 }
+a:link, .calendar a:visited { color: #0e73e3 } /*color: #2F65DD;*/
+
+a:active { color: #3E65AF }
+
+a:visited { color: #70342e }
+
+.roomlist_old { color: #424b52 }
 
-a:link { color: blue }
+.roomlist_new { color: #ef7114 }
+
+.roomlist_new, .roomlist_old {
+       font-size: medium;
+       font-weight: bold;
+       padding: 0.1em 0.3em;
+}
 
-a:visited { color: purple}
+.roomlist_new:hover, .roomlist_old:hover{
+       outline: 1px solid #7d858c;
+       outline-radius: 5px;
+       -khtml-outline-radius: 5px;
+       -moz-outline-radius: 5px;
+       behavior: url(/static/styles/PIE.htc);
+}
 
 #customize a:active, #customize a:link, #customize a:visited {
        color: black;
 }
 
-#important_message, .buttons a:hover, .msgbuttons a:hover, #button li:hover, #online_users li a:hover {
-       background-color: #AD1C00;
+#important_message {
+       background-color: #3E65AF;
        color: #FFF;
-} /* input:hover as well?? */
-
-.button_link a, input, select, 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, .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 {
-       border: 1px solid #999;
+input, select, .room_actions form select, .room_actions li.search input, .address_book_popup_title {
+       background-color: #efefe0; /*#fbf4ca;*/
+       border: 2px solid #5c646b;
        color: #333;
 }
 
-.button_link a, .msgbuttons a, input#delbutton,.attachfile, .buttons input, .send_edit_msg input {
+.buttons a:hover { background-color: #5c646b; }
+.button_link a, input#delbutton,.attachfile, .logbuttons input,.buttons input {
+       background-color: #4d555c;
+}
+.button_link a, input#delbutton,.attachfile, .logbuttons input,.buttons input {
+       border: 2px solid #5c646b;
+       color: #F0FEFF;
+}
+
+
+.button_link a, input#delbutton,.attachfile, .buttons input {
        cursor: pointer;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
@@ -396,11 +408,11 @@ a:visited { color: purple}
        text-align: center;
 }
 
-.button_link a, .attachfile,.buttons input, .send_edit_msg input {
+.button_link a, .attachfile,.buttons input {
        font-weight: bold;
 }
 
-.msgbuttons a, input#delbutton { font-weight: normal }
+input#delbutton { font-weight: normal }
 
 /* Layout */
 
@@ -428,29 +440,10 @@ body {
        text-align: center;
 }
 
-.moreprompt {
-       text-align: center;
-       font-size: 100%;
-       background-color: #004E79;
-       color: #dddddd;
-}
-
-.moreprompt_link {
-       color: #dddddd;
-       font-weight: bold;
-}
-
-.moreprompt_link:hover {
-       background-color: #AD1C00;
-       color: #FFF;
-}
-
 #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 }
-
 /* 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
  */
@@ -578,22 +571,12 @@ body {
        padding: 2px;
 }
 
-.message {
-       margin: 1%;
-       padding: 0;
-}
-
-.message_header p {
-       margin: 2px 0 2px 0;
-       padding: 0 0 2px 0;
-}
-
-.button_link a, .attachfile, .logbuttons input,.buttons input, .send_edit_msg input, .logbutton {
+.button_link a, .attachfile, .logbuttons input,.buttons input .logbutton {
        margin: 3px;
        padding: 2px 4px 2px 4px;
 }
 
-.msgbuttons a, input#delbutton {
+input#delbutton {
        margin: 0 3px 0 3px;
        padding: 2px 4px 2px 4px;
 }
@@ -646,53 +629,26 @@ body {
        clear: both;
 }
 
-.msgbuttons {
-       float: right;
-       visibility: hidden;
-       padding: 2px;
-       font-size: 80%;
-}
-
 .buttons a { text-align: center }
 
-.msgbuttons a span { display: none }
-
-.message_content {
-       margin: 0;
-       padding: 0.3em;
-       clear: both;
-}
-
-.message form div label {
-       display: block;
-       float: left;
-       margin: 0.3em;
-       width: 9em;
-       text-align: right;
-}
-
-.message form div input, .message form div select { margin: 0.3em }
-
-.imgedit { vertical-align: middle }
-
-.send_edit_msg {
-       float: right;
-       margin-top: 0 ;
-       margin-right: 0;
-       padding: 2px 50px 2px 50px;
+.imgedit {
+       vertical-align: middle
 }
 
 .edit_msg_table th {
        text-align: right;
+       padding: 0px;
        padding-right: 5px;
        color: #333;
        width: 20%;
 }
 
-.edit_msg_table td { width: 40% }
+.edit_msg_table td {
+       padding: 0px;
+}
 
 .edit_msg_table #recp_id, .edit_msg_table #cc_id, .edit_msg_table #bcc_id, .edit_msg_table #subject_id  {
-       width: 98%
+       width: 98%;
 }
 
 .note {
@@ -842,7 +798,7 @@ table.advanced {
 
 /* Links and buttons */
 
-.logbuttons, .buttons {
+.logbuttons, .buttons, .registernow {
        margin: 2px auto 2px auto;
        width: 96%;
        text-align: center;
@@ -889,21 +845,31 @@ ul.tabbed_dialog li {
 /* Calendar view */
 
 .calendar {
-       background-color: #204B78;
-       margin: 0;
-       width: 100%;
+       background-color: #424b52;
+       margin: 0 auto;
+       width: 98%;
        height: 302px;
+       border-radius: 8px;
+        -webkit-border-radius: 8px;
+        -moz-border-radius: 8px;
+        behavior: url(/static/styles/PIE.htc);
 }
 
-td.events_of_the_day { width: 500px }
+.calendar th { 
+       background-color: #424b52;
+       border-color: #424b52; }
+
+#inner_day { padding: 0.1em; }
+
+td.events_of_the_day { width: 50% }
 
 .events_of_the_day dl {
        margin: 0;
-       padding: 0;
+/*     padding: 0;
        position: absolute;
        top: 0;
-       left:0;
-       width: 500px;
+       left:0; */
+       width: 100%;
 }
 
 .events_of_the_day dl dt {
@@ -933,11 +899,12 @@ td.events_of_the_day { width: 500px }
        text-align: left;       
 }
 
+.extra_events { border: 1px solid #ccc }
 
 .extra_events ul {
        list-style: none;
-       margin: 0;
        padding: 0;
+       margin: 0;
 }
 
 .extra_events ul li { margin: 4px }
@@ -990,8 +957,8 @@ li.event_unread span, a.event_read_title { font-size: 100% }
 .mini_calendar a:link,.mini_calendar a:visited { color: #fff }
 
 .mini_calendar a:hover,.mini_calendar a:active {
-   color: #fff;
-   background-color: #AD1C00;
+   color: #3E65AF;
+   background-color: #3E65AF;
 }
 
 .mini_calendar td a { color: #fff }
@@ -999,8 +966,8 @@ li.event_unread span, a.event_read_title { font-size: 100% }
 .mini_calendar td a:link,.mini_calendar td a:visited { color: #fff }
 
 .mini_calendar td a:hover,.mini_calendar td a:active {
-   color: #fff;
-   background-color: #AD1C00;
+   color: #3E65AF;
+   background-color: #3E65AF;
 
 }
 
@@ -1024,6 +991,10 @@ li.event_unread span, a.event_read_title { font-size: 100% }
        border: 1px solid #333;
        background-color: #ffff00;
        overflow: hidden;
+       -webkit-box-shadow: #666 0px 2px 3px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
 }
 
 .stickynote_titlebar {
@@ -1084,64 +1055,71 @@ li.event_unread span, a.event_read_title { font-size: 100% }
 
 #noscript_warning {
        position: fixed;
+       z-index: 999;
        top: 0;
-       left: 0;
+       right: 0;
        background-color: #FF0000;
        color: #FFFFFF;
+       font-size: 120%;
+       border: 2px solid #FF0000;
 }
 
 .chatrecv_history_class {
        position: absolute;
-       top: 0;
-       left: 1%;
-       width: 74%;
-       margin-top: 5px;
-       margin-bottom: 5px;
+       top: 0.5em;
+       left: 0.5%;
+       width: 700px;
        height: 70%;
-       background-color: #FFFFFF;
+       background-color: #edede0;
        overflow: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
+       border: 2px solid #424d52;
+       border-radius: 8px;
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+       behavior: url(/static/styles/PIE.htc);
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       padding: 0.5em;
 }
 
 .chat_userlist_class {
        position: absolute;
-       top: 0;
-       right: 1%;
-       width: 23%;
-       margin-top: 5px;
-       margin-bottom: 5px;
-       height: 70%;
-       background-color: #FFFFFF;
+       top: 0.5em;
+       right: 0.5%;
+       width: 110px;
+       height: 92%;
+       background-color: #edede0;
        overflow: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
+       border: 2px solid #424d52;
+       border-radius: 8px;
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+        box-shadow: #666 0px 2px 3px;
+       -webkit-box-shadow: #666 0px 1px 2px;
+        -moz-box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+       padding: 0.5em;
 }
 
 .chatrecv_class { display: none }
 
 .chatsend_class {
        position: absolute;
-       left: 1%;
-       right: 1%;
-       height: 28%;
-       bottom: 0;
-       margin-top: 5px;
-       margin-bottom: 5px;
-       margin-left: auto;
-       margin-right: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
-       background-color: #004E79;
+       left: 0.5%;
+       bottom: 3%;
+       height: 95px;
+       width: 700px;
+       border: 2px solid #424d52;
+       border-radius: 8px; 
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+       box-shadow: #666 0px 2px 3px;
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+       background-color: #7d858c;
+       padding: 0.5em;
 }
 
 .chat_myname_class {
@@ -1204,4 +1182,165 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
        background: url(/static/bubble.gif) no-repeat bottom;
 }
 
-/*---------- bubble tooltips end -----------*/
+
+/*---------- styles for the blog view -----------*/
+
+.blog_post {
+}
+
+.blog_post_title {
+       font-size: 150%;
+       font-style: bold;
+}
+
+.blog_post_title a:link, .blog_post_title a:visited, .blog_post_title a:active {
+       color: #000000;
+}
+
+.blog_post_title a:hover {
+       color: #0000FF;
+}
+
+
+.blog_post_header {
+       font-size: 100%;
+       font-style: italic;
+}
+
+.blog_post_content {
+}
+
+.blog_comment {
+       border: 1px solid grey;
+       margin-top: 5px;
+       margin-bottom: 5px;
+       margin-left: 5%;
+       margin-right: 5%;
+       padding: 5px;
+}
+
+.blog_comment_header {
+       margin-bottom: 1em;
+       font-size: 100%;
+       font-style: italic;
+}
+
+.post_a_comment_title {
+       font-size: 120%;
+}
+
+/*---------- styles for the attachments form -----------*/
+
+#attachments_form {
+       display:none;
+       position:absolute;
+       top:5%;
+       bottom:5%;
+       right:5%;
+       left:5%;
+       z-index: 10;
+       padding: 5px;
+       border-width: 1px;
+       border-style: solid;
+       border-color: #022750;
+       -webkit-border-radius: 10px;
+       -moz-border-radius: 10px;
+       border-radius: 10px;
+       background: #FFFFFF;
+       background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#DDDDEE));
+       background: -moz-linear-gradient(#FFFFFF, #DDDDEE);
+       background: linear-gradient(#FFFFFF, #DDDDEE);
+       -pie-background: linear-gradient(#FFFFFF, #DDDDEE);
+       -webkit-box-shadow: #666 0px 2px 3px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+}
+
+
+/*---------- styles for the login modal box -----------*/
+
+#loginbox_topline_container {
+       position: relative;
+       font-size: 110%;
+       color: white;
+}
+
+#loginbox_title {
+       float: left;
+       width: 75%;
+       text-align: center;
+       background-color: #022750;
+       border: 3px solid #022750;
+}
+
+#loginbox_closebutton {
+       float: right;
+       width: 23%;
+       text-align: right;
+       background-color: #ddd;
+       border: 3px solid #ddd;
+}
+
+#auth_container {
+       position: relative;
+       border: 1px solid #777;
+}
+
+#authbar {
+       top: 0;
+       left: 0;
+       width: 23%;
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
+}
+
+#authbar ul {
+       margin-top: 1px;
+       margin-bottom: 0;
+}
+
+.authbox {
+       text-align: center;
+       position: absolute;
+       top: 0;
+       right: 0;
+       width: 75%;
+       height: 100%;
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
+       background-color: #ddd;
+}
+
+#ajax_username_password_form, #ajax_newuser_form {
+       margin: auto;
+       width: 20em;
+}
+
+#ajax_username_password_form label, #ajax_newuser_form label {
+       float: left;
+       width: 10em;
+}
+
+.openid_urlarea {
+        background: url('../openid-small.gif') no-repeat scroll 0pt 50%;
+        padding-left: 18px;
+}
+
+.registernow {
+       text-align: right;
+}
+
+.older_blog_posts, .newer_blog_posts {
+       font-size: 110%;
+}
+
+.older_blog_posts {
+       text-align: left;
+}
+
+.newer_blog_posts {
+       text-align: right;
+}