cd66fedac06912298f2d034d8105485d87002742
[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-body {
60   max-width: 25em;
61 }
62
63 .popup-notification-origin:not([value]),
64 .popup-notification-learnmore-link:not([href]) {
65   display: none;
66 }
67
68 .popup-notification-origin {
69   margin-bottom: .3em !important;
70 }
71
72 .popup-notification-learnmore-link {
73   margin-top: .5em !important;
74 }
75
76 .popup-notification-button-container {
77   margin-top: 17px;
78 }
79
80 .popup-notification-closebutton {
81   -moz-margin-end: -5px;
82   margin-top: -5px;
83 }
84
85 .popup-notification-closeitem {
86   list-style-image: url("chrome://global/skin/icons/close-button.gif");
87 }
88
89 .popup-notification-menubutton > .button-menubutton-button[disabled] {
90   opacity: 0.5;
91 }