From 800c48079dc1abf58b7574dc98237ccd36f34468 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 13 May 2008 15:04:05 -0400 Subject: [PATCH] - #1484524 --- skins/default/mail.css | 355 ++++++++++++++++++++++++++++------------------------------ 1 files changed, 173 insertions(+), 182 deletions(-) diff --git a/skins/default/mail.css b/skins/default/mail.css index 95e4046..954e304 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -6,7 +6,7 @@ position: absolute; top: 45px; left: 200px; - right: 250px; + right: 200px; height: 35px; white-space: nowrap; /* border: 1px solid #cccccc; */ @@ -41,6 +41,49 @@ padding-left: 2px; } +#markmessagemenu +{ + position: absolute; + top: 32px; + left: 90px; + width: auto; + visibility: hidden; + background-color: #F9F9F9; + border: 1px solid #CCC; + padding: 1px; + opacity: 0.9; + z-index: 240; +} + +ul.toolbarmenu +{ + margin: 0; + padding: 0; + list-style: none; +} + +ul.toolbarmenu li +{ + font-size: 11px; + white-space: nowrap; + min-width: 130px; + width: auto !important; + width: 130px; +} + +ul.toolbarmenu li a +{ + display: block; + color: #a0a0a0; + padding: 2px 8px 3px 12px; + text-decoration: none; +} + +ul.toolbarmenu li a.active:hover +{ + background-color: #ddd; +} + #listcontrols { position: absolute; @@ -56,7 +99,9 @@ #listcontrols a:visited, #mailboxcontrols a, #mailboxcontrols a:active, -#mailboxcontrols a:visited +#mailboxcontrols a:visited, +td.formlinks a, +td.formlinks a:visited { color: #999999; font-size: 11px; @@ -68,7 +113,12 @@ #listcontrols a.active:visited, #mailboxcontrols a.active, #mailboxcontrols a.active:active, -#mailboxcontrols a.active:visited +#mailboxcontrols a.active:visited, +ul.toolbarmenu li a.active, +ul.toolbarmenu li a.active:active, +ul.toolbarmenu li a.active:visited, +td.formlinks a, +td.formlinks a:visited { color: #CC0000; } @@ -83,7 +133,7 @@ { position: absolute; bottom: 16px; - right: 40px; + right: 30px; width: 300px; height: 20px; text-align: right; @@ -103,6 +153,9 @@ left: 20px; right: 20px; bottom: 20px; + /* css hack for IE */ + width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-100)+'px'); } #mailcontframe @@ -110,21 +163,48 @@ position: absolute; top: 85px; left: 200px; - right: 40px; + right: 30px; bottom: 40px; border: 1px solid #999999; background-color: #F9F9F9; overflow: auto; /* css hack for IE */ - width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); } +#mailpreviewframe +{ + position: absolute; + top: 305px; + left: 200px; + right: 30px; + bottom: 40px; + border: 1px solid #999999; + background-color: #F9F9F9; + /* css hack for IE */ + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-135-document.getElementById('mailcontframe').offsetHeight)+'px'); +} + +#messagecontframe +{ + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom: 0px; + /* css hack for IE */ + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-135-document.getElementById('mailcontframe').offsetHeight)+'px'); +} #messagepartframe { + width: 100%; + height: 100%; border: 1px solid #999999; - background-color: #F9F9F9; + background-color: #F9F9F9; } @@ -150,35 +230,18 @@ font-weight: bold; } -#rcmdraglayer -{ - width: 300px; - border: 1px solid #999999; - background-color: #F9F9F9; - padding-left: 8px; - padding-right: 8px; - padding-top: 3px; - padding-bottom: 3px; - font-size: 11px; - opacity: 0.6; - -moz-opacity: 0.6; -} - /** mailbox list styles */ #mailboxlist-header { - position: absolute; - top: 85px; - left: 20px; - width: 140px !important; -/* width: 162px; */ - height: 13px; - padding: 3px 10px 2px 10px; + display: block; + height: 12px; + margin: 0; + padding: 3px 10px 4px 10px; background-color: #EBEBEB; background-image: url(images/listheader_aqua.gif); - border: 1px solid #CCCCCC; + border-bottom: 1px solid #999; color: #333333; font-size: 11px; font-weight: bold; @@ -187,15 +250,15 @@ #mailboxlist-container { position: absolute; - top: 105px; + top: 85px; left: 20px; - width: 160px; + width: 170px; bottom: 40px; - border: 1px solid #CCCCCC; + border: 1px solid #999; background-color: #F9F9F9; overflow: auto; /* css hack for IE */ - height: expression((parseInt(document.documentElement.clientHeight)-145)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); } #mailboxlist @@ -212,12 +275,10 @@ #mailboxlist li { - /* height: 18px; */ font-size: 11px; background: url(images/icons/folder-closed.png) no-repeat; background-position: 10px 1px; border-bottom: 1px solid #EBEBEB; -/* IE 5.5 margin-left: -16px; */ } #mailboxlist li.inbox @@ -254,23 +315,19 @@ text-decoration: none; } -#mailboxlist li, #mailboxlist li.unread -{ - /* background-image: url(images/mailbox_list.gif); */ -} - #mailboxlist li.unread { font-weight: bold; } -#mailboxlist li.selected +#mailboxlist li.selected, +#mailboxlist li.droptarget li.selected { background-color: #929292; - border-bottom: 1px solid #898989; } -#mailboxlist li.selected a +#mailboxlist li.selected > a, +#mailboxlist li.droptarget li.selected a { color: #FFF; font-weight: bold; @@ -287,27 +344,10 @@ padding: 0; margin:0; border-top: 1px solid #EBEBEB; -} - -#mailboxlist ul li { padding-left: 15px; background-position: 25px 1px; -} - -#mailboxlist li.selected li { background-color: #F9F9F9; -} - -#mailboxlist li.unread li { - font-weight: normal; -} - -#mailboxlist li.unread li.unread { - font-weight: bold; -} - -#mailboxlist li.selected li a{ - color: black; + color: blue; font-weight: normal; } @@ -316,7 +356,7 @@ { position: absolute; left: 20px; - width: 160px; + width: 170px; bottom: 20px; height: 16px; overflow: hidden; @@ -338,8 +378,12 @@ display: table; table-layout: fixed; /* css hack for IE */ - width: expression(document.getElementById('mailcontframe').clientWidth); + width: expression(parseInt(document.getElementById('mailcontframe').clientWidth)+'px'); } + +/* safari hack \*/ +html>body*#messagelist[id$="messagelist"]:not([class="none"]) { table-layout: auto; } +/**/ #messagelist thead tr td { @@ -373,8 +417,7 @@ background: url(images/sort_desc.gif) top right no-repeat; } -#messagelist thead tr td a, -#messagelist thead tr td a:hover +#messagelist thead tr td a { display: block; width: auto !important; @@ -385,8 +428,7 @@ #messagelist tbody tr td { - height: 16px !important; - height: 20px; + height: 16px; padding: 2px; padding-right: 4px; font-size: 11px; @@ -395,6 +437,13 @@ text-overflow: ellipsis; border-bottom: 1px solid #EBEBEB; cursor: pointer; +} + +#messagelist tbody tr td a +{ + color: #000; + text-decoration: none; + white-space: nowrap; } #messagelist col @@ -418,7 +467,7 @@ #messagelist tr td.size { - width: 60px; + width: 70px; text-align: right; vertical-align: middle; } @@ -432,7 +481,7 @@ #messagelist tr td.date { - width: 110px; + width: 118px; vertical-align: middle; } @@ -456,35 +505,27 @@ #messagelist tr.selected td { - font-weight: bold; color: #FFFFFF; background-color: #CC3333; } -#messagelist tr.focused td -{ - border-bottom: thin dotted; - border-top: thin dotted; -} - #messagelist tr.unfocused td { - font-weight: bold; color: #FFFFFF; background-color: #929292; } -#messagelist tr.selected td a.rcmContactAddress +#messagelist tr.selected td a { color: #FFFFFF; } -#messagelist tr.unfocused td a.rcmContactAddress +#messagelist tr.unfocused td a { color: #FFFFFF; } -#messagelist tr.deleted td a.rcmContactAddress +#messagelist tr.deleted td a { color: #CCCCCC; } @@ -495,65 +536,6 @@ color: #CCCCCC; } -#quicksearchbar -{ - position: absolute; - top: 60px; - right: 40px; - width: 182px; - height: 20px; - text-align: right; - background: url('images/searchfield.gif') top left no-repeat; -} - -#quicksearchbar a -{ - position: absolute; - top: 3px; - right: 4px; - text-decoration: none; -} - -#quicksearchbar img -{ - vertical-align: middle; -} - -#quicksearchbox -{ - position: absolute; - top: 2px; - left: 20px; - width: 140px; - font-size: 11px; - padding: 0px; - border: none; -} - - -/*\*/ -html>body*#quicksearchbar { background-image: none; } -html>body*#quicksearchbar a { top: 5px; } -html>body*#quicksearchbar #quicksearchbox { width: 180px; top:0px; right: 1px; left: auto; } -/**/ - - -#rcversion -{ - position: absolute; - top: 67px; - left: 20px; - width: 160px; - text-align: center; - - font-weight: normal; - font-size: x-small; - font-variant: small-caps; - - color: #999999; - /*border: 1px solid #308014; - background-color: #b4eeb4;*/ -} #quotadisplay { @@ -564,7 +546,8 @@ #quotadisplay img { vertical-align: middle; - padding-left: 4px; + margin-left: 4px; + border: 1px solid #666666; } @@ -576,15 +559,21 @@ position: absolute; top: 85px; left: 200px; - right: 40px; + right: 30px; bottom: 40px; - border: 1px solid #cccccc; - background-color: #FFFFFF; + border: 1px solid #999; + background-color: #FFF; overflow: auto; /* css hack for IE */ /* margin-bottom: 10px; */ - width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); +} + +div.messageheaderbox +{ + margin: 6px 8px 0px 8px; + border: 1px solid #ccc; } table.headers-table @@ -592,7 +581,14 @@ width: 100%; background-color: #EBEBEB; table-layout: fixed; +} +#messagebody table.headers-table +{ + width: auto; + margin: 6px 8px; + background-color: #F4F4F4; + border: 1px solid #ccc; } table.headers-table tr td @@ -621,16 +617,26 @@ { margin: 0px; padding: 0px 0px 0px 68px; - height: 18px; + min-height: 18px; list-style-image: none; list-style-type: none; - background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF;� - border-bottom: 1px solid #FFFFFF; + background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF; + /* css hack for IE */ + height: expression(Math.min(18, parseInt(document.documentElement.clientHeight))+'px'); +} + +#attachment-list:after +{ + content: "."; + display: block; + height: 0; + font-size: 0; + clear: both; + visibility: hidden; } #attachment-list li { -/* display: block; */ float: left; height: 18px; font-size: 11px; @@ -649,17 +655,22 @@ #messagebody { + position:relative; min-height: 300px; - padding-top: 10px; padding-bottom: 10px; background-color: #FFFFFF; } div.message-part { - padding: 8px; - padding-top: 10px; - overflow: hidden; + padding: 10px 8px; + border-top: 1px solid #ccc; +/* overflow: hidden; */ +} + +#messagebody div:first-child +{ + border-top: 0; } div.message-part a @@ -671,6 +682,7 @@ { margin: 0px; padding: 0px; + white-space: -moz-pre-wrap !important; white-space: pre; font-family: monospace; } @@ -722,18 +734,10 @@ /** message compose styles */ -#priority-selector -{ - position: absolute; - left: 280px; - top: 10px; -} - +#priority-selector, #receipt-selector { - position: absolute; - left: 450px; - top: 10px; + padding-left: 30px; } #compose-container @@ -746,7 +750,7 @@ padding: 0px; margin: 0px; /* css hack for IE */ - width: expression(document.documentElement.clientWidth-240); + width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-130)+'px'); } @@ -798,29 +802,17 @@ white-space: nowrap; } -#compose-headers td.add-button +#compose-body, +#compose-headers td textarea, +#compose-headers td input { - width: 40px !important; - text-align: right; - vertical-align: bottom; -} - -#compose-headers td.add-button a -{ - color: #666666; - font-size: 11px; - text-decoration: none; + width: 100%; + width: expression('99%'); } #compose-headers td textarea { - width: 100%; - height: 40px; -} - -#compose-headers td input -{ - width: 100%; + height: 38px; } #compose-cc, @@ -834,7 +826,6 @@ { margin-top: 5px; margin-bottom: 10px; - width: 99%; height: 90%; min-height: 280px; font-size: 9pt; -- Gitblit v1.9.1