second and final part of syncing LCARStrek with Firefox 49/50 devtools theme changes
[themes.git] / LCARStrek / global / notification.css
index 49d3745131481ac07efcf34a17c520fd462e523d..938d3cddbaf3acca8f1d89af08015ed9ff24cd64 100644 (file)
@@ -1,20 +1,25 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 notification {
-  background-color : #FFCF00;
   color: #000000;
+  background-color : #FFCF00;
   text-shadow: none;
   border-radius: 8px;
 }
 
 notification[type="info"] {
-  background-color: #9C9CFF;
   color: #000000;
+  background-color: #9C9CFF;
 }
 
 notification[type="critical"] {
-  background-color: #FF0000;
   color: #000000;
+  background-color: #FF0000;
+}
+
+.messageText > .text-link {
+  color: inherit !important;
+  text-decoration: underline;
 }
 
 .messageImage {
@@ -37,8 +42,8 @@ notification[type="critical"] {
 }
 
 .notification-inner {
-  -moz-margin-start: 8px;
-  -moz-margin-end: 12px;
+  margin-inline-start: 8px;
+  margin-inline-end: 12px;
 }
 
 .messageCloseButton {
@@ -53,32 +58,41 @@ notification[type="critical"] {
 }
 
 .messageCloseButton > .toolbarbutton-icon {
-  -moz-margin-start: 2px;
+  margin-inline-start: 2px;
 }
 
 /* Popup notification */
 
-.popup-notification-description {
-  max-width: 24em;
-}
-
-.popup-notification-learnmore-link {
-  margin-top: 1em !important;
+.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-inline-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;
+}