Bug 1184790 - Force notifications to have opacity:1 when hovered to make sure that we show a readable notification during the intro/exit animation of the notification if the user has their mouse in the area. r=MattN

MozReview-Commit-ID: DccStz4VXCQ

--HG--
extra : rebase_source : f597a1e277dbec7933e8170f7d1d83d1f0f2a690
This commit is contained in:
Jared Wein 2016-09-15 17:02:38 -04:00
Родитель cdf9010674
Коммит 44bb44a220
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -26,6 +26,12 @@
animation-name: alert-closing-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;