summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/classic/mac/messenger/primaryToolbar.css
blob: 372c6472d9bee6b87724e50b28358fe6c9cf7054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* ===== primaryToolbar.css =============================================
  == Images for the Mail primary toolbar.
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.mail-toolbox {
  border-bottom: 1px solid #A1A1A1;
  background-color: #E8E8E8;
}

/* ::::: primary toolbar buttons ::::: */

#button-getmsg {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(90px 29px 119px 0);
}

#button-getmsg:hover:active,
#button-getmsg[open] {
  -moz-image-region: rect(90px 59px 119px 30px);
}

#button-getmsg[disabled="true"] {
  -moz-image-region: rect(90px 89px 119px 60px) !important;
}

#button-newmsg {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(150px 29px 179px 0);
}

#button-newmsg:hover:active,
#button-newmsg[open] {
  -moz-image-region: rect(150px 59px 179px 30px);
}

#button-newmsg[disabled="true"] {
  -moz-image-region: rect(150px 89px 179px 60px) !important;
}

#button-reply {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(210px 29px 239px 0);
}

#button-reply:hover:active,
#button-reply[open] {
  -moz-image-region: rect(210px 59px 239px 30px);
}

#button-reply[disabled="true"] {
  -moz-image-region: rect(210px 89px 239px 60px) !important;
}

#button-replyall {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(240px 29px 269px 0);
}

#button-replyall:hover:active,
#button-replyall[open] {
  -moz-image-region: rect(240px 59px 269px 30px);
}

#button-replyall[disabled="true"] {
  -moz-image-region: rect(240px 89px 269px 60px) !important;
}

#button-forward {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(60px 29px 89px 0);
}

#button-forward:hover:active,
#button-forward[open] {
  -moz-image-region: rect(60px 59px 89px 30px);
}

#button-forward[disabled="true"] {
  -moz-image-region: rect(60px 89px 89px 60px) !important;
}

#button-file {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(30px 29px 59px 0);
}

#button-file:hover:active,
#button-file[open] {
  -moz-image-region: rect(30px 59px 59px 30px);
}

#button-file[disabled="true"] {
  -moz-image-region: rect(30px 89px 59px 60px) !important;
}

#button-goback {
  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
  -moz-image-region: rect(60px 29px 89px 0);
}

#button-goback:hover:active,
#button-goback[open] {
  -moz-image-region: rect(60px 59px 89px 30px);
}

#button-goback[disabled="true"] {
  -moz-image-region: rect(60px 89px 89px 60px) !important;
}

#button-goforward {
  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
  -moz-image-region: rect(90px 29px 119px 0);
}

#button-goforward:hover:active,
#button-goforward[open] {
  -moz-image-region: rect(90px 59px 119px 30px);
}

#button-goforward[disabled="true"] {
  -moz-image-region: rect(90px 89px 119px 60px) !important;
}

#button-next {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(180px 29px 209px 0);
}

#button-next:hover:active,
#button-next[open] {
  -moz-image-region: rect(180px 59px 209px 30px);
}

#button-next[disabled="true"] {
  -moz-image-region: rect(180px 89px 209px 60px) !important;
}

#button-delete {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(0 29px 29px 0);
}

#button-delete:hover:active {
  -moz-image-region: rect(0 59px 29px 30px);
}

#button-delete[disabled] {
  -moz-image-region: rect(0 89px 29px 60px) !important;
}

toolbarpaletteitem > #button-delete {
  display: -moz-box;
}

#button-mark {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(120px 29px 149px 0);
}

#button-mark:hover:active,
#button-mark[open] {
  -moz-image-region: rect(120px 59px 149px 30px);
}

#button-mark[disabled="true"] {
  -moz-image-region: rect(120px 89px 149px 60px) !important;
}

#button-junk {
  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
  -moz-image-region: rect(360px 29px 389px 0);
}

#button-junk:hover:active {
  -moz-image-region: rect(360px 59px 389px 30px);
}

#button-junk[disabled="true"] {
  -moz-image-region: rect(360px 89px 389px 60px) !important;
}

#button-stop {
  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
  -moz-image-region: rect(30px 29px 59px 0);
}

#button-stop:hover:active {
  -moz-image-region: rect(30px 59px 59px 30px);
}

#button-stop[disabled="true"] {
  -moz-image-region: rect(30px 89px 59px 60px) !important;
}

#sync-button {
  list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
}

#sync-button[status=active] {
  list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
}

#locationFolders {
  width: 22em;
}

/* Force the folder location and mail view items to fit in the available width
   in the Customize Toolbar dialog. */
#palette-box #locationFolders,
#palette-box #folder-location-container,
#palette-box #searchInput,
#palette-box #button-search-container,
#palette-box #button-search,
#palette-box #mailviews-container,
#palette-box #viewPicker {
  -moz-box-flex: 1;
}

/* ::::: small primary toolbar buttons ::::: */

toolbar[iconsize="small"] > #button-getmsg,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-getmsg {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(60px 19px 79px 0);
}

toolbar[iconsize="small"] > #button-getmsg:hover:active,
toolbar[iconsize="small"] > #button-getmsg[open] {
  -moz-image-region: rect(60px 39px 79px 20px);
}

toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
  -moz-image-region: rect(60px 59px 79px 40px) !important;
}

toolbar[iconsize="small"] > #button-newmsg,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmsg {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(100px 19px 119px 0);
}

toolbar[iconsize="small"] > #button-newmsg:hover:active,
toolbar[iconsize="small"] > #button-newmsg[open] {
  -moz-image-region: rect(100px 39px 119px 20px);
}

toolbar[iconsize="small"] > #button-newmsg[disabled="true"] {
  -moz-image-region: rect(100px 59px 119px 40px) !important;
}

toolbar[iconsize="small"] > #button-reply,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-reply {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(140px 19px 159px 0);
}

toolbar[iconsize="small"] > #button-reply:hover:active {
  -moz-image-region: rect(140px 39px 159px 20px);
}

toolbar[iconsize="small"] > #button-reply[disabled="true"] {
  -moz-image-region: rect(140px 59px 159px 40px) !important;
}

toolbar[iconsize="small"] > #button-replyall,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-replyall {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(160px 19px 179px 0);
}

toolbar[iconsize="small"] > #button-replyall:hover:active {
  -moz-image-region: rect(160px 39px 179px 20px);
}

toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
  -moz-image-region: rect(160px 59px 179px 40px) !important;
}

toolbar[iconsize="small"] > #button-forward,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-forward {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(40px 19px 59px 0);
}

toolbar[iconsize="small"] > #button-forward:hover:active,
toolbar[iconsize="small"] > #button-forward[open] {
  -moz-image-region: rect(40px 39px 59px 20px);
}

toolbar[iconsize="small"] > #button-forward[disabled="true"] {
  -moz-image-region: rect(40px 59px 59px 40px) !important;
}

toolbar[iconsize="small"] > #button-file,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-file {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(20px 19px 39px 0);
}

toolbar[iconsize="small"] > #button-file:hover:active,
toolbar[iconsize="small"] > #button-file[open] {
  -moz-image-region: rect(20px 39px 39px 20px);
}

toolbar[iconsize="small"] > #button-file[disabled="true"] {
  -moz-image-region: rect(20px 59px 39px 40px) !important;
}

toolbar[iconsize="small"] > #button-goback,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-goback {
  list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
  -moz-image-region: rect(40px 19px 59px 0);
}

toolbar[iconsize="small"] > #button-goback:hover:active,
toolbar[iconsize="small"] > #button-goback[open] {
  -moz-image-region: rect(40px 39px 59px 20px);
}

toolbar[iconsize="small"] > #button-goback[disabled="true"] {
  -moz-image-region: rect(40px 59px 59px 40px) !important;
}

toolbar[iconsize="small"] > #button-goforward,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-goforward {
  list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
  -moz-image-region: rect(60px 19px 79px 0);
}

toolbar[iconsize="small"] > #button-goforward:hover:active,
toolbar[iconsize="small"] > #button-goforward[open] {
  -moz-image-region: rect(60px 39px 79px 20px);
}

toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
  -moz-image-region: rect(60px 59px 79px 40px) !important;
}

toolbar[iconsize="small"] > #button-next,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-next {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(120px 19px 139px 0);
}

toolbar[iconsize="small"] > #button-next:hover:active,
toolbar[iconsize="small"] > #button-next[open] {
  -moz-image-region: rect(120px 39px 139px 20px);
}

toolbar[iconsize="small"] > #button-next[disabled="true"] {
  -moz-image-region: rect(120px 59px 139px 40px) !important;
}

toolbar[iconsize="small"] > #button-delete,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(0 19px 19px 0);
}

toolbar[iconsize="small"] > #button-delete:hover:active {
  -moz-image-region: rect(0 39px 19px 20px);
}

toolbar[iconsize="small"] > #button-delete[disabled],
toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete[disabled] {
  -moz-image-region: rect(0 59px 19px 40px) !important;
}

toolbar[iconsize="small"] > #button-mark,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-mark {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(80px 19px 99px 0);
}

toolbar[iconsize="small"] > #button-mark:hover:active,
toolbar[iconsize="small"] > #button-mark[open] {
  -moz-image-region: rect(80px 39px 99px 20px);
}

toolbar[iconsize="small"] > #button-mark[disabled="true"] {
  -moz-image-region: rect(80px 59px 99px 40px) !important;
}

toolbar[iconsize="small"] > #button-junk,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk {
  list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
  -moz-image-region: rect(240px 19px 259px 0);
}

toolbar[iconsize="small"] > #button-junk:hover:active {
  -moz-image-region: rect(240px 39px 259px 20px);
}

toolbar[iconsize="small"] > #button-junk[disabled],
toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk[disabled] {
  -moz-image-region: rect(240px 59px 259px 40px) !important;
}

toolbar[iconsize="small"] > #button-stop,
toolbar[iconsize="small"] > toolbarpaletteitem > #button-stop {
  list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
  -moz-image-region: rect(20px 19px 39px 0);
}

toolbar[iconsize="small"] > #button-stop:hover:active {
  -moz-image-region: rect(20px 39px 39px 20px);
}

toolbar[iconsize="small"] > #button-stop[disabled="true"] {
  -moz-image-region: rect(20px 59px 39px 40px) !important;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
toolbar[iconsize="small"] > #sync-button {
  list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
}

toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
toolbar[iconsize="small"] > #sync-button[status=active] {
  list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
}

/* ::::: Lightning icon sizes ::::: */

#lightning-button-calendar > .toolbarbutton-icon,
#lightning-button-tasks > .toolbarbutton-icon,
#extractEventButton > .toolbarbutton-icon,
#extractTaskButton > .toolbarbutton-icon,
#extractEventButton > .box-inherit > .toolbarbutton-icon,
#extractTaskButton > .box-inherit > .toolbarbutton-icon {
  width: 29px;
  height: 29px;
}

toolbar[iconsize="small"] > #lightning-button-calendar > .toolbarbutton-icon,
toolbar[iconsize="small"] > #lightning-button-tasks > .toolbarbutton-icon,
toolbar[iconsize="small"] > #extractEventButton > .box-inherit > .toolbarbutton-icon,
toolbar[iconsize="small"] > #extractTaskButton > .box-inherit > .toolbarbutton-icon {
  width: 19px;
  height: 19px;
}

#lightning-button-calendar[disabled="true"] > .toolbarbutton-icon,
#lightning-button-tasks[disabled="true"] > .toolbarbutton-icon,
#extractEventButton[disabled="true"] > .box-inherit > .toolbarbutton-icon,
#extractTaskButton[disabled="true"] > .box-inherit > .toolbarbutton-icon {
  opacity: 0.3;
}

/* ::::: message notification bar style rules ::::: */

.msgNotificationBar {
  border-bottom: 1px solid #A5A5A5;
  background-color: #C7BC8F;
  color: black;
}

.msgNotificationBar:-moz-lwtheme {
  text-shadow: none;
}

.msgNotificationBarText {
  font-weight: bold;
}

.messageImage[value="remoteContent"] {
  list-style-image: url("chrome://messenger/skin/icons/remote-blocked.png");
}

.messageImage[value="junkContent"] {
  list-style-image: url("chrome://messenger/skin/icons/junk.png");
}

.messageImage[value="phishingContent"] {
  list-style-image: url("chrome://messenger/skin/icons/phishing.png");
}

.messageImage[value="mdnContent"] {
  list-style-image: url("chrome://messenger/skin/icons/info.png");
}

.inline-toolbar {
  -moz-appearance: none;
}