From b1057a2781fc977846760572ee48997c05ce8cd0 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 05 Jul 2011 06:08:52 -0400 Subject: [PATCH] - Remove debug code --- skins/default/mail.css | 665 ++++++++++++++++++++++++++++++------------------------ 1 files changed, 369 insertions(+), 296 deletions(-) diff --git a/skins/default/mail.css b/skins/default/mail.css index 3ed0420..14249da 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -1,4 +1,4 @@ -/***** RoundCube|Mail mail task styles *****/ +/***** Roundcube|Mail mail task styles *****/ #messagetoolbar @@ -13,7 +13,7 @@ /* border: 1px solid #cccccc; */ } -#messagetoolbar > a +#messagetoolbar a { display: block; float: left; @@ -27,7 +27,7 @@ width: 32px; height: 32px; padding: 0; - margin-right: 10px; + margin: 0 5px; overflow: hidden; background: url(images/mail_toolbar.png) 0 0 no-repeat transparent; opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ @@ -137,12 +137,6 @@ background-position: -416px -32px; } -#messagetoolbar select, -#compose-container select -{ - font-size: 11px; -} - #messagetoolbar select.mboxlist { position: relative; @@ -155,24 +149,9 @@ padding-left: 15px; } -#messagetoolbar select.mboxlist option[value="0"] +#messagetoolbar select.mboxlist option[value=""] { padding-left: 2px; -} - -#searchmenu -{ - width: 160px; -} - -#searchmenu ul.toolbarmenu -{ - margin: 0; -} - -#searchmenu ul.toolbarmenu li -{ - margin: 1px 4px 1px; } #messagemenu li a.active:hover, @@ -213,31 +192,36 @@ background-position: 7px -71px; } -#markmessagemenu a.readlink +#markmessagemenu li a { - background: url(images/icons/dot.png) no-repeat 7px 2px; + background: url(images/messageicons.png) no-repeat; } -#markmessagemenu a.unreadlink +#markmessagemenu li a.readlink { - background: url(images/icons/unread.png) no-repeat 7px 2px; + background-position: 7px -51px; } -#markmessagemenu a.flaggedlink +#markmessagemenu li a.unreadlink { - background: url(images/icons/flagged.png) no-repeat 7px 2px; + background-position: 7px -119px; } -#markmessagemenu a.unflaggedlink +#markmessagemenu li a.flaggedlink { - background: url(images/icons/unflagged.png) no-repeat 7px 2px; + background-position: 7px -153px; +} + +#markmessagemenu li a.unflaggedlink +{ + background-position: 7px -136px; } #searchfilter { white-space: nowrap; position: absolute; - right: 190px; + right: 198px; vertical-align: middle; } @@ -246,55 +230,32 @@ font-size: 11px; } -td.formlinks a, -td.formlinks a:visited -{ - color: #999999; - font-size: 11px; - text-decoration: none; -} - -td.formlinks a, -td.formlinks a:visited -{ - color: #CC0000; -} - -#mainscreen -{ - position: absolute; - top: 85px; - right: 20px; - bottom: 16px; - left: 20px; -} - #mailleftcontainer { position: absolute; - top: 0px; - left: 0px; - bottom: 0px; + top: 0; + left: 0; + bottom: 0; width: 195px; } #mailrightcontainer { position: absolute; - top: 0px; + top: 0; left: 170px; - bottom: 0px; - right: 0px; + bottom: 0; + right: 0; min-width: 600px; } #mailrightcontent { position: absolute; - top: 0px; - left: 0px; - right: 0px; - bottom: 20px; + top: 0; + left: 0; + right: 0; + bottom: 0; } #messagepartcontainer @@ -310,13 +271,11 @@ { position: absolute; width: 100%; - top: 0px; - bottom: 0px; + top: 0; + bottom: 0; border: 1px solid #999999; background-color: #F9F9F9; - overflow: auto; - overflow-y: auto; - overflow-x: hidden; + overflow: hidden; } #mailpreviewframe @@ -378,13 +337,13 @@ #mailboxlist-container { position: absolute; - top: 0px; - left: 0px; + top: 0; + left: 0; width: 100%; - bottom: 20px; + bottom: 0; border: 1px solid #999; background-color: #F9F9F9; - overflow: auto; + overflow: hidden; } #mailboxlist @@ -407,6 +366,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 @@ -503,8 +467,8 @@ #mailboxlist ul { list-style: none; padding: 0; - margin:0; - border-top: 1px solid #EBEBEB; + margin: 0; + border-top: 1px solid #EBEBEB; padding-left: 15px; background-position: 25px 1px; background-color: #FFF; @@ -512,64 +476,47 @@ font-weight: normal; } -#listcontrols, -#mailboxcontrols +#listcontrols { - position: absolute; + position: relative; white-space: nowrap; - left: 0px; - bottom: 0px; - height: 15px; + left: 4px; + line-height: 22px; width: auto; min-width: 300px; } #listcontrols a, -#listcontrols span, -#mailboxcontrols a, -#mailboxcontrols span +#listcontrols span { display: block; float: left; font-size: 11px; } +#listcontrols input +{ + margin-top: 6px; +} + #listcontrols a.button, -#listcontrols a.buttonPas, -#mailboxcontrols a.button, -#mailboxcontrols a.buttonPas +#listcontrols a.buttonPas { display: block; float: left; width: 15px; height: 15px; padding: 0; + margin-top: 4px; margin-right: 2px; overflow: hidden; background: url(images/mail_footer.png) 0 0 no-repeat transparent; opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ } -#listcontrols a.buttonPas, -#mailboxcontrols a.buttonPas +#listcontrols a.buttonPas { opacity: 0.35; -} - -#mailboxcontrols a.expunge { - background-position: 0 0; -} - -#mailboxcontrols a.expungesel { - background-position: 0 -15px; -} - -#mailboxcontrols a.purge { - background-position: -15px 0; -} - -#mailboxcontrols a.purgesel { - background-position: -15px -15px; } #listcontrols a.all { @@ -638,10 +585,9 @@ #countcontrols { - height: 15px; position: absolute; - bottom: 0; - right: 0; + top: 4px; + right: 4px; min-width: 25em; white-space: nowrap; font-size: 11px; @@ -738,51 +684,134 @@ cursor: inherit; } -#messagelist tr td.icon, -#messagelist tr td.threads, -#messagelist tr td.attachment, -#messagelist tr td.flag -{ - width: 20px; - padding: 0px 1px 1px 1px; -} - -#messagelist tbody td span.branch, -#messagelist tbody td img +#messagelist td span, +#messagelist td img { vertical-align: middle; display: inline-block; } -#messagelist tbody td img.msgicon -{ - margin-right: 2px; -} - -#messagelist tr td div.collapsed, -#messagelist tr td div.expanded, -#messagelist tr td img.flagicon, -#messagelist tr td img.msgicon, #messagelist tbody tr td.flag, -#messagelist tbody tr td.subject a +#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; +} + +#messagelist tr td div.collapsed, +#messagelist tr td div.expanded, +#messagelist tr td.threads div.listmenu, +#messagelist tr td.attachment span.attachment, +#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.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; + width: 15px; + background: url(images/messageicons.png) center no-repeat; +} + +#messagelist tr td.attachment span.attachment +{ + background-position: 0 -170px; +} + +#messagelist tr td.attachment span.report +{ + background-position: 0 -255px; +} + +#messagelist tr td.flag span.flagged +{ + background-position: 0 -153px; +} + +#messagelist tr td.flag span.unflagged:hover +{ + background-position: 0 -136px; +} + +#messagelist tr td.subject span.msgicon, +#messagelist tr td.subject span.unreadchildren +{ + background-position: 0 -51px; + margin: 0 2px; +} + +#messagelist tr td.subject span.replied +{ + background-position: 0 -85px; +} + +#messagelist tr td.subject span.forwarded +{ + background-position: 0 -68px; +} + +#messagelist tr td.subject span.replied.forwarded +{ + background-position: 0 -102px; +} + +#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.status span.status, +#messagelist tr td.status span.unread, +#messagelist tr td.subject span.unread +{ + background-position: 0 -119px; +} + #messagelist tr td div.collapsed { - background: url(images/messageactions.png) 1px -91px no-repeat; + background-position: 0 -221px; + cursor: pointer; } #messagelist tr td div.expanded { - background: url(images/messageactions.png) 1px -109px no-repeat; + background-position: 0 -204px; + cursor: pointer; } -#messagelist tbody tr td.flag img:hover, -#messagelist thead tr td.flag img +#messagelist tr td.threads div.listmenu { - background: url(images/icons/unflagged.png) center no-repeat; + background-position: 0 -238px; + cursor: pointer; } #messagelist tbody tr td.subject @@ -790,10 +819,26 @@ width: 99%; } +#messagelist tbody tr td.subject a +{ + cursor: default; + display: inline-block; + vertical-align: middle; +} + /* thread parent message with unread children */ #messagelist tbody tr.unroot td.subject a { text-decoration: underline; +} + +#messagelist tr td.attachment, +#messagelist tr td.threads, +#messagelist tr td.status, +#messagelist tr td.flag +{ + width: 17px; + padding: 0 0 0 2px; } #messagelist tr td.size @@ -870,6 +915,30 @@ color: #CCCCCC; } +#listmenu +{ + padding: 6px; +} + +#listmenu legend +{ + color: #999999; +} + +#listmenu fieldset +{ + border: 1px solid #999999; + margin: 0 5px; + float: left; +} + +#listmenu div +{ + padding: 8px 0 3px 0; + text-align: center; + clear: both; +} + /***** tree indicators *****/ td span.branch div @@ -901,31 +970,15 @@ } -.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 */ #messageframe { position: absolute; - top: 0px; + top: 0; left: 180px; - right: 0px; - bottom: 20px; + right: 0; + bottom: 0; border: 1px solid #999; background-color: #FFF; overflow: auto; @@ -934,7 +987,7 @@ div.messageheaderbox { - margin: 6px 8px 0px 8px; + margin: -14px 8px 0px 8px; border: 1px solid #ccc; } @@ -942,20 +995,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 @@ -964,49 +1011,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 @@ -1144,54 +1191,108 @@ border: 0; } +#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; +} + +div.hide-headers +{ + background: url(images/icons/up_small.gif) no-repeat center; +} + +#headers-source +{ + margin: 0 0 2px 0; + padding: 0.5em; + height: 145px; + background: white; + overflow: auto; + font-size: 11px; + border: 1px solid #999999; + display: none; + text-align: left; + color: #333; +} + + /** message compose styles */ - -#compose-toolbar -{ - white-space: nowrap; -} - -#priority-selector, -#receipt-selector -{ - padding-left: 30px; - white-space: nowrap; -} #compose-container { position: absolute; - top: 90px; - left: 205px; - right: 25px; - bottom: 30px; - margin: 0px; -} - -#spellcheck-control -{ - text-align: right; - padding-top: 3px; -} - -#editor-select -{ - float: left; + top: 0; + left: 185px; + right: 0; + bottom: 0; + margin: 0; } #compose-div { position: absolute; - top: 130px; - bottom: 30px; + top: 85px; + bottom: 0; + margin: 0; width: 100%; - vertical-align: top; - padding-top: 2px; +} + +#compose-div .boxfooter +{ + height: 22px; + background: none; + border-top: 0; +} + +#compose-div .boxlistcontent +{ + bottom: 23px; +} + +#compose-body +{ + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: 0; + font-size: 9pt; + font-family: monospace; + border: 1px solid #999; + resize: none; } #compose-headers { width: 100%; +} + +#compose-headers td.editfield +{ + padding-right: 8px; + width: 95%; } #compose-headers td.top @@ -1203,54 +1304,78 @@ #compose-subject td.title { width: 80px !important; - color: #666666; font-size: 11px; font-weight: bold; padding-right: 10px; white-space: nowrap; + color: #666; } -#compose-body, #compose-headers td textarea, #compose-headers td input { + resize: none; width: 100%; + border: 1px solid #999; } #compose-headers td textarea { - height: 38px; + height: 32px; +} + +input.from_address +{ + width: 80% !important; } #compose-cc, #compose-bcc, -#compose-replyto +#compose-replyto, +#compose-followupto { display: none; } -#compose-body +#compose-editorfooter { - min-height: 100px; - height: 100%; - font-size: 9pt; - font-family: monospace; + position: absolute; + right: 0; + bottom: 0; + text-align: right; +} + +#compose-editorfooter label +{ + font-size: 11px; + font-weight: bold; + color: #666; +} + +#compose-buttons +{ + position: absolute; + left: 0; + bottom: 0; + width: auto; } #compose-attachments { position: absolute; - top: 100px; - left: 20px; + top: 0; + left: 0; + bottom: 0; width: 175px; + border: 1px solid #999; + background-color: #F9F9F9; } #compose-attachments ul { margin: 0px; padding: 0px; - border: 1px solid #CCCCCC; - background-color: #F9F9F9; + background-color: #FFF; list-style-image: none; list-style-type: none; } @@ -1265,22 +1390,14 @@ border-bottom: 1px solid #EBEBEB; white-space: nowrap; overflow: hidden; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; } #compose-attachments ul li img { padding-right: 2px; vertical-align: middle; -} - -#attachment-title -{ - color: #666666; - font-weight: bold; - font-size: 11px; - background: url(images/icons/attachment.png) top left no-repeat; - padding: 0px 0px 3px 18px; - margin-left: 3px; } #attachment-form @@ -1298,62 +1415,18 @@ margin-top: 4px; } -td.show-headers +#quota { - background: url(images/icons/down_small.gif) no-repeat center; + position: absolute; + top: 3px; + right: 8px; + width: 100px; } -td.hide-headers +#quotaimg { - background: url(images/icons/up_small.gif) no-repeat center; -} - -#all-headers -{ - height: 150px; - display: none; -} - -#headers-source -{ - margin: 0 5px; - padding: 0.5em; - height: 145px; - background: white; - overflow: auto; - font-size: 11px; - white-space: nowrap; - border: 1px solid #999999; - display: none; - text-align: left; - color: #333; -} - -font.bold -{ - font-weight: bold; -} - -#listmenu -{ - padding: 6px; -} - -#listmenu legend -{ - color: #999999; -} - -#listmenu fieldset -{ - border: 1px solid #999999; - margin: 0 5px; - float: left; -} - -#listmenu div -{ - padding: 8px 0 3px 0; - text-align: center; - clear: both; + position: absolute; + top: 3px; + right: 6px; + z-index: 101; } -- Gitblit v1.9.1