sync both themes with toolkit windows theme changes in Mozilla 51 cycle
[themes.git] / LCARStrek / global / alerts / alert-common.css
index 5bcdfcb8ed1ce9db9dd7a32904ba197a14a31b1a..6a2db0f28fb4bf5b3c9451f5595135b5af718601 100644 (file)
   animation-name: alert-fadeout-animation;
 }
 
+#alertBox[animate]:not([clicked]):not([closing]):hover {
+  /* !important is necessary because CSS animations have highest
+     importance in the cascade with exception to !important rules. */
+  opacity: 1 !important;
+}
+
 @keyframes alert-animation {
   from {
     opacity: 0;
   }
 }
 
+#alertIcon {
+  margin-top: 6px;
+  margin-inline-start: 8px;
+  margin-inline-end: 0;
+  margin-bottom: 0;
+  width: 16px;
+  min-height: 16px;
+  max-height: 16px;
+}
+
+@media (resolution: 2dppx) {
+  #alertIcon {
+    image-rendering: -moz-crisp-edges;
+  }
+}
+
 #alertImage {
   width: 80px;
   height: 80px;