Printing CSS tweaks; move DIMP stuff out of main CSS file
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 13 Nov 2009 06:43:38 +0000 (23:43 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 13 Nov 2009 06:43:46 +0000 (23:43 -0700)
imp/themes/screen-dimp.css
imp/themes/screen.css

index eb02efa..dec4703 100644 (file)
@@ -697,7 +697,6 @@ span.attachmentImg {
 /* Email Addresses. */
 a.address {
     cursor: pointer;
-    left: -2px;
     padding: 2px;
     position: static;
     text-decoration: underline;
@@ -1006,3 +1005,34 @@ span.readonlyImg {
 #Growler div.imp-forward, div.imp-redirect, span.imp-forward, span.imp-redirect {
     background-image: url("graphics/mail_forwarded.png");
 }
+
+
+/* Print CSS rules. */
+@media print {
+    #dimpmain {
+        position: relative;
+        left: 0 !important;
+        margin-left: 0;
+        top: 0;
+    }
+
+    #previewPane {
+        overflow: visible !important;
+    }
+
+    #msgSplitPane {
+        border: 0;
+    }
+
+    #msgHeaders, .dispaddrlist {
+        display: block !important;
+    }
+
+    #dimpmain_folder_top, #msgList, div.sbdiv, #splitBar, #Growler, #GrowlerLog {
+        display: none !important;
+    }
+
+    a.address {
+        padding: 0 !important;
+    }
+}
index 7572f28..7ed022a 100644 (file)
@@ -638,48 +638,17 @@ div.mimeStatusMessage, div.mimePartInfo {
         color: #000;
     }
 
-    #pageContainer {
-        margin-left: 20px;
-        margin-right: 20px;
-    }
-
-    #dimpmain {
-        position: relative;
-        left: 0 !important;
-        margin-left: 0;
-        top: 0;
-    }
-
-    #previewPane {
-        height: auto !important;
-        overflow: visible !important;
-    }
-
-    #msgHeaders, .dispaddrlist {
-        display: block !important;
-    }
-
     #msgheaders tr.printedby {
         display: table-row !important;
     }
 
-    .msgfullread .messageBody {
-        border-top: 1px solid silver;
-    }
-
     .label {
         min-width: 60px;
         text-align: right;
         font-weight: bold;
     }
 
-    #msgHeadersColl, .context, .address img, .noprint, .mimeStatusMessage, .largeaddrlist, #msgAtc, table.msgActionTable, #messages h1.header, table.navbaractions, td.msgheader img, tr.msgheaderParts {
+    #msgHeadersColl, .context, .address img, .noprint, .mimeStatusMessage, .largeaddrlist, #msgAtc, table.msgActionTable, #messages h1.header, table.navbaractions, td.msgheader img, tr.msgheaderParts, .downloadAtc, .downloadZipAtc {
         display: none !important;
     }
-
-    a.address {
-        left: 0;
-        padding: 0;
-        text-decoration: none;
-    }
 }