mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Autoplay button styles
This commit is contained in:
18
goodtube.js
18
goodtube.js
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user