1
/* ***** BEGIN LICENSE BLOCK *****
2
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
* The contents of this file are subject to the Mozilla Public
5
* License Version 1.1 (the "MPL"); you may not use this file
6
* except in compliance with the MPL. You may obtain a copy of
7
* the MPL at http://www.mozilla.org/MPL/
9
* Software distributed under the MPL is distributed on an "AS
10
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
* implied. See the MPL for the specific language governing
12
* rights and limitations under the MPL.
14
* The Original Code is Enigmail.
16
* The Initial Developer of the Original Code is Patrick Brunschwig.
17
* Portions created by Patrick Brunschwig <patrick@enigmail.net> are
18
* Copyright (C) 2009 Patrick Brunschwig. All Rights Reserved.
22
* Alternatively, the contents of this file may be used under the terms of
23
* either the GNU General Public License Version 2 or later (the "GPL"), or
24
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
25
* in which case the provisions of the GPL or the LGPL are applicable instead
26
* of those above. If you wish to allow use of your version of this file only
27
* under the terms of either the GPL or the LGPL, and not to allow others to
28
* use your version of this file under the terms of the MPL, indicate your
29
* decision by deleting the provisions above and replace them with the notice
30
* and other provisions required by the GPL or the LGPL. If you do not delete
31
* the provisions above, a recipient may use your version of this file under
32
* the terms of any one of the MPL, the GPL or the LGPL.
33
* ***** END LICENSE BLOCK ***** */
36
* Enigmail styles for Windows (Aero Theme)
39
@import url("chrome://global/skin/");
40
/* @import url("chrome://messenger/skin/"); */
42
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45
#button-enigmail-decrypt,
46
[typeid="button-enigmail-decrypt"]
48
list-style-image : url("chrome://enigmail/skin/enigmail-toolbar.png");
49
-moz-image-region: rect(0px 24px 24px 0px);
52
#button-enigmail-decrypt:hover,
53
[typeid="button-enigmail-decrypt"]
55
-moz-image-region: rect(24px 24px 48px 0px);
58
#button-enigmail-decrypt[disabled],
59
[typeid="button-enigmail-decrypt"]
61
-moz-image-region: rect(48px 24px 72px 0px);
64
toolbar[iconsize="small"] #button-enigmail-decrypt
66
-moz-image-region: rect(0px 16px 16px 0px);
67
list-style-image : url("chrome://enigmail/skin/enigmail-toolbar-small.png");
70
toolbar[iconsize="small"] #button-enigmail-decrypt:hover
72
-moz-image-region: rect(16px 16px 32px 0px);
75
toolbar[iconsize="small"] #button-enigmail-decrypt[disabled]
77
-moz-image-region: rect(32px 16px 48px 0px);
80
#button-enigmail-send,
81
#button-enigmail-send:hover {
82
-moz-image-region: rect(0px 24px 24px 0px);
83
list-style-image : url("chrome://enigmail/skin/enigmail-settings.png");
86
#button-enigmail-send[disabled] {
87
-moz-image-region: rect(24px 24px 48px 0px);
91
toolbar[iconsize="small"] #button-enigmail-send {
92
-moz-image-region: rect(0px 16px 16px 0px);
93
list-style-image : url("chrome://enigmail/skin/enigmail-settings-small.png");
96
toolbar[iconsize="small"] #button-enigmail-send:hover {
97
-moz-image-region: rect(16px 16px 32px 0px);
100
toolbar[iconsize="small"] #button-enigmail-send[disabled] {
101
-moz-image-region: rect(32px 16px 48px 0px);
104
.action-box { width: 100px }
106
#expandedEnigmailBox {
107
background-color: #d8e0e8;
111
.enigmailHeaderName {
112
color: #888a85; /* lower contrast, TB3 */
114
background-color: transparent;
115
-moz-margin-end: 2px;
118
.enigmailHeaderValue {
124
-moz-appearance: none !important;
125
-moz-appearance: none;
127
padding: 0px !important;
128
margin: 0px !important;
129
-moz-margin-start: 3px !important;
130
border: none !important;
131
background-color: transparent;
134
.enigmailHeaderSpacer {
138
.enigmailHeaderBoxLabelNoSignature {
139
background-color:#d8e0e8;
143
.enigmailHeaderBoxLabelSignatureOk {
144
background-color:#ccffcc;
148
.enigmailHeaderBoxLabelSignatureVerified {
149
background-color:#ccffff;
153
.enigmailHeaderBoxLabelSignatureNotOk {
154
background-color:#FFD8FE;
158
.enigmailHeaderBoxLabelSignatureUnknown {
159
background-color:#FFFFC9;
163
.enigmailHeaderBoxLabelBuggyMailFormat {
164
background-color:#FFD8FE;
169
text-decoration: underline;
178
.enigmailUidInactive {
183
.enigMsgHdrView-flat-button {
184
min-width: 1px !important;
185
-moz-appearance: none;
187
background-color: transparent;
188
border: 2px solid transparent;
193
-moz-border-top-colors: none;
194
-moz-border-right-colors: none;
195
-moz-border-bottom-colors: none;
196
-moz-border-left-colors: none;
200
.enigMsgHdrView-flat-button:hover {
201
color: -moz-buttonhovertext;
202
background-color: -moz-buttonhoverface;
203
-moz-border-top-colors: transparent threedhighlight threedlightshadow;
204
-moz-border-right-colors: transparent threeddarkshadow threedshadow;
205
-moz-border-bottom-colors: transparent threeddarkshadow threedshadow;
206
-moz-border-left-colors: transparent threedhighlight threedlightshadow;
210
/***************************************************
211
* Icons for messenger status bar
212
***************************************************/
214
#enigmail-status-bar #enigmail-signed-status {
215
list-style-image: none;
216
visibility: collapse;
219
#enigmail-status-bar[signed="ok"] #enigmail-signed-status {
220
list-style-image: url("chrome://enigmail/skin/enigSignOk.png");
224
#enigmail-status-bar[signed="notok"] #enigmail-signed-status {
225
list-style-image: url("chrome://enigmail/skin/enigSignNotOk.png");
229
#enigmail-status-bar[signed="unknown"] #enigmail-signed-status {
230
list-style-image: url("chrome://enigmail/skin/enigSignUnkown.png");
234
#enigmail-status-bar[signed="inactive"] #enigmail-signed-status {
235
list-style-image: url("chrome://enigmail/skin/enigSignInactive.png");
239
#enigmail-status-bar #enigmail-encrypted-status {
240
list-style-image: none;
241
visibility: collapse;
244
#enigmail-status-bar[encrypted="ok"] #enigmail-encrypted-status {
245
list-style-image: url("chrome://enigmail/skin/enigEncOk.png");
249
#enigmail-status-bar[encrypted="notok"] #enigmail-encrypted-status {
250
list-style-image: url("chrome://enigmail/skin/enigEncNotOk.png");
254
#enigmail-status-bar[encrypted="inactive"] #enigmail-encrypted-status {
255
list-style-image: url("chrome://enigmail/skin/enigEncInactive.png");
260
/***************************************************
261
* Icons for compose status bar: signed states
262
***************************************************/
264
#enigmail-status-bar[signed="forceYes"] #enigmail-signed-status {
265
list-style-image: url("chrome://enigmail/skin/enigSignForceYes.png");
269
#enigmail-status-bar[signed="forceNo"] #enigmail-signed-status {
270
list-style-image: url("chrome://enigmail/skin/enigSignForceNo.png");
274
#enigmail-status-bar[signed="inactiveNone"] #enigmail-signed-status {
275
list-style-image: url("chrome://enigmail/skin/enigSignInactiveNone.png");
279
#enigmail-status-bar[signed="inactivePlus"] #enigmail-signed-status {
280
list-style-image: url("chrome://enigmail/skin/enigSignInactivePlus.png");
284
#enigmail-status-bar[signed="inactiveMinus"] #enigmail-signed-status {
285
list-style-image: url("chrome://enigmail/skin/enigSignInactiveMinus.png");
289
#enigmail-status-bar[signed="inactiveConflict"] #enigmail-signed-status {
290
list-style-image: url("chrome://enigmail/skin/enigSignInactiveConflict.png");
294
#enigmail-status-bar[signed="activeNone"] #enigmail-signed-status {
295
list-style-image: url("chrome://enigmail/skin/enigSignActiveNone.png");
299
#enigmail-status-bar[signed="activePlus"] #enigmail-signed-status {
300
list-style-image: url("chrome://enigmail/skin/enigSignActivePlus.png");
304
#enigmail-status-bar[signed="activeMinus"] #enigmail-signed-status {
305
list-style-image: url("chrome://enigmail/skin/enigSignActiveMinus.png");
309
#enigmail-status-bar[signed="activeConflict"] #enigmail-signed-status {
310
list-style-image: url("chrome://enigmail/skin/enigSignActiveConflict.png");
314
/***************************************************
315
* Icons for compose status bar: encrypted states
316
***************************************************/
318
#enigmail-status-bar[encrypted="forceYes"] #enigmail-encrypted-status {
319
list-style-image: url("chrome://enigmail/skin/enigEncForceYes.png");
323
#enigmail-status-bar[encrypted="forceNo"] #enigmail-encrypted-status {
324
list-style-image: url("chrome://enigmail/skin/enigEncForceNo.png");
328
#enigmail-status-bar[encrypted="activeNone"] #enigmail-encrypted-status {
329
list-style-image: url("chrome://enigmail/skin/enigEncActiveNone.png");
333
#enigmail-status-bar[encrypted="activePlus"] #enigmail-encrypted-status {
334
list-style-image: url("chrome://enigmail/skin/enigEncActivePlus.png");
338
#enigmail-status-bar[encrypted="activeMinus"] #enigmail-encrypted-status {
339
list-style-image: url("chrome://enigmail/skin/enigEncActiveMinus.png");
343
#enigmail-status-bar[encrypted="activeConflict"] #enigmail-encrypted-status {
344
list-style-image: url("chrome://enigmail/skin/enigEncActiveConflict.png");
348
#enigmail-status-bar[encrypted="inactiveNone"] #enigmail-encrypted-status {
349
list-style-image: url("chrome://enigmail/skin/enigEncInactiveNone.png");
353
#enigmail-status-bar[encrypted="inactivePlus"] #enigmail-encrypted-status {
354
list-style-image: url("chrome://enigmail/skin/enigEncInactivePlus.png");
358
#enigmail-status-bar[encrypted="inactiveMinus"] #enigmail-encrypted-status {
359
list-style-image: url("chrome://enigmail/skin/enigEncInactiveMinus.png");
363
#enigmail-status-bar[encrypted="inactiveConflict"] #enigmail-encrypted-status {
364
list-style-image: url("chrome://enigmail/skin/enigEncInactiveConflict.png");
369
.enigmailPrefsTitle {
374
treechildren::-moz-tree-cell-text(enigmailSubkeyTitle) {
378
treechildren::-moz-tree-cell-text(enigmailOwnKey) {
382
treechildren::-moz-tree-cell-text(enigKeyInactive) {
387
treechildren::-moz-tree-column(enigDontEncrypt) {
388
background-color: rgb(90%, 90%, 90%);
391
.enigmailExpandViewButton {
392
width: 9px; /* The image's width is 9 pixels */
393
list-style-image: url("chrome://enigmail/skin/twisty-clsd.png");
396
.enigmailCollapseViewButton {
397
width: 9px; /* The image's width is 9 pixels */
398
list-style-image: url("chrome://enigmail/skin/twisty-open.png");
402
treechildren::-moz-tree-image(enigSignedEncrypted)
404
list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
407
treechildren::-moz-tree-image(enigSigned)
409
list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
410
-moz-image-region: rect(0px 24px 12px 12px);
413
treechildren::-moz-tree-image(enigEncrypted)
415
list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
416
-moz-image-region: rect(0px 12px 12px 0px);
420
/* the following styles are available for the key trust
421
columnm in the key manager:
422
enigmail_keyValid_unknown
423
enigmail_keyValid_invalid
424
enigmail_keyValid_disabled
425
enigmail_keyValid_revoked
426
enigmail_keyValid_expired
427
enigmail_keyTrust_untrusted
428
enigmail_keyTrust_marginal
429
enigmail_keyTrust_full
430
enigmail_keyTrust_ultimate
431
enigmail_keyTrust_unknown
433
They can be applied using:
434
treechildren::-moz-tree-cell(STYLE) {}
435
treechildren::-moz-tree-cell-text(STYLE) {}