thomascube
2009-09-04 4b1647fcdc6e6442252e0866ceea45c3abd5de33
skins/default/iehacks.css
@@ -1,4 +1,4 @@
/* CSS hacks for IE versions <= 7 */
/* CSS hacks for IE versions <= 8 */
input, textarea
{
@@ -6,6 +6,11 @@
  border-width: expression(this.type=='checkbox' || this.type=='radio' ? '0' : '1px');
  border-color: expression(this.type=='checkbox' || this.type=='radio' ? '' : '#666666');
  background-color: expression(this.type=='checkbox' || this.type=='radio' ? 'transparent' : '#ffffff');
}
.pagenav a.buttonPas
{
  filter: alpha(opacity=35);
}
#message
@@ -20,22 +25,12 @@
{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
}
#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
@@ -50,13 +45,37 @@
#messagetoolbar
{
  width: expression((parseInt(document.documentElement.clientWidth)-400)+'px');
  width: expression((parseInt(document.documentElement.clientWidth)-215)+'px');
  z-index: 240;
}
#mainscreen
#messagetoolbar select.mboxlist
{
  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');
}
#messagetoolbar select.mboxlist
{
  margin: 0 8px;
  top: 8px;
}
#mainscreen
{
  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
  height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');
  height: expression((parseInt(document.documentElement.clientHeight)-101)+'px');
}
#directorylist
@@ -64,7 +83,13 @@
  height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');  
}
#addresslist
#addresslist,
#sectionslist
{
  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
}
#mailleftcontainer
{
  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
}
@@ -73,6 +98,11 @@
{
  width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px');
  height: expression(parseInt(this.parentNode.offsetHeight)+'px');
}
#mailrightcontent
{
  width: 100%;
}
#messagepartcontainer
@@ -86,9 +116,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
@@ -98,24 +128,25 @@
#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;
}
#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 
@@ -134,6 +165,11 @@
  height: expression(Math.min(16, parseInt(document.documentElement.clientHeight))+'px');
}
#countcontrols
{
  width: 24em;
}
body.iframe 
{
  width: expression((parseInt(document.documentElement.clientWidth))+'px');
@@ -141,7 +177,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');
}
@@ -152,9 +188,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');
  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');
}
@@ -168,7 +217,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');
@@ -194,4 +244,10 @@
ul.toolbarmenu li a
{
  min-height: auto;
}
}
#console
{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}