start 2.11 cycle
[themes.git] / LCARStrek / global / notification.css
CommitLineData
f98e9249
RK
1@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
2
3notification {
4 background-color : #FFCF00;
5 color: #000000;
3b1530c2 6 text-shadow: none;
569543b3 7 border-radius: 8px;
f98e9249
RK
8}
9
10notification[type="info"] {
11 background-color: #9C9CFF;
12 color: #000000;
13}
14
15notification[type="critical"] {
16 background-color: #FF0000;
17 color: #000000;
18}
19
20.messageImage {
21 width: 16px;
22 height: 16px;
f98e9249
RK
23}
24
25/* Default icons for notifications */
26
27notification[type="info"] .messageImage {
28 list-style-image: url("chrome://global/skin/icons/information-16.png");
29}
30notification[type="warning"] .messageImage {
31 list-style-image: url("chrome://global/skin/icons/warning-16.png");
32}
33
34notification[type="critical"] .messageImage {
35 list-style-image: url("chrome://global/skin/icons/error-16.png");
36}
37
6894848c
RK
38.notification-inner {
39 -moz-margin-start: 8px;
40 -moz-margin-end: 12px;
41}
42
f98e9249
RK
43.messageCloseButton {
44 list-style-image: url("chrome://global/skin/icons/close-button.gif");
45 padding: 4px 2px;
46 border: none;
47}
6894848c
RK
48
49.messageCloseButton:hover,
50.messageCloseButton:hover:active {
51 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
52}
ca710c53
RK
53
54.messageCloseButton > .toolbarbutton-icon {
0c5f9076 55 -moz-margin-start: 2px;
ca710c53 56}
e1313d59
RK
57
58/* Popup notification */
59
60.popup-notification-description {
a42b27e7 61 max-width: 24em;
e1313d59
RK
62}
63
9abeb12c 64.popup-notification-button-container {
e1313d59
RK
65 margin-top: 17px;
66}
67
8a933f1e 68.popup-notification-closebutton {
7f3c87b9
RK
69 -moz-margin-end: -5px;
70 margin-top: -5px;
8a933f1e
RK
71}
72
e1313d59
RK
73.popup-notification-closeitem {
74 list-style-image: url("chrome://global/skin/icons/close-button.gif");
75}