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