| 1 | /* |
| 2 | The contents of this file are subject to the Netscape Public |
| 3 | License Version 1.1 (the "License"); you may not use this file |
| 4 | except in compliance with the License. You may obtain a copy of |
| 5 | the License at http://www.mozilla.org/NPL/ |
| 6 | |
| 7 | Software distributed under the License is distributed on an "AS |
| 8 | IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 9 | implied. See the License for the specific language governing |
| 10 | rights and limitations under the License. |
| 11 | |
| 12 | The Original Code is Mozilla Communicator client code, released |
| 13 | March 31, 1998. |
| 14 | |
| 15 | The Initial Developer of the Original Code is Netscape |
| 16 | Communications Corporation. Portions created by Netscape are |
| 17 | Copyright (C) 1998-1999 Netscape Communications Corporation. All |
| 18 | Rights Reserved. |
| 19 | */ |
| 20 | |
| 21 | |
| 22 | /* These are the style attributes we are applying to the message header |
| 23 | * view overlay which shows the message headers for a selected message. |
| 24 | * some of this stuff originated from mailheaders.css |
| 25 | */ |
| 26 | |
| 27 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ |
| 28 | @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ |
| 29 | |
| 30 | mail-emailaddress |
| 31 | { |
| 32 | -moz-binding : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress); |
| 33 | display : inline; |
| 34 | } |
| 35 | |
| 36 | |
| 37 | [hide] { |
| 38 | visibility: collapse; |
| 39 | } |
| 40 | |
| 41 | spring.buttonTopSpacer { height: .3em; } |
| 42 | spring.buttonSpacer { width: .5em; } |
| 43 | box.headerBox { overflow: hidden; min-width:50px;} |
| 44 | box.header-part1 { background-color: #EEEEEE; border: none; } |
| 45 | box.header-part2 { background-color: #CCCCCC; border: none; } |
| 46 | box.header-part3 { background-color: #CCCCCC; border: none; } |
| 47 | |
| 48 | #addToAddressBookButton { |
| 49 | list-style-image:url("chrome://messenger/skin/addtoab.gif"); |
| 50 | min-height: 20px; |
| 51 | margin: 0px; |
| 52 | } |
| 53 | |
| 54 | #attachmentButton { |
| 55 | list-style-image:url("chrome://messenger/skin/attach.gif"); |
| 56 | min-height: 20px; |
| 57 | margin: 0px; |
| 58 | } |
| 59 | |
| 60 | .emailDisplayImage |
| 61 | { |
| 62 | align : right; |
| 63 | } |
| 64 | |
| 65 | .emailSeparator |
| 66 | { |
| 67 | display : inline; |
| 68 | } |
| 69 | |
| 70 | .emailDisplayButton |
| 71 | { |
| 72 | color : blue; |
| 73 | text-decoration : underline; |
| 74 | cursor : pointer; |
| 75 | max-height : 15px; |
| 76 | /* I can't find out where that strange bug is hitting me */ |
| 77 | /* see http://www.hirsch.sth.ac.at/bugzilla/show_bug.cgi?id=50 */ |
| 78 | } |
| 79 | |
| 80 | .showMoreAddressesButton |
| 81 | { |
| 82 | list-style-image : url("chrome://messenger/skin/more.gif"); |
| 83 | display : inline; |
| 84 | } |
| 85 | |
| 86 | .showFewerAddressesButton |
| 87 | { |
| 88 | list-style-image : url("chrome://messenger/skin/less.gif"); |
| 89 | display : inline; |
| 90 | } |
| 91 | |
| 92 | html.headerValue |
| 93 | { |
| 94 | white-space : normal; |
| 95 | min-width : 50px; |
| 96 | margin : 0px; |
| 97 | } |
| 98 | |
| 99 | html.subjectvalue |
| 100 | { |
| 101 | font-weight : bold; |
| 102 | } |
| 103 | |
| 104 | text.headerdisplayname |
| 105 | { |
| 106 | font-weight : bold; |
| 107 | margin-right : 0.5em; |
| 108 | margin-left : 0.5em; |
| 109 | min-height : 18px |
| 110 | } |
| 111 | |
| 112 | text.headerValue |
| 113 | { |
| 114 | white-space : normal; |
| 115 | min-width : 50px; |
| 116 | } |
| 117 | |
| 118 | #msgHeaderView |
| 119 | { |
| 120 | border-left : none; |
| 121 | border-right : none; |
| 122 | } |