Autoplay button styles

This commit is contained in:
goodtube4u
2025-09-19 10:53:38 +10:00
parent 15e32c499b
commit 0a37492115

View File

@@ -3038,7 +3038,7 @@
pointer-events: none;
opacity: 0;
position: absolute;
top: -48px;
top: -49px;
left: 50%;
transform: translateX(-50%);
background: rgba(28, 28, 28, 0.9);
@@ -3048,11 +3048,10 @@
font-size: 12.98px;
padding-left: 9px;
padding-right: 9px;
padding-top: 0.2px;
padding-bottom: 0;
height: 24px;
height: 25px;
box-sizing: border-box;
line-height: 24px;
line-height: 25px;
font-family: "YouTube Noto", Roboto, Arial, Helvetica, sans-serif;
white-space: nowrap;
}
@@ -3068,6 +3067,17 @@
#goodTube_autoplayButton:hover .ytp-autonav-toggle-button::before {
opacity: 1;
}
.ytp-big-mode #goodTube_autoplayButton .ytp-autonav-toggle-button {
transform: scale(1.4);
top: 21px;
}
.ytp-big-mode #goodTube_autoplayButton .ytp-autonav-toggle-button::before {
font-size: 14px;
height: 23px;
line-height: 23px;
}
`;
// Enable the picture in picture button (unless you're on firefox)