Skip to content

Commit

Permalink
Fix fade in animation for skip notice
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Nov 26, 2024
1 parent c116858 commit d3cd096
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ div:hover > .sponsorBlockChapterBar {
from { opacity: 0; }
}

@keyframes fadeInToFaded {
from { opacity: 0; }
to { opacity: 0.5; }
}

@keyframes fadeOut {
to { opacity: 0; }
}
Expand Down Expand Up @@ -290,6 +295,10 @@ div:hover > .sponsorBlockChapterBar {
animation: fadeIn 0.5s ease-out;
}

.sponsorSkipNoticeFadeIn.sponsorSkipNoticeFaded {
animation: fadeInToFaded 0.5s ease-out;
}

.exportCopiedNotice .sponsorSkipNoticeFadeIn {
animation: none;
}
Expand Down

0 comments on commit d3cd096

Please sign in to comment.