try more mac-specific toolbar adjustments
[themes.git] / LCARStrek / messenger / primaryToolbar.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
351107c9 4
5/* ===== primaryToolbar.css =============================================
6 == Images for the Mail primary toolbar.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11/* ::::: primary toolbar buttons ::::: */
12
b1eaa419 13#button-getmsg {
303bd2e1
RK
14 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
15 -moz-image-region: rect(63px 25px 84px 0px);
b1eaa419 16}
351107c9 17
303bd2e1
RK
18#button-getmsg[disabled="true"] {
19 -moz-image-region: rect(63px 50px 84px 25px);
3a121502 20}
b1eaa419 21
303bd2e1
RK
22#button-getmsg:not([disabled="true"]):hover,
23#button-getmsg:not([disabled="true"]):hover:active,
24#button-getmsg[open="true"] {
25 -moz-image-region: rect(63px 75px 84px 50px);
b1eaa419 26}
27
28#button-newmsg {
303bd2e1
RK
29 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
30 -moz-image-region: rect(105px 25px 126px 0px);
b1eaa419 31}
351107c9 32
303bd2e1
RK
33#button-newmsg[disabled="true"] {
34 -moz-image-region: rect(105px 50px 126px 25px);
3a121502 35}
b1eaa419 36
303bd2e1
RK
37#button-newmsg:not([disabled="true"]):hover,
38#button-newmsg:not([disabled="true"]):hover:active {
39 -moz-image-region: rect(105px 75px 126px 50px);
b1eaa419 40}
41
42#button-reply {
303bd2e1
RK
43 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
44 -moz-image-region: rect(147px 25px 168px 0px);
b1eaa419 45}
351107c9 46
303bd2e1
RK
47#button-reply[disabled="true"] {
48 -moz-image-region: rect(147px 50px 168px 25px);
3a121502 49}
b1eaa419 50
303bd2e1
RK
51#button-reply:not([disabled="true"]):hover,
52#button-reply:not([disabled="true"]):hover:active,
53#button-reply[open="true"] {
54 -moz-image-region: rect(147px 75px 168px 50px);
b1eaa419 55}
56
57#button-replyall {
303bd2e1
RK
58 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
59 -moz-image-region: rect(168px 25px 189px 0px);
b1eaa419 60}
351107c9 61
303bd2e1
RK
62#button-replyall[disabled="true"] {
63 -moz-image-region: rect(168px 50px 189px 25px);
3a121502 64}
b1eaa419 65
303bd2e1
RK
66#button-replyall:not([disabled="true"]):hover,
67#button-replyall:not([disabled="true"]):hover:active,
68#button-replyall[open="true"] {
69 -moz-image-region: rect(168px 75px 189px 50px);
b1eaa419 70}
71
72#button-forward {
303bd2e1
RK
73 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
74 -moz-image-region: rect(42px 25px 63px 0px);
b1eaa419 75}
351107c9 76
303bd2e1
RK
77#button-forward[disabled="true"] {
78 -moz-image-region: rect(42px 50px 63px 25px);
3a121502 79}
b1eaa419 80
303bd2e1
RK
81#button-forward:not([disabled="true"]):hover,
82#button-forward:not([disabled="true"]):hover:active,
83#button-forward[open="true"] {
84 -moz-image-region: rect(42px 75px 63px 50px);
b1eaa419 85}
86
87#button-file {
303bd2e1
RK
88 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
89 -moz-image-region: rect(21px 25px 42px 0px);
b1eaa419 90}
351107c9 91
303bd2e1
RK
92#button-file[disabled="true"] {
93 -moz-image-region: rect(21px 50px 42px 25px);
3a121502 94}
b1eaa419 95
303bd2e1
RK
96#button-file:not([disabled="true"]):hover,
97#button-file:not([disabled="true"]):hover:active,
98#button-file[open="true"] {
99 -moz-image-region: rect(21px 75px 42px 50px);
b1eaa419 100}
101
ee6cb01c
RK
102#button-goback {
103 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
104 -moz-image-region: rect(42px 25px 63px 0px);
105}
106
d61a45b2
RK
107#button-goback:not([disabled="true"]):hover,
108#button-goback:not([disabled="true"]):hover:active,
c452635d
RK
109#button-goback[open="true"] {
110 -moz-image-region: rect(42px 75px 63px 50px);
111}
112
ee6cb01c 113#button-goback[disabled="true"] {
d61a45b2 114 -moz-image-region: rect(42px 50px 63px 25px);
ee6cb01c
RK
115}
116
117#button-goforward {
118 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
119 -moz-image-region: rect(63px 25px 84px 0px);
120}
121
d61a45b2
RK
122#button-goforward:not([disabled="true"]):hover,
123#button-goforward:not([disabled="true"]):hover:active,
c452635d
RK
124#button-goforward[open="true"] {
125 -moz-image-region: rect(63px 75px 84px 50px);
126}
127
ee6cb01c 128#button-goforward[disabled="true"] {
d61a45b2 129 -moz-image-region: rect(63px 50px 84px 25px);
ee6cb01c
RK
130}
131
b1eaa419 132#button-next {
303bd2e1
RK
133 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
134 -moz-image-region: rect(126px 25px 147px 0px);
b1eaa419 135}
351107c9 136
303bd2e1
RK
137#button-next[disabled="true"] {
138 -moz-image-region: rect(126px 50px 147px 25px);
3a121502 139}
b1eaa419 140
303bd2e1
RK
141#button-next:not([disabled="true"]):hover,
142#button-next:not([disabled="true"]):hover:active,
143#button-next[open="true"] {
144 -moz-image-region: rect(126px 75px 147px 50px);
b1eaa419 145}
146
147#button-delete {
303bd2e1
RK
148 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
149 -moz-image-region: rect(0px 25px 21px 0px);
b1eaa419 150}
351107c9 151
303bd2e1
RK
152#button-delete[disabled="true"] {
153 -moz-image-region: rect(0px 50px 21px 25px);
3a121502 154}
351107c9 155
303bd2e1
RK
156#button-delete:not([disabled="true"]):hover,
157#button-delete:not([disabled="true"]):hover:active {
158 -moz-image-region: rect(0px 75px 21px 50px);
351107c9 159}
160
aeb317b8
RK
161toolbarpaletteitem > #button-delete {
162 display: -moz-box;
163}
164
b1eaa419 165#button-mark {
303bd2e1
RK
166 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
167 -moz-image-region: rect(84px 25px 105px 0px);
b1eaa419 168}
351107c9 169
303bd2e1
RK
170#button-mark[disabled="true"] {
171 -moz-image-region: rect(84px 50px 105px 25px);
3a121502 172}
b1eaa419 173
303bd2e1
RK
174#button-mark:not([disabled="true"]):hover,
175#button-mark:not([disabled="true"]):hover:active,
176#button-mark[open="true"] {
177 -moz-image-region: rect(84px 75px 105px 50px);
b1eaa419 178}
179
b1eaa419 180#button-stop {
ee6cb01c
RK
181 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
182 -moz-image-region: rect(21px 25px 42px 0px);
b1eaa419 183}
351107c9 184
d61a45b2
RK
185#button-stop:not([disabled="true"]):hover,
186#button-stop:not([disabled="true"]):hover:active {
ee6cb01c 187 -moz-image-region: rect(21px 75px 42px 50px);
b1eaa419 188}
189
190#button-stop[disabled="true"] {
d61a45b2 191 -moz-image-region: rect(21px 50px 42px 25px);
b1eaa419 192}
07b3f504 193
d9954aaf 194#button-junk {
303bd2e1
RK
195 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
196 -moz-image-region: rect(252px 25px 273px 0px);
07b3f504 197}
198
d9954aaf 199#button-junk[disabled="true"] {
303bd2e1 200 -moz-image-region: rect(252px 50px 273px 25px);
3a121502 201}
07b3f504 202
d9954aaf
RK
203#button-junk:not([disabled="true"]):hover,
204#button-junk:not([disabled="true"]):hover:active {
303bd2e1 205 -moz-image-region: rect(252px 75px 273px 50px);
07b3f504 206}
ac1cdf20 207
c2e1f790
RK
208#sync-button {
209 list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
210}
211
212#sync-button[status=active] {
213 list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
214}
215
aa39c771
RK
216#locationFolders {
217 width: 22em;
218}
219
220toolbarpaletteitem[place="palette"] > #folder-location-container > #locationFolders {
221 max-width: 11em;
222}
223
224toolbarpaletteitem[place="palette"] > #search-container > #searchInput {
225 max-width: 11em;
226}
227
228toolbarpaletteitem[place="palette"] > #mailviews-container > #viewPicker {
229 max-width: 11em;
230}
231
232#viewPickerPopup > menuitem > .menu-iconic-left,
233#viewPickerPopup > menu > menupopup > menuitem > .menu-iconic-left {
234 display: -moz-box !important;
235}
236
c710949d 237/* ::::: small primary toolbar buttons ::::: */
49bed253 238
8b17a53f
RK
239toolbar[iconsize="small"] > #button-getmsg,
240toolbar[iconsize="small"] > toolbarpaletteitem > #button-getmsg {
c710949d
RK
241 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
242 -moz-image-region: rect(48px 16px 64px 0);
243}
244
245toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
d61a45b2 246 -moz-image-region: rect(48px 32px 64px 16px);
c710949d
RK
247}
248
249toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover,
49bed253
RK
250toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover:active,
251toolbar[iconsize="small"] > #button-getmsg[open="true"] {
c710949d
RK
252 -moz-image-region: rect(48px 48px 64px 32px);
253}
254
8b17a53f
RK
255toolbar[iconsize="small"] > #button-newmsg,
256toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmsg {
c710949d
RK
257 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
258 -moz-image-region: rect(80px 16px 96px 0);
259}
260
261toolbar[iconsize="small"] > #button-newmsg[disabled="true"] {
d61a45b2 262 -moz-image-region: rect(80px 32px 96px 16px);
c710949d
RK
263}
264
265toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover,
266toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover:active {
267 -moz-image-region: rect(80px 48px 96px 32px);
268}
269
8b17a53f
RK
270toolbar[iconsize="small"] > #button-reply,
271toolbar[iconsize="small"] > toolbarpaletteitem > #button-reply {
c710949d
RK
272 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
273 -moz-image-region: rect(112px 16px 128px 0);
274}
275
276toolbar[iconsize="small"] > #button-reply[disabled="true"] {
d61a45b2 277 -moz-image-region: rect(112px 32px 128px 16px);
c710949d
RK
278}
279
280toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover,
49bed253
RK
281toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover:active,
282toolbar[iconsize="small"] > #button-reply[open="true"] {
c710949d
RK
283 -moz-image-region: rect(112px 48px 128px 32px);
284}
285
8b17a53f
RK
286toolbar[iconsize="small"] > #button-replyall,
287toolbar[iconsize="small"] > toolbarpaletteitem > #button-replyall {
c710949d
RK
288 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
289 -moz-image-region: rect(128px 16px 144px 0);
290}
291
292toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
d61a45b2 293 -moz-image-region: rect(128px 32px 144px 16px);
c710949d
RK
294}
295
296toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover,
49bed253
RK
297toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active,
298toolbar[iconsize="small"] > #button-replyall[open="true"] {
c710949d
RK
299 -moz-image-region: rect(128px 48px 144px 32px);
300}
301
8b17a53f
RK
302toolbar[iconsize="small"] > #button-forward,
303toolbar[iconsize="small"] > toolbarpaletteitem > #button-forward {
c710949d
RK
304 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
305 -moz-image-region: rect(32px 16px 48px 0);
306}
307
308toolbar[iconsize="small"] > #button-forward[disabled="true"] {
d61a45b2 309 -moz-image-region: rect(32px 32px 48px 16px);
c710949d
RK
310}
311
312toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover,
49bed253
RK
313toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover:active,
314toolbar[iconsize="small"] > #button-forward[open="true"] {
c710949d
RK
315 -moz-image-region: rect(32px 48px 48px 32px);
316}
317
8b17a53f
RK
318toolbar[iconsize="small"] > #button-file,
319toolbar[iconsize="small"] > toolbarpaletteitem > #button-file {
c710949d
RK
320 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
321 -moz-image-region: rect(16px 16px 32px 0);
322}
323
324toolbar[iconsize="small"] > #button-file[disabled="true"] {
d61a45b2 325 -moz-image-region: rect(16px 32px 32px 16px);
c710949d
RK
326}
327
328toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover,
49bed253
RK
329toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover:active,
330toolbar[iconsize="small"] > #button-file[open="true"] {
c710949d
RK
331 -moz-image-region: rect(16px 48px 32px 32px);
332}
49bed253 333
8b17a53f
RK
334toolbar[iconsize="small"] > #button-goback,
335toolbar[iconsize="small"] > toolbarpaletteitem > #button-goback {
c710949d
RK
336 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
337 -moz-image-region: rect(32px 16px 48px 0);
338}
339
340toolbar[iconsize="small"] > #button-goback[disabled="true"] {
d61a45b2 341 -moz-image-region: rect(32px 32px 48px 16px);
c710949d
RK
342}
343
344toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover,
49bed253
RK
345toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover:active,
346toolbar[iconsize="small"] > #button-goback[open="true"] {
c710949d
RK
347 -moz-image-region: rect(32px 48px 48px 32px);
348}
349
8b17a53f
RK
350toolbar[iconsize="small"] > #button-goforward,
351toolbar[iconsize="small"] > toolbarpaletteitem > #button-goforward {
c710949d
RK
352 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
353 -moz-image-region: rect(48px 16px 64px 0);
354}
355
356toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
d61a45b2 357 -moz-image-region: rect(48px 32px 64px 16px);
c710949d
RK
358}
359
360toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover,
49bed253
RK
361toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover:active,
362toolbar[iconsize="small"] > #button-goforward[open="true"] {
c710949d
RK
363 -moz-image-region: rect(48px 48px 64px 32px);
364}
49bed253 365
8b17a53f
RK
366toolbar[iconsize="small"] > #button-next,
367toolbar[iconsize="small"] > toolbarpaletteitem > #button-next {
c710949d
RK
368 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
369 -moz-image-region: rect(96px 16px 112px 0);
370}
371
372toolbar[iconsize="small"] > #button-next[disabled="true"] {
d61a45b2 373 -moz-image-region: rect(96px 32px 112px 16px);
c710949d
RK
374}
375
376toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover,
49bed253
RK
377toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover:active,
378toolbar[iconsize="small"] > #button-next[open="true"] {
c710949d
RK
379 -moz-image-region: rect(96px 48px 112px 32px);
380}
381
8b17a53f
RK
382toolbar[iconsize="small"] > #button-delete,
383toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete {
c710949d
RK
384 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
385 -moz-image-region: rect(0 16px 16px 0);
386}
387
388toolbar[iconsize="small"] > #button-delete[disabled="true"] {
d61a45b2 389 -moz-image-region: rect(0 32px 16px 16px);
c710949d
RK
390}
391
392toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover,
393toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover:active {
394 -moz-image-region: rect(0 48px 16px 32px);
395}
396
8b17a53f
RK
397toolbar[iconsize="small"] > #button-mark,
398toolbar[iconsize="small"] > toolbarpaletteitem > #button-mark {
c710949d
RK
399 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
400 -moz-image-region: rect(64px 16px 80px 0);
401}
402
403toolbar[iconsize="small"] > #button-mark[disabled="true"] {
d61a45b2 404 -moz-image-region: rect(64px 32px 80px 16px);
c710949d
RK
405}
406
407toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover,
49bed253
RK
408toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover:active,
409toolbar[iconsize="small"] > #button-mark[open="true"] {
c710949d
RK
410 -moz-image-region: rect(64px 48px 80px 32px);
411}
412
8b17a53f
RK
413toolbar[iconsize="small"] > #button-junk,
414toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk {
c710949d
RK
415 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
416 -moz-image-region: rect(192px 16px 208px 0);
417}
418
d9954aaf 419toolbar[iconsize="small"] > #button-junk[disabled="true"] {
d61a45b2 420 -moz-image-region: rect(192px 32px 208px 16px);
c710949d
RK
421}
422
d9954aaf
RK
423toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover
424toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover:active {
c710949d
RK
425 -moz-image-region: rect(192px 48px 208px 32px);
426}
49bed253 427
8b17a53f
RK
428toolbar[iconsize="small"] > #button-stop,
429toolbar[iconsize="small"] > toolbarpaletteitem > #button-stop {
c710949d
RK
430 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
431 -moz-image-region: rect(16px 16px 32px 0);
432}
433
434toolbar[iconsize="small"] > #button-stop[disabled="true"] {
d61a45b2 435 -moz-image-region: rect(16px 32px 32px 16px);
c710949d
RK
436}
437
438toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover,
439toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover:active {
440 -moz-image-region: rect(16px 48px 32px 32px);
441}
442
c2e1f790
RK
443toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
444toolbar[iconsize="small"] > #sync-button {
445 list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
446}
447
448toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
449toolbar[iconsize="small"] > #sync-button[status=active] {
450 list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
451}
452
4605f956 453/* ::::: message notification bar style rules ::::: */
ac1cdf20 454
01d40f5a
RK
455#msgNotificationBar:not([collapsed="true"]) > .msgNotificationBar {
456 margin-bottom: 3px;
457}
458
4605f956 459.msgNotificationBar {
569543b3 460 border-radius: 7px;
ac1cdf20 461 padding: 3px;
ac1cdf20 462 background-color: #FF9F00;
463 color: #000000;
464}
465
fb2b5761
RK
466.msgNotificationBar:-moz-lwtheme {
467 text-shadow: none;
468}
469
8f5d5e21
RK
470.messageImage[value="remoteContent"] {
471 list-style-image: url("chrome://messenger/skin/icons/remote-blocked.png");
4605f956 472}
473
8f5d5e21
RK
474.messageImage[value="junkContent"] {
475 list-style-image: url("chrome://messenger/skin/icons/junk.png");
4605f956 476}
477
8f5d5e21
RK
478.messageImage[value="phishingContent"] {
479 list-style-image: url("chrome://messenger/skin/icons/phishing.png");
ac1cdf20 480}
4605f956 481
8f5d5e21
RK
482.messageImage[value="mdnContent"] {
483 list-style-image: url("chrome://messenger/skin/icons/info.png");
8c976b60 484}