fix errors found by review of 2.30
[themes.git] / LCARStrek / global / notification.css
index 576be62af0aa5c6cdd86822e9dadfef2ddd1217a..49d3745131481ac07efcf34a17c520fd462e523d 100644 (file)
@@ -24,14 +24,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");
 }
 
@@ -52,22 +53,30 @@ notification[type="critical"] .messageImage {
 }
 
 .messageCloseButton > .toolbarbutton-icon {
-  -moz-margin-start: 5px;
+  -moz-margin-start: 2px;
 }
 
 /* Popup notification */
 
 .popup-notification-description {
-  max-width: 248px;
+  max-width: 24em;
+}
+
+.popup-notification-learnmore-link {
+  margin-top: 1em !important;
+}
+
+.popup-notification-learnmore-link:not([href]) {
+  display: none;
 }
 
-.popup-notification-menubutton {
+.popup-notification-button-container {
   margin-top: 17px;
 }
 
 .popup-notification-closebutton {
-  -moz-margin-end: -14px;
-  margin-top: -10px;
+  -moz-margin-end: -5px;
+  margin-top: -5px;
 }
 
 .popup-notification-closeitem {