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