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 | ||
c60d23d2 | 27 | .messageImage[type="info"] { |
f98e9249 RK |
28 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
29 | } | |
c60d23d2 RK |
30 | |
31 | .messageImage[type="warning"] { | |
f98e9249 RK |
32 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
33 | } | |
34 | ||
c60d23d2 | 35 | .messageImage[type="critical"] { |
f98e9249 RK |
36 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
37 | } | |
38 | ||
6894848c RK |
39 | .notification-inner { |
40 | -moz-margin-start: 8px; | |
41 | -moz-margin-end: 12px; | |
42 | } | |
43 | ||
f98e9249 RK |
44 | .messageCloseButton { |
45 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
46 | padding: 4px 2px; | |
47 | border: none; | |
48 | } | |
6894848c RK |
49 | |
50 | .messageCloseButton:hover, | |
51 | .messageCloseButton:hover:active { | |
52 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
53 | } | |
ca710c53 RK |
54 | |
55 | .messageCloseButton > .toolbarbutton-icon { | |
0c5f9076 | 56 | -moz-margin-start: 2px; |
ca710c53 | 57 | } |
e1313d59 RK |
58 | |
59 | /* Popup notification */ | |
60 | ||
61 | .popup-notification-description { | |
a42b27e7 | 62 | max-width: 24em; |
e1313d59 RK |
63 | } |
64 | ||
9abeb12c | 65 | .popup-notification-button-container { |
e1313d59 RK |
66 | margin-top: 17px; |
67 | } | |
68 | ||
8a933f1e | 69 | .popup-notification-closebutton { |
7f3c87b9 RK |
70 | -moz-margin-end: -5px; |
71 | margin-top: -5px; | |
8a933f1e RK |
72 | } |
73 | ||
e1313d59 RK |
74 | .popup-notification-closeitem { |
75 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
76 | } |