| 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-2001 Netscape Communications Corporation. All |
| 18 | * Rights Reserved. |
| 19 | * |
| 20 | * Contributor(s): |
| 21 | * Scott MacGregor (mscott@netscape.com) |
| 22 | * Joe Hewitt (hewitt@netscape.com) |
| 23 | * Robert Kaiser (KaiRo@KaiRo.at) |
| 24 | */ |
| 25 | |
| 26 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ |
| 27 | @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ |
| 28 | |
| 29 | #msgHeaderView |
| 30 | { |
| 31 | background-color: #E7ADE7; |
| 32 | background-image: none; |
| 33 | -moz-border-radius: 8px 8px 8px 8px; |
| 34 | padding-right: 12px; |
| 35 | margin-bottom: 3px; |
| 36 | } |
| 37 | |
| 38 | mail-emailaddress |
| 39 | { |
| 40 | -moz-binding : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress); |
| 41 | display : -moz-xul-inline-box; |
| 42 | } |
| 43 | |
| 44 | .buttonTopSpacer |
| 45 | { |
| 46 | height : 0.3em; |
| 47 | } |
| 48 | |
| 49 | .buttonSpacer |
| 50 | { |
| 51 | width : 0.5em; |
| 52 | } |
| 53 | |
| 54 | .headerValueBox |
| 55 | { |
| 56 | width : 7.0em; |
| 57 | text-align : right; |
| 58 | } |
| 59 | |
| 60 | .headerBox |
| 61 | { |
| 62 | overflow : hidden; |
| 63 | min-width : 50px; |
| 64 | } |
| 65 | |
| 66 | |
| 67 | #addToAddressBookButton |
| 68 | { |
| 69 | list-style-image:url("chrome://messenger/skin/addtoab.gif"); |
| 70 | min-height: 20px; |
| 71 | margin: 0px; |
| 72 | } |
| 73 | |
| 74 | #attachmentButton |
| 75 | { |
| 76 | list-style-image:url("chrome://messenger/skin/attach.gif"); |
| 77 | min-height: 20px; |
| 78 | margin: 0px; |
| 79 | } |
| 80 | |
| 81 | .emailDisplayImage |
| 82 | { |
| 83 | text-align : right; |
| 84 | } |
| 85 | |
| 86 | .emailDisplayButton |
| 87 | { |
| 88 | color : black; |
| 89 | cursor : pointer; |
| 90 | min-height : 16px; |
| 91 | -moz-border-radius: : 3px; |
| 92 | background-color : transparent; |
| 93 | } |
| 94 | |
| 95 | .emailDisplayButton:hover |
| 96 | { |
| 97 | color : black; |
| 98 | background-color : #FFCF00; |
| 99 | } |
| 100 | |
| 101 | .showMoreAddressesButton |
| 102 | { |
| 103 | list-style-image : url("chrome://global/skin/twisty-closed.gif"); |
| 104 | /* list-style-image : url("chrome://messenger/skin/more.gif"); */ |
| 105 | } |
| 106 | |
| 107 | .showFewerAddressesButton |
| 108 | { |
| 109 | list-style-image : url("chrome://global/skin/twisty-open.gif"); |
| 110 | /* list-style-image : url("chrome://messenger/skin/less.gif"); */ |
| 111 | } |
| 112 | |
| 113 | html.headerValue |
| 114 | { |
| 115 | color : black; |
| 116 | white-space : normal; |
| 117 | min-width : 50px; |
| 118 | margin : 0px; |
| 119 | padding-top : 1px; |
| 120 | } |
| 121 | |
| 122 | html.subjectvalue |
| 123 | { |
| 124 | font-weight : bold; |
| 125 | color : black; |
| 126 | } |
| 127 | |
| 128 | text.headerdisplayname |
| 129 | { |
| 130 | font-weight : bold; |
| 131 | color : black; |
| 132 | margin-right : 0.5em; |
| 133 | margin-left : 0.5em; |
| 134 | min-height : 18px |
| 135 | } |
| 136 | |
| 137 | text.headerValue |
| 138 | { |
| 139 | color : black; |
| 140 | white-space : normal; |
| 141 | min-width : 50px; |
| 142 | /* border-bottom : 1px solid #9999CC; */ |
| 143 | } |
| 144 | |
| 145 | .expandHeaderViewButton { |
| 146 | list-style-image: url("chrome://global/skin/twisty-open-selected.gif"); |
| 147 | margin-left: .5em; |
| 148 | margin-right: .5em; |
| 149 | } |
| 150 | |
| 151 | .collapsedHeaderViewButton |
| 152 | { |
| 153 | list-style-image: url("chrome://global/skin/twisty-closed-selected.gif"); |
| 154 | margin-left: .5em; |
| 155 | } |
| 156 | |
| 157 | |
| 158 | /* ::::: collapsed view styles ::::: */ |
| 159 | .collapsedToggleHdrBox |
| 160 | { |
| 161 | vertical-align: middle; |
| 162 | } |
| 163 | |
| 164 | #collapsedAttachmentBox { |
| 165 | text-align: center; |
| 166 | } |
| 167 | |
| 168 | #collapseddateValue |
| 169 | { |
| 170 | margin-left: .7em; |
| 171 | } |
| 172 | |
| 173 | #collapsedfromBox |
| 174 | { |
| 175 | width: 18em; |
| 176 | } |
| 177 | |
| 178 | #collapseddateBox |
| 179 | { |
| 180 | width: 12em; |
| 181 | } |
| 182 | |
| 183 | text.collapsedHeaderDisplayName |
| 184 | { |
| 185 | color: black; |
| 186 | font-weight: bold; |
| 187 | margin-left: .7em; |
| 188 | min-height: 16px; |
| 189 | } |
| 190 | |
| 191 | text.collapsedHeaderValue |
| 192 | { |
| 193 | color: black; |
| 194 | } |
| 195 | |
| 196 | .collapsedAttachmentButton |
| 197 | { |
| 198 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
| 199 | margin-right: .5em; |
| 200 | margin-left: 1em; |
| 201 | } |
| 202 | |
| 203 | [hide] { |
| 204 | visibility: hidden; |
| 205 | } |
| 206 | |
| 207 | |