From: the_mgt Date: Tue, 5 Jul 2011 12:27:19 +0000 (+0200) Subject: Replaced orange feed/rss image by the blue one from our iconset, added file icon... X-Git-Tag: v8.11~617 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=ab007ea182badff4897f061e8206e0ffc688c0d4 Replaced orange feed/rss image by the blue one from our iconset, added file icon for rooms with files into banner, made the "X files" description the same style as the rss line above it. Had to fool around with the css for the banner again, in order to do so. --- diff --git a/webcit/feed_generator.c b/webcit/feed_generator.c index 40ee30f7c..c94013fc5 100644 --- a/webcit/feed_generator.c +++ b/webcit/feed_generator.c @@ -276,7 +276,7 @@ void tmplput_rssbutton(StrBuf *Target, WCTemplputParams *TP) CtdlEncodeBase64(encoded_link, feed_link, strlen(feed_link), 0); StrBufAppendPrintf(Target, "", encoded_link); - StrBufAppendPrintf(Target, "\"RSS\""); + StrBufAppendPrintf(Target, "\"RSS\""); StrBufAppendPrintf(Target, ""); } diff --git a/webcit/static/styles/banner.css b/webcit/static/styles/banner.css index bbeb9513e..5cafc22bc 100644 --- a/webcit/static/styles/banner.css +++ b/webcit/static/styles/banner.css @@ -41,14 +41,29 @@ #banner .banner {} -#banner .banner img { +/* style for the rooom picture */ +#banner td img { + padding: 0; + margin: 0.5em; + max-height: 64px; float: left; - margin: 0 0.3em 1em 0; } -#banner h1, #banner h2, #banner .banner p { - margin: 2px; +#banner h1, #banner h2 { + padding: 0; + margin: 0; +} + +#banner .banner p { padding: 0; + margin: 0; +} + +/* style for the feed and file picture */ +#banner .banner td * img { + clear: both; + padding: 0; + margin: 0 0.3em; } #banner .infos{ margin: 0.5em } @@ -93,6 +108,11 @@ margin-right: 2px; } +#nummsgs, #numfiles { + font-size: 75%; + margin-left: 0.5em; +} + #selectpage.hidden { display: none !important } diff --git a/webcit/static/styles/webcit.css b/webcit/static/styles/webcit.css index e922f9dd8..a6b916eee 100644 --- a/webcit/static/styles/webcit.css +++ b/webcit/static/styles/webcit.css @@ -35,8 +35,6 @@ html, body { font-size: 100%; } -#nummsgs { font-size: 75% } - #message_list_hdr table { font-size: 80% } .mailbox_summary { font-size: 80% } diff --git a/webcit/static/t/room/edit/tab_feed.html b/webcit/static/t/room/edit/tab_feed.html index 2b1d9cddf..99242fb74 100644 --- a/webcit/static/t/room/edit/tab_feed.html +++ b/webcit/static/t/room/edit/tab_feed.html @@ -39,7 +39,7 @@ diff --git a/webcit/static/t/roombanner.html b/webcit/static/t/roombanner.html index 544ddf19d..9aeaa7d67 100644 --- a/webcit/static/t/roombanner.html +++ b/webcit/static/t/roombanner.html @@ -10,7 +10,7 @@

-

+

File

-  +