зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
cdf9010674
Коммит
44bb44a220
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче