-/* ***** 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 <KaiRo@KaiRo.at>
- *
- * 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 ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* ===== 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 */
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
+
+/* ::::: msg header toolbars ::::: */
#collapsedHeaderView,
-#expandedHeaderView
- {
- min-width : 1px;
- background-color : #E7ADE7;
- color : #000000;
- -moz-border-radius : 8px;
- margin-bottom : 3px;
- }
+#expandedHeaderView {
+ min-width: 1px;
+ background-color: #E7ADE7;
+ color: #000000;
+ border-radius: 8px;
+ margin-bottom: 3px;
+}
-mail-headerfield,
-mail-toggle-headerfield
- {
- padding : 0px;
- padding-left : 1px;
- padding-right : 1px;
- }
-
-.buttonTopSpacer
- {
- height : 0.3em;
- }
-
-.buttonSpacer
- {
- width : 0.5em;
- }
-
-.headerValueBox
- {
- width : 7.7em;
- -moz-box-pack : end;
- }
-
-.headerBox
- {
- overflow : hidden;
- min-width : 50px;
- }
-
-#addToAddressBookButton
- {
- list-style-image : url("chrome://messenger/skin/addtoab.gif");
- min-height : 20px;
- margin : 0px;
- }
+/* ::::: msg header buttons ::::: */
#expandedAttachmentBox {
width: 20em;
height: 0px;
- list-style-image: url("chrome://messenger/skin/attach.gif");
+ list-style-image: url("chrome://messenger/skin/icons/attach.gif");
}
-#attachmentText
-{
+#attachmentText {
font-weight: bold;
}
-#attachmentTree {
- margin: 3px;
- marginleft: 0px;
- height: 0px;
- width: 20em;
- color: #FF9F00;
-}
-
-.emailDisplayImage
- {
- -moz-box-pack: end;
- }
-
-.emailDisplayButton
- {
- color : #008484;
- cursor : pointer;
- -moz-border-radius: : 3px;
- margin : 0px;
- padding : 0px;
- padding-left : 1px;
- padding-right : 1px;
- }
-
-.emailDisplayButton:hover
- {
- color : black;
- background-color : #FFCF00;
- }
-
-.showMoreAddressesButton
-{
- list-style-image : url("chrome://global/skin/twisty-closed-selected.gif");
-}
-
-.showFewerAddressesButton
-{
- list-style-image : url("chrome://global/skin/twisty-open-selected.gif");
-}
-
-.headerValue
- {
- white-space : normal;
- min-width : 50px;
- }
-
-.subjectvalue
- {
- font-weight : bold;
- }
-
-.headerdisplayname
- {
- font-weight : bold;
- margin-right : 0.5em;
- margin-left : 0.5em;
- min-height: 16px;
- }
-
-#msgHeaderView
- {
- border-left : none;
- border-right : none;
-/* border-bottom : 1px solid #9999CC; */
- }
-
-.expandHeaderViewButton {
- list-style-image: url("chrome://global/skin/twisty-open-selected.gif");
- margin-left: .5em;
- margin-right: .5em;
+/* ::::: msg header captions ::::: */
+
+#expandedHeaders {
+ padding-bottom: 2px;
}
-.collapsedHeaderViewButton
-{
- list-style-image: url("chrome://global/skin/twisty-closed-selected.gif");
- margin-left: .5em;
+mail-headerfield,
+mail-toggle-headerfield,
+mail-emailheaderfield,
+mail-multi-emailHeaderField,
+mail-messageids-headerfield,
+mail-tagfield,
+mail-urlfield {
+ padding-top: 2px;
}
+.headerNameBox {
+ width: 7.7em;
+}
+
+.headerName {
+ margin: 0;
+ -moz-margin-end: .25em;
+ font-weight: bold;
+ text-align: right;
+}
+
+.headerValue {
+ margin: 0;
+ min-width: 50px;
+ white-space: normal;
+ color: inherit;
+ background-color: transparent;
+}
+
+.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 {
+ 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 {
+ 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 ::::: */
+#collapsedHeaderView {
+ padding-top: 2px;
+ padding-bottom: 2px;
+}
+
#collapsedAttachmentBox {
-moz-box-pack: center;
}
-#collapseddateValue
-{
- margin-left: .7em;
+#collapsedsubjectValue {
+ background-color: transparent;
+}
+
+#collapseddateValue {
+ -moz-margin-start: .5em;
+ text-align: right;
+ background-color: transparent;
}
-#collapsedfromBox
-{
+#collapseddateValue > .textbox-input-box menupopup {
+ text-align: left;
+}
+
+#collapsedfromBox {
width: 18em;
}
-#collapseddateBox
-{
+#collapseddateBox {
width: 12em;
}
-.collapsedHeaderDisplayName
-{
- font-weight: bold;
- margin-left: .7em;
- min-height: 16px;
+.collapsedHeaderDisplayName {
+ margin: 0;
+ -moz-margin-start: .55em;
+ -moz-margin-end: .5em;
+ font-weight: bold;
}
-.collapsedAttachmentButton
-{
- list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
- margin-right: .5em;
- margin-left: 1em;
+.collapsedHeaderValue,
+#collapsedfromValue {
+ background: transparent;
+ padding: 0;
}
-[hide] {
- visibility: hidden;
+.collapsedAttachmentButton {
+ list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
+ margin: 0;
+ -moz-margin-end: .5em;
}