Fix fade in animation for skip notice

This commit is contained in:
Ajay
2024-11-26 13:31:18 -05:00
parent c1168582a9
commit d3cd0962d5

View File

@@ -218,6 +218,11 @@ div:hover > .sponsorBlockChapterBar {
from { opacity: 0; } from { opacity: 0; }
} }
@keyframes fadeInToFaded {
from { opacity: 0; }
to { opacity: 0.5; }
}
@keyframes fadeOut { @keyframes fadeOut {
to { opacity: 0; } to { opacity: 0; }
} }
@@ -290,6 +295,10 @@ div:hover > .sponsorBlockChapterBar {
animation: fadeIn 0.5s ease-out; animation: fadeIn 0.5s ease-out;
} }
.sponsorSkipNoticeFadeIn.sponsorSkipNoticeFaded {
animation: fadeInToFaded 0.5s ease-out;
}
.exportCopiedNotice .sponsorSkipNoticeFadeIn { .exportCopiedNotice .sponsorSkipNoticeFadeIn {
animation: none; animation: none;
} }