| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the NPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | @import url("chrome://communicator/skin/smileys.css"); |
| 39 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 40 | |
| 41 | /* ===== messageBody.css ================================================ |
| 42 | == Styles for the body of a mail message. |
| 43 | ======================================================================= */ |
| 44 | |
| 45 | window { |
| 46 | overflow: auto; |
| 47 | } |
| 48 | |
| 49 | mailattachcount { |
| 50 | display: none; |
| 51 | } |
| 52 | |
| 53 | /* :::: message header ::::: */ |
| 54 | |
| 55 | header { |
| 56 | text-align: left; |
| 57 | } |
| 58 | |
| 59 | html|html { |
| 60 | /* XXX Doesn't seem to work. (Same with "html|body".) */ |
| 61 | background-color: white; |
| 62 | } |
| 63 | |
| 64 | headerdisplayname { |
| 65 | font-weight: bold; |
| 66 | white-space: pre; |
| 67 | } |
| 68 | |
| 69 | .header-part1 { |
| 70 | border-left: 4px solid #EFEFEF; |
| 71 | background-color: #EFEFEF; |
| 72 | } |
| 73 | |
| 74 | .header-part2, |
| 75 | .header-part3 { |
| 76 | border: 4px solid #DEDEDE; |
| 77 | background-color: #DEDEDE; |
| 78 | } |
| 79 | |
| 80 | div.headerdisplayname { |
| 81 | display: inline; |
| 82 | font-weight: bold; |
| 83 | white-space: pre; |
| 84 | } |
| 85 | |
| 86 | /* ::::: message text, incl. quotes ::::: */ |
| 87 | |
| 88 | .moz-text-flowed blockquote { |
| 89 | margin: inherit; |
| 90 | border-width: medium; |
| 91 | border-color: gray; |
| 92 | } |
| 93 | |
| 94 | .moz-text-plain pre { |
| 95 | margin: inherit; |
| 96 | font-family: inherit; |
| 97 | } |
| 98 | |
| 99 | .moz-text-plain[wrap="true"] { |
| 100 | white-space: -moz-pre-wrap; |
| 101 | } |
| 102 | |
| 103 | .moz-text-plain[wrap="false"] { |
| 104 | white-space: pre; |
| 105 | } |
| 106 | |
| 107 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
| 108 | white-space: -moz-pre-wrap; |
| 109 | } |
| 110 | |
| 111 | .moz-text-plain[graphical-quote="false"] blockquote { |
| 112 | margin: inherit; |
| 113 | border-left: inherit; |
| 114 | padding-left: inherit; |
| 115 | } |
| 116 | |
| 117 | .moz-text-plain[graphical-quote="true"] blockquote { |
| 118 | margin: inherit; |
| 119 | border-width: medium; |
| 120 | border-color: gray; |
| 121 | } |
| 122 | |
| 123 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
| 124 | display: none; |
| 125 | } |
| 126 | |
| 127 | span.moz-txt-underscore { |
| 128 | text-decoration: underline; |
| 129 | } |
| 130 | |
| 131 | span.moz-txt-formfeed { |
| 132 | display: block; |
| 133 | height: 100%; |
| 134 | } |
| 135 | |
| 136 | /* ::::: signature ::::: */ |
| 137 | |
| 138 | .moz-txt-sig, |
| 139 | .moz-signature { |
| 140 | color: gray; |
| 141 | } |
| 142 | |
| 143 | .moz-txt-sig > a, |
| 144 | .moz-signature > a { |
| 145 | color: #7777FF; /* light blue */ |
| 146 | } |