From 4a509a5b7c6b4b88e1db5f55dc52ca440dd96cab Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 10 Oct 2008 04:53:52 -0400
Subject: [PATCH] - Fix 'Empty' link visibility for some languages e.g. Slovak (#1485489) - Fix messages count bar overlapping (#1485270)

---
 CHANGELOG                         |    5 ++
 skins/default/templates/mail.html |   25 ++++++++----
 skins/default/mail.css            |   35 +++++++++--------
 3 files changed, 40 insertions(+), 25 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 58a5088..5a256ec 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,11 @@
 CHANGELOG RoundCube Webmail
 ---------------------------
 
+2008/10/10 (alec)
+----------
+- Fix 'Empty' link visibility for some languages e.g. Slovak (#1485489)
+- Fix messages count bar overlapping (#1485270)
+
 2008/10/09 (alec)
 ----------
 - Fix iil_C_Sort() to support very long and/or divided responses (#1485283)
diff --git a/skins/default/mail.css b/skins/default/mail.css
index d3cdaa1..07464e6 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -85,16 +85,6 @@
   background-color: #ddd;
 }
 
-#listcontrols
-{
-  position: absolute;
-  left: 200px;
-  bottom: 20px;
-  height: 16px;
-  width: 500px;
-  font-size: 11px;
-}
-
 #listcontrols a,
 #listcontrols a:active,
 #listcontrols a:visited,
@@ -411,14 +401,28 @@
 }
 
 
-#mailboxcontrols
+#mailfooter
 {
   position: absolute;
   left: 20px;
-  width: 185px;
-  bottom: 20px;
-  height: 16px;
-  overflow: hidden;
+  right: 20px;
+  bottom: 18px;
+  height: 20px;
+  /* css hack for IE */
+  width: expression((parseInt(document.documentElement.clientWidth)-40)+'px');
+}
+
+#mailfooter table tr td
+{
+  white-space: nowrap;
+  vertical-align: bottom;
+}
+
+#mailboxcontrols,
+#listcontrols,
+#countcontrols
+{
+  white-space: nowrap;
   font-size: 11px;
 }
 
@@ -622,7 +626,6 @@
 
 
 /** message view styles */
-
 
 #messageframe
 {
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 71bad46..6a63479 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -75,29 +75,36 @@
 
 </div>
 
-<div id="mailboxcontrols">
+<div id="mailfooter">
+<table cellpadding="1" cellspacing="0">
+<tr>
+<td width="99%">
+<span id="mailboxcontrols">
 <roundcube:label name="folder" />:&nbsp;
 <roundcube:button command="expunge" label="compact" classAct="active" />&nbsp;
 <roundcube:button command="purge" label="empty" classAct="active" />&nbsp;
-</div>
-
-
-<div id="listcontrols">
+</span>
+<span id="listcontrols">
 <roundcube:label name="select" />:&nbsp;
 <roundcube:button command="select-all" label="all" classAct="active" />&nbsp;
 <roundcube:button command="select-all" prop="unread" label="unread" classAct="active" />&nbsp;
-<roundcube:button command="select-none" label="none" classAct="active" /> &nbsp;&nbsp;&nbsp;
+<roundcube:button command="select-none" label="none" classAct="active" /> &nbsp;
 <roundcube:if condition="env:quota" />
 <roundcube:label name="quota" />: <roundcube:object name="quotaDisplay" display="image" width="100" id="quotadisplay" />
 <roundcube:endif />
-</div>
-
-<div id="messagecountbar">
+</span>
+</td>
+<td width="1%">
+<span id="countcontrols">
 <roundcube:button command="firstpage" imageSel="/images/buttons/first_sel.png" imageAct="/images/buttons/first_act.png" imagePas="/images/buttons/first_pas.png" width="11" height="11" title="firstmessages" />
 <roundcube:button command="previouspage" imageSel="/images/buttons/previous_sel.png" imageAct="/images/buttons/previous_act.png" imagePas="/images/buttons/previous_pas.png" width="11" height="11" title="previousmessages" />
 &nbsp;<roundcube:object name="messageCountDisplay" />&nbsp;
 <roundcube:button command="nextpage" imageSel="/images/buttons/next_sel.png" imageAct="/images/buttons/next_act.png" imagePas="/images/buttons/next_pas.png" width="11" height="11" title="nextmessages" />
 <roundcube:button command="lastpage" imageSel="/images/buttons/last_sel.png" imageAct="/images/buttons/last_act.png" imagePas="/images/buttons/last_pas.png" width="11" height="11" title="lastmessages" />
+</span>
+</td>
+</tr>
+</table>
 </div>
 
 <div id="messagetoolbar">

--
Gitblit v1.9.1