Merge branch 'master' of linz:/srv/git/themes
[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
b1eaa419 213#button-stop {
ee6cb01c
RK
214 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
215 -moz-image-region: rect(21px 25px 42px 0px);
b1eaa419 216}
351107c9 217
d61a45b2
RK
218#button-stop:not([disabled="true"]):hover,
219#button-stop:not([disabled="true"]):hover:active {
ee6cb01c 220 -moz-image-region: rect(21px 75px 42px 50px);
b1eaa419 221}
222
223#button-stop[disabled="true"] {
d61a45b2 224 -moz-image-region: rect(21px 50px 42px 25px);
b1eaa419 225}
07b3f504 226
d9954aaf 227#button-junk {
303bd2e1
RK
228 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
229 -moz-image-region: rect(252px 25px 273px 0px);
07b3f504 230}
231
d9954aaf 232#button-junk[disabled="true"] {
303bd2e1 233 -moz-image-region: rect(252px 50px 273px 25px);
3a121502 234}
07b3f504 235
d9954aaf
RK
236#button-junk:not([disabled="true"]):hover,
237#button-junk:not([disabled="true"]):hover:active {
303bd2e1 238 -moz-image-region: rect(252px 75px 273px 50px);
07b3f504 239}
ac1cdf20 240
c2e1f790
RK
241#sync-button {
242 list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
243}
244
245#sync-button[status=active] {
246 list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
247}
248
aa39c771
RK
249#locationFolders {
250 width: 22em;
251}
252
253toolbarpaletteitem[place="palette"] > #folder-location-container > #locationFolders {
254 max-width: 11em;
255}
256
257toolbarpaletteitem[place="palette"] > #search-container > #searchInput {
258 max-width: 11em;
259}
260
261toolbarpaletteitem[place="palette"] > #mailviews-container > #viewPicker {
262 max-width: 11em;
263}
264
265#viewPickerPopup > menuitem > .menu-iconic-left,
266#viewPickerPopup > menu > menupopup > menuitem > .menu-iconic-left {
267 display: -moz-box !important;
268}
269
c710949d 270/* ::::: small primary toolbar buttons ::::: */
49bed253 271
8b17a53f
RK
272toolbar[iconsize="small"] > #button-getmsg,
273toolbar[iconsize="small"] > toolbarpaletteitem > #button-getmsg {
c710949d
RK
274 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
275 -moz-image-region: rect(48px 16px 64px 0);
276}
277
278toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
d61a45b2 279 -moz-image-region: rect(48px 32px 64px 16px);
c710949d
RK
280}
281
282toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover,
49bed253
RK
283toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover:active,
284toolbar[iconsize="small"] > #button-getmsg[open="true"] {
c710949d
RK
285 -moz-image-region: rect(48px 48px 64px 32px);
286}
287
8b17a53f
RK
288toolbar[iconsize="small"] > #button-newmsg,
289toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmsg {
c710949d
RK
290 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
291 -moz-image-region: rect(80px 16px 96px 0);
292}
293
294toolbar[iconsize="small"] > #button-newmsg[disabled="true"] {
d61a45b2 295 -moz-image-region: rect(80px 32px 96px 16px);
c710949d
RK
296}
297
298toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover,
299toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover:active {
300 -moz-image-region: rect(80px 48px 96px 32px);
301}
302
8b17a53f
RK
303toolbar[iconsize="small"] > #button-reply,
304toolbar[iconsize="small"] > toolbarpaletteitem > #button-reply {
c710949d
RK
305 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
306 -moz-image-region: rect(112px 16px 128px 0);
307}
308
309toolbar[iconsize="small"] > #button-reply[disabled="true"] {
d61a45b2 310 -moz-image-region: rect(112px 32px 128px 16px);
c710949d
RK
311}
312
313toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover,
49bed253
RK
314toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover:active,
315toolbar[iconsize="small"] > #button-reply[open="true"] {
c710949d
RK
316 -moz-image-region: rect(112px 48px 128px 32px);
317}
318
8b17a53f
RK
319toolbar[iconsize="small"] > #button-replyall,
320toolbar[iconsize="small"] > toolbarpaletteitem > #button-replyall {
c710949d
RK
321 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
322 -moz-image-region: rect(128px 16px 144px 0);
323}
324
325toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
d61a45b2 326 -moz-image-region: rect(128px 32px 144px 16px);
c710949d
RK
327}
328
329toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover,
49bed253
RK
330toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active,
331toolbar[iconsize="small"] > #button-replyall[open="true"] {
c710949d
RK
332 -moz-image-region: rect(128px 48px 144px 32px);
333}
334
8b17a53f
RK
335toolbar[iconsize="small"] > #button-forward,
336toolbar[iconsize="small"] > toolbarpaletteitem > #button-forward {
c710949d
RK
337 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
338 -moz-image-region: rect(32px 16px 48px 0);
339}
340
341toolbar[iconsize="small"] > #button-forward[disabled="true"] {
d61a45b2 342 -moz-image-region: rect(32px 32px 48px 16px);
c710949d
RK
343}
344
345toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover,
49bed253
RK
346toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover:active,
347toolbar[iconsize="small"] > #button-forward[open="true"] {
c710949d
RK
348 -moz-image-region: rect(32px 48px 48px 32px);
349}
350
8b17a53f
RK
351toolbar[iconsize="small"] > #button-file,
352toolbar[iconsize="small"] > toolbarpaletteitem > #button-file {
c710949d
RK
353 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
354 -moz-image-region: rect(16px 16px 32px 0);
355}
356
357toolbar[iconsize="small"] > #button-file[disabled="true"] {
d61a45b2 358 -moz-image-region: rect(16px 32px 32px 16px);
c710949d
RK
359}
360
361toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover,
49bed253
RK
362toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover:active,
363toolbar[iconsize="small"] > #button-file[open="true"] {
c710949d
RK
364 -moz-image-region: rect(16px 48px 32px 32px);
365}
49bed253 366
8b17a53f
RK
367toolbar[iconsize="small"] > #button-goback,
368toolbar[iconsize="small"] > toolbarpaletteitem > #button-goback {
c710949d
RK
369 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
370 -moz-image-region: rect(32px 16px 48px 0);
371}
372
373toolbar[iconsize="small"] > #button-goback[disabled="true"] {
d61a45b2 374 -moz-image-region: rect(32px 32px 48px 16px);
c710949d
RK
375}
376
377toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover,
49bed253
RK
378toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover:active,
379toolbar[iconsize="small"] > #button-goback[open="true"] {
c710949d
RK
380 -moz-image-region: rect(32px 48px 48px 32px);
381}
382
8b17a53f
RK
383toolbar[iconsize="small"] > #button-goforward,
384toolbar[iconsize="small"] > toolbarpaletteitem > #button-goforward {
c710949d
RK
385 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
386 -moz-image-region: rect(48px 16px 64px 0);
387}
388
389toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
d61a45b2 390 -moz-image-region: rect(48px 32px 64px 16px);
c710949d
RK
391}
392
393toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover,
49bed253
RK
394toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover:active,
395toolbar[iconsize="small"] > #button-goforward[open="true"] {
c710949d
RK
396 -moz-image-region: rect(48px 48px 64px 32px);
397}
49bed253 398
8b17a53f
RK
399toolbar[iconsize="small"] > #button-next,
400toolbar[iconsize="small"] > toolbarpaletteitem > #button-next {
c710949d
RK
401 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
402 -moz-image-region: rect(96px 16px 112px 0);
403}
404
405toolbar[iconsize="small"] > #button-next[disabled="true"] {
d61a45b2 406 -moz-image-region: rect(96px 32px 112px 16px);
c710949d
RK
407}
408
409toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover,
49bed253
RK
410toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover:active,
411toolbar[iconsize="small"] > #button-next[open="true"] {
c710949d
RK
412 -moz-image-region: rect(96px 48px 112px 32px);
413}
414
8b17a53f
RK
415toolbar[iconsize="small"] > #button-delete,
416toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete {
c710949d
RK
417 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
418 -moz-image-region: rect(0 16px 16px 0);
419}
420
421toolbar[iconsize="small"] > #button-delete[disabled="true"] {
d61a45b2 422 -moz-image-region: rect(0 32px 16px 16px);
c710949d
RK
423}
424
425toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover,
426toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover:active {
427 -moz-image-region: rect(0 48px 16px 32px);
428}
429
8b17a53f
RK
430toolbar[iconsize="small"] > #button-mark,
431toolbar[iconsize="small"] > toolbarpaletteitem > #button-mark {
c710949d
RK
432 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
433 -moz-image-region: rect(64px 16px 80px 0);
434}
435
436toolbar[iconsize="small"] > #button-mark[disabled="true"] {
d61a45b2 437 -moz-image-region: rect(64px 32px 80px 16px);
c710949d
RK
438}
439
440toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover,
49bed253
RK
441toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover:active,
442toolbar[iconsize="small"] > #button-mark[open="true"] {
c710949d
RK
443 -moz-image-region: rect(64px 48px 80px 32px);
444}
445
8b17a53f
RK
446toolbar[iconsize="small"] > #button-junk,
447toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk {
c710949d
RK
448 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
449 -moz-image-region: rect(192px 16px 208px 0);
450}
451
d9954aaf 452toolbar[iconsize="small"] > #button-junk[disabled="true"] {
d61a45b2 453 -moz-image-region: rect(192px 32px 208px 16px);
c710949d
RK
454}
455
d9954aaf
RK
456toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover
457toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover:active {
c710949d
RK
458 -moz-image-region: rect(192px 48px 208px 32px);
459}
49bed253 460
8b17a53f
RK
461toolbar[iconsize="small"] > #button-stop,
462toolbar[iconsize="small"] > toolbarpaletteitem > #button-stop {
c710949d
RK
463 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
464 -moz-image-region: rect(16px 16px 32px 0);
465}
466
467toolbar[iconsize="small"] > #button-stop[disabled="true"] {
d61a45b2 468 -moz-image-region: rect(16px 32px 32px 16px);
c710949d
RK
469}
470
471toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover,
472toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover:active {
473 -moz-image-region: rect(16px 48px 32px 32px);
474}
475
c2e1f790
RK
476toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
477toolbar[iconsize="small"] > #sync-button {
478 list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
479}
480
481toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
482toolbar[iconsize="small"] > #sync-button[status=active] {
483 list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
484}
485
4605f956 486/* ::::: message notification bar style rules ::::: */
ac1cdf20 487
4605f956 488.msgNotificationBar {
569543b3 489 border-radius: 7px;
ac1cdf20 490 padding: 3px;
491 margin-bottom: 3px;
492 background-color: #FF9F00;
493 color: #000000;
494}
495
fb2b5761
RK
496.msgNotificationBar:-moz-lwtheme {
497 text-shadow: none;
498}
499
4605f956 500.msgNotificationBarText {
501 font-weight: bold;
502}
503
504#junkBarImage {
505 list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
506}
507
ac1cdf20 508#junkIcon {
8caa872d 509 -moz-margin-start: 0.5ex;
ac1cdf20 510 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
511}
4605f956 512
513#remoteContentImage {
514 list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png");
515 padding: 3px;
516}
8c976b60 517
c40a795c
RK
518#mdnBarImage {
519 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
520 padding: 3px;
521}
522
8c976b60 523#allowRemoteContentForAuthorDesc {
8caa872d 524 -moz-padding-start: 10px;
8c976b60 525}