sync both themes with toolkit windows theme changes in Mozilla 33 cycle
[themes.git] / LCARStrek / global / alerts / alert.css
index 593fdca14e95cdc94893f9f53f9e87dc4d22faed..876a6b1250c664017c72f763f830a26021ebb1c5 100644 (file)
   width: 255px;
 }
 
+.alertTextBox,
+.alertCloseBox {
+}
+
 .alertBox[orient="horizontal"] > .alertImageBox {
   -moz-margin-end: 8px;
 }
   margin-bottom: 8px;
 }
 
+#alertNotification[clickable="true"]:hover .alertTextBox,
+#alertNotification[clickable="true"]:hover .alertCloseBox {
+/*  background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.3));*/
+}
+
 .alertTitle {
   font-weight: bold;
   font-size: 110%;
@@ -44,6 +53,7 @@
 #alertImage {
   max-width: 48px;
   max-height: 48px;
+  list-style-image: url("chrome://global/skin/alerts/notification-48.png");
 }
 
 #alertNotification[clickable="true"] {
@@ -54,15 +64,6 @@ label {
   cursor: inherit;
 }
 
-.alertText[clickable="true"] {
-  color: blue;
-  text-decoration: underline;
-}
-
-.alertText[clickable="true"]:hover:active {
-  color: red;
-}
-
 @keyframes alert-animation {
   from {
     opacity: 0;
@@ -77,3 +78,14 @@ label {
     opacity: 0;
   }
 }
+
+.alertCloseButton {
+  list-style-image: url("chrome://global/skin/icons/close.png");
+  -moz-image-region: rect(0, 16px, 16px, 0);
+  padding: 4px 2px;
+}
+
+.alertCloseButton:hover,
+.alertCloseButton:hover:active {
+  -moz-image-region: rect(0, 32px, 16px, 16px);
+}