Commit | Line | Data |
---|---|---|
128000f4 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
f6e0a33f | 3 | * |
128000f4 | 4 | * The contents of this file are subject to the Netscape Public License |
5 | * Version 1.1 (the "License"); you may not use this file except in | |
6 | * compliance with the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/NPL/ | |
f6e0a33f | 8 | * |
128000f4 | 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
f6e0a33f | 13 | * |
128000f4 | 14 | * The Original Code is mozilla.org code. |
15 | * | |
76983f4c | 16 | * The Initial Developer of the Original Code is |
128000f4 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
19 | * the Initial Developer. All Rights Reserved. | |
f6e0a33f | 20 | * |
21 | * Contributor(s): | |
22 | * Scott MacGregor (mscott@netscape.com) | |
23 | * Joe Hewitt (hewitt@netscape.com) | |
128000f4 | 24 | * Robert Kaiser <KaiRo@KaiRo.at> |
25 | * | |
26 | * Alternatively, the contents of this file may be used under the terms of | |
76983f4c | 27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 | 28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
29 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
30 | * of those above. If you wish to allow use of your version of this file only | |
31 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
32 | * use your version of this file under the terms of the NPL, indicate your | |
33 | * decision by deleting the provisions above and replace them with the notice | |
34 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
35 | * the provisions above, a recipient may use your version of this file under | |
36 | * the terms of any one of the NPL, the GPL or the LGPL. | |
37 | * | |
38 | * ***** END LICENSE BLOCK ***** */ | |
39 | ||
40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
f6e0a33f | 41 | |
42 | /* ===== messageHeader.css ============================================== | |
43 | == Styles for the header toolbars of a mail message. | |
44 | ======================================================================= */ | |
45 | ||
74d14f90 | 46 | /* ::::: msg header toolbars ::::: */ |
47 | ||
f6e0a33f | 48 | #collapsedHeaderView, |
74d14f90 | 49 | #expandedHeaderView { |
50 | min-width: 1px; | |
51 | } | |
52 | ||
53 | /* ::::: msg header buttons ::::: */ | |
f6e0a33f | 54 | |
55 | #expandedAttachmentBox { | |
56 | width: 20em; | |
57 | height: 0px; | |
74d14f90 | 58 | list-style-image: url("chrome://messenger/skin/icons/attach.gif"); |
f6e0a33f | 59 | } |
60 | ||
61 | #attachmentTree { | |
74d14f90 | 62 | margin: 3px 3px 3px 0px; |
f6e0a33f | 63 | height: 0px; |
64 | width: 20em; | |
65 | } | |
66 | ||
74d14f90 | 67 | #attachmentText { |
68 | font-weight: bold; | |
69 | } | |
70 | ||
71 | /* ::::: msg header captions ::::: */ | |
72 | ||
73 | #msgHeaderView { | |
74 | border-left: none; | |
75 | border-right: none; | |
76 | } | |
77 | ||
78 | #collapsedHeaderView, | |
79 | #expandedHeaderView { | |
80 | border-bottom: 1px solid #9999CC; | |
81 | min-width: 1px; | |
82 | } | |
83 | ||
84 | .headerNameBox { | |
85 | width: 7.7em; | |
86 | } | |
87 | ||
88 | .headerName { | |
89 | margin: 0em .25em 0em 0em; | |
90 | min-height: 16px; | |
91 | font-weight: bold; | |
92 | text-align: right; | |
93 | } | |
94 | ||
95 | .headerValue { | |
6fa8522a | 96 | margin: 0em 0em 3px 0em; |
74d14f90 | 97 | min-width: 50px; |
98 | white-space: normal; | |
8b2d3333 | 99 | color: inherit; |
100 | background-color: transparent; | |
74d14f90 | 101 | } |
102 | ||
d84b9613 | 103 | .headerValueBox { |
6fa8522a | 104 | margin: 0em 0em 3px 0em; |
d84b9613 | 105 | } |
106 | ||
107 | .headerValueBox > .headerValue { | |
108 | margin: 0 0 0 0; | |
109 | } | |
110 | ||
111 | .headerValueBox[singleline="true"] { | |
112 | overflow: hidden; | |
113 | } | |
114 | ||
115 | .headerValueBox[singleline="true"] > .headerValue { | |
116 | overflow: hidden; | |
117 | } | |
118 | ||
74d14f90 | 119 | .subjectvalue { |
120 | font-weight: bold; | |
121 | } | |
122 | ||
2bea26d6 | 123 | .tagvalue { |
124 | margin-top: 0; | |
125 | margin-left: 0; | |
126 | } | |
127 | ||
4d12b027 RK |
128 | /* ::::: msg header message ids ::::: */ |
129 | ||
130 | .messageIdDisplayButton { | |
131 | color: #336699; | |
132 | cursor: pointer; | |
133 | margin: 0px; | |
134 | padding: 0px 1px; | |
135 | } | |
136 | ||
137 | .messageIdDisplayButton:hover { | |
138 | color: black; | |
139 | background-color: #336699; | |
140 | } | |
141 | ||
142 | .messageIdDisplayImage { | |
143 | padding-left: 2px; | |
144 | -moz-box-pack: end; | |
145 | } | |
146 | ||
74d14f90 | 147 | /* ::::: msg header email addresses ::::: */ |
148 | ||
149 | .emailDisplayButton { | |
150 | color: #336699; | |
151 | cursor: pointer; | |
152 | margin: 0px; | |
76983f4c | 153 | padding: 0px 1px; |
74d14f90 | 154 | } |
155 | ||
156 | .emailDisplayButton:hover { | |
157 | color: black; | |
158 | background-color: #336699; | |
159 | } | |
160 | ||
1232bf8e | 161 | .emailDisplayImage { |
162 | padding-left: 2px; | |
163 | -moz-box-pack: end; | |
164 | } | |
165 | ||
74d14f90 | 166 | /* ::::: email address twisty ::::: */ |
167 | ||
168 | .addresstwisty { | |
169 | margin: 1px; | |
170 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); | |
171 | } | |
172 | ||
173 | .addresstwisty[open] { | |
174 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
f6e0a33f | 175 | } |
176 | ||
74d14f90 | 177 | /* ::::: view expand and collapse twisties ::::: */ |
178 | ||
179 | .expandHeaderViewButton, | |
180 | .collapsedHeaderViewButton { | |
181 | margin: 2px .5em 0 .5em; | |
182 | padding: 0px; | |
f6e0a33f | 183 | } |
184 | ||
74d14f90 | 185 | .expandHeaderViewButton { |
186 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
187 | } | |
188 | ||
189 | .collapsedHeaderViewButton { | |
190 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); | |
191 | } | |
f6e0a33f | 192 | |
193 | /* ::::: collapsed view styles ::::: */ | |
194 | ||
195 | #collapsedAttachmentBox { | |
196 | -moz-box-pack: center; | |
197 | } | |
198 | ||
74d14f90 | 199 | #collapseddateValue { |
200 | margin: 0 .5em; | |
201 | text-align: right; | |
f6e0a33f | 202 | } |
203 | ||
caf7fc11 | 204 | #collapseddateValue > .textbox-input-box menupopup { |
205 | text-align: left; | |
206 | } | |
207 | ||
74d14f90 | 208 | #collapsedfromBox { |
f6e0a33f | 209 | width: 18em; |
210 | } | |
211 | ||
74d14f90 | 212 | #collapseddateBox { |
f6e0a33f | 213 | width: 12em; |
214 | } | |
215 | ||
76983f4c | 216 | .collapsedHeaderDisplayName { |
217 | margin: 0 .5em 0 .55em; | |
f6e0a33f | 218 | min-height: 16px; |
74d14f90 | 219 | font-weight: bold; |
f6e0a33f | 220 | } |
221 | ||
74d14f90 | 222 | .collapsedHeaderValue { |
caf7fc11 | 223 | background: transparent; |
74d14f90 | 224 | margin: 0; |
f6e0a33f | 225 | } |
226 | ||
74d14f90 | 227 | .collapsedAttachmentButton { |
228 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); | |
229 | margin-right: .5em; | |
f6e0a33f | 230 | } |