From 3253b296c21c54df228de39ff3e4775974df81d5 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 20 May 2011 05:17:27 -0400 Subject: [PATCH] - Clear properly mailboxes cache on folder subscription change --- skins/default/mail.css | 200 ++++++++++++++++++++++++++------------------------ 1 files changed, 104 insertions(+), 96 deletions(-) diff --git a/skins/default/mail.css b/skins/default/mail.css index bf00ca3..a96dd48 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -149,7 +149,7 @@ padding-left: 15px; } -#messagetoolbar select.mboxlist option[value="0"] +#messagetoolbar select.mboxlist option[value=""] { padding-left: 2px; } @@ -381,6 +381,11 @@ font-size: 11px; background: url(images/icons/folders.png) 5px 0 no-repeat; border-bottom: 1px solid #EBEBEB; +} + +#mailboxlist li ul li:last-child +{ + border-bottom: none; } #mailboxlist li div @@ -701,12 +706,15 @@ display: inline-block; } -#messagelist tbody tr td.flag +#messagelist tbody tr td.flag, +#messagelist tbody tr td.status, +#messagelist tbody tr td.subject span.status { cursor: pointer; } #messagelist tr td.flag span, +#messagelist tr td.status span, #messagelist tr td.attachment span { width: 15px; @@ -719,12 +727,17 @@ #messagelist tr td.attachment span.report, #messagelist tr td.flag span.flagged, #messagelist tr td.flag span.unflagged:hover, +#messagelist tr td.status span.status, +#messagelist tr td.status span.msgicon, +#messagelist tr td.status span.deleted, +#messagelist tr td.status span.unread, +#messagelist tr td.status span.unreadchildren, #messagelist tr td.subject span.msgicon, -#messagelist tr td.subject span.msgicon.replied, -#messagelist tr td.subject span.msgicon.forwarded, -#messagelist tr td.subject span.msgicon.deleted, -#messagelist tr td.subject span.msgicon.unread, -#messagelist tr td.subject span.msgicon.unreadchildren +#messagelist tr td.subject span.deleted, +#messagelist tr td.subject span.unread, +#messagelist tr td.subject span.replied, +#messagelist tr td.subject span.forwarded, +#messagelist tr td.subject span.unreadchildren { vertical-align: middle; height: 17px; @@ -753,34 +766,47 @@ } #messagelist tr td.subject span.msgicon, -#messagelist tr td.subject span.msgicon.unreadchildren +#messagelist tr td.subject span.unreadchildren { background-position: 0 -51px; margin: 0 2px; - cursor: pointer; } -#messagelist tr td.subject span.msgicon.replied -{ - background-position: 0 -68px; -} - -#messagelist tr td.subject span.msgicon.forwarded +#messagelist tr td.subject span.replied { background-position: 0 -85px; } -#messagelist tr td.subject span.msgicon.replied.forwarded +#messagelist tr td.subject span.forwarded +{ + background-position: 0 -68px; +} + +#messagelist tr td.subject span.replied.forwarded { background-position: 0 -102px; } -#messagelist tr td.subject span.msgicon.deleted +#messagelist tr td.status span.msgicon, +#messagelist tr td.status span.unreadchildren +{ + background-position: 0 17px; /* no icon */ +} + +#messagelist tr td.status span.msgicon:hover +{ + background-position: 0 -272px; +} + +#messagelist tr td.status span.deleted, +#messagelist tr td.subject span.deleted { background-position: 0 -187px; } -#messagelist tr td.subject span.msgicon.unread +#messagelist tr td.status span.status, +#messagelist tr td.status span.unread, +#messagelist tr td.subject span.unread { background-position: 0 -119px; } @@ -811,6 +837,8 @@ #messagelist tbody tr td.subject a { cursor: default; + display: inline-block; + vertical-align: middle; } /* thread parent message with unread children */ @@ -821,10 +849,11 @@ #messagelist tr td.attachment, #messagelist tr td.threads, +#messagelist tr td.status, #messagelist tr td.flag { - width: 19px; - padding: 0 2px; + width: 17px; + padding: 0 0 0 2px; } #messagelist tr td.size @@ -973,7 +1002,7 @@ div.messageheaderbox { - margin: 6px 8px 0px 8px; + margin: -14px 8px 0px 8px; border: 1px solid #ccc; } @@ -981,20 +1010,14 @@ { width: 100%; background-color: #EBEBEB; - table-layout: fixed; } +#messagebody #full-headers, #messagebody table.headers-table { width: auto; margin: 6px 8px; background-color: #F4F4F4; - border: 1px solid #ccc; -} - -#messageframe table.headers-table -{ - border-bottom: 1px solid #ccc; } table.headers-table tr td @@ -1003,49 +1026,49 @@ border-bottom:1px solid #FFFFFF; } -table.headers-table td.header-title +table.headers-table tr td.header-title { - width: 80px; + width: 1%; color: #666666; font-weight: bold; text-align: right; white-space: nowrap; - padding-right: 4px; + padding: 0 4px 0 8px; +} + +table.headers-table tr td.header +{ + width: 99%; } table.headers-table tr td.subject { - width: 90%; font-weight: bold; } -table.headers-table tr td.all +table.headers-table tr td.header span { - width: 100%; - color: #666666; - text-align: left; - padding-right: 10px; - text-align: center; - padding: 2px 6px 4px 6px; - border-bottom: 0; -} - -table.headers-table tr td.more-headers -{ - cursor: pointer; - width: 100%; - height: 8px; - border-bottom: 0; + white-space: nowrap; } #attachment-list { - margin: 0px; - padding: 0px 0px 0px 72px; + margin: 0; + padding: 0 4px 0 8px; min-height: 16px; list-style-image: none; list-style-type: none; - background: url(images/icons/attachment.png) 60px 2px no-repeat #DFDFDF; + background: url(images/icons/attachment.png) 4px 2px no-repeat #DFDFDF; +} + +#messageframe #attachment-list +{ + border-bottom: 1px solid #ccc; +} + +.messageheaderbox #attachment-list +{ + border-top: 1px solid #ccc; } #attachment-list:after @@ -1183,31 +1206,45 @@ border: 0; } -td.show-headers +#full-headers +{ + color: #666666; + text-align: center; + padding: 2px 6px; + border-bottom: 1px solid #ccc; + background-color: #EBEBEB; +} + +.messageheaderbox #full-headers +{ + border-bottom: 0; +} + +div.more-headers +{ + cursor: pointer; + height: 8px; + border-bottom: 0; +} + +div.show-headers { background: url(images/icons/down_small.gif) no-repeat center; } -td.hide-headers +div.hide-headers { background: url(images/icons/up_small.gif) no-repeat center; } -#all-headers -{ - height: 150px; - display: none; -} - #headers-source { - margin: 0 5px; + margin: 0 0 2px 0; padding: 0.5em; height: 145px; background: white; overflow: auto; font-size: 11px; - white-space: nowrap; border: 1px solid #999999; display: none; text-align: left; @@ -1302,27 +1339,17 @@ height: 32px; } +input.from_address +{ + width: 80% !important; +} + #compose-cc, #compose-bcc, #compose-replyto, -#compose-mailreplyto, -#compose-mailfollowupto +#compose-followupto { display: none; -} - -.formlinks a, -.formlinks a:visited -{ - color: #999999; - font-size: 11px; - text-decoration: none; -} - -.formlinks a, -.formlinks a:visited -{ - color: #CC0000; } #compose-editorfooter @@ -1403,9 +1430,6 @@ margin-top: 4px; } - -/** quota indicator */ - #quota { position: absolute; @@ -1421,19 +1445,3 @@ right: 6px; z-index: 101; } - -.quota_text { - text-align: center; - font-size: 10px; - color: #666; - border: 1px solid #999; - cursor: default; -} -.quota_bg { background-color: white; } -.quota_high { background-color: #F33131; } -.quota_mid { background-color: #F5AD3C; } -.quota_low { background-color: #91E164; } -.quota_text_high { color: white; } -.quota_text_mid { color: #666; } -.quota_text_low { color: #666; } - -- Gitblit v1.9.1