[Svn] r4880 - in trunk/roundcubemail: . skins/default skins/default/templates

trac at roundcube.net trac at roundcube.net
Mon Jun 27 09:30:33 CEST 2011


Author: alec
Date: 2011-06-27 02:30:33 -0500 (Mon, 27 Jun 2011)
New Revision: 4880

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/skins/default/addressbook.css
   trunk/roundcubemail/skins/default/ie6hacks.css
   trunk/roundcubemail/skins/default/iehacks.css
   trunk/roundcubemail/skins/default/templates/addressbook.html
Log:
- Added vertical splitter for books/groups list in addressbook (#1487923)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2011-06-27 07:09:15 UTC (rev 4879)
+++ trunk/roundcubemail/CHANGELOG	2011-06-27 07:30:33 UTC (rev 4880)
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Added vertical splitter for books/groups list in addressbook (#1487923)
 - Improved namespace roots handling in folder manager
 - Added searching in all addressbook sources
 - Added addressbook source selection in contacts import

Modified: trunk/roundcubemail/skins/default/addressbook.css
===================================================================
--- trunk/roundcubemail/skins/default/addressbook.css	2011-06-27 07:09:15 UTC (rev 4879)
+++ trunk/roundcubemail/skins/default/addressbook.css	2011-06-27 07:30:33 UTC (rev 4880)
@@ -89,18 +89,18 @@
 #addressscreen
 {
   position: absolute;
-  top: 85px;
-  right: 20px;
-  bottom: 20px;
-  left: 225px;
+  top: 0;
+  right: 0;
+  bottom: 0;
+  left: 205px;
 }
 
 #directorylistbox
 {
   position: absolute;
-  top: 85px;
-  bottom: 20px;
-  left: 20px;
+  top: 0;
+  bottom: 0;
+  left: 0;
   width: 195px;
   border: 1px solid #999999;
   background-color: #F9F9F9;

Modified: trunk/roundcubemail/skins/default/ie6hacks.css
===================================================================
--- trunk/roundcubemail/skins/default/ie6hacks.css	2011-06-27 07:09:15 UTC (rev 4879)
+++ trunk/roundcubemail/skins/default/ie6hacks.css	2011-06-27 07:30:33 UTC (rev 4880)
@@ -116,7 +116,7 @@
   height: expression((parseInt(this.parentNode.offsetHeight)-23-parseInt(this.style.top?this.style.top:21))+'px');
 }
 
-#directorylistbox, #folder-manager
+#folder-manager
 {
   height: expression((parseInt(document.documentElement.clientHeight)-105)+'px');
 }

Modified: trunk/roundcubemail/skins/default/iehacks.css
===================================================================
--- trunk/roundcubemail/skins/default/iehacks.css	2011-06-27 07:09:15 UTC (rev 4879)
+++ trunk/roundcubemail/skins/default/iehacks.css	2011-06-27 07:30:33 UTC (rev 4880)
@@ -33,9 +33,7 @@
   width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
 }
 
-#mainscreen,
-#directorylistbox,
-#addressscreen
+#mainscreen
 {
   height: expression((parseInt(document.documentElement.clientHeight)-105)+'px');
 }
@@ -94,7 +92,9 @@
 #identity-details,
 #contacts-box,
 #prefs-box,
-#folder-box
+#folder-box,
+#directorylistbox,
+#addressscreen
 {
   height: expression(parseInt(this.parentNode.offsetHeight)+'px');
 }

Modified: trunk/roundcubemail/skins/default/templates/addressbook.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/addressbook.html	2011-06-27 07:09:15 UTC (rev 4879)
+++ trunk/roundcubemail/skins/default/templates/addressbook.html	2011-06-27 07:30:33 UTC (rev 4880)
@@ -9,6 +9,9 @@
 #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;
 	<roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255).')+\\'px\\');') : ''" />
+#directorylistbox { width: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd-5 : 195" />px; }
+#addressscreen { left: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205" />px;
+	<roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205).')+\\'px\\');') : ''" />
 }
 </style>
 
@@ -45,6 +48,8 @@
   </ul>
 </div>
 
+<div id="mainscreen">
+
 <div id="directorylistbox">
 <div id="directorylist-title" class="boxtitle"><roundcube:label name="groups" /></div>
 <div class="boxlistcontent">
@@ -86,6 +91,9 @@
 <script type="text/javascript">
   var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v', relative: true, start: 250});
   rcmail.add_onload('addrviewsplit.init()');
+
+  var addrviewsplitd = new rcube_splitter({id:'addressviewsplitterd', p1: 'directorylistbox', p2: 'addressscreen', orientation: 'v', relative: true, start: 200});
+  rcmail.add_onload('addrviewsplitd.init()');
 </script>
 
 <div id="contacts-box">
@@ -93,6 +101,7 @@
 </div>
 
 </div>
+</div>
 
 </body>
 </html>

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list