| 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 | |
| 40 | @namespace url("http://www.w3.org/1999/xhtml"); |
| 41 | |
| 42 | /* ===== messageBody.css ================================================ |
| 43 | == Styles for the body of a mail message. |
| 44 | ======================================================================= */ |
| 45 | |
| 46 | /* :::: message header ::::: */ |
| 47 | |
| 48 | .header-part1 { |
| 49 | border-left: 4px solid #EFEFEF; |
| 50 | background-color: #EFEFEF; |
| 51 | } |
| 52 | |
| 53 | .header-part2, |
| 54 | .header-part3 { |
| 55 | border: 4px solid #DEDEDE; |
| 56 | background-color: #DEDEDE; |
| 57 | } |
| 58 | |
| 59 | div.headerdisplayname { |
| 60 | display: inline; |
| 61 | font-weight: bold; |
| 62 | white-space: pre; |
| 63 | } |
| 64 | |
| 65 | /* ::::: message text, incl. quotes ::::: */ |
| 66 | |
| 67 | .moz-text-flowed blockquote { |
| 68 | margin: inherit; |
| 69 | border-width: medium; |
| 70 | border-color: gray; |
| 71 | } |
| 72 | |
| 73 | .moz-text-plain pre { |
| 74 | margin: inherit; |
| 75 | font-family: inherit; |
| 76 | } |
| 77 | |
| 78 | .moz-text-plain[wrap="true"] { |
| 79 | white-space: pre-wrap; |
| 80 | } |
| 81 | |
| 82 | .moz-text-plain[wrap="false"] { |
| 83 | white-space: pre; |
| 84 | } |
| 85 | |
| 86 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
| 87 | white-space: pre-wrap; |
| 88 | } |
| 89 | |
| 90 | .moz-text-plain[graphical-quote="false"] blockquote { |
| 91 | margin: inherit; |
| 92 | border-left: inherit; |
| 93 | -moz-padding-start: inherit; |
| 94 | } |
| 95 | |
| 96 | .moz-text-plain[graphical-quote="true"] blockquote { |
| 97 | margin: inherit; |
| 98 | border-width: medium; |
| 99 | border-color: gray; |
| 100 | } |
| 101 | |
| 102 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
| 103 | display: none; |
| 104 | } |
| 105 | |
| 106 | span.moz-txt-underscore { |
| 107 | text-decoration: underline; |
| 108 | } |
| 109 | |
| 110 | span.moz-txt-formfeed { |
| 111 | display: block; |
| 112 | height: 100%; |
| 113 | } |
| 114 | |
| 115 | /* ::::: signature ::::: */ |
| 116 | |
| 117 | .moz-txt-sig, |
| 118 | .moz-signature { |
| 119 | color: gray; |
| 120 | } |
| 121 | |
| 122 | .moz-txt-sig > a, |
| 123 | .moz-signature > a { |
| 124 | color: #7777FF; /* light blue */ |
| 125 | } |
| 126 | |
| 127 | /* ::::: vcard ::::: */ |
| 128 | |
| 129 | .moz-vcard-table { |
| 130 | border-radius: 8px; |
| 131 | border: thin solid #9C9CFF; |
| 132 | margin-top: 10px; |
| 133 | } |
| 134 | |
| 135 | .moz-vcard-property { |
| 136 | font-size: 80%; |
| 137 | color: #FF9F00; |
| 138 | } |
| 139 | |
| 140 | .moz-vcard-title-property { |
| 141 | padding-bottom: 10px; |
| 142 | } |
| 143 | |
| 144 | .moz-vcard-badge { |
| 145 | height: 21px; |
| 146 | width: 25px; |
| 147 | display: block; |
| 148 | background-image: url("chrome://messenger/skin/messengercompose/address.gif"); |
| 149 | } |
| 150 | |
| 151 | /* ::::: attached images ::::: */ |
| 152 | |
| 153 | moz-attached-image[overflowing="true"] { |
| 154 | cursor: -moz-zoom-out; |
| 155 | } |
| 156 | |
| 157 | .moz-attached-image[isshrunk="true"] { |
| 158 | cursor: -moz-zoom-in; |
| 159 | max-width: 100%; |
| 160 | } |
| 161 | |
| 162 | /* New style feed summary body. */ |
| 163 | body[selected="false"] { |
| 164 | display: none; |
| 165 | } |
| 166 | |
| 167 | /* Old style feeds. */ |
| 168 | #_mailrssiframe { |
| 169 | position: fixed; |
| 170 | top: 0; |
| 171 | left: 0; |
| 172 | width: 100%; |
| 173 | height: 100%; |
| 174 | border: none; |
| 175 | } |
| 176 | |
| 177 | /* Attachment display styling (for inline attachments and printing) */ |
| 178 | .mimeAttachmentHeader { |
| 179 | border-style: none; |
| 180 | border-top: 1px solid #8050B0; |
| 181 | } |
| 182 | |
| 183 | .mimeAttachmentHeaderName { |
| 184 | color: #8050B0; |
| 185 | font-size: 80%; |
| 186 | } |
| 187 | |
| 188 | div.mimeAttachmentWrap { |
| 189 | padding: 0 1em; |
| 190 | } |
| 191 | |
| 192 | table.mimeAttachmentTable { |
| 193 | width: 100%; |
| 194 | border-collapse: collapse; |
| 195 | } |
| 196 | |
| 197 | table.mimeAttachmentTable tr + tr > td { |
| 198 | border-top: 1px solid #8050B0; |
| 199 | } |
| 200 | |
| 201 | .mimeAttachmentFile { |
| 202 | } |
| 203 | |
| 204 | .mimeAttachmentSize { |
| 205 | text-align: right; |
| 206 | } |