Play around with msgHeaders formatting
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 23 Oct 2009 19:08:38 +0000 (13:08 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sat, 24 Oct 2009 23:57:35 +0000 (17:57 -0600)
imp/templates/chunks/message.php
imp/templates/index/index-dimp.inc
imp/themes/screen-dimp.css

index 5449dd0..209bc24 100644 (file)
@@ -66,7 +66,7 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true)
       </div>
      </div>
      <div id="msgHeadersContent">
-      <table cellspacing="0">
+      <table>
        <thead>
         <tr>
          <td class="label"><?php echo _("Subject") ?>:</td>
@@ -85,7 +85,7 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true)
           <span class="atcLabel"><?php echo $show_msg_result['atc_label'] ?></span><?php echo isset($show_msg_result['atc_download']) ? $show_msg_result['atc_download'] : '' ?>
 <?php if (isset($show_msg_result['atc_list'])): ?>
           <div id="partlist" style="display:none">
-           <table cellspacing="2">
+           <table>
             <?php echo $show_msg_result['atc_list'] ?>
            </table>
           </div>
index 3a95199..eec4562 100644 (file)
@@ -276,7 +276,7 @@ function _simpleButton($id, $text, $image)
 <?php endif; ?>
          </div>
          <div id="msgHeadersContent">
-          <table cellspacing="0">
+          <table>
            <thead>
             <tr>
              <td class="label"><?php echo _("Subject") ?>:</td>
@@ -303,7 +303,7 @@ function _simpleButton($id, $text, $image)
              <td>
               <div></div>
               <div id="partlist" style="display:none">
-               <table cellspacing="2"></table>
+               <table></table>
               </div>
              </td>
             </tr>
index 5ce9993..4af858f 100644 (file)
@@ -452,59 +452,59 @@ div.dimpActionsCompose, div.dimpActionsMsg {
 .msgHeaders {
     background: transparent url("graphics/backhead_r.png") repeat-x;
     border-bottom: 1px #b9b9b3 solid;
-    padding: 2px 0;
+    padding: 2px 0 1px;
     font-size: 90%;
     overflow: hidden;
 }
 .msgfullread .msgHeaders {
-    border: 1px #b9b9b3 solid;
     cursor: default;
 }
 
 .msgHeaders .dimpOptions {
-    padding: 0 10px 10px;
-    margin-top: 3px;
+    padding: 3px 10px 5px 5px;
 }
 
-.msgHeaders table {
-    margin: 0;
+.msgHeaders table thead td {
+    padding: 0 0 1px 0;
 }
+
 .msgHeaders table thead tr {
     vertical-align: top;
 }
-.msgHeaders table thead td {
-    padding: 0 3px 3px 0;
-}
-.msgHeaders table thead td img {
-    vertical-align: middle;
-}
 .msgHeaders table thead td.label {
     font-weight: bold;
-    white-space: nowrap;
+    padding-right: 4px;
     text-align: right;
+    white-space: nowrap;
+}
+.msgfullread .msgHeaders table thead td.label {
     padding-left: 3px;
 }
 .msgHeaders table thead td.subject {
     font-weight: bold;
 }
+
 #msgAtc td {
     padding-bottom: 0;
+    padding-top: 1px;
 }
 .atcLabel, .msgLogLabel {
     font-weight: bold;
+}
+.atcLabel {
     padding-right: 5px;
 }
 
 #partlist table {
     margin-top: 3px;
-    margin-bottom: 1px;
 }
 #partlist td {
     padding-bottom: 2px;
+    padding-right: 3px;
 }
 
 #msgloglist {
-    padding-top: 2px;
+    padding-top: 4px;
 }
 #msgloglist ul {
     list-style-type: none;
@@ -550,7 +550,7 @@ div.dimpActionsCompose, div.dimpActionsMsg {
 .msgBody table td {
     padding: 0;
 }
-.msgfullread DIV.msgBody {
+.msgfullread div.msgBody {
     overflow: auto;
 }