2c43f685ba35ba1b295a4ba97a96420efe16a522
[themes.git] / EarlyBlue / 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 : #FFFFCC;
6   text-shadow: none;
7 }
8
9 notification[type="info"] {
10   color: #000000;
11   background-color: #CCD0DD;
12 }
13
14 notification[type="critical"] {
15   color: #000000;
16   background-color: #FFC0C0;
17 }
18
19 .messageText > .text-link {
20   color: inherit !important;
21   text-decoration: underline;
22 }
23
24 .messageImage {
25   width: 16px;
26   height: 16px;
27   margin-top: 0px;
28   margin-bottom: 0px;
29   -moz-margin-start: 6px;
30   -moz-margin-end: 1px;
31 }
32
33 /* Default icons for notifications */
34
35 .messageImage[type="info"] {
36   list-style-image: url("chrome://global/skin/icons/information-16.png");
37 }
38
39 .messageImage[type="warning"] {
40   list-style-image: url("chrome://global/skin/icons/warning-16.png");
41 }
42
43 .messageImage[type="critical"] {
44   list-style-image: url("chrome://global/skin/icons/error-16.png");
45 }
46
47 .messageCloseButton {
48   list-style-image: url("chrome://global/skin/icons/close-button.gif");
49   padding: 4px 2px;
50   border: none;
51 }
52
53 .messageCloseButton > .toolbarbutton-icon {
54   -moz-margin-start: 5px;
55 }
56
57 /* Popup notification */
58
59 .popup-notification-description {
60   max-width: 24em;
61 }
62
63 .popup-notification-learnmore-link {
64   margin-top: 1em !important;
65 }
66
67 .popup-notification-learnmore-link:not([href]) {
68   display: none;
69 }
70
71 .popup-notification-button-container {
72   margin-top: 17px;
73 }
74
75 .popup-notification-closebutton {
76   -moz-margin-end: -5px;
77   margin-top: -5px;
78 }
79
80 .popup-notification-closeitem {
81   list-style-image: url("chrome://global/skin/icons/close-button.gif");
82 }