From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 05 Feb 2016 07:25:27 -0500 Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports --- skins/larry/print.css | 121 +++++++++++++++++++++++++++++++++------- 1 files changed, 100 insertions(+), 21 deletions(-) diff --git a/skins/larry/print.css b/skins/larry/print.css index fa25674..bb2722a 100644 --- a/skins/larry/print.css +++ b/skins/larry/print.css @@ -7,8 +7,6 @@ * License. It is allowed to copy, distribute, transmit and to adapt the work * by keeping credits to the original autors in the README file. * See http://creativecommons.org/licenses/by-sa/3.0/ for details. - * - * $Id$ */ body { font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; @@ -17,7 +15,7 @@ margin: 2mm; } -body, td, th, span, div, p { +body, td, th, div, p { font-size: 9pt; color: #000; } @@ -43,24 +41,22 @@ table.headers-table tr td { font-size: 9pt; + vertical-align: top; } table.headers-table td.header-title { color: #666; - font-size: 85%; padding-right: 4mm; white-space: nowrap; } table.headers-table tr td.subject { - width: 90%; font-weight: bold; - font-size: 120%; } - + #attachment-list { - margin-top: 3mm; - padding-top: 3mm; + margin-top: 2mm; + padding-top: 2mm; border-top: 1pt solid #ccc; } @@ -78,13 +74,13 @@ #messagebody { position: relative; - margin-top: 5mm; border-top: none; } -div.message-part { - padding: 2mm; - margin-top: 5mm; +div.message-part, +div.message-htmlpart { + padding: 2mm 1mm; + margin-top: 2mm; margin-bottom: 5mm; border-top: 1pt solid #ccc; } @@ -93,16 +89,11 @@ color: #00c; } -div.message-part pre, -div.message-htmlpart pre, div.message-part div.pre { margin: 0; padding: 0; font-family: monospace; - white-space: -moz-pre-wrap !important; - white-space: pre-wrap !important; - white-space: pre; - word-wrap: break-word; /* IE (and Safari) */ + font-size: 12px; } div.message-part blockquote { @@ -110,8 +101,8 @@ border-left: 2px solid blue; border-right: 2px solid blue; background-color: #F6F6F6; - margin: 0.5em 0em 0.5em 0em; - padding: 0.25em 1em 0.25em 1em; + margin: 2px 0; + padding: 0 0.4em; } div.message-part blockquote blockquote { @@ -125,3 +116,91 @@ border-left: 2px solid #b00; border-right: 2px solid #b00; } + +p.image-attachment { + position: relative; + padding: 1em; + border-top: 1px solid #ccc; +} + +p.image-attachment a.image-link { + float: left; + display: block; + margin-right: 2em; + min-width: 160px; + min-height: 60px; + text-align: center; +} + +p.image-attachment .image-filename { + display: block; + line-height: 1.6em; +} + +p.image-attachment .attachment-links { + display: none; +} + +/* contact print */ +#contact-details fieldset { + color: #666; + border: 1px solid #999; + margin-top: 5px; +} + +#contact-details fieldset.contactfieldgroup { + border: 0; + padding: 0; + margin: 0; +} + +#contact-details div.row { + padding: 2px 0; +} + +#contact-details .contactfieldlabel { + display: inline-block; + vertical-align: top; + width: 150px; + overflow: hidden; + text-overflow: ellipsis; +} + +#contact-details .contactfieldcontent { + display: inline-block; + vertical-align: top; + font-weight: bold; +} + +#contact-details #contactphoto { + float: left; + margin: 5px 15px 5px 3px; + width: 112px; + border: 0; + padding: 0; +} + +#contact-details #contactpic { + width: 112px; + background: white; +} + +#contact-details #contactpic img { + max-width: 112px; + visibility: inherit; +} + +#contact-details #contacthead { + border: 0; + margin: 0 16em 0 0; + padding: 0; +} + +#contact-details #contacthead > legend { + display: none; +} + +#contact-details #contacthead .names span.namefield { + font-size: 140%; + font-weight: bold; +} -- Gitblit v1.9.1