From 24201dc1f48770d20ffaa44fabe1ef571f979da9 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 18 Jun 2011 07:28:43 -0400
Subject: [PATCH] - Fix set_row_attribs() for backward compat.

---
 skins/default/mail.css |   97 +++++++++++++++++++++++-------------------------
 1 files changed, 46 insertions(+), 51 deletions(-)

diff --git a/skins/default/mail.css b/skins/default/mail.css
index 3057229..14249da 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -149,24 +149,9 @@
   padding-left: 15px;
 }
 
-#messagetoolbar select.mboxlist option[value="0"]
+#messagetoolbar select.mboxlist option[value=""]
 {
   padding-left: 2px;
-}
-
-#searchmenu
-{
-  width: 160px;
-}
-
-#searchmenu ul.toolbarmenu
-{
-  margin: 0;
-}
-
-#searchmenu ul.toolbarmenu li
-{
-  margin: 1px 4px 1px;
 }
 
 #messagemenu li a.active:hover,
@@ -236,7 +221,7 @@
 {
   white-space: nowrap;
   position: absolute;
-  right: 190px;
+  right: 198px;
   vertical-align: middle;
 }
 
@@ -381,6 +366,11 @@
   font-size: 11px;
   background: url(images/icons/folders.png) 5px 0 no-repeat;
   border-bottom: 1px solid #EBEBEB;
+}
+
+#mailboxlist li ul li:last-child
+{
+  border-bottom: none;
 }
 
 #mailboxlist li div
@@ -997,7 +987,7 @@
 
 div.messageheaderbox
 {
-  margin: 6px 8px 0px 8px;
+  margin: -14px 8px 0px 8px;
   border: 1px solid #ccc;
 }
 
@@ -1007,17 +997,12 @@
   background-color: #EBEBEB;
 }
 
+#messagebody #full-headers,
 #messagebody table.headers-table
 {
   width: auto;
   margin: 6px 8px;
   background-color: #F4F4F4;
-  border: 1px solid #ccc;
-}
-
-#messageframe table.headers-table
-{
-  border-bottom: 1px solid #ccc;
 }
 
 table.headers-table tr td
@@ -1033,7 +1018,7 @@
   font-weight: bold;
   text-align: right;
   white-space: nowrap;
-  padding: 0 4px;
+  padding: 0 4px 0 8px;
 }
 
 table.headers-table tr td.header
@@ -1046,23 +1031,9 @@
   font-weight: bold;
 }
 
-table.headers-table tr td.all
+table.headers-table tr td.header span
 {
-  width: 100%;
-  color: #666666;
-  text-align: left;
-  padding-right: 10px;
-  text-align: center;
-  padding: 2px 6px 4px 6px;
-  border-bottom: 0;
-}
-
-table.headers-table tr td.more-headers
-{
-  cursor: pointer;
-  width: 100%;
-  height: 8px;
-  border-bottom: 0;
+  white-space: nowrap;
 }
 
 #attachment-list
@@ -1073,6 +1044,16 @@
   list-style-image: none;
   list-style-type: none;
   background: url(images/icons/attachment.png) 4px 2px no-repeat #DFDFDF;
+}
+
+#messageframe #attachment-list
+{
+  border-bottom: 1px solid #ccc;
+}
+
+.messageheaderbox #attachment-list
+{
+  border-top: 1px solid #ccc;
 }
 
 #attachment-list:after
@@ -1210,31 +1191,45 @@
   border: 0;
 }
 
-td.show-headers
+#full-headers
+{
+  color: #666666;
+  text-align: center;
+  padding: 2px 6px;
+  border-bottom: 1px solid #ccc;
+  background-color: #EBEBEB;
+}
+
+.messageheaderbox #full-headers
+{
+  border-bottom: 0;
+}
+
+div.more-headers
+{
+  cursor: pointer;
+  height: 8px;
+  border-bottom: 0;
+}
+
+div.show-headers
 {
   background: url(images/icons/down_small.gif) no-repeat center;
 }
 
-td.hide-headers
+div.hide-headers
 {
   background: url(images/icons/up_small.gif) no-repeat center;
 }
 
-#all-headers
-{
-  height: 150px;
-  display: none;
-}
-
 #headers-source
 {
-  margin: 0 5px;
+  margin: 0 0 2px 0;
   padding: 0.5em;
   height: 145px;
   background: white;
   overflow: auto;
   font-size: 11px;
-  white-space: nowrap;
   border: 1px solid #999999;
   display: none;
   text-align: left;

--
Gitblit v1.9.1