sync EarlyBlue theme with toolkit windows theme changes in Mozilla 40 cycle
[themes.git] / EarlyBlue / global / notification.css
index 5488ed13127506a132c459e0e1db719d1306d261..cd66fedac06912298f2d034d8105485d87002742 100644 (file)
@@ -1,19 +1,24 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 notification {
-  background-color : #FFFFCC;
   color: #000000;
+  background-color : #FFFFCC;
   text-shadow: none;
 }
 
 notification[type="info"] {
-  background-color: #CCD0DD;
   color: #000000;
+  background-color: #CCD0DD;
 }
 
 notification[type="critical"] {
-  background-color: #FFC0C0;
   color: #000000;
+  background-color: #FFC0C0;
+}
+
+.messageText > .text-link {
+  color: inherit !important;
+  text-decoration: underline;
 }
 
 .messageImage {
@@ -27,14 +32,15 @@ notification[type="critical"] {
 
 /* Default icons for notifications */
 
-notification[type="info"] .messageImage {
+.messageImage[type="info"] {
   list-style-image: url("chrome://global/skin/icons/information-16.png");
 }
-notification[type="warning"] .messageImage {
+
+.messageImage[type="warning"] {
   list-style-image: url("chrome://global/skin/icons/warning-16.png");
 }
 
-notification[type="critical"] .messageImage {
+.messageImage[type="critical"] {
   list-style-image: url("chrome://global/skin/icons/error-16.png");
 }
 
@@ -47,3 +53,39 @@ notification[type="critical"] .messageImage {
 .messageCloseButton > .toolbarbutton-icon {
   -moz-margin-start: 5px;
 }
+
+/* Popup notification */
+
+.popup-notification-body {
+  max-width: 25em;
+}
+
+.popup-notification-origin:not([value]),
+.popup-notification-learnmore-link:not([href]) {
+  display: none;
+}
+
+.popup-notification-origin {
+  margin-bottom: .3em !important;
+}
+
+.popup-notification-learnmore-link {
+  margin-top: .5em !important;
+}
+
+.popup-notification-button-container {
+  margin-top: 17px;
+}
+
+.popup-notification-closebutton {
+  -moz-margin-end: -5px;
+  margin-top: -5px;
+}
+
+.popup-notification-closeitem {
+  list-style-image: url("chrome://global/skin/icons/close-button.gif");
+}
+
+.popup-notification-menubutton > .button-menubutton-button[disabled] {
+  opacity: 0.5;
+}