Commit | Line | Data |
---|---|---|
df8c26c4 RK |
1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
2 | ||
3 | notification { | |
df8c26c4 | 4 | color: #000000; |
21c0144b | 5 | background-color : #FFFFCC; |
3b1530c2 | 6 | text-shadow: none; |
df8c26c4 RK |
7 | } |
8 | ||
9 | notification[type="info"] { | |
d0ff98fe | 10 | color: #000000; |
21c0144b | 11 | background-color: #CCD0DD; |
df8c26c4 RK |
12 | } |
13 | ||
14 | notification[type="critical"] { | |
d0ff98fe | 15 | color: #000000; |
21c0144b RK |
16 | background-color: #FFC0C0; |
17 | } | |
18 | ||
19 | .messageText > .text-link { | |
20 | color: inherit !important; | |
21 | text-decoration: underline; | |
df8c26c4 RK |
22 | } |
23 | ||
24 | .messageImage { | |
25 | width: 16px; | |
26 | height: 16px; | |
02920d2b RK |
27 | margin-top: 0px; |
28 | margin-bottom: 0px; | |
29 | -moz-margin-start: 6px; | |
30 | -moz-margin-end: 1px; | |
df8c26c4 RK |
31 | } |
32 | ||
6daee013 RK |
33 | /* Default icons for notifications */ |
34 | ||
c60d23d2 | 35 | .messageImage[type="info"] { |
6daee013 RK |
36 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
37 | } | |
c60d23d2 RK |
38 | |
39 | .messageImage[type="warning"] { | |
6daee013 RK |
40 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
41 | } | |
42 | ||
c60d23d2 | 43 | .messageImage[type="critical"] { |
6daee013 RK |
44 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
45 | } | |
46 | ||
df8c26c4 RK |
47 | .messageCloseButton { |
48 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
49 | padding: 4px 2px; | |
50 | border: none; | |
51 | } | |
ca710c53 RK |
52 | |
53 | .messageCloseButton > .toolbarbutton-icon { | |
54 | -moz-margin-start: 5px; | |
55 | } | |
e1313d59 RK |
56 | |
57 | /* Popup notification */ | |
58 | ||
59 | .popup-notification-description { | |
a42b27e7 | 60 | max-width: 24em; |
e1313d59 RK |
61 | } |
62 | ||
da3c2755 | 63 | .popup-notification-originHost:not([value]), |
1783ea50 RK |
64 | .popup-notification-learnmore-link:not([href]) { |
65 | display: none; | |
66 | } | |
67 | ||
da3c2755 RK |
68 | .popup-notification-originHost { |
69 | margin-bottom: .3em !important; | |
70 | } | |
71 | ||
72 | .popup-notification-learnmore-link { | |
73 | margin-top: .5em !important; | |
74 | } | |
75 | ||
9abeb12c | 76 | .popup-notification-button-container { |
e1313d59 RK |
77 | margin-top: 17px; |
78 | } | |
79 | ||
8a933f1e | 80 | .popup-notification-closebutton { |
7f3c87b9 RK |
81 | -moz-margin-end: -5px; |
82 | margin-top: -5px; | |
8a933f1e RK |
83 | } |
84 | ||
e1313d59 RK |
85 | .popup-notification-closeitem { |
86 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
87 | } |