X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Fstyles%2Fwebcit.css;h=c397bb6418708645ed113d4e367fc7f7b5b69170;hb=64ef1d438d5ee853b598c4e762498e4bc7f1e22f;hp=f9fc4abd7d4a238b69d16ca0de2aa5e3d05d0b1e;hpb=539dc48c5443282a65bb7b600142fee7229a7e4d;p=citadel.git diff --git a/webcit/static/styles/webcit.css b/webcit/static/styles/webcit.css index f9fc4abd7..c397bb641 100644 --- a/webcit/static/styles/webcit.css +++ b/webcit/static/styles/webcit.css @@ -1,5 +1,5 @@ /* - * Copyright 2005 - 2010 The Citadel Team + * Copyright 2005 - 2011 The Citadel Team * Licensed under the GPL V3 */ @@ -12,20 +12,25 @@ @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, .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,8 +40,6 @@ body { font-size: 100%} .mailbox_summary { font-size: 80% } -#online_users li a { font-size: 80% !important } - /* Color */ body { @@ -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 { @@ -105,7 +96,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; } @@ -117,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 { @@ -204,9 +185,10 @@ body { .mimepart dl dt { font-weight: 700 } .roomops_cell_label, .tab_cell_label { - background-color: #3E65AF; + background-color: #424b52; color: #EABB3A; - font-size: 90%; + 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; @@ -218,9 +200,10 @@ body { } .tab_cell, .tab_cell_edit { - background-color: #6F94D5; + background-color: #5c646b; color: #F9FDFB; - font-size: 90%; + 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; @@ -337,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%; @@ -367,35 +348,58 @@ var sub { font-style: normal } a { text-decoration: none } -a:active { - color: #3E65AF; -} +a:link, .calendar a:visited { color: #0e73e3 } /*color: #2F65DD;*/ + +a:active { color: #3E65AF } + +a:visited { color: #70342e } -a:link { - color: #2F65DD; +.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; } -#important_message, .buttons a:hover, .msgbuttons a:hover, #button li:hover, #online_users li a:hover { +#important_message { background-color: #3E65AF; - color: #3E65AF; + color: #FFF; } -.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 */ +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, 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; - color: #333; +.buttons a:hover { background-color: #5c646b; } + +.button_link a, input#delbutton,.attachfile, .buttons input { + background-color: #4d555c; +} + +.button_link a, input#delbutton,.attachfile, .buttons input { + border: 2px solid #5c646b; + color: #F0FEFF; } -.button_link a, .msgbuttons a, input#delbutton,.attachfile, .buttons input, .send_edit_msg input { + +.button_link a, input#delbutton,.attachfile, .buttons input { cursor: pointer; -webkit-border-radius: 8px; -moz-border-radius: 8px; @@ -404,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 */ @@ -436,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: #3E65AF; - color: #3E65AF; -} - #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 */ @@ -559,19 +544,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 } @@ -586,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, .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; } @@ -654,55 +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%; + 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 { @@ -777,9 +723,9 @@ 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 } @@ -852,7 +798,7 @@ table.advanced { /* Links and buttons */ -.logbuttons, .buttons { +.buttons { margin: 2px auto 2px auto; width: 96%; text-align: center; @@ -899,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 { @@ -943,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 } @@ -1019,11 +976,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% } @@ -1098,64 +1051,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 { @@ -1200,14 +1160,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; } @@ -1215,7 +1175,164 @@ 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; +} + + +/*---------- 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); } -/*---------- bubble tooltips end -----------*/ + +/*---------- 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('../webcit_icons/openid-small.gif') no-repeat scroll 0pt 50%; + padding-left: 18px; +} + +.older_blog_posts, .newer_blog_posts { + font-size: 110%; +} + +.older_blog_posts { + text-align: left; +} + +.newer_blog_posts { + text-align: right; +}