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
|
/* 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");
/* ::::: primary toolbar masthead ::::: */
#msgToolbar > .toolbar-holder > .toolbar-primary-icon {
list-style-image: url("chrome://messenger/skin/icons/mast-mail.png");
}
/* ::::: primary toolbar buttons ::::: */
.toolbarbutton-1 {
min-width: 0px;
}
#button-getmsg {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(102px 49px 135px 0);
}
#button-getmsg:hover {
-moz-image-region: rect(102px 99px 135px 50px);
}
#button-getmsg:hover:active {
-moz-image-region: rect(102px 149px 135px 100px);
}
#button-getmsg[disabled] {
-moz-image-region: rect(102px 199px 135px 150px) !important;
}
#button-newmsg {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(170px 49px 203px 0);
}
#button-newmsg:hover {
-moz-image-region: rect(170px 99px 203px 50px);
}
#button-newmsg:hover:active {
-moz-image-region: rect(170px 149px 203px 100px);
}
#button-newmsg[disabled] {
-moz-image-region: rect(170px 199px 203px 150px) !important;
}
#button-reply {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(238px 49px 271px 0);
}
#button-reply:hover {
-moz-image-region: rect(238px 99px 271px 50px);
}
#button-reply:hover:active {
-moz-image-region: rect(238px 149px 271px 100px);
}
#button-reply[disabled] {
-moz-image-region: rect(238px 199px 271px 150px) !important;
}
#button-replyall {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(272px 49px 305px 0);
}
#button-replyall:hover {
-moz-image-region: rect(272px 99px 305px 50px);
}
#button-replyall:hover:active {
-moz-image-region: rect(272px 149px 305px 100px);
}
#button-replyall[disabled] {
-moz-image-region: rect(272px 199px 305px 150px) !important;
}
#button-forward {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(68px 49px 101px 0);
}
#button-forward:hover {
-moz-image-region: rect(68px 99px 101px 50px);
}
#button-forward:hover:active {
-moz-image-region: rect(68px 149px 101px 100px);
}
#button-forward[disabled] {
-moz-image-region: rect(68px 199px 101px 150px) !important;
}
#button-file {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(34px 49px 67px 0);
}
#button-file:hover {
-moz-image-region: rect(34px 99px 67px 50px);
}
#button-file:hover:active,
#button-file[open] {
-moz-image-region: rect(34px 149px 67px 100px);
}
#button-file[disabled] {
-moz-image-region: rect(34px 199px 67px 150px) !important;
}
#button-goback {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(578px 49px 611px 0);
}
#button-goback:hover {
-moz-image-region: rect(578px 99px 611px 50px);
}
#button-goback:hover:active {
-moz-image-region: rect(578px 149px 611px 100px);
}
#button-goback[disabled] {
-moz-image-region: rect(578px 199px 611px 150px) !important;
}
#button-goforward {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(612px 49px 645px 0);
}
#button-goforward:hover {
-moz-image-region: rect(612px 99px 645px 50px);
}
#button-goforward:hover:active {
-moz-image-region: rect(612px 149px 645px 100px);
}
#button-goforward[disabled] {
-moz-image-region: rect(612px 199px 645px 150px) !important;
}
#button-next {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(204px 49px 237px 0);
}
#button-next:hover {
-moz-image-region: rect(204px 99px 237px 50px);
}
#button-next:hover:active {
-moz-image-region: rect(204px 149px 237px 100px);
}
#button-next[disabled] {
-moz-image-region: rect(204px 199px 237px 150px) !important;
}
#button-delete {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(0 49px 33px 0);
}
#button-delete:hover {
-moz-image-region: rect(0 99px 33px 50px);
}
#button-delete:hover:active {
-moz-image-region: rect(0 149px 33px 100px);
}
#button-delete[disabled] {
-moz-image-region: rect(0 199px 33px 150px) !important;
}
toolbarpaletteitem > #button-delete {
display: -moz-box;
}
#button-mark {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(136px 49px 169px 0);
}
#button-mark:hover {
-moz-image-region: rect(136px 99px 169px 50px);
}
#button-mark:hover:active {
-moz-image-region: rect(136px 149px 169px 100px);
}
#button-mark[disabled] {
-moz-image-region: rect(136px 199px 169px 150px) !important;
}
#button-junk {
list-style-image: url("chrome://messenger/skin/icons/btn1.png");
-moz-image-region: rect(544px 49px 577px 0);
}
#button-junk:hover {
-moz-image-region: rect(544px 99px 577px 50px);
}
#button-junk:hover:active {
-moz-image-region: rect(544px 149px 577px 100px);
}
#button-junk[disabled="true"] {
-moz-image-region: rect(544px 199px 577px 150px) !important;
}
/* To workaround the mailnews icons are 33px tall and have no small versions */
toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
toolbar[iconsize="small"] > #print-button {
list-style-image: url("chrome://communicator/skin/icons/common.png");
}
toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
toolbar[iconsize="small"] > #print-button,
#print-button {
-moz-image-region: rect(5px 42px 38px 0);
}
toolbar[iconsize="small"] > #print-button:hover,
#print-button:hover {
-moz-image-region: rect(5px 84px 38px 42px);
}
toolbar[iconsize="small"] > #print-button:hover:active,
#print-button:hover:active {
-moz-image-region: rect(5px 126px 38px 84px);
}
toolbar[iconsize="small"] > #print-button[disabled="true"],
#print-button[disabled="true"] {
-moz-image-region: rect(5px 168px 38px 126px) !important;
}
#button-stop {
list-style-image: url("chrome://communicator/skin/icons/btn1.png");
-moz-image-region: rect(68px 49px 101px 0);
}
#button-stop:hover {
-moz-image-region: rect(68px 99px 101px 50px);
}
#button-stop:hover:active {
-moz-image-region: rect(68px 149px 101px 100px);
}
#button-stop[disabled="true"] {
-moz-image-region: rect(68px 199px 101px 150px) !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 ::::: */
/* XXXRatty We don't have any small graphics for these buttons yet.
toolbar[iconsize="small"] #button-getmsg {}
toolbar[iconsize="small"] #button-newmsg {}
toolbar[iconsize="small"] #button-reply {}
toolbar[iconsize="small"] #button-replyall {}
toolbar[iconsize="small"] #button-forward {}
toolbar[iconsize="small"] #button-file {}
toolbar[iconsize="small"] #button-goback {}
toolbar[iconsize="small"] #button-goforward {}
toolbar[iconsize="small"] #button-next {}
toolbar[iconsize="small"] #button-junk {}
toolbar[iconsize="small"] #button-delete {}
toolbar[iconsize="small"] #button-mark {}
*/
toolbar[iconsize="small"] #button-stop {
list-style-image: url("chrome://communicator/skin/icons/common-small.png");
-moz-image-region: rect(19px 19px 38px 0);
}
toolbar[iconsize="small"] #button-stop:hover {
-moz-image-region: rect(19px 38px 38px 19px);
}
toolbar[iconsize="small"] #button-stop:hover:active {
-moz-image-region: rect(19px 57px 38px 38px);
}
toolbar[iconsize="small"] #button-stop[disabled="true"] {
-moz-image-region: rect(19px 76px 38px 57px) !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 {
width: 33px;
height: 33px;
}
#lightning-button-calendar[disabled="true"] > .toolbarbutton-icon,
#lightning-button-tasks[disabled="true"] > .toolbarbutton-icon,
#extractEventButton[disabled="true"] .toolbarbutton-icon,
#extractTaskButton[disabled="true"] .toolbarbutton-icon {
opacity: 0.3;
}
/* ::::: message notification bar style rules ::::: */
.msgNotificationBar {
border-bottom: 1px solid #000000;
-moz-appearance: toolbox;
background-color: #C7BC8F;
color: black;
}
.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");
}
|