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