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