|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
6 |
|
7 notification { |
|
8 background-color: InfoBackground; |
|
9 color: InfoText; |
|
10 text-shadow: none; |
|
11 } |
|
12 |
|
13 notification[type="info"] { |
|
14 background-color: -moz-Dialog; |
|
15 color: -moz-DialogText; |
|
16 } |
|
17 |
|
18 notification[type="critical"] { |
|
19 background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0)); |
|
20 color: white; |
|
21 } |
|
22 |
|
23 .notification-inner { |
|
24 padding-top: 1px; |
|
25 padding-bottom: 1px; |
|
26 } |
|
27 |
|
28 .messageText { |
|
29 margin-top: 0 !important; |
|
30 margin-bottom: 0 !important; |
|
31 } |
|
32 |
|
33 .messageImage { |
|
34 width: 16px; |
|
35 height: 16px; |
|
36 -moz-margin-start: 6px; |
|
37 -moz-margin-end: 1px; |
|
38 } |
|
39 |
|
40 /* Default icons for notifications */ |
|
41 |
|
42 .messageImage[type="info"] { |
|
43 list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); |
|
44 } |
|
45 |
|
46 .messageImage[type="warning"] { |
|
47 list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); |
|
48 } |
|
49 |
|
50 .messageImage[type="critical"] { |
|
51 list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); |
|
52 } |
|
53 |
|
54 .messageCloseButton { |
|
55 padding-left: 11px; |
|
56 padding-right: 11px; |
|
57 } |
|
58 |
|
59 /* Popup notification */ |
|
60 |
|
61 .popup-notification-description { |
|
62 max-width: 24em; |
|
63 } |
|
64 |
|
65 .popup-notification-learnmore-link { |
|
66 margin-top: 1em !important; |
|
67 } |
|
68 |
|
69 .popup-notification-learnmore-link:not([href]) { |
|
70 display: none; |
|
71 } |
|
72 |
|
73 .popup-notification-button-container { |
|
74 margin-top: 17px; |
|
75 } |