From: Michael M Slusarz Date: Fri, 13 Nov 2009 06:43:38 +0000 (-0700) Subject: Printing CSS tweaks; move DIMP stuff out of main CSS file X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0e0e6dce312860241d7bd3378e626d3fc018edb4;p=horde.git Printing CSS tweaks; move DIMP stuff out of main CSS file --- diff --git a/imp/themes/screen-dimp.css b/imp/themes/screen-dimp.css index eb02efa76..dec4703b0 100644 --- a/imp/themes/screen-dimp.css +++ b/imp/themes/screen-dimp.css @@ -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; + } +} diff --git a/imp/themes/screen.css b/imp/themes/screen.css index 7572f285d..7ed022a90 100644 --- a/imp/themes/screen.css +++ b/imp/themes/screen.css @@ -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; - } }