From 0e7b66357de62abad98dbd8b1c06ac5de3d4575c Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 18 May 2010 03:39:31 -0400 Subject: [PATCH] - Added threads tree icons - css/js fixes and improvements in (messages) list code --- skins/default/iehacks.css | 179 ++++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 134 insertions(+), 45 deletions(-) diff --git a/skins/default/iehacks.css b/skins/default/iehacks.css index b93d3dc..0586268 100644 --- a/skins/default/iehacks.css +++ b/skins/default/iehacks.css @@ -1,4 +1,4 @@ -/* CSS hacks for IE versions <= 7 */ +/* CSS hacks for IE versions <= 8 */ input, textarea { @@ -8,32 +8,30 @@ background-color: expression(this.type=='checkbox' || this.type=='radio' ? 'transparent' : '#ffffff'); } +#login-form form +{ + margin-top: 0; +} + +.pagenav a.buttonPas +{ + filter: alpha(opacity=35); +} + #message { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; filter: alpha(opacity=85); } -#markmessagemenu, -#searchmenu, -#messagemenu +.popupmenu { - filter:alpha(opacity=90); + background-color: #ffffff; } #tabsbar { width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); -} - -#userprefs-box -{ - height: expression((parseInt(document.documentElement.clientHeight)-155)+'px'); - width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); -} - -.userprefs-block -{ - width: expression(Math.min(520, parseInt(document.documentElement.clientWidth))+'px'); } #folder-manager @@ -48,21 +46,63 @@ #messagetoolbar { - width: expression((parseInt(document.documentElement.clientWidth)-400)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-215)+'px'); + z-index: 240; } -#mainscreen +#messagetoolbar select.mboxlist +{ + margin: 0 8px; + top: 8px; +} + +#abooktoolbar a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url('images/abook_toolbar.gif'); +} + +#messagetoolbar a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url('images/mail_toolbar.gif'); +} + +#listcontrols a.buttonPas, +#mailboxcontrols a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url('images/mail_footer.png'); +} + +#quicksearchbar +{ + z-index: 250; +} + +#mainscreen { width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-101)+'px'); +} + +#directorylistbox +{ height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); } -#directorylist +#directorylistwrap { - height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); + height: expression((parseInt(document.getElementById('directorylistbox').offsetHeight)-42)+'px'); } -#addresslist +#addresslist, +#sectionslist +{ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#mailleftcontainer { height: expression(parseInt(this.parentNode.offsetHeight)+'px'); } @@ -71,6 +111,11 @@ { width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px'); height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#mailrightcontent +{ + width: 100%; } #messagepartcontainer @@ -84,9 +129,9 @@ height: expression(parseInt(this.parentNode.offsetHeight)+'px'); } -#mailpreviewframe +#mailrightcontent { - height: expression((parseInt(this.parentNode.offsetHeight)-205)+'px'); + height: expression((parseInt(this.parentNode.offsetHeight)-20)+'px'); } #partheader @@ -96,24 +141,36 @@ #mailboxlist-container { - height: expression(parseInt(this.parentNode.offsetHeight)+'px'); + height: expression((parseInt(this.parentNode.offsetHeight)-20)+'px'); } -#mailfooter -{ - width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); -} - -#messagelist, #subscription-table { width: auto; } +#messagelist +{ + width: inherit; + *width: auto; /* IE6/7 conditional hack */ + border-collapse: collapse; +} + +#messagelist thead tr td, +#messagelist tbody tr td +{ + height: 18px; +} + +#messagelist tbody tr.unroot td.subject +{ + text-decoration: underline; +} + #messageframe { - width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px'); - height: expression((parseInt(this.parentNode.offsetHeight))+'px'); + width: expression((parseInt(this.parentNode.offsetWidth)-180)+'px'); + height: expression((parseInt(this.parentNode.offsetHeight)-20)+'px'); } #messagecanvas @@ -121,15 +178,10 @@ width: expression((parseInt(this.parentNode.offsetWidth)-20)+'px'); } -#printmessageframe +#countcontrols { - width: expression((parseInt(document.documentElement.clientWidth)-220)+'px'); - height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); -} - -#attachment-list -{ - height: expression(Math.min(16, parseInt(document.documentElement.clientHeight))+'px'); + width: 24em; + padding-right: 10px; } body.iframe @@ -139,7 +191,7 @@ #compose-container { - width: expression((parseInt(document.documentElement.clientWidth)-210)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-120)+'px'); } @@ -150,9 +202,22 @@ width: 99%; } +div.message-part pre, +div.message-htmlpart pre, +div.message-part div.pre +{ + word-wrap: break-word; +} + #addressscreen { - width: expression((parseInt(document.documentElement.clientWidth)-220)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-245)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); +} + +#prefsscreen +{ + width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); } @@ -166,7 +231,8 @@ width: expression(document.getElementById('addresslist').clientWidth); } -#contacts-box +#contacts-box, +#prefs-box { height: expression(parseInt(this.parentNode.offsetHeight)+'px'); width: expression((parseInt(this.parentNode.offsetWidth)-555)+'px'); @@ -180,7 +246,13 @@ #rcmdraglayer { - filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70); + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; + filter: alpha(opacity=70); +} + +ul.toolbarmenu +{ + margin: 0 0 -4px 0; } ul.toolbarmenu li @@ -191,4 +263,21 @@ ul.toolbarmenu li a { min-height: auto; -} \ No newline at end of file +} + +#console +{ + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; + filter: alpha(opacity=80); +} + +table.records-table thead tr td +{ + height: 19px; +} + +#listmenu fieldset +{ + margin: 0 4px; + padding: 0.8em; +} -- Gitblit v1.9.1