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