More dimp row tweaking: use stripes and increase whitespace a bit
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 30 Sep 2009 18:20:22 +0000 (12:20 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 30 Sep 2009 18:20:22 +0000 (12:20 -0600)
imp/index-dimp.php
imp/js/DimpBase.js
imp/templates/index/index-dimp.inc
imp/themes/screen-dimp.css

index 68fc8ef..e0b1a1b 100644 (file)
@@ -26,7 +26,8 @@ $scripts = array(
     array('imp.js', 'imp', true),
     array('mailbox-dimp.js', 'imp', true),
     array('popup.js', 'horde', true),
-    array('redbox.js', 'horde', true)
+    array('redbox.js', 'horde', true),
+    array('stripe.js', 'horde', true)
 );
 
 /* Get site specific menu items. */
index d325fab..bc91dbb 100644 (file)
@@ -520,6 +520,8 @@ var DimpBase = {
                 var row, ssc, tmp,
                     l = this.viewport.getMetaData('label');
 
+                Horde.stripeElement('msgList');
+
                 this.setMessageListTitle();
                 if (!this.isSearch()) {
                     this.setFolderLabel(this.folder, this.viewport.getMetaData('unseen') || 0);
index 35ab5d2..59fda6d 100644 (file)
@@ -241,7 +241,7 @@ function _simpleButton($id, $text, $image, $imagedir = null)
     </div>
 
     <div id="msgSplitPane">
-     <div id="msgList" class="msglist noprint">&nbsp;</div>
+     <div id="msgList" class="msglist noprint striped">&nbsp;</div>
      <div id="splitBar" style="display:none" class="splitBar noprint"></div>
      <div id="previewPane" style="display:none">
       <span id="msgLoading" class="loadingImg" style="display:none"></span>
index a3749f2..3f3f9ed 100644 (file)
@@ -164,7 +164,7 @@ div.msgSize {
 #msglistHeader div {
     padding-top: 1px;
     height: 15px;
-    text-indent: 1px;
+    text-indent: 2px;
 }
 #msglistHeader div.sortup, #msglistHeader div.sortdown {
     padding-left: 0;
@@ -187,6 +187,7 @@ div.msgSize {
     overflow: hidden;
     border-bottom: 1px silver solid;
     float: left;
+    background-color: #fff;
 }
 .msglist span.vpEmpty, .msglist span.vpError {
     font-weight: bold;
@@ -206,7 +207,7 @@ div.msgSize {
     -ms-text-overflow: ellipsis;
     height: 16px;
     border-bottom: 1px;
-    text-indent: 1px;
+    text-indent: 2px;
 }
 .msglist div.vpRowSelected {
     background: #ffa !important;