/* ***** BEGIN LICENSE BLOCK ***** * Version: NPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Netscape Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 1998 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Scott MacGregor (mscott@netscape.com) * Joe Hewitt (hewitt@netscape.com) * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the NPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the NPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /* ===== messageHeader.css ============================================== == Styles for the header toolbars of a mail message. ======================================================================= */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ /* ::::: msg header toolbars ::::: */ #collapsedHeaderView, #expandedHeaderView { min-width: 1px; background-color: #E7ADE7; color: #000000; -moz-border-radius: 8px; margin-bottom: 3px; } /* ::::: msg header buttons ::::: */ #expandedAttachmentBox { width: 20em; height: 0px; list-style-image: url("chrome://messenger/skin/icons/attach.gif"); } #attachmentText { font-weight: bold; } /* ::::: msg header captions ::::: */ #msgHeaderView { border-left: none; border-right: none; } #collapsedHeaderView, #expandedHeaderView { border-left: none; border-right: none; /* border-bottom: 1px solid #9999CC; */ min-width: 1px; } .headerNameBox { width: 7.7em; } .headerName { margin: 0; -moz-margin-end: .25em; min-height: 16px; font-weight: bold; text-align: right; } .headerValue { margin: 0 0 3px; min-width: 50px; white-space: normal; color: inherit; background-color: transparent; } .headerValueBox { margin: 0 0 3px; } .headerValueBox > .headerValue { margin: 0; } .headerValueBox[singleline="true"] { overflow: hidden; } .headerValueBox[singleline="true"] > .headerValue { overflow: hidden; } .subjectvalue { font-weight: bold; } .tagvalue { margin-top: 0; -moz-margin-start: 0; } /* ::::: msg header message ids ::::: */ .messageIdDisplayButton { -moz-border-radius: 3px; color: #008484; cursor: pointer; margin: 0px; padding: 0px 1px; } .messageIdDisplayButton:hover { color: #000000; background-color: #FFCF00; } .messageIdDisplayImage { -moz-padding-start: 2px; -moz-box-pack: end; } /* ::::: msg header email addresses ::::: */ .emailDisplayButton { -moz-border-radius: 3px; color: #008484; cursor: pointer; margin: 0px; padding: 0px 1px; } .emailDisplayButton:hover { color: #000000; background-color: #FFCF00; } .emailDisplayImage { -moz-padding-start: 2px; -moz-box-pack: end; } /* ::::: email address twisty ::::: */ .addresstwisty { margin: 1px; list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); } .addresstwisty[open] { list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); } /* ::::: view expand and collapse twisties ::::: */ .expandHeaderViewButton, .collapsedHeaderViewButton { margin: 2px .5em 0; padding: 0px; } .expandHeaderViewButton { list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); } .collapsedHeaderViewButton { list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); } /* ::::: collapsed view styles ::::: */ #collapsedAttachmentBox { -moz-box-pack: center; } #collapsedsubjectValue { background-color: transparent; } #collapseddateValue { -moz-margin-start: .5em; text-align: right; background-color: transparent; } #collapseddateValue > .textbox-input-box menupopup { text-align: left; } #collapsedfromBox { width: 18em; } #collapseddateBox { width: 12em; } .collapsedHeaderDisplayName { margin-top: 2px; margin-bottom: 2px; -moz-margin-start: .55em; -moz-margin-end: .5em; min-height: 12px; font-weight: bold; } .collapsedHeaderValue, #collapsedfromValue { background: transparent; margin: 2px 0px !important; } .collapsedAttachmentButton { list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); -moz-margin-end: .5em; margin-top: 1px; }