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; | |
22 | margin: 0px 1px 0px 6px; | |
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 | ||
38 | .messageText { | |
39 | -moz-margin-start: 5px; | |
40 | } | |
41 | ||
f98e9249 RK |
42 | .messageCloseButton { |
43 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
44 | padding: 4px 2px; | |
45 | border: none; | |
46 | } |