summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-02-14 20:00:44 +0000
committeralecpl <alec@alec.pl>2011-02-14 20:00:44 +0000
commitfc2d3de7691a9b1d083eed435c2c327c2b8edbaa (patch)
tree226276d658dde874f8ac43413792ee52ef5eb127
parenta1bbc2cb163fe35f6b379b4baf2858d49695de11 (diff)
- Better fix for #directorylistbox in IE7 + some IE css improvements
-rw-r--r--skins/default/iehacks.css26
-rw-r--r--skins/default/templates/addressbook.html1
2 files changed, 11 insertions, 16 deletions
diff --git a/skins/default/iehacks.css b/skins/default/iehacks.css
index b1adccc3c..ae5660033 100644
--- a/skins/default/iehacks.css
+++ b/skins/default/iehacks.css
@@ -27,17 +27,25 @@ input, textarea
background-color: #ffffff;
}
-#tabsbar
+#tabsbar,
+#partheader
{
width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
}
-#mainscreen
+#mainscreen,
+#directorylistbox,
+#addressscreen
{
- width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
height: expression((parseInt(document.documentElement.clientHeight)-105)+'px');
}
+#mainscreen,
+#messagepartcontainer
+{
+ width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
+}
+
#messagetoolbar
{
width: expression((parseInt(document.documentElement.clientWidth)-215)+'px');
@@ -98,7 +106,6 @@ input, textarea
#messagepartcontainer
{
- width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
height: expression((parseInt(document.documentElement.clientHeight)-90)+'px');
}
@@ -112,11 +119,6 @@ input, textarea
height: expression((parseInt(this.parentNode.offsetHeight)-1-parseInt(document.getElementById('compose-headers').offsetHeight))+'px');
}
-#partheader
-{
- width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
-}
-
#subscription-table
{
width: auto;
@@ -167,7 +169,6 @@ div.message-part div.pre
#addressscreen
{
width: expression((parseInt(document.documentElement.clientWidth)-245)+'px');
- height: expression((parseInt(document.documentElement.clientHeight)-105)+'px');
}
#contacts-table
@@ -237,11 +238,6 @@ table.records-table thead tr td
margin-top: 2px;
}
-#directorylistbox div
-{
- min-height: 0;
-}
-
.contactfieldgroup legend
{
padding: 0 0 0.5em 0;
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index d486f2fe7..668b309a7 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -40,7 +40,6 @@
<roundcube:object name="directorylist" id="directorylist" />
<roundcube:object name="groupslist" id="contactgroupslist" />
</div>
-<!--[if lte IE 7]><div></div><![endif]-->
<div class="boxfooter">
<roundcube:button command="group-create" type="link" title="newcontactgroup" class="buttonPas addgroup" classAct="button addgroup" content=" " />
<roundcube:button name="groupmenulink" id="groupmenulink" type="link" title="groupactions" class="button groupactions" onclick="rcmail_ui.show_popup('groupmenu');return false" content=" " />