| 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 | * Scott MacGregor (mscott@netscape.com) |
| 23 | * Joe Hewitt (hewitt@netscape.com) |
| 24 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 25 | * |
| 26 | * Alternatively, the contents of this file may be used under the terms of |
| 27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 29 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 30 | * of those above. If you wish to allow use of your version of this file only |
| 31 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 32 | * use your version of this file under the terms of the NPL, indicate your |
| 33 | * decision by deleting the provisions above and replace them with the notice |
| 34 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 35 | * the provisions above, a recipient may use your version of this file under |
| 36 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 37 | * |
| 38 | * ***** END LICENSE BLOCK ***** */ |
| 39 | |
| 40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 41 | |
| 42 | /* ===== messageHeader.css ============================================== |
| 43 | == Styles for the header toolbars of a mail message. |
| 44 | ======================================================================= */ |
| 45 | |
| 46 | /* ::::: msg header toolbars ::::: */ |
| 47 | |
| 48 | #collapsedHeaderView, |
| 49 | #expandedHeaderView { |
| 50 | min-width: 1px; |
| 51 | border-bottom: 1px solid #9999CC; |
| 52 | } |
| 53 | |
| 54 | /* ::::: msg header buttons ::::: */ |
| 55 | |
| 56 | #expandedAttachmentBox { |
| 57 | width: 20em; |
| 58 | height: 0px; |
| 59 | list-style-image: url("chrome://messenger/skin/icons/attach.gif"); |
| 60 | } |
| 61 | |
| 62 | #attachmentText { |
| 63 | font-weight: bold; |
| 64 | } |
| 65 | |
| 66 | /* ::::: msg header captions ::::: */ |
| 67 | |
| 68 | #expandedHeaders { |
| 69 | padding-bottom: 2px; |
| 70 | } |
| 71 | |
| 72 | mail-headerfield, |
| 73 | mail-toggle-headerfield, |
| 74 | mail-emailheaderfield, |
| 75 | mail-multi-emailHeaderField, |
| 76 | mail-messageids-headerfield, |
| 77 | mail-tagfield, |
| 78 | mail-urlfield { |
| 79 | padding-top: 2px; |
| 80 | } |
| 81 | |
| 82 | .headerNameBox { |
| 83 | width: 7.7em; |
| 84 | } |
| 85 | |
| 86 | .headerName { |
| 87 | margin: 0; |
| 88 | -moz-margin-end: .25em; |
| 89 | font-weight: bold; |
| 90 | text-align: right; |
| 91 | } |
| 92 | |
| 93 | .headerValue { |
| 94 | margin: 0; |
| 95 | min-width: 50px; |
| 96 | white-space: normal; |
| 97 | color: inherit; |
| 98 | background-color: transparent; |
| 99 | } |
| 100 | |
| 101 | .headerValueBox[singleline="true"] { |
| 102 | overflow: hidden; |
| 103 | } |
| 104 | |
| 105 | .headerValueBox[singleline="true"] > .headerValue { |
| 106 | overflow: hidden; |
| 107 | } |
| 108 | |
| 109 | .subjectvalue { |
| 110 | font-weight: bold; |
| 111 | } |
| 112 | |
| 113 | .tagvalue { |
| 114 | margin-top: 0; |
| 115 | -moz-margin-start: 0; |
| 116 | } |
| 117 | |
| 118 | /* ::::: msg header message ids ::::: */ |
| 119 | |
| 120 | .messageIdDisplayButton { |
| 121 | color: #336699; |
| 122 | cursor: pointer; |
| 123 | margin: 0px; |
| 124 | padding: 0px 1px; |
| 125 | } |
| 126 | |
| 127 | .messageIdDisplayButton:hover { |
| 128 | color: black; |
| 129 | background-color: #336699; |
| 130 | } |
| 131 | |
| 132 | .messageIdDisplayImage { |
| 133 | -moz-padding-start: 2px; |
| 134 | -moz-box-pack: end; |
| 135 | } |
| 136 | |
| 137 | /* ::::: msg header email addresses ::::: */ |
| 138 | |
| 139 | .emailDisplayButton { |
| 140 | color: #336699; |
| 141 | cursor: pointer; |
| 142 | margin: 0px; |
| 143 | padding: 0px 1px; |
| 144 | } |
| 145 | |
| 146 | .emailDisplayButton:hover { |
| 147 | color: black; |
| 148 | background-color: #336699; |
| 149 | } |
| 150 | |
| 151 | .emailDisplayImage { |
| 152 | -moz-padding-start: 2px; |
| 153 | -moz-box-pack: end; |
| 154 | } |
| 155 | |
| 156 | /* ::::: email address twisty ::::: */ |
| 157 | |
| 158 | .addresstwisty { |
| 159 | margin: 1px; |
| 160 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); |
| 161 | } |
| 162 | |
| 163 | .addresstwisty[open] { |
| 164 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
| 165 | } |
| 166 | |
| 167 | /* ::::: view expand and collapse twisties ::::: */ |
| 168 | |
| 169 | .expandHeaderViewButton, |
| 170 | .collapsedHeaderViewButton { |
| 171 | margin: 2px .5em 0; |
| 172 | padding: 0px; |
| 173 | } |
| 174 | |
| 175 | .expandHeaderViewButton { |
| 176 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
| 177 | } |
| 178 | |
| 179 | .collapsedHeaderViewButton { |
| 180 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); |
| 181 | } |
| 182 | |
| 183 | /* ::::: collapsed view styles ::::: */ |
| 184 | |
| 185 | #collapsedHeaderView { |
| 186 | padding-top: 1px; |
| 187 | } |
| 188 | |
| 189 | #collapsedAttachmentBox { |
| 190 | -moz-box-pack: center; |
| 191 | } |
| 192 | |
| 193 | #collapseddateValue { |
| 194 | margin: 0 .5em; |
| 195 | text-align: right; |
| 196 | } |
| 197 | |
| 198 | #collapseddateValue > .textbox-input-box menupopup { |
| 199 | text-align: left; |
| 200 | } |
| 201 | |
| 202 | #collapsedfromBox { |
| 203 | width: 18em; |
| 204 | } |
| 205 | |
| 206 | #collapseddateBox { |
| 207 | width: 12em; |
| 208 | } |
| 209 | |
| 210 | .collapsedHeaderDisplayName { |
| 211 | padding: 0; |
| 212 | -moz-margin-start: .55em; |
| 213 | -moz-margin-end: .5em; |
| 214 | font-weight: bold; |
| 215 | } |
| 216 | |
| 217 | .collapsedHeaderValue, |
| 218 | #collapsedfromValue { |
| 219 | background: transparent; |
| 220 | padding: 0; |
| 221 | } |
| 222 | |
| 223 | .collapsedAttachmentButton { |
| 224 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); |
| 225 | margin: 0; |
| 226 | -moz-margin-end: .5em; |
| 227 | } |