]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/webcit.css
* A little more padding between the chat windows
[citadel.git] / webcit / static / webcit.css
index f7f43f41add402f4f1b006be6fb8f982255e00a0..fc76cc1a8c895fb36ad83c922fcd4471fff7c012 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2005 - 2009 The Citadel Team
+ * Copyright 2005 - 2010 The Citadel Team
  * Licensed under the GPL V3
  */
 @import url("datepicker.css");
@@ -39,7 +39,7 @@ body { font-size: 100%;}
        font-size: 80% !important;
 }
 .marked_row {
-    color: white;
+       color: white;
 }
 
 /* Color */
@@ -55,8 +55,7 @@ body {
        color: #000;
 }
 
-#login_form, #message_list_hdr table, #resize_msglist, .message, .message_header, .vcard_edit_background_alt,.roomops_background_alt 
- {
+#login_form, #message_list_hdr table, #resize_msglist, .message, .message_header, .vcard_edit_background_alt,.roomops_background_alt {
        background-color: #CCC;
 }
 
@@ -79,7 +78,7 @@ body {
        color: #333;
 } 
 #online_users:hover { /* separate in order for override */
-    background-color: #F0FFFF !important;
+       background-color: #F0FFFF !important;
        color: #333 !important;
 }
 #iconbar #button {
@@ -461,40 +460,50 @@ var sub {
 }
 
 .current_sort_mode {
-    background-color: white;
+       background-color: white;
 }
 .marked_row {
-    background-color: #69aaff !important;
+       background-color: #69aaff !important;
 }
 #loading {
-    background-color: white;
+       background-color: white;
 }
 /* Message list in mailbox/summaryview */
 .table-row {
-    background-color: white;
+       background-color: white;
 }
+
 .table-alt-row {
-      background-color: #DDDDDD;
+       background-color: #DDDDDD;
 }
+
 /* Links */
 
-a {    text-decoration: none; }
+a {
+       text-decoration: none;
+}
 
-a:active { color: #AD1C00; }
+a:active {
+       color: #AD1C00;
+}
 
-a:link { color: blue; }
+a:link {
+       color: blue;
+}
 
-a:visited { color: purple; }
+a:visited {
+       color: purple;
+}
 
-#customize a:active, #customize a:link, #customize a:visited { color: black; }
+#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, #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, 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 */
 }
@@ -504,10 +513,9 @@ a:visited { color: purple; }
        color: #333;
 }
 
-
 .button_link a, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
        cursor: pointer;
-        -moz-border-radius: 8px;    /* CSS3 draft and Mozilla  */
+       -moz-border-radius: 8px;    /* CSS3 draft and Mozilla  */
        text-align: center;
 }
 
@@ -519,14 +527,13 @@ a:visited { color: purple; }
        font-weight: normal;
 }
 
-
 /* Layout */
 
 * html {
        overflow: hidden;
 }
 html {
-    overflow: auto;
+       overflow: auto;
 }
 body {
        height: 100%;
@@ -540,16 +547,18 @@ body, #global {
 }
 
 #global {
-    position: absolute;
-    bottom: 0;
-    top: 0;
-    right: 0;
-    left: 0;
-    overflow-y: auto;
+       position: absolute;
+       bottom: 0;
+       top: 0;
+       right: 0;
+       left: 0;
+       overflow-y: auto;
 }
+
 #global.scrollable {
-    position: fixed;
+       position: fixed;
 }
+
 #important_message {
        position: absolute;
        top: 0; 
@@ -557,18 +566,24 @@ body, #global {
        z-index: 2;
        padding: 3px;
 }
+
 #hellomsg, .fmout, .nomsgs {
-    text-align: center;
+       text-align: center;
 }
 
 .moreprompt {
        text-align: center;
-       font-size: 130%;
+       font-size: 100%;
        background-color: #004E79;
        color: #dddddd;
 }
 
-.moreprompt:hover {
+.moreprompt_link {
+       color: #dddddd;
+       font-weight: bold;
+}
+
+.moreprompt_link:hover {
        background-color: #AD1C00;
        color: #FFF;
 }
@@ -577,86 +592,96 @@ body, #global {
        margin: 0;
        padding: 3% 6% 3% 6%;
 }
+
 #convlogin, #validate {
-    text-align: center;
+       text-align: center;
 }
+
 #iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  {
        text-align: left;
 }
+
 .message_content > div > div {
-    text-align: justify !important;
+       text-align: justify !important;
 }
+
 #iconbar {
        position: absolute;
        top: 0;
        left: 0;
-    bottom: 0;
+       bottom: 0;
        width: 16%;
-    z-index: 0;
-    overflow: auto;
-    overflow-x: hidden !important;
-    
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
 }
 
 #content {
-/*     position: absolute;
-       top: 18%;
-       left: 16%;
-       width: 84%;
-       height: 82%;
-       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 */
+       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 {
        display: block;
        top: 0;
        left: 0;
        width: 100%;
-    padding-bottom: 0;
-    margin-bottom: 0;
-    background-color: #CCCCCC;
+       padding-bottom: 0;
+       margin-bottom: 0;
+       background-color: #CCCCCC;
 }
 
 #summary_view {
        height: 100px;
        overflow-y: scroll;
-    overflow-x: hidden;
+       overflow-x: hidden;
        cursor: pointer;
 }
+
 #message_list_body {
-    background-color: white !important;
+       background-color: white !important;
 }
+
 #message_list_body tr td {
-    overflow-y: hidden;
-    overflow-x: hidden; /* stop long subjects overflowing */
+       overflow-y: hidden;
+       overflow-x: hidden; /* stop long subjects overflowing */
 }
+
 .col1 {
-    width: 50%;
+       width: 50%;
 }
+
 .col2 { 
-    width: 30%;
+       width: 30%;
 }
+
 .col3 {
-    width: 20%;
+       width: 20%;
 }
+
 .col1, .col2, .col3 {
-    cursor: pointer;
-    text-overflow: ellipsis;
-    -o-text-overflow: ellipsis;
+       cursor: pointer;
+       text-overflow: ellipsis;
+       -o-text-overflow: ellipsis;
 }
+
 .new_message {
-    font-weight: bold; !important;
+       font-weight: bold; !important;
 }
+
 #loading {
-    text-align: center;
+       text-align: center;
 }
+
 #resize_msglist {
        width: 100%;
        overflow: hidden;
        cursor: s-resize;
-    height: 6px;
+       height: 6px;
 }
 
 #preview_pane {
@@ -668,14 +693,11 @@ body, #global {
        width: expression('96%');       /* Only IE6 understands 'expression' - fixes weird scrollbarbug */
 }
 
-
-
-
 /* Boxes */
 
 .box {
-       width: 100%;
-       padding: 0;
+       width: 100%;
+       padding: 0;
        margin: 0;
 }
 
@@ -698,85 +720,89 @@ body, #global {
 }
 
 .boxlabel {
-       text-align: center;
+       text-align: center;
        padding: 0;
 }
 
 .boxcontent {
-       text-align: left;
+       text-align: left;
        padding: 5px;
 }
 
 .ctdlTemplate {
-    display: none;
+       display: none;
 }
+
 #ctdlContextMenu {
-    position: fixed;
-    background-color: white;
-    border: 1px solid black;
+       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;
+       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;
+       list-style: none;
+       padding-left: 0;
+       margin-left: 0;
 }
+
 .hidden {
-    display: none;
+       display: none;
 }
+
 /* Login */
 
 #login_screen .login_message, #login_screen .login_image, .login_hello, #login_screen #login_form {
        display: block;
-       margin: 5px auto 5px auto;
+       margin: 5px auto 5px auto;
 }
 
 #login_screen .login_message, .login_hello, #global center {
-       width: 80%;
+       width: 80%;
 }
 
 #login_screen .login_image {
-        width: 135px;
+       width: 135px;
 }
 
 #login_screen .login_image img {
-        text-align: center;
+       text-align: center;
 }
 
-
 #login_screen #login_form {
-       padding: 10px;
-       width: 330px;
+       padding: 10px;
+       width: 330px;
 }
 
 #login_form input, #login_form label, #login_form select {
-       display: block;
-       float: left;
-       margin: 6pt;
+       display: block;
+       float: left;
+       margin: 6pt;
 }
 
 #login_form label, #pname, #uname {
-       width: 130px;
-       text-align: left;
+       width: 130px;
+       text-align: left;
 }
 
 #login_form br {
-       clear: left;
+       clear: left;
 }
 
 .login_infos {
-       display: block;
-       margin: 20px auto 0 auto;
-       width: 80% ;
-       text-align: left;
+       display: block;
+       margin: 20px auto 0 auto;
+       width: 80%;
+       text-align: left;
 }
 
 
@@ -792,8 +818,9 @@ body, #global {
 }
 
 .iconbar_text > span {
-    cursor: pointer;
+       cursor: pointer;
 }
+
 #iconbar #button {
        width: 100%;
 }
@@ -801,19 +828,20 @@ body, #global {
 .ib_button {
        margin: 4px 8px 4px 8px;
        padding: 0;
-    display: block;
+       display: block;
 }
+
 .ib_button_link {
-    /* width: 100%; */
-    display: block;
+       /* width: 100%; */
+       display: block;
 }
 
 #online_users {
-    display: none; /* Hide by default */
+       display: none; /* Hide by default */
        border: 0;
        max-height: 200px;
        overflow: auto;
-    padding-left: 0;
+       padding-left: 0;
 } 
 #online_users li {
        list-style: none;
@@ -830,8 +858,8 @@ body, #global {
 
 /* Banner */
 #banner .room_banner {
-    display: table-cell;
-    width: 90%;
+       display: table-cell;
+       width: 90%;
 }
 
 #banner .room_banner img {
@@ -870,15 +898,15 @@ body, #global {
        display: inline;
 }
 #banner ul.room_actions li form {
-        margin: 0;
-        padding: 0;
+       margin: 0;
+       padding: 0;
 }
 #banner ul.room_actions li select, #banner ul.room_actions li input {
        margin-top: 8px;
        margin-right: 4px;
 }
 #selectpage.hidden {
-    display: none !important;
+       display: none !important;
 }
 
 /* Navbar */
@@ -908,49 +936,49 @@ body, #global {
        margin: 0 2px 0 2px;
 }
 .floor {
-    margin-left: 0px;
+       margin-left: 0px;
 }
 .floor > ul {
-    display: none;
+       display: none;
 }
 .floor-expanded > ul{
-    display: block !important;
+       display: block !important;
 }
 #roomlist > ul {
-    margin: 0;
-    padding: 0;
+       margin: 0;
+       padding: 0;
 }
 #roomlist > div > ul > li {
-    margin: 0;
-    padding: 0;
+       margin: 0;
+       padding: 0;
 }
 /** Override to disable list-style-image" */
 .room a, .room a, .room a:visited, .room a:link {
-    color: #333333;
+       color: #333333;
 }
 .room-private {
-    list-style-image: url("/static/privatemess_16x.gif");
+       list-style-image: url("/static/privatemess_16x.gif");
 }
 .room-addr {
-    list-style-image: url("/static/viewcontacts_16x.gif");
+       list-style-image: url("/static/viewcontacts_16x.gif");
 }
 .room-cal {
-    list-style-image: url("/static/calarea_16x.gif");
+       list-style-image: url("/static/calarea_16x.gif");
 }
 .room-tasks {
-    list-style-image: url("/static/taskmanag_16x.gif");
+       list-style-image: url("/static/taskmanag_16x.gif");
 }
 .room-notes {
-    list-style-image: url("/static/storenotes_16x.gif");
+       list-style-image: url("/static/storenotes_16x.gif");
 }
 .room-chat {
-    list-style-image: url("/static/chatrooms_16x.gif");
+       list-style-image: url("/static/chatrooms_16x.gif");
 }
 .room-newmsgs {
-    font-weight: bold;
+       font-weight: bold;
 }
 .room-emphasized {
-    text-decoration: underline;
+       text-decoration: underline;
 }
 /* Content */
 
@@ -981,10 +1009,6 @@ body, #global {
 }
 
 #message_list_hdr table {
-/*     position: absolute;
-       bottom: 0; 
-       left: 0;
-    top: 0; */
        width: 100%;    
 }
 .selector_top, .selector_bottom {
@@ -1146,8 +1170,8 @@ dt { clear: both; }
        text-align: center;
 }
 #summary_view > table { /* hide from IE6 */
-    width: 100%;
-    table-layout: fixed;
+       width: 100%;
+       table-layout: fixed;
 }
 colgroup.entity {
        text-align: center;
@@ -1214,33 +1238,33 @@ div.auto_complete ul strong.highlight {
 }
 
 #citlogo {
-    display: none; /* Overriden later */
+       display: none; /* Overriden later */
 }
 .sort_ascending, .sort_descending {
-    background-repeat: no-repeat;
-    background-position: center right;
+       background-repeat: no-repeat;
+       background-position: center right;
 }
 .sort_ascending {
-    background-image: url("/static/down_pointer.gif");
+       background-image: url("/static/down_pointer.gif");
 }
 .sort_descending {
-    background-image: url("/static/up_pointer.gif");
+       background-image: url("/static/up_pointer.gif");
 }
 #message_list_hdr > table {
-    border-collapse: collapse;
+       border-collapse: collapse;
 }
 #message_list_hdr > table > tbody > tr > th {
-    border-left: 2px solid white;
-    border-right: 2px solid white;
+       border-left: 2px solid white;
+       border-right: 2px solid white;
 }
 #summary_view > table { 
-    border-collapse: collapse;
+       border-collapse: collapse;
 }
 th.col1 {
-    border-left: none !important;
+       border-left: none !important;
 }
 th.col3 {
-    border-right: none !important;
+       border-right: none !important;
 }
 /* System Administration Menu */
 
@@ -1319,24 +1343,24 @@ table.advanced {
 /* Tabs */
 
 #TheTabs {
-        margin: 3% auto 0 auto;
-        width: 94%;
+       margin: 3% auto 0 auto;
+       width: 94%;
 }
 
 ul.tabbed_dialog {
-        list-style: none;
-        margin: 3% auto 0 auto;
-        width: 96%;
-        padding: 0;
-        white-space: nowrap;
-        text-align: center;
-        vertical-align: middle;
+       list-style: none;
+       margin: 3% auto 0 auto;
+       width: 96%;
+       padding: 0;
+       white-space: nowrap;
+       text-align: center;
+       vertical-align: middle;
 }
 
 ul.tabbed_dialog li {
-        margin: 0 3% 0 3%;
-        padding: 4px;
-        float: left;
+       margin: 0 3% 0 3%;
+       padding: 4px;
+       float: left;
 }
 
 .tabcontent {
@@ -1347,10 +1371,10 @@ ul.tabbed_dialog li {
 }
 
 .tabcontent_submit {
-        margin: 0 auto 0 auto;
-        width: 96%;
-        padding: 10px;
-        text-align: center;
+       margin: 0 auto 0 auto;
+       width: 96%;
+       padding: 10px;
+       text-align: center;
 }
 
 
@@ -1364,7 +1388,7 @@ ul.tabbed_dialog li {
 }
 
 td.events_of_the_day {
-        width: 500px;
+       width: 500px;
 }
 
 .events_of_the_day dl {
@@ -1373,14 +1397,14 @@ td.events_of_the_day {
        position: absolute;
        top: 0;
        left:0;
-        width: 500px;
+       width: 500px;
 }
 
 .events_of_the_day dl dt {
        background-color: #FFFFFF;
        margin: 0;
-        width: 500px;
-        border: 1px solid #CCC;
+       width: 500px;
+       border: 1px solid #CCC;
 }
 
 .events_of_the_day dl dt.hour {
@@ -1393,13 +1417,13 @@ td.events_of_the_day {
 
 .hour_label, .extra_events dl dt {
        background-color: #CCCCDD;
-        vertical-align: middle;
+       vertical-align: middle;
        text-align: left;       
 }
 
 .hour_events, .extra_events {
        background-color: #FFFFFF;
-        vertical-align: top;
+       vertical-align: top;
        text-align: left;       
 }
 
@@ -1436,7 +1460,7 @@ li.event_framed_unread span, a.event_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 100%;     
+       font-size: 100%;     
 }
 
 .event_framed_read {
@@ -1454,7 +1478,7 @@ li.event_framed_read span, a.event_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 100%;  
+       font-size: 100%;  
 }
 
 .event_read {
@@ -1464,7 +1488,7 @@ li.event_read span, a.event_read_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 100%;     
+       font-size: 100%;     
 }
 
 .event_unread {
@@ -1474,7 +1498,7 @@ li.event_unread span, a.event_read_title {
        filter:alpha(opacity=100); 
        -moz-opacity:1.0;         
        opacity: 1.0;
-        font-size: 100%;     
+       font-size: 100%;     
 }
 
 .mini_calendar {
@@ -1514,16 +1538,18 @@ li.event_unread span, a.event_read_title {
 }
 
 .roompic {
-      height: 48px;
-      width: 48px;
-      border: none;
+       height: 48px;
+       width: 48px;
+       border: none;
 }
+
 #navbar ul li a img {
       vertical-align: middle;
       border: none;
 }
+
 .table-row, .table-alt-row {
-    width: 100%;
+       width: 100%;
 }
 
 .stickynote_outer {
@@ -1542,7 +1568,7 @@ li.event_unread span, a.event_read_title {
        top: 0px;
        left: 0px;
        background-color: #888800;
-        font-size: 60%;     
+       font-size: 60%;     
 }
 
 .stickynote_body {
@@ -1608,3 +1634,72 @@ li.event_unread span, a.event_read_title {
        background-color: #FF0000;
        color: #FFFFFF;
 }
+
+.chatrecv_history {
+       position: absolute;
+       top: 0;
+       left: 1%;
+       width: 74%;
+       margin-top: 5px;
+       margin-bottom: 5px;
+       height: 70%;
+       background-color: #FFFFFF;
+       overflow: auto;
+       border-style: solid;
+       border-color: #022750;
+       border-width: 1px;
+       padding-left: 3px;
+       padding-right: 3px;
+}
+
+.chat_userlist {
+       position: absolute;
+       top: 0;
+       right: 1%;
+       width: 23%;
+       margin-top: 5px;
+       margin-bottom: 5px;
+       height: 70%;
+       background-color: #FFFFFF;
+       overflow: auto;
+       border-style: solid;
+       border-color: #022750;
+       border-width: 1px;
+       padding-left: 3px;
+       padding-right: 3px;
+}
+
+.chatrecv {
+       display: none;
+}
+
+.chatsend {
+       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;
+}
+
+.chat_myname {
+       font-weight: bold;
+       color: #ff0000;
+}
+
+.chat_notmyname {
+       font-weight: bold;
+       color: #0000ff;
+}
+
+.chat_text {
+}