1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Scott MacGregor (mscott@netscape.com)
23 * Joe Hewitt (hewitt@netscape.com)
24 * Robert Kaiser <KaiRo@KaiRo.at>
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.
38 * ***** END LICENSE BLOCK ***** */
40 /* ===== messageHeader.css ==============================================
41 == Styles for the header toolbars of a mail message.
42 ======================================================================= */
44 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
46 /* ::::: msg header toolbars ::::: */
51 background-color: #E7ADE7;
53 -moz-border-radius: 8px;
57 /* ::::: msg header buttons ::::: */
59 #expandedAttachmentBox {
62 list-style-image: url("chrome://messenger/skin/icons/attach.gif");
69 /* ::::: msg header captions ::::: */
76 mail-toggle-headerfield,
77 mail-emailheaderfield,
78 mail-multi-emailHeaderField,
79 mail-messageids-headerfield,
91 -moz-margin-end: .25em;
101 background-color: transparent;
104 .headerValueBox[singleline="true"] {
108 .headerValueBox[singleline="true"] > .headerValue {
118 -moz-margin-start: 0;
121 /* ::::: msg header message ids ::::: */
123 .messageIdDisplayButton {
124 -moz-border-radius: 3px;
131 .messageIdDisplayButton:hover {
133 background-color: #FFCF00;
136 .messageIdDisplayImage {
137 -moz-padding-start: 2px;
141 /* ::::: msg header email addresses ::::: */
143 .emailDisplayButton {
144 -moz-border-radius: 3px;
151 .emailDisplayButton:hover {
153 background-color: #FFCF00;
157 -moz-padding-start: 2px;
161 /* ::::: email address twisty ::::: */
165 list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
168 .addresstwisty[open] {
169 list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
172 /* ::::: view expand and collapse twisties ::::: */
174 .expandHeaderViewButton,
175 .collapsedHeaderViewButton {
180 .expandHeaderViewButton {
181 list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
184 .collapsedHeaderViewButton {
185 list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
188 /* ::::: collapsed view styles ::::: */
190 #collapsedHeaderView {
195 #collapsedAttachmentBox {
196 -moz-box-pack: center;
199 #collapsedsubjectValue {
200 background-color: transparent;
203 #collapseddateValue {
204 -moz-margin-start: .5em;
206 background-color: transparent;
209 #collapseddateValue > .textbox-input-box menupopup {
221 .collapsedHeaderDisplayName {
223 -moz-margin-start: .55em;
224 -moz-margin-end: .5em;
228 .collapsedHeaderValue,
229 #collapsedfromValue {
230 background: transparent;
234 .collapsedAttachmentButton {
235 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
237 -moz-margin-end: .5em;