Removed PIE.htc in places where it makes IE fuck up even more than it usually does...
[citadel.git] / webcit / static / styles / webcit.css
index af128645df1c257f2e7aebd5dc560cbecd79b0f7..278b42e531726065f92bd9e4f225905dccc89ecf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2005 - 2010 The Citadel Team
+ * Copyright 2005 - 2011 The Citadel Team
  * Licensed under the GPL V3
  */
 
 @import url("box.css");
 @import url("message.css");
 @import url("modal.css");
+@import url("service.css");
 
 @media print {
        input#toggler, .toolbar { display: none }
 }
 
 html, body {
-       font-size: 100;
+       font-size: 100%;
        height:100%;
        width:100%;
        margin:0;
@@ -30,12 +31,10 @@ html, body {
 
 .address_book_popup_title { font-size: 130% }
 
-#button, #content .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, ul.adminitems li span, #message_list tr > td {
+#button, #content .button_link a, input#delbutton,.attachfile, .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%;
 }
 
-#nummsgs { font-size: 75% }
-
 #message_list_hdr table { font-size: 80% }
 
 .mailbox_summary { font-size: 80% }
@@ -62,16 +61,16 @@ body {
 }
 
 #room_infos, #address_book_popup, .roomops_cell, .roomops_cell_edit, .mimepart {
-       background-color: #F0FFFF;
-       color: #333;
+       background-color: #deded0;
+       color: #5C646B;
 } 
 
 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
-       border: 1px solid #333;
+       border: 1px solid #5C646B;
        overflow: scroll;
 }
 
-.buttons a,.roomlist_floor,.tablabel,.treetitle {
+.buttons a,.tablabel,.treetitle {
        color: #000;
        font-weight: 700;
 }
@@ -96,7 +95,7 @@ body {
 #message_list_hdr table { font-style: italic }
 
 #resize_msglist {
-       background-image: url(/static/resizegrippy.gif);
+       background-image: url(/static/webcit_icons/resizegrippy.gif);
        background-position: center;
        background-repeat: no-repeat; 
 }
@@ -192,7 +191,6 @@ body {
        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); disabled for now; see http://github.com/lojjic/PIE/issues#issue/21 */
 }
 
 .selectbox {
@@ -207,7 +205,6 @@ body {
        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); disabled for now; see http://github.com/lojjic/PIE/issues#issue/21 */
 }
 
 .tabcontent {
@@ -348,15 +345,29 @@ var sub { font-style: normal }
 
 a { text-decoration: none }
 
-a:active {
-       color: #3E65AF;
-}
+a:link, .calendar a:visited { color: #0e73e3 } /*color: #2F65DD;*/
 
-a:link {
-       color: #2F65DD;
+a:active { color: #3E65AF }
+
+a:visited { color: #70342e }
+
+.roomlist_old { color: #424b52 }
+
+.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;
@@ -375,11 +386,11 @@ input, select, .room_actions form select, .room_actions li.search input, .addres
 
 .buttons a:hover { background-color: #5c646b; }
  
-.button_link a, input#delbutton,.attachfile, .logbuttons input,.buttons input {
+.button_link a, input#delbutton,.attachfile, .buttons input {
        background-color: #4d555c;
 }
  
-.button_link a, input#delbutton,.attachfile, .logbuttons input,.buttons input {
+.button_link a, input#delbutton,.attachfile, .buttons input {
        border: 2px solid #5c646b;
        color: #F0FEFF;
 }
@@ -433,19 +444,21 @@ body {
 /* 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_listview th {
+       border-right: 0.2em solid #fff;
+}
+#message_listview td {
+       padding-left: 1em;
+}
 
 #message_list_hdr {
        display: block;
-       top: 0;
-       left: 0;
-       width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        background-color: #CCCCCC;
 }
 
 #summary_view {
-       height: 100px;
        overflow-y: scroll;
        overflow-x: hidden;
        cursor: pointer;
@@ -453,7 +466,6 @@ body {
 
 #summary_headers {
        background-color: white;
-       width: 100%;
        table-layout: fixed;
 }
 
@@ -462,11 +474,11 @@ body {
        overflow-x: hidden; /* stop long subjects overflowing */
 }
 
-.col1 { width: 50% }
+#message_listview .col1 { width: 66% }
 
-.col2 { width: 30% }
+#message_listview .col2 { width: 22% }
 
-.col3 { width: 20% }
+#message_listview .col3 { width: 12% }
 
 .col1, .col2, .col3 {
        cursor: pointer;
@@ -530,19 +542,19 @@ body {
 }
 
 /* Override to disable list-style-image" */
-.room a, .room a, .room a:visited, .room a:link { color: #333333 }
+.room a, .room a, .room a:visited, .room a:link { color: #f0feff }
 
-.room-private { list-style-image: url("/static/privatemess_16x.gif") }
+.room-private { list-style-image: url("/static/webcit_icons/essen/16x16/email.png") }
 
-.room-addr { list-style-image: url("/static/viewcontacts_16x.gif") }
+.room-addr { list-style-image: url("/static/webcit_icons/essen/16x16/contact.png") }
 
-.room-cal { list-style-image: url("/static/calarea_16x.gif") }
+.room-cal { list-style-image: url("/static/webcit_icons/essen/16x16/calendar.png") }
 
-.room-tasks { list-style-image: url("/static/taskmanag_16x.gif") }
+.room-tasks { list-style-image: url("/static/webcit_icons/essen/16x16/task.png") }
 
-.room-notes { list-style-image: url("/static/storenotes_16x.gif") }
+.room-notes { list-style-image: url("/static/webcit_icons/essen/16x16/note.png") }
 
-.room-chat { list-style-image: url("/static/chatrooms_16x.gif") }
+.room-chat { list-style-image: url("/static/webcit_icons/essen/16x16/room.png") }
 
 .room-newmsgs { font-weight: bold }
 
@@ -557,7 +569,7 @@ body {
        padding: 2px;
 }
 
-.button_link a, .attachfile, .logbuttons input,.buttons input .logbutton {
+.button_link a, .attachfile, .buttons input .logbutton {
        margin: 3px;
        padding: 2px 4px 2px 4px;
 }
@@ -681,7 +693,6 @@ div.auto_complete ul strong.highlight {
        -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);
 }
 
 #address_book_popup_container_div {
@@ -698,10 +709,6 @@ div.auto_complete ul strong.highlight {
 
 #address_book_inner_div input { margin: 4px 5px 0 5px }
 
-.service .edit_col, .service .host_col { display: none }
-
-.who_is_online .edit_col, .who_is_online .host_col { display: block }
-
 #citlogo { display: none; /* Overriden later */ }
 
 .sort_ascending, .sort_descending {
@@ -709,23 +716,14 @@ div.auto_complete ul strong.highlight {
        background-position: center right;
 }
 
-.sort_ascending { background-image: url("/static/down_pointer.gif") }
+.sort_ascending { background-image: url("/static/webcit_icons/down_pointer.gif") }
 
-.sort_descending { background-image: url("/static/up_pointer.gif") }
+.sort_descending { background-image: url("/static/webcit_icons/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 {
@@ -784,7 +782,7 @@ table.advanced {
 
 /* Links and buttons */
 
-.logbuttons, .buttons, .registernow {
+.buttons {
        margin: 2px auto 2px auto;
        width: 96%;
        text-align: center;
@@ -845,15 +843,17 @@ ul.tabbed_dialog li {
        background-color: #424b52;
        border-color: #424b52; }
 
-td.events_of_the_day { width: 500px }
+#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 {
@@ -883,11 +883,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 }
@@ -959,11 +960,7 @@ li.event_unread span, a.event_read_title { font-size: 100% }
        padding: 4px;
 }
 
-.roompic {
-       height: 48px;
-       width: 48px;
-       border: none;
-}
+.roompic { border: none; }
 
 .table-row, .table-alt-row { width: 100% }
 
@@ -1049,56 +1046,60 @@ li.event_unread span, a.event_read_title { font-size: 100% }
 
 .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 {
@@ -1128,7 +1129,6 @@ a.event_title span, a.event_unread span, a.event_read span {
 
 a.event_title:hover, a.event_unread:hover, a.event_read:hover {
        z-index:25;
-       background:;
 }
 
 a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_read:hover span.tooltip {
@@ -1143,14 +1143,14 @@ a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_rea
 a.event_title:hover span.btttop, a.event_unread:hover span.btttop, a.event_read:hover span.btttop {
        display: block;
        padding: 30px 8px 0;
-       background: url(/static/bubble.gif) no-repeat top;
+       background: url(/static/webcit_icons/bubble.gif) no-repeat top;
 }
 
 /* different middle bg for stretch */
 a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event_read:hover span.bttmiddle {
        display: block;
        padding: 0 8px; 
-       background: url(/static/bubble_filler.gif) repeat bottom; 
+       background: url(/static/webcit_icons/bubble_filler.gif) repeat bottom; 
        color: #022750;
        font-size: 10px;
 }
@@ -1158,7 +1158,7 @@ a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event
 a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event_read:hover span.bttbottom {
        display: block;
        padding:3px 8px 10px;
-       background: url(/static/bubble.gif) no-repeat bottom;
+       background: url(/static/webcit_icons/bubble.gif) no-repeat bottom;
 }
 
 
@@ -1169,7 +1169,7 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
 
 .blog_post_title {
        font-size: 150%;
-       font-style: bold;
+       font-weight: bold;
 }
 
 .blog_post_title a:link, .blog_post_title a:visited, .blog_post_title a:active {
@@ -1204,6 +1204,9 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
        font-style: italic;
 }
 
+.post_a_comment_title {
+       font-size: 120%;
+}
 
 /*---------- styles for the attachments form -----------*/
 
@@ -1230,10 +1233,8 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
        -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 {
@@ -1301,10 +1302,18 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
 }
 
 .openid_urlarea {
-        background: url('../openid-small.gif') no-repeat scroll 0pt 50%;
+        background: url('../webcit_icons/openid-small.gif') no-repeat scroll 0pt 50%;
         padding-left: 18px;
 }
 
-.registernow {
+.older_blog_posts, .newer_blog_posts {
+       font-size: 110%;
+}
+
+.older_blog_posts {
+       text-align: left;
+}
+
+.newer_blog_posts {
        text-align: right;
 }