X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Falerts%2Falert-common.css;h=6a2db0f28fb4bf5b3c9451f5595135b5af718601;hb=1c129f501737dc6a853acf124852a58f7557f169;hp=5bcdfcb8ed1ce9db9dd7a32904ba197a14a31b1a;hpb=d471380e99d65fcd126e0f04b94c1d3a8004cf3d;p=themes.git diff --git a/LCARStrek/global/alerts/alert-common.css b/LCARStrek/global/alerts/alert-common.css index 5bcdfcb8..6a2db0f2 100644 --- a/LCARStrek/global/alerts/alert-common.css +++ b/LCARStrek/global/alerts/alert-common.css @@ -26,6 +26,12 @@ 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; @@ -53,6 +59,22 @@ } } +#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;