~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to mailnews/extensions/enigmail/ui/skin/classic/enigmail-aero.css

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
 
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/
 
8
 *
 
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.
 
13
 *
 
14
 * The Original Code is Enigmail.
 
15
 *
 
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.
 
19
 *
 
20
 * Contributor(s):
 
21
 *
 
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 ***** */
 
34
 
 
35
/**
 
36
 * Enigmail styles for Windows (Aero Theme)
 
37
 */
 
38
 
 
39
@import url("chrome://global/skin/");
 
40
/* @import url("chrome://messenger/skin/"); */
 
41
 
 
42
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
43
 
 
44
 
 
45
#button-enigmail-decrypt,
 
46
[typeid="button-enigmail-decrypt"]
 
47
  {
 
48
    list-style-image : url("chrome://enigmail/skin/enigmail-toolbar.png");
 
49
    -moz-image-region: rect(0px 24px 24px 0px);
 
50
  }
 
51
 
 
52
#button-enigmail-decrypt:hover,
 
53
[typeid="button-enigmail-decrypt"]
 
54
  {
 
55
    -moz-image-region: rect(24px 24px 48px 0px);
 
56
  }
 
57
 
 
58
#button-enigmail-decrypt[disabled],
 
59
[typeid="button-enigmail-decrypt"]
 
60
  {
 
61
    -moz-image-region: rect(48px 24px 72px 0px);
 
62
  }
 
63
 
 
64
toolbar[iconsize="small"]  #button-enigmail-decrypt
 
65
  {
 
66
    -moz-image-region: rect(0px 16px 16px 0px);
 
67
    list-style-image      : url("chrome://enigmail/skin/enigmail-toolbar-small.png");
 
68
  }
 
69
 
 
70
toolbar[iconsize="small"] #button-enigmail-decrypt:hover
 
71
  {
 
72
    -moz-image-region: rect(16px 16px 32px 0px);
 
73
  }
 
74
 
 
75
toolbar[iconsize="small"] #button-enigmail-decrypt[disabled]
 
76
  {
 
77
    -moz-image-region: rect(32px 16px 48px 0px);
 
78
  }
 
79
 
 
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");
 
84
}
 
85
 
 
86
#button-enigmail-send[disabled] {
 
87
  -moz-image-region: rect(24px 24px 48px 0px);
 
88
}
 
89
 
 
90
 
 
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");
 
94
}
 
95
 
 
96
toolbar[iconsize="small"] #button-enigmail-send:hover {
 
97
  -moz-image-region: rect(16px 16px 32px 0px);
 
98
}
 
99
 
 
100
toolbar[iconsize="small"] #button-enigmail-send[disabled] {
 
101
  -moz-image-region: rect(32px 16px 48px 0px);
 
102
}
 
103
 
 
104
.action-box { width: 100px }
 
105
 
 
106
#expandedEnigmailBox {
 
107
 background-color: #d8e0e8;
 
108
 color: black;
 
109
}
 
110
 
 
111
.enigmailHeaderName {
 
112
  color: #888a85; /* lower contrast, TB3 */
 
113
  text-align: right;
 
114
  background-color: transparent;
 
115
  -moz-margin-end: 2px;
 
116
}
 
117
 
 
118
.enigmailHeaderValue {
 
119
  min-width: 50px;
 
120
  white-space: normal;
 
121
  color: WindowText;
 
122
  line-height: 1.4em;
 
123
 
 
124
  -moz-appearance: none !important;
 
125
  -moz-appearance: none;
 
126
 
 
127
  padding: 0px !important;
 
128
  margin: 0px !important;
 
129
  -moz-margin-start: 3px !important;
 
130
  border: none !important;
 
131
  background-color: transparent;
 
132
}
 
133
 
 
134
.enigmailHeaderSpacer {
 
135
  width: 2px;
 
136
}
 
137
 
 
138
.enigmailHeaderBoxLabelNoSignature {
 
139
  background-color:#d8e0e8;
 
140
  color: black;
 
141
}
 
142
 
 
143
.enigmailHeaderBoxLabelSignatureOk {
 
144
  background-color:#ccffcc;
 
145
  color: black;
 
146
}
 
147
 
 
148
.enigmailHeaderBoxLabelSignatureVerified {
 
149
  background-color:#ccffff;
 
150
  color: black;
 
151
}
 
152
 
 
153
.enigmailHeaderBoxLabelSignatureNotOk {
 
154
 background-color:#FFD8FE;
 
155
 color: black;
 
156
}
 
157
 
 
158
.enigmailHeaderBoxLabelSignatureUnknown {
 
159
 background-color:#FFFFC9;
 
160
 color: black;
 
161
}
 
162
 
 
163
 
 
164
.enigmailLink {
 
165
  text-decoration: underline;
 
166
  color: blue;
 
167
  cursor: pointer;
 
168
}
 
169
 
 
170
.enigmailStrong {
 
171
  font-weight: bold;
 
172
}
 
173
 
 
174
.enigmailUidInactive {
 
175
  color: gray;
 
176
  font-style: italic;
 
177
}
 
178
 
 
179
.enigMsgHdrView-flat-button {
 
180
  min-width: 1px !important;
 
181
  -moz-appearance: none;
 
182
  color: black;
 
183
  background-color: transparent;
 
184
  border: 2px solid transparent;
 
185
  margin-top: 0px;
 
186
  margin-bottom: 0px;
 
187
  padding: 0 2px;
 
188
  border-radius: 2px;
 
189
  -moz-border-top-colors: none;
 
190
  -moz-border-right-colors: none;
 
191
  -moz-border-bottom-colors: none;
 
192
  -moz-border-left-colors: none;
 
193
  min-height: 1ex;
 
194
}
 
195
 
 
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;
 
203
}
 
204
 
 
205
 
 
206
#enigmail-status-bar #enigmail-signed-status {
 
207
  list-style-image: none;
 
208
  visibility: collapse;
 
209
}
 
210
 
 
211
#enigmail-status-bar[signed="ok"] #enigmail-signed-status {
 
212
  list-style-image: url("chrome://enigmail/skin/enigSignOk.png");
 
213
  visibility: visible;
 
214
}
 
215
 
 
216
#enigmail-status-bar[signed="notok"] #enigmail-signed-status {
 
217
  list-style-image: url("chrome://enigmail/skin/enigSignNotOk.png");
 
218
  visibility: visible;
 
219
}
 
220
 
 
221
#enigmail-status-bar[signed="unknown"] #enigmail-signed-status {
 
222
  list-style-image: url("chrome://enigmail/skin/enigSignUnkown.png");
 
223
  visibility: visible;
 
224
}
 
225
 
 
226
#enigmail-status-bar[signed="inactive"] #enigmail-signed-status {
 
227
  list-style-image: url("chrome://enigmail/skin/enigSignInactive.png");
 
228
  visibility: visible;
 
229
}
 
230
 
 
231
#enigmail-status-bar #enigmail-encrypted-status {
 
232
  list-style-image: none;
 
233
  visibility: collapse;
 
234
}
 
235
 
 
236
#enigmail-status-bar[encrypted="ok"] #enigmail-encrypted-status {
 
237
  list-style-image: url("chrome://enigmail/skin/enigEncOk.png");
 
238
  visibility: visible;
 
239
}
 
240
 
 
241
#enigmail-status-bar[encrypted="notok"] #enigmail-encrypted-status {
 
242
  list-style-image: url("chrome://enigmail/skin/enigEncNotOk.png");
 
243
  visibility: visible;
 
244
}
 
245
 
 
246
#enigmail-status-bar[encrypted="inactive"] #enigmail-encrypted-status {
 
247
  list-style-image: url("chrome://enigmail/skin/enigEncInactive.png");
 
248
  visibility: visible;
 
249
}
 
250
 
 
251
/**
 
252
 *  Icons for composer status bar
 
253
 */
 
254
 
 
255
#enigmail-status-bar[signed="inactiveNull"] #enigmail-signed-status {
 
256
  list-style-image: url("chrome://enigmail/skin/enigSignNullInactive.png");
 
257
  visibility: visible;
 
258
}
 
259
 
 
260
#enigmail-status-bar[signed="inactivePlus"] #enigmail-signed-status {
 
261
  list-style-image: url("chrome://enigmail/skin/enigSignPlusInactive.png");
 
262
  visibility: visible;
 
263
}
 
264
 
 
265
#enigmail-status-bar[signed="inactiveMinus"] #enigmail-signed-status {
 
266
  list-style-image: url("chrome://enigmail/skin/enigSignMinusInactive.png");
 
267
  visibility: visible;
 
268
}
 
269
 
 
270
#enigmail-status-bar[signed="activeNull"] #enigmail-signed-status {
 
271
  list-style-image: url("chrome://enigmail/skin/enigSignNullActive.png");
 
272
  visibility: visible;
 
273
}
 
274
 
 
275
#enigmail-status-bar[signed="activePlus"] #enigmail-signed-status {
 
276
  list-style-image: url("chrome://enigmail/skin/enigSignPlusActive.png");
 
277
  visibility: visible;
 
278
}
 
279
 
 
280
#enigmail-status-bar[signed="activeMinus"] #enigmail-signed-status {
 
281
  list-style-image: url("chrome://enigmail/skin/enigSignMinusActive.png");
 
282
  visibility: visible;
 
283
}
 
284
 
 
285
#enigmail-status-bar[encrypted="activeNull"] #enigmail-encrypted-status {
 
286
  list-style-image: url("chrome://enigmail/skin/enigEncNullActive.png");
 
287
  visibility: visible;
 
288
}
 
289
 
 
290
#enigmail-status-bar[encrypted="activePlus"] #enigmail-encrypted-status {
 
291
  list-style-image: url("chrome://enigmail/skin/enigEncPlusActive.png");
 
292
  visibility: visible;
 
293
}
 
294
 
 
295
#enigmail-status-bar[encrypted="activeMinus"] #enigmail-encrypted-status {
 
296
  list-style-image: url("chrome://enigmail/skin/enigEncMinusActive.png");
 
297
  visibility: visible;
 
298
}
 
299
 
 
300
#enigmail-status-bar[encrypted="inactiveNull"] #enigmail-encrypted-status {
 
301
  list-style-image: url("chrome://enigmail/skin/enigEncNullInactive.png");
 
302
  visibility: visible;
 
303
}
 
304
 
 
305
#enigmail-status-bar[encrypted="inactivePlus"] #enigmail-encrypted-status {
 
306
  list-style-image: url("chrome://enigmail/skin/enigEncPlusInactive.png");
 
307
  visibility: visible;
 
308
}
 
309
 
 
310
#enigmail-status-bar[encrypted="inactiveMinus"] #enigmail-encrypted-status {
 
311
  list-style-image: url("chrome://enigmail/skin/enigEncMinusInactive.png");
 
312
  visibility: visible;
 
313
}
 
314
 
 
315
.enigmailPrefsTitle {
 
316
  font-weight: bold;
 
317
  height: 25px;
 
318
}
 
319
 
 
320
treechildren::-moz-tree-cell-text(enigmailSubkeyTitle) {
 
321
  font-weight: bold;
 
322
}
 
323
 
 
324
treechildren::-moz-tree-cell-text(enigmailOwnKey) {
 
325
  font-weight: bold;
 
326
}
 
327
 
 
328
treechildren::-moz-tree-cell-text(enigKeyInactive) {
 
329
  color: gray;
 
330
  font-style: italic;
 
331
}
 
332
 
 
333
treechildren::-moz-tree-column(enigDontEncrypt) {
 
334
  background-color: rgb(90%, 90%, 90%);
 
335
}
 
336
 
 
337
.enigmailExpandViewButton {
 
338
  width: 9px; /* The image's width is 9 pixels */
 
339
  list-style-image: url("chrome://enigmail/skin/twisty-clsd.png");
 
340
}
 
341
 
 
342
.enigmailCollapseViewButton {
 
343
  width: 9px; /* The image's width is 9 pixels */
 
344
  list-style-image: url("chrome://enigmail/skin/twisty-open.png");
 
345
 
 
346
}
 
347
 
 
348
treechildren::-moz-tree-image(enigSignedEncrypted)
 
349
{
 
350
  list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
 
351
}
 
352
 
 
353
treechildren::-moz-tree-image(enigSigned)
 
354
{
 
355
  list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
 
356
    -moz-image-region: rect(0px 24px 12px 12px);
 
357
}
 
358
 
 
359
treechildren::-moz-tree-image(enigEncrypted)
 
360
{
 
361
  list-style-image: url("chrome://enigmail/skin/col-encrypted-signed.png");
 
362
    -moz-image-region: rect(0px 12px 12px 0px);
 
363
}
 
364
 
 
365
 
 
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
 
378
 
 
379
They can be applied using:
 
380
treechildren::-moz-tree-cell(STYLE) {}
 
381
treechildren::-moz-tree-cell-text(STYLE) {}
 
382
*/
 
383
 
 
384