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

trac at roundcube.net trac at roundcube.net
Mon Sep 28 17:59:43 CEST 2009


Author: alec
Date: 2009-09-28 10:59:43 -0500 (Mon, 28 Sep 2009)
New Revision: 2996

Added:
   trunk/roundcubemail/skins/default/images/mail_footer.png
Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/skins/default/iehacks.css
   trunk/roundcubemail/skins/default/mail.css
   trunk/roundcubemail/skins/default/templates/addressbook.html
   trunk/roundcubemail/skins/default/templates/mail.html
   trunk/roundcubemail/skins/default/templates/message.html
Log:
- Fix folder/messagelist controls alignment - icons used (#1486072)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2009-09-28 13:23:24 UTC (rev 2995)
+++ trunk/roundcubemail/CHANGELOG	2009-09-28 15:59:43 UTC (rev 2996)
@@ -1,6 +1,7 @@
 CHANGELOG RoundCube Webmail
 ===========================
 
+- Fix folder/messagelist controls alignment - icons used (#1486072)
 - Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178)
 - Fix cache status checking + improve cache operations performance (#1486104)
 - Prevent from setting INBOX as any of special folders (#1486114)

Modified: trunk/roundcubemail/skins/default/iehacks.css
===================================================================
--- trunk/roundcubemail/skins/default/iehacks.css	2009-09-28 13:23:24 UTC (rev 2995)
+++ trunk/roundcubemail/skins/default/iehacks.css	2009-09-28 15:59:43 UTC (rev 2996)
@@ -71,6 +71,13 @@
   background-image: url('images/mail_toolbar.gif');
 }
 
+#listcontrols a.buttonPas,
+#mailboxcontrols a.buttonPas
+{
+  filter: alpha(opacity=35);
+  background-image: url('images/mail_footer.png');
+}
+
 #messagetoolbar select.mboxlist
 {
   margin: 0 8px;
@@ -261,3 +268,8 @@
   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
   filter: alpha(opacity=80);
 }
+
+#countcontrols
+{
+  padding-right: 10px;
+}

Added: trunk/roundcubemail/skins/default/images/mail_footer.png
===================================================================
(Binary files differ)


Property changes on: trunk/roundcubemail/skins/default/images/mail_footer.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: trunk/roundcubemail/skins/default/mail.css
===================================================================
--- trunk/roundcubemail/skins/default/mail.css	2009-09-28 13:23:24 UTC (rev 2995)
+++ trunk/roundcubemail/skins/default/mail.css	2009-09-28 15:59:43 UTC (rev 2996)
@@ -312,12 +312,6 @@
   font-size: 11px;
 }
 
-#listcontrols a,
-#listcontrols a:active,
-#listcontrols a:visited,
-#mailboxcontrols a,
-#mailboxcontrols a:active,
-#mailboxcontrols a:visited,
 td.formlinks a,
 td.formlinks a:visited
 {
@@ -326,46 +320,12 @@
   text-decoration: none;
 }
 
-#listcontrols a.active,
-#listcontrols a.active:active,
-#listcontrols a.active:visited,
-#mailboxcontrols a.active,
-#mailboxcontrols a.active:active,
-#mailboxcontrols a.active:visited,
 td.formlinks a,
 td.formlinks a:visited
 {
   color: #CC0000;
 }
 
-#listcontrols a.active:hover,
-#mailboxcontrols a.active:hover
-{
-  text-decoration: underline;
-}
-
-#listcontrols
-{
-  padding-right: 2em;
-}
-
-#messagecountbar
-{
-  position: absolute;
-  bottom: 0px;
-  right: 0px;
-  width: 300px;
-  height: 16px;
-  text-align: right;
-  white-space: nowrap;
-}
-
-#messagecountbar span
-{
-  font-size: 11px;
-  color: #333333;
-}
-
 #mainscreen
 {
   position: absolute;
@@ -391,6 +351,7 @@
   left: 170px;
   bottom: 0px;
   right: 0px;
+  min-width: 600px;
 }
 
 #mailrightcontent
@@ -629,48 +590,111 @@
   font-weight: normal;
 }
 
-#mailfooter
+#listcontrols,
+#mailboxcontrols
 {
   position: absolute;
+  white-space: nowrap;
   left: 0px;
   bottom: 0px;
-  height: 16px;
-  width: 100%;
+  height: 15px;
+  width: auto;
+  min-width: 300px;
 }
 
-#mailfooter table tr td
+#listcontrols > a,
+#listcontrols > span,
+#mailboxcontrols > a,
+#mailboxcontrols > span
 {
-  white-space: nowrap;
-  vertical-align: bottom;
+  display: block;
+  float: left;
+  font-size: 11px;
 }
 
-#mailboxcontrols
+#listcontrols a.button,
+#listcontrols a.buttonPas,
+#mailboxcontrols a.button,
+#mailboxcontrols a.buttonPas
 {
-  position: absolute;
-  left: 0px;
-  bottom: 0px;
-  height: 16px;
-  width: auto;
-  font-size: 11px;
+  display: block;
+  float: left;
+  width: 15px;
+  height: 15px;
+  padding: 0;
+  margin-right: 2px;
+  overflow: hidden;
+  background: url('images/mail_footer.png') 0 0 no-repeat transparent;
+  opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
 }
 
-#listcontrols,
-#countcontrols,
-#quotabox
+#listcontrols a.buttonPas,
+#mailboxcontrols a.buttonPas
 {
-  white-space: nowrap;
-  font-size: 11px;
+  opacity: 0.35;
 }
 
+#mailboxcontrols a.expunge {
+  background-position: 0 0;
+}
+
+#mailboxcontrols a.expungesel {
+  background-position: 0 -15px;
+}
+
+#mailboxcontrols a.purge {
+  background-position: -15px 0;
+}
+
+#mailboxcontrols a.purgesel {
+  background-position: -15px -15px;
+}
+
+#listcontrols a.all {
+  background-position: -30px 0;
+}
+
+#listcontrols a.allsel {
+  background-position: -30px -15px;
+}
+
+#listcontrols a.unread {
+  background-position: -45px 0;
+}
+
+#listcontrols a.unreadsel {
+  background-position: -45px -15px;
+}
+
+#listcontrols a.invert {
+  background-position: -60px 0;
+}
+
+#listcontrols a.invertsel {
+  background-position: -60px -15px;
+}
+
+#listcontrols a.none {
+  background-position: -75px 0;
+}
+
+#listcontrols a.nonesel {
+  background-position: -75px -15px;
+}
+
 #countcontrols
 {
+  height: 15px;
+  position: absolute;
+  bottom: 0;
+  right: 0;
   min-width: 25em;
+  white-space: nowrap;
+  font-size: 11px;
 }
 
 #countcontrols a.button,
-#countcontrols a.buttonPas,
-#messagecountbar a.button,
-#messagecountbar a.buttonPas
+#countcontrols a.buttonPas
 {
   float: right;
 }
@@ -871,15 +895,8 @@
   color: #CCCCCC;
 }
 
-#quotadisplay
-{
-  color: #666666;
-  font-size: 11px;
-}
-
 #quotadisplay img
 {
-  vertical-align: middle;
   margin-left: 4px;
   border: 1px solid #999;
 }

Modified: trunk/roundcubemail/skins/default/templates/addressbook.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/addressbook.html	2009-09-28 13:23:24 UTC (rev 2995)
+++ trunk/roundcubemail/skins/default/templates/addressbook.html	2009-09-28 15:59:43 UTC (rev 2996)
@@ -72,7 +72,7 @@
 <div id="abookcountbar" class="pagenav">
   <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " />
   <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " />
-  <roundcube:object name="recordsCountDisplay" style="padding:0 1em; float:left" />
+  <roundcube:object name="recordsCountDisplay" style="padding:0 .5em; float:left" />
   <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " />
   <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " />
 </div>

Modified: trunk/roundcubemail/skins/default/templates/mail.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/mail.html	2009-09-28 13:23:24 UTC (rev 2995)
+++ trunk/roundcubemail/skins/default/templates/mail.html	2009-09-28 15:59:43 UTC (rev 2996)
@@ -36,9 +36,10 @@
 </script>
 
 <div id="mailboxcontrols">
-  <roundcube:label name="folder" />: 
-  <roundcube:button command="expunge" label="compact" classAct="active" /> 
-  <roundcube:button command="purge" label="empty" classAct="active" /> 
+  <span><roundcube:label name="folder" />: </span>
+  <roundcube:button command="expunge" type="link" title="compact" class="buttonPas expunge" classAct="button expunge" classSel="button expungesel" content=" " />
+  <roundcube:button command="purge" type="link" title="empty" class="buttonPas purge" classAct="button purge" classSel="button purgesel" content=" " />
+  <roundcube:container name="mailboxcontrols" id="mailboxcontrols" />
 </div>
 </div>
 
@@ -75,37 +76,30 @@
 <roundcube:endif />
 </div>
 
-<div id="mailfooter">
-<table cellpadding="1" cellspacing="0" width="100%"><tr>
-  <td>
-    <span id="listcontrols">
-      <roundcube:label name="select" />: 
-      <roundcube:button command="select-all" label="all" classAct="active" /> 
-      <roundcube:button command="select-all" prop="unread" label="unread" classAct="active" /> 
-      <roundcube:button command="select-all" prop="invert" label="invert" classAct="active" /> 
-      <roundcube:button command="select-none" label="none" classAct="active" />  
+<div id="listcontrols">
+      <span><roundcube:label name="select" />: </span>
+      <roundcube:button command="select-all" type="link" title="all" class="buttonPas all" classAct="button all" classSel="button allsel" content=" " />
+      <roundcube:button command="select-all" type="link" title="unread" class="buttonPas unread" classAct="button unread" classSel="button unreadsel" content=" "" />
+      <roundcube:button command="select-all" type="link" title="invert" class="buttonPas invert" classAct="button invert" classSel="button invertsel" content=" " />
+      <roundcube:button command="select-none" type="link" title="none" class="buttonPas none" classAct="button none" classSel="button nonesel" content=" " />
       <roundcube:container name="listcontrols" id="listcontrols" />
-    </span>
-  </td>
   <roundcube:if condition="env:quota" />
-  <td style="text-align:center">
-    <span id="quotabox"><roundcube:label name="quota" />: <roundcube:object name="quotaDisplay" display="image" width="100" id="quotadisplay" /></span>
-  </td>
+  <span style="margin-left: 20px"><roundcube:label name="quota" />:</span>
+  <roundcube:object name="quotaDisplay" display="image" width="100" height="14" id="quotadisplay" />
   <roundcube:endif />
-  <td id="countcontrols" class="pagenav">
+</div>
+
+<div id="countcontrols" class="pagenav">
     <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastmessages" content=" " />
     <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextmessages" content=" " />
-    <roundcube:object name="messageCountDisplay" style="padding:0 1em; float:right" />
+    <roundcube:object name="messageCountDisplay" style="padding:0 .5em; float:right" />
     <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previousmessages" content=" " />
     <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstmessages" content=" " />
-  </td>
-</tr></table>
 </div>
 
 </div>
 </div>
 
-
 <div id="messagetoolbar">
 <roundcube:button command="checkmail" type="link" class="button checkmail" classAct="button checkmail" classSel="button checkmailSel" title="checkmail" content=" " />
 <roundcube:button command="compose" type="link" class="button compose" classAct="button compose" classSel="button composeSel" title="writenewmessage" content=" " />

Modified: trunk/roundcubemail/skins/default/templates/message.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/message.html	2009-09-28 13:23:24 UTC (rev 2995)
+++ trunk/roundcubemail/skins/default/templates/message.html	2009-09-28 15:59:43 UTC (rev 2996)
@@ -49,10 +49,10 @@
 </div>
 </div>
 
-<div id="messagecountbar" class="pagenav">
+<div id="countcontrols" class="pagenav">
   <roundcube:button command="lastmessage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastmessage" content=" " />
   <roundcube:button command="nextmessage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextmessage" content=" " />
-  <roundc