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