X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2FmessageHeader.css;h=165ec060f28f2e53977f1547a76ffcda508a5de1;hp=97ff2520c373a5b63ffe6b7b14477752155e1e08;hb=afa44bf62eca2c695eec140b1a0e0028bffac2f6;hpb=b87c9562a4c728734927c455c6201d13d11c8a9e diff --git a/EarlyBlue/messenger/messageHeader.css b/EarlyBlue/messenger/messageHeader.css index 97ff2520..165ec060 100644 --- a/EarlyBlue/messenger/messageHeader.css +++ b/EarlyBlue/messenger/messageHeader.css @@ -1,215 +1,192 @@ -/* ***** 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 ***** */ +/* 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/. */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ /* ===== messageHeader.css ============================================== == Styles for the header toolbars of a mail message. ======================================================================= */ +/* ::::: msg header toolbars ::::: */ + #collapsedHeaderView, -#expandedHeaderView - { - min-width : 1px; - } +#expandedHeaderView { + min-width: 1px; + border-bottom: 1px solid #9999CC; +} -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; +/* ::::: msg header captions ::::: */ + +#expandedHeaders { + padding-bottom: 2px; } -.emailDisplayImage - { - -moz-box-pack: end; - } - -.emailDisplayButton - { - color : #336699; - cursor : pointer; - margin : 0px; - padding : 0px; - padding-left : 1px; - padding-right : 1px; - } - -.emailDisplayButton:hover - { - color : black; - background-color : #336699; - } - -.showMoreAddressesButton -{ - list-style-image : url("chrome://global/skin/twisty-closed.gif"); -} - -.showFewerAddressesButton -{ - list-style-image : url("chrome://global/skin/twisty-open.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.gif"); - margin-left: .5em; - margin-right: .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; } -.collapsedHeaderViewButton -{ - list-style-image: url("chrome://global/skin/twisty-closed.gif"); - margin-left: .5em; +.headerName { + margin: 0; + margin-inline-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; + margin-inline-start: 0; +} + +/* ::::: msg header message ids ::::: */ + +.messageIdDisplayButton { + color: #336699; + cursor: pointer; + margin: 0px; + padding: 0px 1px; +} + +.messageIdDisplayButton:hover { + color: black; + background-color: #336699; +} + +.messageIdDisplayImage { + padding-inline-start: 2px; + -moz-box-pack: end; +} + +/* ::::: msg header email addresses ::::: */ + +.emailDisplayButton { + color: #336699; + cursor: pointer; + margin: 0px; + padding: 0px 1px; +} + +.emailDisplayButton:hover { + color: black; + background-color: #336699; +} + +.emailDisplayImage { + padding-inline-start: 2px; + -moz-box-pack: end; +} + +/* ::::: email address twisty ::::: */ + +.addresstwisty { + margin: 1px; + list-style-image: url("chrome://global/skin/tree/twisty.svg#clsd"); +} + +.addresstwisty[open] { + list-style-image: url("chrome://global/skin/tree/twisty.svg#open"); +} + +/* ::::: view expand and collapse twisties ::::: */ + +.expandHeaderViewButton, +.collapsedHeaderViewButton { + margin: 2px .5em 0; + padding: 0px; +} + +.expandHeaderViewButton { + list-style-image: url("chrome://global/skin/tree/twisty.svg#open"); +} + +.collapsedHeaderViewButton { + list-style-image: url("chrome://global/skin/tree/twisty.svg#clsd"); +} /* ::::: collapsed view styles ::::: */ +#collapsedHeaderView { + padding-top: 1px; +} + #collapsedAttachmentBox { -moz-box-pack: center; } -#collapseddateValue -{ - margin-left: .7em; +#collapseddateValue { + margin: 0 .5em; + text-align: right; } -#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 { + padding: 0; + margin-inline-start: .55em; + margin-inline-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; + margin-inline-end: .5em; }