From: Thierry Pasqualier Date: Sat, 21 Jul 2007 07:53:29 +0000 (+0000) Subject: CSS/HTML for text/calendar in message... in progress X-Git-Tag: v7.86~3220 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=5878e31ae2ba761bd5119afdafdbafa3f9240e83 CSS/HTML for text/calendar in message... in progress --- diff --git a/webcit/calendar.c b/webcit/calendar.c index 59cfe2715..c61fc7c46 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -254,8 +254,9 @@ void cal_process_object(icalcomponent *cal, _("CONFLICT:") ) ); + wprintf("
"); escputs(conflict_message); - wprintf("\n"); + wprintf("
\n"); } } lprintf(9, "...done.\n"); @@ -291,7 +292,7 @@ void cal_process_object(icalcomponent *cal, ***********/ /** Display the update buttons */ - wprintf("
" + wprintf("

" "%s" "%s" " | " @@ -307,7 +308,7 @@ void cal_process_object(icalcomponent *cal, /** Trailing HTML for the display of this object */ if (recursion_level == 0) { - wprintf("

\n"); + wprintf("

 

\n"); } } diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index 10529331d..24afab996 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -431,6 +431,7 @@ a:hover { border: 1px solid #999999; background-color: #CCCCCC; text-align: left; + clear: both; } .message_header, .message_header p { @@ -448,12 +449,13 @@ a:hover { .mimepart { margin-top: 0; margin-left: 15%; - width: 55%; - padding: 10px; + width: 70%; + padding: 1%; background-color: #FFFFDD; } .mimepart div { + font-size: 12pt; font-weight: bold; } @@ -461,16 +463,36 @@ a:hover { font-style: italic; } -.mimepart dl, .mimepart dl dt, .mimepart dl dd { - font-size: 10pt; - color: black; - text-align: left; +.mimepart dl { + width: 100%; } .mimepart dl dt { - display: compact; - font-weight: bold; + width: 30%; + float: left; + margin: 0 0 0 0; + padding: .5em; + border-top: 1px solid #999; + font-weight: bold; } - + +/* hack ie5 mac \*/ +dt { clear: both; } +/* end hack */ + +.mimepart dl dd { + float: left; + width: 65%; + margin: 0 0 0 0; + padding: .5em; + border-top: 1px solid #999; +} + +.mimepart p { + margin-top: 1em; + margin-bottom: 0; + clear: both; +} + .msgbuttons { float: right; visibility: hidden; @@ -1056,25 +1078,6 @@ div.auto_complete ul strong.highlight { display: block; } -#wholist { - border: 0; - margin: 0; - padding: 0; - max-height: 200px; - overflow: auto; -} - -#wholist li { - color: black; - text-align: left; - list-style: none; - border: 0; - margin: 0; - padding: 2px; - white-space: splay: compact; - -} - .message_header, .message_subject { font-size: 10pt; color: black;