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