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@mozilla-enigmail.org> 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;
165
text-decoration: underline;
174
.enigmailUidInactive {
179
.enigMsgHdrView-flat-button {
180
min-width: 1px !important;
181
-moz-appearance: none;
183
background-color: transparent;
184
border: 2px solid transparent;
189
-moz-border-top-colors: none;
190
-moz-border-right-colors: none;
191
-moz-border-bottom-colors: none;
192
-moz-border-left-colors: none;
196
.enigMsgHdrView-flat-button:hover {
197
color: -moz-buttonhovertext;
198
background-color: -moz-buttonhoverface;
199
-moz-border-top-colors: transparent threedhighlight threedlightshadow;
200
-moz-border-right-colors: transparent threeddarkshadow threedshadow;
201
-moz-border-bottom-colors: transparent threeddarkshadow threedshadow;
202
-moz-border-left-colors: transparent threedhighlight threedlightshadow;
206
#enigmail-status-bar #enigmail-signed-status {
207
list-style-image: none;
208
visibility: collapse;
211
#enigmail-status-bar[signed="ok"] #enigmail-signed-status {
212
list-style-image: url("chrome://enigmail/skin/enigSignOk.png");
216
#enigmail-status-bar[signed="notok"] #enigmail-signed-status {
217
list-style-image: url("chrome://enigmail/skin/enigSignNotOk.png");
221
#enigmail-status-bar[signed="unknown"] #enigmail-signed-status {
222
list-style-image: url("chrome://enigmail/skin/enigSignUnkown.png");
226
#enigmail-status-bar[signed="inactive"] #enigmail-signed-status {
227
list-style-image: url("chrome://enigmail/skin/enigSignInactive.png");
231
#enigmail-status-bar #enigmail-encrypted-status {
232
list-style-image: none;
233
visibility: collapse;
236
#enigmail-status-bar[encrypted="ok"] #enigmail-encrypted-status {
237
list-style-image: url("chrome://enigmail/skin/enigEncOk.png");
241
#enigmail-status-bar[encrypted="notok"] #enigmail-encrypted-status {
242
list-style-image: url("chrome://enigmail/skin/enigEncNotOk.png");
246
#enigmail-status-bar[encrypted="inactive"] #enigmail-encrypted-status {
247
list-style-image: url("chrome://enigmail/skin/enigEncInactive.png");
252
* Icons for composer status bar
255
#enigmail-status-bar[signed="inactiveNull"] #enigmail-signed-status {
256
list-style-image: url("chrome://enigmail/skin/enigSignNullInactive.png");
260
#enigmail-status-bar[signed="inactivePlus"] #enigmail-signed-status {
261
list-style-image: url("chrome://enigmail/skin/enigSignPlusInactive.png");
265
#enigmail-status-bar[signed="inactiveMinus"] #enigmail-signed-status {
266
list-style-image: url("chrome://enigmail/skin/enigSignMinusInactive.png");
270
#enigmail-status-bar[signed="activeNull"] #enigmail-signed-status {
271
list-style-image: url("chrome://enigmail/skin/enigSignNullActive.png");
275
#enigmail-status-bar[signed="activePlus"] #enigmail-signed-status {
276
list-style-image: url("chrome://enigmail/skin/enigSignPlusActive.png");
280
#enigmail-status-bar[signed="activeMinus"] #enigmail-signed-status {
281
list-style-image: url("chrome://enigmail/skin/enigSignMinusActive.png");
285
#enigmail-status-bar[encrypted="activeNull"] #enigmail-encrypted-status {
286
list-style-image: url("chrome://enigmail/skin/enigEncNullActive.png");
290
#enigmail-status-bar[encrypted="activePlus"] #enigmail-encrypted-status {
291
list-style-image: url("chrome://enigmail/skin/enigEncPlusActive.png");
295
#enigmail-status-bar[encrypted="activeMinus"] #enigmail-encrypted-status {
296
list-style-image: url("chrome://enigmail/skin/enigEncMinusActive.png");
300
#enigmail-status-bar[encrypted="inactiveNull"] #enigmail-encrypted-status {
301
list-style-image: url("chrome://enigmail/skin/enigEncNullInactive.png");
305
#enigmail-status-bar[encrypted="inactivePlus"] #enigmail-encrypted-status {
306
list-style-image: url("chrome://enigmail/skin/enigEncPlusInactive.png");
310
#enigmail-status-bar[encrypted="inactiveMinus"] #enigmail-encrypted-status {
311
list-style-image: url("chrome://enigmail/skin/enigEncMinusInactive.png");
315
.enigmailPrefsTitle {
320
treechildren::-moz-tree-cell-text(enigmailSubkeyTitle) {
324
treechildren::-moz-tree-cell-text(enigmailOwnKey) {
328
treechildren::-moz-tree-cell-text(enigKeyInactive) {
333
treechildren::-moz-tree-column(enigDontEncrypt) {
334
background-color: rgb(90%, 90%, 90%);
337
.enigmailExpandViewButton {
338
width: 9px; /* The image's width is 9 pixels */
339
list-style-image: url("chrome://enigmail/skin/twisty-clsd.png");
342
.enigmailCollapseViewButton {
343
width: 9px; /* The image's width is 9 pixels */
344
list-style-image: url("chrome://enigmail/skin/twisty-open.png");
348
treechildren::-moz-tree-image(enigSignedEncrypted)
350
list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
353
treechildren::-moz-tree-image(enigSigned)
355
list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
356
-moz-image-region: rect(0px 24px 12px 12px);
359
treechildren::-moz-tree-image(enigEncrypted)
361
list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
362
-moz-image-region: rect(0px 12px 12px 0px);
366
/* the following styles are available for the key trust
367
columnm in the key manager:
368
enigmail_keyValid_unknown
369
enigmail_keyValid_invalid
370
enigmail_keyValid_disabled
371
enigmail_keyValid_revoked
372
enigmail_keyValid_expired
373
enigmail_keyTrust_untrusted
374
enigmail_keyTrust_marginal
375
enigmail_keyTrust_full
376
enigmail_keyTrust_ultimate
377
enigmail_keyTrust_unknown
379
They can be applied using:
380
treechildren::-moz-tree-cell(STYLE) {}
381
treechildren::-moz-tree-cell-text(STYLE) {}