Commit | Line | Data |
---|---|---|
f98e9249 RK |
1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
2 | ||
3 | notification { | |
f98e9249 | 4 | color: #000000; |
21c0144b | 5 | background-color : #FFCF00; |
3b1530c2 | 6 | text-shadow: none; |
569543b3 | 7 | border-radius: 8px; |
f98e9249 RK |
8 | } |
9 | ||
10 | notification[type="info"] { | |
f98e9249 | 11 | color: #000000; |
21c0144b | 12 | background-color: #9C9CFF; |
f98e9249 RK |
13 | } |
14 | ||
15 | notification[type="critical"] { | |
f98e9249 | 16 | color: #000000; |
21c0144b RK |
17 | background-color: #FF0000; |
18 | } | |
19 | ||
20 | .messageText > .text-link { | |
21 | color: inherit !important; | |
22 | text-decoration: underline; | |
f98e9249 RK |
23 | } |
24 | ||
25 | .messageImage { | |
26 | width: 16px; | |
27 | height: 16px; | |
f98e9249 RK |
28 | } |
29 | ||
30 | /* Default icons for notifications */ | |
31 | ||
c60d23d2 | 32 | .messageImage[type="info"] { |
f98e9249 RK |
33 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
34 | } | |
c60d23d2 RK |
35 | |
36 | .messageImage[type="warning"] { | |
f98e9249 RK |
37 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
38 | } | |
39 | ||
c60d23d2 | 40 | .messageImage[type="critical"] { |
f98e9249 RK |
41 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
42 | } | |
43 | ||
6894848c RK |
44 | .notification-inner { |
45 | -moz-margin-start: 8px; | |
46 | -moz-margin-end: 12px; | |
47 | } | |
48 | ||
f98e9249 RK |
49 | .messageCloseButton { |
50 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
51 | padding: 4px 2px; | |
52 | border: none; | |
53 | } | |
6894848c RK |
54 | |
55 | .messageCloseButton:hover, | |
56 | .messageCloseButton:hover:active { | |
57 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
58 | } | |
ca710c53 RK |
59 | |
60 | .messageCloseButton > .toolbarbutton-icon { | |
0c5f9076 | 61 | -moz-margin-start: 2px; |
ca710c53 | 62 | } |
e1313d59 RK |
63 | |
64 | /* Popup notification */ | |
65 | ||
66 | .popup-notification-description { | |
a42b27e7 | 67 | max-width: 24em; |
e1313d59 RK |
68 | } |
69 | ||
1783ea50 RK |
70 | .popup-notification-learnmore-link { |
71 | margin-top: 1em !important; | |
72 | } | |
73 | ||
74 | .popup-notification-learnmore-link:not([href]) { | |
75 | display: none; | |
76 | } | |
77 | ||
9abeb12c | 78 | .popup-notification-button-container { |
e1313d59 RK |
79 | margin-top: 17px; |
80 | } | |
81 | ||
8a933f1e | 82 | .popup-notification-closebutton { |
7f3c87b9 RK |
83 | -moz-margin-end: -5px; |
84 | margin-top: -5px; | |
8a933f1e RK |
85 | } |
86 | ||
e1313d59 RK |
87 | .popup-notification-closeitem { |
88 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
89 | } |