X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Falerts%2Falert-common.css;h=1caf842925ba4ef6685b1ee95a635b87d7ddb310;hp=546534a4fe0356a9fb10ef3f749c01bc5fefdda3;hb=dbad77eabc8467c637024bc9963f45310d15565c;hpb=d471380e99d65fcd126e0f04b94c1d3a8004cf3d diff --git a/EarlyBlue/global/alerts/alert-common.css b/EarlyBlue/global/alerts/alert-common.css index 546534a4..1caf8429 100644 --- a/EarlyBlue/global/alerts/alert-common.css +++ b/EarlyBlue/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; @@ -107,7 +129,9 @@ #alertSettings { border-radius: 0px; min-width: 0; - list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-grayscale"); + list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg"); + -moz-context-properties: fill; + fill: #808080; margin-inline-end: 0; margin-bottom: 0; } @@ -118,7 +142,7 @@ #alertSettings:hover, #alertSettings[open] { - list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-inverted"); + fill: #000000; } #alertSettings:hover {