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; | |
6 | -moz-border-radius: 8px; | |
7 | } | |
8 | ||
9 | notification[type="info"] { | |
10 | background-color: #9C9CFF; | |
11 | color: #000000; | |
12 | } | |
13 | ||
14 | notification[type="critical"] { | |
15 | background-color: #FF0000; | |
16 | color: #000000; | |
17 | } | |
18 | ||
19 | .messageImage { | |
20 | width: 16px; | |
21 | height: 16px; | |
f98e9249 RK |
22 | } |
23 | ||
24 | /* Default icons for notifications */ | |
25 | ||
26 | notification[type="info"] .messageImage { | |
27 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
28 | } | |
29 | notification[type="warning"] .messageImage { | |
30 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); | |
31 | } | |
32 | ||
33 | notification[type="critical"] .messageImage { | |
34 | list-style-image: url("chrome://global/skin/icons/error-16.png"); | |
35 | } | |
36 | ||
37 | .messageText { | |
38 | -moz-margin-start: 5px; | |
39 | } | |
40 | ||
6894848c RK |
41 | .notification-inner { |
42 | -moz-margin-start: 8px; | |
43 | -moz-margin-end: 12px; | |
44 | } | |
45 | ||
f98e9249 RK |
46 | .messageCloseButton { |
47 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
48 | padding: 4px 2px; | |
49 | border: none; | |
50 | } | |
6894848c RK |
51 | |
52 | .messageCloseButton:hover, | |
53 | .messageCloseButton:hover:active { | |
54 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
55 | } |