From fc73746eb48c4b3bfad9ee04f1fb229788062ffc Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 10 Aug 2007 09:51:53 -0400 Subject: [PATCH] Fix compose function from address book + mozilla compatibility --- skins/default/mail.css | 150 ++++++++++++++++++-------------------------------- 1 files changed, 54 insertions(+), 96 deletions(-) diff --git a/skins/default/mail.css b/skins/default/mail.css index 5bf05cb..c37a7b9 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -83,7 +83,7 @@ { position: absolute; bottom: 16px; - right: 40px; + right: 30px; width: 300px; height: 20px; text-align: right; @@ -110,28 +110,28 @@ 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: 300px; + top: 305px; left: 200px; - right: 40px; + right: 30px; bottom: 40px; border: 1px solid #999999; background-color: #F9F9F9; /* css hack for IE */ - width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); - height: expression((parseInt(document.documentElement.clientHeight)-340)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-135-document.getElementById('mailcontframe').offsetHeight)+'px'); } #messagecontframe @@ -144,14 +144,23 @@ /*\*/ html>body*#messagecontframe { + [height: 40%; height: 40%; + ]height: 100%; } /**/ #messagepartframe { + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom: 0px; + width: auto; + height: auto; border: 1px solid #999999; - background-color: #F9F9F9; + background-color: #F9F9F9; } @@ -175,20 +184,6 @@ { color: #666666; 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; } @@ -343,7 +338,7 @@ { position: absolute; left: 20px; - width: 160px; + width: 170px; bottom: 20px; height: 16px; overflow: hidden; @@ -400,8 +395,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; @@ -421,6 +415,12 @@ text-overflow: ellipsis; border-bottom: 1px solid #EBEBEB; cursor: pointer; +} + +#messagelist tbody tr td a +{ + color: #000; + text-decoration: none; } #messagelist col @@ -458,7 +458,7 @@ #messagelist tr td.date { - width: 110px; + width: 118px; vertical-align: middle; } @@ -482,29 +482,27 @@ #messagelist tr.selected td { - font-weight: bold; color: #FFFFFF; background-color: #CC3333; } #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; } @@ -515,65 +513,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 { @@ -595,9 +534,9 @@ #messageframe { position: absolute; - top: 95px; + top: 85px; left: 200px; - right: 40px; + right: 30px; bottom: 40px; border: 1px solid #cccccc; background-color: #FFFFFF; @@ -619,7 +558,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 @@ -648,16 +594,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(this.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; @@ -676,6 +632,7 @@ #messagebody { + position:relative; min-height: 300px; padding-top: 10px; padding-bottom: 10px; @@ -698,6 +655,7 @@ { margin: 0px; padding: 0px; + white-space: -moz-pre-wrap !important; white-space: pre; font-family: monospace; } -- Gitblit v1.9.1