| 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 | } |
| 52 | |
| 53 | /* ::::: msg header buttons ::::: */ |
| 54 | |
| 55 | #expandedAttachmentBox { |
| 56 | width: 20em; |
| 57 | height: 0px; |
| 58 | list-style-image: url("chrome://messenger/skin/icons/attach.gif"); |
| 59 | } |
| 60 | |
| 61 | #attachmentTree { |
| 62 | margin: 3px 3px 3px 0px; |
| 63 | height: 0px; |
| 64 | width: 20em; |
| 65 | } |
| 66 | |
| 67 | #attachmentText { |
| 68 | font-weight: bold; |
| 69 | } |
| 70 | |
| 71 | /* ::::: msg header captions ::::: */ |
| 72 | |
| 73 | #msgHeaderView { |
| 74 | border-left: none; |
| 75 | border-right: none; |
| 76 | } |
| 77 | |
| 78 | #collapsedHeaderView, |
| 79 | #expandedHeaderView { |
| 80 | border-bottom: 1px solid #9999CC; |
| 81 | min-width: 1px; |
| 82 | } |
| 83 | |
| 84 | .headerNameBox { |
| 85 | width: 7.7em; |
| 86 | } |
| 87 | |
| 88 | .headerName { |
| 89 | margin: 0em .25em 0em 0em; |
| 90 | min-height: 16px; |
| 91 | font-weight: bold; |
| 92 | text-align: right; |
| 93 | } |
| 94 | |
| 95 | .headerValue { |
| 96 | margin: 0em 0em .25em 0em; |
| 97 | min-width: 50px; |
| 98 | white-space: normal; |
| 99 | } |
| 100 | |
| 101 | .subjectvalue { |
| 102 | font-weight: bold; |
| 103 | } |
| 104 | |
| 105 | /* ::::: msg header email addresses ::::: */ |
| 106 | |
| 107 | .emailDisplayButton { |
| 108 | color: #336699; |
| 109 | cursor: pointer; |
| 110 | margin: 0px; |
| 111 | padding: 0px 1px; |
| 112 | } |
| 113 | |
| 114 | .emailDisplayButton:hover { |
| 115 | color: black; |
| 116 | background-color: #336699; |
| 117 | } |
| 118 | |
| 119 | .emailDisplayImage { |
| 120 | padding-left: 2px; |
| 121 | -moz-box-pack: end; |
| 122 | } |
| 123 | |
| 124 | /* ::::: email address twisty ::::: */ |
| 125 | |
| 126 | .addresstwisty { |
| 127 | margin: 1px; |
| 128 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); |
| 129 | } |
| 130 | |
| 131 | .addresstwisty[open] { |
| 132 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
| 133 | } |
| 134 | |
| 135 | /* ::::: view expand and collapse twisties ::::: */ |
| 136 | |
| 137 | .expandHeaderViewButton, |
| 138 | .collapsedHeaderViewButton { |
| 139 | margin: 2px .5em 0 .5em; |
| 140 | padding: 0px; |
| 141 | } |
| 142 | |
| 143 | .expandHeaderViewButton { |
| 144 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
| 145 | } |
| 146 | |
| 147 | .collapsedHeaderViewButton { |
| 148 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); |
| 149 | } |
| 150 | |
| 151 | /* ::::: collapsed view styles ::::: */ |
| 152 | |
| 153 | #collapsedAttachmentBox { |
| 154 | -moz-box-pack: center; |
| 155 | } |
| 156 | |
| 157 | #collapseddateValue { |
| 158 | margin: 0 .5em; |
| 159 | text-align: right; |
| 160 | } |
| 161 | |
| 162 | #collapsedfromBox { |
| 163 | width: 18em; |
| 164 | } |
| 165 | |
| 166 | #collapseddateBox { |
| 167 | width: 12em; |
| 168 | } |
| 169 | |
| 170 | .collapsedHeaderDisplayName { |
| 171 | margin: 0 .5em 0 .7em; |
| 172 | min-height: 16px; |
| 173 | font-weight: bold; |
| 174 | } |
| 175 | |
| 176 | .collapsedHeaderValue { |
| 177 | margin: 0; |
| 178 | } |
| 179 | |
| 180 | .collapsedAttachmentButton { |
| 181 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); |
| 182 | margin-right: .5em; |
| 183 | } |