Make info button hide automatically

This commit is contained in:
Ajay Ramachandran
2021-06-20 20:45:41 -04:00
parent f2fa853f2c
commit 47b90b2c2e
4 changed files with 40 additions and 122 deletions

View File

@@ -75,6 +75,22 @@
vertical-align: top;
}
#infoButton.playerButton:not(.hidden) {
transform: translateX(0%) scale(1);
/* opacity is from YouTube page */
transition: transform 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important;
}
#infoButton.playerButton.hidden {
transform: translateX(100%) scale(0);
/* opacity is from YouTube page */
transition: transform 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important;
}
.playerButton.hidden {
display: none;
}
.sponsorSkipObject {
font-family: Roboto, Arial, Helvetica, sans-serif;