diff options
author | alecpl <alec@alec.pl> | 2009-10-24 19:09:23 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-10-24 19:09:23 +0000 |
commit | 7415c02ecfe21eff80074605b93fd3354475e7b3 (patch) | |
tree | 5934330a3c1bc0ad38d88592ef856531e6ecbe91 /skins/default | |
parent | 1d7e4d314dcdaa1aa5353f6d520ba448b5808f8f (diff) |
- Fix quota indicator issues by content generation on client-size
instead of bin/quotaimage.php: better performance, better styling posibilities (#1486197, #1486220)
Diffstat (limited to 'skins/default')
-rw-r--r-- | skins/default/mail.css | 17 | ||||
-rw-r--r-- | skins/default/templates/mail.html | 2 |
2 files changed, 14 insertions, 5 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css index 31d7c61b8..f9777eea6 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -839,12 +839,21 @@ body.messagelist color: #CCCCCC; } -#quotadisplay img -{ - margin-left: 4px; +.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; } + /** message view styles */ diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html index ed19ff9a0..db2f4fe16 100644 --- a/skins/default/templates/mail.html +++ b/skins/default/templates/mail.html @@ -84,7 +84,7 @@ <roundcube:button command="select-none" type="link" title="none" class="buttonPas none" classAct="button none" classSel="button nonesel" content=" " /> <roundcube:container name="listcontrols" id="listcontrols" /> <roundcube:if condition="env:quota" /> - <span style="margin-left: 20px"><roundcube:label name="quota" />:</span> + <span style="margin-left: 20px; margin-right: 5px"><roundcube:label name="quota" />:</span> <roundcube:object name="quotaDisplay" display="image" width="100" height="14" id="quotadisplay" /> <roundcube:endif /> </div> |