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; | |
9545fc93 | 51 | border-bottom: 1px solid #9999CC; |
74d14f90 | 52 | } |
53 | ||
54 | /* ::::: msg header buttons ::::: */ | |
f6e0a33f | 55 | |
56 | #expandedAttachmentBox { | |
57 | width: 20em; | |
58 | height: 0px; | |
74d14f90 | 59 | list-style-image: url("chrome://messenger/skin/icons/attach.gif"); |
f6e0a33f | 60 | } |
61 | ||
74d14f90 | 62 | #attachmentText { |
63 | font-weight: bold; | |
64 | } | |
65 | ||
66 | /* ::::: msg header captions ::::: */ | |
67 | ||
9545fc93 RK |
68 | #expandedHeaders { |
69 | padding-bottom: 2px; | |
74d14f90 | 70 | } |
71 | ||
9545fc93 RK |
72 | mail-headerfield, |
73 | mail-toggle-headerfield, | |
74 | mail-emailheaderfield, | |
75 | mail-multi-emailHeaderField, | |
76 | mail-messageids-headerfield, | |
77 | mail-tagfield, | |
78 | mail-urlfield { | |
79 | padding-top: 2px; | |
74d14f90 | 80 | } |
81 | ||
82 | .headerNameBox { | |
83 | width: 7.7em; | |
84 | } | |
85 | ||
86 | .headerName { | |
02920d2b RK |
87 | margin: 0; |
88 | -moz-margin-end: .25em; | |
74d14f90 | 89 | font-weight: bold; |
90 | text-align: right; | |
91 | } | |
92 | ||
93 | .headerValue { | |
9545fc93 | 94 | margin: 0; |
74d14f90 | 95 | min-width: 50px; |
96 | white-space: normal; | |
8b2d3333 | 97 | color: inherit; |
98 | background-color: transparent; | |
74d14f90 | 99 | } |
100 | ||
d84b9613 | 101 | .headerValueBox[singleline="true"] { |
102 | overflow: hidden; | |
103 | } | |
104 | ||
105 | .headerValueBox[singleline="true"] > .headerValue { | |
106 | overflow: hidden; | |
107 | } | |
108 | ||
74d14f90 | 109 | .subjectvalue { |
110 | font-weight: bold; | |
111 | } | |
112 | ||
2bea26d6 | 113 | .tagvalue { |
114 | margin-top: 0; | |
8caa872d | 115 | -moz-margin-start: 0; |
2bea26d6 | 116 | } |
117 | ||
4d12b027 RK |
118 | /* ::::: msg header message ids ::::: */ |
119 | ||
120 | .messageIdDisplayButton { | |
121 | color: #336699; | |
122 | cursor: pointer; | |
123 | margin: 0px; | |
124 | padding: 0px 1px; | |
125 | } | |
126 | ||
127 | .messageIdDisplayButton:hover { | |
128 | color: black; | |
129 | background-color: #336699; | |
130 | } | |
131 | ||
132 | .messageIdDisplayImage { | |
8caa872d | 133 | -moz-padding-start: 2px; |
4d12b027 RK |
134 | -moz-box-pack: end; |
135 | } | |
136 | ||
74d14f90 | 137 | /* ::::: msg header email addresses ::::: */ |
138 | ||
139 | .emailDisplayButton { | |
140 | color: #336699; | |
141 | cursor: pointer; | |
142 | margin: 0px; | |
76983f4c | 143 | padding: 0px 1px; |
74d14f90 | 144 | } |
145 | ||
146 | .emailDisplayButton:hover { | |
147 | color: black; | |
148 | background-color: #336699; | |
149 | } | |
150 | ||
1232bf8e | 151 | .emailDisplayImage { |
8caa872d | 152 | -moz-padding-start: 2px; |
1232bf8e | 153 | -moz-box-pack: end; |
154 | } | |
155 | ||
74d14f90 | 156 | /* ::::: email address twisty ::::: */ |
157 | ||
158 | .addresstwisty { | |
159 | margin: 1px; | |
160 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); | |
161 | } | |
162 | ||
163 | .addresstwisty[open] { | |
164 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
f6e0a33f | 165 | } |
166 | ||
74d14f90 | 167 | /* ::::: view expand and collapse twisties ::::: */ |
168 | ||
169 | .expandHeaderViewButton, | |
170 | .collapsedHeaderViewButton { | |
02920d2b | 171 | margin: 2px .5em 0; |
74d14f90 | 172 | padding: 0px; |
f6e0a33f | 173 | } |
174 | ||
74d14f90 | 175 | .expandHeaderViewButton { |
176 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
177 | } | |
178 | ||
179 | .collapsedHeaderViewButton { | |
180 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); | |
181 | } | |
f6e0a33f | 182 | |
183 | /* ::::: collapsed view styles ::::: */ | |
184 | ||
9545fc93 RK |
185 | #collapsedHeaderView { |
186 | padding-top: 1px; | |
187 | } | |
188 | ||
f6e0a33f | 189 | #collapsedAttachmentBox { |
190 | -moz-box-pack: center; | |
191 | } | |
192 | ||
74d14f90 | 193 | #collapseddateValue { |
194 | margin: 0 .5em; | |
195 | text-align: right; | |
f6e0a33f | 196 | } |
197 | ||
caf7fc11 | 198 | #collapseddateValue > .textbox-input-box menupopup { |
199 | text-align: left; | |
200 | } | |
201 | ||
74d14f90 | 202 | #collapsedfromBox { |
f6e0a33f | 203 | width: 18em; |
204 | } | |
205 | ||
74d14f90 | 206 | #collapseddateBox { |
f6e0a33f | 207 | width: 12em; |
208 | } | |
209 | ||
76983f4c | 210 | .collapsedHeaderDisplayName { |
9545fc93 | 211 | padding: 0; |
02920d2b RK |
212 | -moz-margin-start: .55em; |
213 | -moz-margin-end: .5em; | |
74d14f90 | 214 | font-weight: bold; |
f6e0a33f | 215 | } |
216 | ||
9545fc93 RK |
217 | .collapsedHeaderValue, |
218 | #collapsedfromValue { | |
caf7fc11 | 219 | background: transparent; |
9545fc93 | 220 | padding: 0; |
f6e0a33f | 221 | } |
222 | ||
74d14f90 | 223 | .collapsedAttachmentButton { |
224 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); | |
9545fc93 | 225 | margin: 0; |
8caa872d | 226 | -moz-margin-end: .5em; |
f6e0a33f | 227 | } |