sync both themes with suite default theme chnges up to May 16
[themes.git] / LCARStrek / messenger / primaryToolbar.css
CommitLineData
351107c9 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3 *
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/
8 *
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.
13 *
14 * The Original Code is mozilla.org code.
15 *
3a121502 16 * The Initial Developer of the Original Code is
351107c9 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
3a121502 25 * either the GNU General Public License Version 2 or later (the "GPL"), or
351107c9 26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the NPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the NPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38/* ===== primaryToolbar.css =============================================
39 == Images for the Mail primary toolbar.
40 ======================================================================= */
41
42@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43
44/* ::::: primary toolbar buttons ::::: */
45
b1eaa419 46#button-getmsg {
303bd2e1
RK
47 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
48 -moz-image-region: rect(63px 25px 84px 0px);
b1eaa419 49}
351107c9 50
303bd2e1
RK
51#button-getmsg[disabled="true"] {
52 -moz-image-region: rect(63px 50px 84px 25px);
3a121502 53}
b1eaa419 54
303bd2e1
RK
55#button-getmsg:not([disabled="true"]):hover,
56#button-getmsg:not([disabled="true"]):hover:active,
57#button-getmsg[open="true"] {
58 -moz-image-region: rect(63px 75px 84px 50px);
b1eaa419 59}
60
61#button-newmsg {
303bd2e1
RK
62 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
63 -moz-image-region: rect(105px 25px 126px 0px);
b1eaa419 64}
351107c9 65
303bd2e1
RK
66#button-newmsg[disabled="true"] {
67 -moz-image-region: rect(105px 50px 126px 25px);
3a121502 68}
b1eaa419 69
303bd2e1
RK
70#button-newmsg:not([disabled="true"]):hover,
71#button-newmsg:not([disabled="true"]):hover:active {
72 -moz-image-region: rect(105px 75px 126px 50px);
b1eaa419 73}
74
75#button-reply {
303bd2e1
RK
76 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
77 -moz-image-region: rect(147px 25px 168px 0px);
b1eaa419 78}
351107c9 79
303bd2e1
RK
80#button-reply[disabled="true"] {
81 -moz-image-region: rect(147px 50px 168px 25px);
3a121502 82}
b1eaa419 83
303bd2e1
RK
84#button-reply:not([disabled="true"]):hover,
85#button-reply:not([disabled="true"]):hover:active,
86#button-reply[open="true"] {
87 -moz-image-region: rect(147px 75px 168px 50px);
b1eaa419 88}
89
90#button-replyall {
303bd2e1
RK
91 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
92 -moz-image-region: rect(168px 25px 189px 0px);
b1eaa419 93}
351107c9 94
303bd2e1
RK
95#button-replyall[disabled="true"] {
96 -moz-image-region: rect(168px 50px 189px 25px);
3a121502 97}
b1eaa419 98
303bd2e1
RK
99#button-replyall:not([disabled="true"]):hover,
100#button-replyall:not([disabled="true"]):hover:active,
101#button-replyall[open="true"] {
102 -moz-image-region: rect(168px 75px 189px 50px);
b1eaa419 103}
104
105#button-forward {
303bd2e1
RK
106 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
107 -moz-image-region: rect(42px 25px 63px 0px);
b1eaa419 108}
351107c9 109
303bd2e1
RK
110#button-forward[disabled="true"] {
111 -moz-image-region: rect(42px 50px 63px 25px);
3a121502 112}
b1eaa419 113
303bd2e1
RK
114#button-forward:not([disabled="true"]):hover,
115#button-forward:not([disabled="true"]):hover:active,
116#button-forward[open="true"] {
117 -moz-image-region: rect(42px 75px 63px 50px);
b1eaa419 118}
119
120#button-file {
303bd2e1
RK
121 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
122 -moz-image-region: rect(21px 25px 42px 0px);
b1eaa419 123}
351107c9 124
303bd2e1
RK
125#button-file[disabled="true"] {
126 -moz-image-region: rect(21px 50px 42px 25px);
3a121502 127}
b1eaa419 128
303bd2e1
RK
129#button-file:not([disabled="true"]):hover,
130#button-file:not([disabled="true"]):hover:active,
131#button-file[open="true"] {
132 -moz-image-region: rect(21px 75px 42px 50px);
b1eaa419 133}
134
ee6cb01c
RK
135#button-goback {
136 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
137 -moz-image-region: rect(42px 25px 63px 0px);
138}
139
d61a45b2
RK
140#button-goback:not([disabled="true"]):hover,
141#button-goback:not([disabled="true"]):hover:active,
c452635d
RK
142#button-goback[open="true"] {
143 -moz-image-region: rect(42px 75px 63px 50px);
144}
145
ee6cb01c 146#button-goback[disabled="true"] {
d61a45b2 147 -moz-image-region: rect(42px 50px 63px 25px);
ee6cb01c
RK
148}
149
150#button-goforward {
151 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
152 -moz-image-region: rect(63px 25px 84px 0px);
153}
154
d61a45b2
RK
155#button-goforward:not([disabled="true"]):hover,
156#button-goforward:not([disabled="true"]):hover:active,
c452635d
RK
157#button-goforward[open="true"] {
158 -moz-image-region: rect(63px 75px 84px 50px);
159}
160
ee6cb01c 161#button-goforward[disabled="true"] {
d61a45b2 162 -moz-image-region: rect(63px 50px 84px 25px);
ee6cb01c
RK
163}
164
b1eaa419 165#button-next {
303bd2e1
RK
166 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
167 -moz-image-region: rect(126px 25px 147px 0px);
b1eaa419 168}
351107c9 169
303bd2e1
RK
170#button-next[disabled="true"] {
171 -moz-image-region: rect(126px 50px 147px 25px);
3a121502 172}
b1eaa419 173
303bd2e1
RK
174#button-next:not([disabled="true"]):hover,
175#button-next:not([disabled="true"]):hover:active,
176#button-next[open="true"] {
177 -moz-image-region: rect(126px 75px 147px 50px);
b1eaa419 178}
179
180#button-delete {
303bd2e1
RK
181 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
182 -moz-image-region: rect(0px 25px 21px 0px);
b1eaa419 183}
351107c9 184
303bd2e1
RK
185#button-delete[disabled="true"] {
186 -moz-image-region: rect(0px 50px 21px 25px);
3a121502 187}
351107c9 188
303bd2e1
RK
189#button-delete:not([disabled="true"]):hover,
190#button-delete:not([disabled="true"]):hover:active {
191 -moz-image-region: rect(0px 75px 21px 50px);
351107c9 192}
193
aeb317b8
RK
194toolbarpaletteitem > #button-delete {
195 display: -moz-box;
196}
197
b1eaa419 198#button-mark {
303bd2e1
RK
199 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
200 -moz-image-region: rect(84px 25px 105px 0px);
b1eaa419 201}
351107c9 202
303bd2e1
RK
203#button-mark[disabled="true"] {
204 -moz-image-region: rect(84px 50px 105px 25px);
3a121502 205}
b1eaa419 206
303bd2e1
RK
207#button-mark:not([disabled="true"]):hover,
208#button-mark:not([disabled="true"]):hover:active,
209#button-mark[open="true"] {
210 -moz-image-region: rect(84px 75px 105px 50px);
b1eaa419 211}
212
213#button-print {
ee6cb01c
RK
214 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
215 -moz-image-region: rect(0px 25px 21px 0px);
b1eaa419 216}
351107c9 217
d61a45b2
RK
218#button-print:not([disabled="true"]):hover,
219#button-print:not([disabled="true"]):hover:active,
b1eaa419 220#button-print[open="true"] {
ee6cb01c 221 -moz-image-region: rect(0px 75px 21px 50px);
b1eaa419 222}
223
224#button-print[disabled="true"] {
d61a45b2 225 -moz-image-region: rect(0px 50px 21px 25px);
b1eaa419 226}
227
228#button-stop {
ee6cb01c
RK
229 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
230 -moz-image-region: rect(21px 25px 42px 0px);
b1eaa419 231}
351107c9 232
d61a45b2
RK
233#button-stop:not([disabled="true"]):hover,
234#button-stop:not([disabled="true"]):hover:active {
ee6cb01c 235 -moz-image-region: rect(21px 75px 42px 50px);
b1eaa419 236}
237
238#button-stop[disabled="true"] {
d61a45b2 239 -moz-image-region: rect(21px 50px 42px 25px);
b1eaa419 240}
07b3f504 241
d9954aaf 242#button-junk {
303bd2e1
RK
243 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
244 -moz-image-region: rect(252px 25px 273px 0px);
07b3f504 245}
246
d9954aaf 247#button-junk[disabled="true"] {
303bd2e1 248 -moz-image-region: rect(252px 50px 273px 25px);
3a121502 249}
07b3f504 250
d9954aaf
RK
251#button-junk:not([disabled="true"]):hover,
252#button-junk:not([disabled="true"]):hover:active {
303bd2e1 253 -moz-image-region: rect(252px 75px 273px 50px);
07b3f504 254}
ac1cdf20 255
c710949d 256/* ::::: small primary toolbar buttons ::::: */
49bed253 257
8b17a53f
RK
258toolbar[iconsize="small"] > #button-getmsg,
259toolbar[iconsize="small"] > toolbarpaletteitem > #button-getmsg {
c710949d
RK
260 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
261 -moz-image-region: rect(48px 16px 64px 0);
262}
263
264toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
d61a45b2 265 -moz-image-region: rect(48px 32px 64px 16px);
c710949d
RK
266}
267
268toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover,
49bed253
RK
269toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover:active,
270toolbar[iconsize="small"] > #button-getmsg[open="true"] {
c710949d
RK
271 -moz-image-region: rect(48px 48px 64px 32px);
272}
273
8b17a53f
RK
274toolbar[iconsize="small"] > #button-newmsg,
275toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmsg {
c710949d
RK
276 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
277 -moz-image-region: rect(80px 16px 96px 0);
278}
279
280toolbar[iconsize="small"] > #button-newmsg[disabled="true"] {
d61a45b2 281 -moz-image-region: rect(80px 32px 96px 16px);
c710949d
RK
282}
283
284toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover,
285toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover:active {
286 -moz-image-region: rect(80px 48px 96px 32px);
287}
288
8b17a53f
RK
289toolbar[iconsize="small"] > #button-reply,
290toolbar[iconsize="small"] > toolbarpaletteitem > #button-reply {
c710949d
RK
291 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
292 -moz-image-region: rect(112px 16px 128px 0);
293}
294
295toolbar[iconsize="small"] > #button-reply[disabled="true"] {
d61a45b2 296 -moz-image-region: rect(112px 32px 128px 16px);
c710949d
RK
297}
298
299toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover,
49bed253
RK
300toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover:active,
301toolbar[iconsize="small"] > #button-reply[open="true"] {
c710949d
RK
302 -moz-image-region: rect(112px 48px 128px 32px);
303}
304
8b17a53f
RK
305toolbar[iconsize="small"] > #button-replyall,
306toolbar[iconsize="small"] > toolbarpaletteitem > #button-replyall {
c710949d
RK
307 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
308 -moz-image-region: rect(128px 16px 144px 0);
309}
310
311toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
d61a45b2 312 -moz-image-region: rect(128px 32px 144px 16px);
c710949d
RK
313}
314
315toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover,
49bed253
RK
316toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active,
317toolbar[iconsize="small"] > #button-replyall[open="true"] {
c710949d
RK
318 -moz-image-region: rect(128px 48px 144px 32px);
319}
320
8b17a53f
RK
321toolbar[iconsize="small"] > #button-forward,
322toolbar[iconsize="small"] > toolbarpaletteitem > #button-forward {
c710949d
RK
323 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
324 -moz-image-region: rect(32px 16px 48px 0);
325}
326
327toolbar[iconsize="small"] > #button-forward[disabled="true"] {
d61a45b2 328 -moz-image-region: rect(32px 32px 48px 16px);
c710949d
RK
329}
330
331toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover,
49bed253
RK
332toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover:active,
333toolbar[iconsize="small"] > #button-forward[open="true"] {
c710949d
RK
334 -moz-image-region: rect(32px 48px 48px 32px);
335}
336
8b17a53f
RK
337toolbar[iconsize="small"] > #button-file,
338toolbar[iconsize="small"] > toolbarpaletteitem > #button-file {
c710949d
RK
339 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
340 -moz-image-region: rect(16px 16px 32px 0);
341}
342
343toolbar[iconsize="small"] > #button-file[disabled="true"] {
d61a45b2 344 -moz-image-region: rect(16px 32px 32px 16px);
c710949d
RK
345}
346
347toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover,
49bed253
RK
348toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover:active,
349toolbar[iconsize="small"] > #button-file[open="true"] {
c710949d
RK
350 -moz-image-region: rect(16px 48px 32px 32px);
351}
49bed253 352
8b17a53f
RK
353toolbar[iconsize="small"] > #button-goback,
354toolbar[iconsize="small"] > toolbarpaletteitem > #button-goback {
c710949d
RK
355 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
356 -moz-image-region: rect(32px 16px 48px 0);
357}
358
359toolbar[iconsize="small"] > #button-goback[disabled="true"] {
d61a45b2 360 -moz-image-region: rect(32px 32px 48px 16px);
c710949d
RK
361}
362
363toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover,
49bed253
RK
364toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover:active,
365toolbar[iconsize="small"] > #button-goback[open="true"] {
c710949d
RK
366 -moz-image-region: rect(32px 48px 48px 32px);
367}
368
8b17a53f
RK
369toolbar[iconsize="small"] > #button-goforward,
370toolbar[iconsize="small"] > toolbarpaletteitem > #button-goforward {
c710949d
RK
371 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
372 -moz-image-region: rect(48px 16px 64px 0);
373}
374
375toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
d61a45b2 376 -moz-image-region: rect(48px 32px 64px 16px);
c710949d
RK
377}
378
379toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover,
49bed253
RK
380toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover:active,
381toolbar[iconsize="small"] > #button-goforward[open="true"] {
c710949d
RK
382 -moz-image-region: rect(48px 48px 64px 32px);
383}
49bed253 384
8b17a53f
RK
385toolbar[iconsize="small"] > #button-next,
386toolbar[iconsize="small"] > toolbarpaletteitem > #button-next {
c710949d
RK
387 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
388 -moz-image-region: rect(96px 16px 112px 0);
389}
390
391toolbar[iconsize="small"] > #button-next[disabled="true"] {
d61a45b2 392 -moz-image-region: rect(96px 32px 112px 16px);
c710949d
RK
393}
394
395toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover,
49bed253
RK
396toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover:active,
397toolbar[iconsize="small"] > #button-next[open="true"] {
c710949d
RK
398 -moz-image-region: rect(96px 48px 112px 32px);
399}
400
8b17a53f
RK
401toolbar[iconsize="small"] > #button-delete,
402toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete {
c710949d
RK
403 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
404 -moz-image-region: rect(0 16px 16px 0);
405}
406
407toolbar[iconsize="small"] > #button-delete[disabled="true"] {
d61a45b2 408 -moz-image-region: rect(0 32px 16px 16px);
c710949d
RK
409}
410
411toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover,
412toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover:active {
413 -moz-image-region: rect(0 48px 16px 32px);
414}
415
8b17a53f
RK
416toolbar[iconsize="small"] > #button-mark,
417toolbar[iconsize="small"] > toolbarpaletteitem > #button-mark {
c710949d
RK
418 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
419 -moz-image-region: rect(64px 16px 80px 0);
420}
421
422toolbar[iconsize="small"] > #button-mark[disabled="true"] {
d61a45b2 423 -moz-image-region: rect(64px 32px 80px 16px);
c710949d
RK
424}
425
426toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover,
49bed253
RK
427toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover:active,
428toolbar[iconsize="small"] > #button-mark[open="true"] {
c710949d
RK
429 -moz-image-region: rect(64px 48px 80px 32px);
430}
431
8b17a53f
RK
432toolbar[iconsize="small"] > #button-junk,
433toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk {
c710949d
RK
434 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
435 -moz-image-region: rect(192px 16px 208px 0);
436}
437
d9954aaf 438toolbar[iconsize="small"] > #button-junk[disabled="true"] {
d61a45b2 439 -moz-image-region: rect(192px 32px 208px 16px);
c710949d
RK
440}
441
d9954aaf
RK
442toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover
443toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover:active {
c710949d
RK
444 -moz-image-region: rect(192px 48px 208px 32px);
445}
49bed253 446
8b17a53f
RK
447toolbar[iconsize="small"] > #button-print,
448toolbar[iconsize="small"] > toolbarpaletteitem > #button-print {
c710949d
RK
449 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
450 -moz-image-region: rect(0 16px 16px 0);
451}
452
453toolbar[iconsize="small"] > #button-print[disabled="true"] {
d61a45b2 454 -moz-image-region: rect(0 32px 16px 16px);
c710949d
RK
455}
456
457toolbar[iconsize="small"] > #button-print:not([disabled="true"]):hover,
458toolbar[iconsize="small"] > #button-print:not([disabled="true"]):hover:active {
459 -moz-image-region: rect(0 48px 16px 32px);
460}
461
8b17a53f
RK
462toolbar[iconsize="small"] > #button-stop,
463toolbar[iconsize="small"] > toolbarpaletteitem > #button-stop {
c710949d
RK
464 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
465 -moz-image-region: rect(16px 16px 32px 0);
466}
467
468toolbar[iconsize="small"] > #button-stop[disabled="true"] {
d61a45b2 469 -moz-image-region: rect(16px 32px 32px 16px);
c710949d
RK
470}
471
472toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover,
473toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover:active {
474 -moz-image-region: rect(16px 48px 32px 32px);
475}
476
4605f956 477/* ::::: message notification bar style rules ::::: */
ac1cdf20 478
4605f956 479.msgNotificationBar {
ac1cdf20 480 -moz-border-radius: 7px;
481 padding: 3px;
482 margin-bottom: 3px;
483 background-color: #FF9F00;
484 color: #000000;
485}
486
4605f956 487.msgNotificationBarText {
488 font-weight: bold;
489}
490
491#junkBarImage {
492 list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
493}
494
ac1cdf20 495#junkIcon {
8caa872d 496 -moz-margin-start: 0.5ex;
ac1cdf20 497 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
498}
4605f956 499
500#remoteContentImage {
501 list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png");
502 padding: 3px;
503}
8c976b60 504
c40a795c
RK
505#mdnBarImage {
506 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
507 padding: 3px;
508}
509
8c976b60 510#allowRemoteContentForAuthorDesc {
8caa872d 511 -moz-padding-start: 10px;
8c976b60 512}