summaryrefslogtreecommitdiff
path: root/skins/default/templates/addressbook.html
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-26 12:28:04 +0000
committerthomascube <thomas@roundcube.net>2009-05-26 12:28:04 +0000
commitb4f7c665bbe31d4ddbdca8c9f89eedb1d6187582 (patch)
treea4430ed9bc3318cfe0bf6ffa18a2cad94ddddae1 /skins/default/templates/addressbook.html
parent8234b4c6bc3c9cd9cb639039d3080131098dd966 (diff)
Tweak default skin with better icons (sprites) and move IE hacks to an external file included by conditional comments
Diffstat (limited to 'skins/default/templates/addressbook.html')
-rw-r--r--skins/default/templates/addressbook.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index 7e8edef87..2dc92e058 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -3,25 +3,24 @@
<head>
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
-<link rel="stylesheet" type="text/css" href="/addresses.css" />
<script type="text/javascript" src="/splitter.js"></script>
<style type="text/css">
<roundcube:if condition="count(env:address_sources) &lt;= 1" />
#abookcountbar { left: 20px;}
-#mainscreen { left:20px; /* IE hack */ width:expression((parseInt(document.documentElement.clientWidth)-40)+'px') }
+#addressscreen { left:20px; /* IE hack */ width:expression((parseInt(document.documentElement.clientWidth)-40)+'px') }
#addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; }
#contacts-box {
left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px;
/* IE hack */
- width:expression((parseInt(mainscreen.offsetWidth)-<roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />)+'px')
+ width:expression((parseInt(addressscreen.offsetWidth)-<roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />)+'px')
}
<roundcube:else />
#addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; }
#contacts-box {
left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px;
/* IE hack */
- width:expression((parseInt(mainscreen.offsetWidth)-<roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />)+'px')
+ width:expression((parseInt(addressscreen.offsetWidth)-<roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />)+'px')
}
<roundcube:endif />
</style>
@@ -53,7 +52,7 @@
</div>
<roundcube:endif />
-<div id="mainscreen">
+<div id="addressscreen">
<div id="addresslist">
<roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" />