sixth part of syncing LCARStrek with Firefox 42-44 windows theme changes
[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-body {
67   max-width: 25em;
68 }
69
70 .popup-notification-origin:not([value]),
71 .popup-notification-learnmore-link:not([href]) {
72   display: none;
73 }
74
75 .popup-notification-origin {
76   margin-bottom: .3em !important;
77 }
78
79 .popup-notification-learnmore-link {
80   margin-top: .5em !important;
81 }
82
83 .popup-notification-button-container {
84   margin-top: 17px;
85 }
86
87 .popup-notification-closebutton {
88   -moz-margin-end: -5px;
89   margin-top: -5px;
90 }
91
92 .popup-notification-closeitem {
93   list-style-image: url("chrome://global/skin/icons/close-button.gif");
94 }
95
96 .popup-notification-menubutton > .button-menubutton-button[disabled] {
97   opacity: 0.5;
98 }