moves the chapter panel (invisible) on top of the video (designed for theater mode). Shows up when hovering over it.
目前為
/* ==UserStyle==
@name Youtube chapter panel on top of video
@namespace almaceleste
@version 0.3.1
@description moves the chapter panel (invisible) on top of the video (designed for theater mode). Shows up when hovering over it.
@author toppits
@license idc
==/UserStyle== */
@-moz-document url-prefix("https://www.youtube.com/watch") {
#panels.ytd-watch-flexy ytd-engagement-panel-section-list-renderer.ytd-watch-flexy {
position: absolute;
opacity: 0 !important;
top: 0 !important;
z-index: 9999999 !important;
max-height: calc(var(--ytd-watch-flexy-max-player-height) - 150px) !important;
max-width: 400px !important;
margin-bottom: 0 !important;
}
#panels.ytd-watch-flexy ytd-engagement-panel-section-list-renderer.ytd-watch-flexy:hover {
opacity: 1 !important;
}
/*current chapter*/
#sync-button.ytd-macro-markers-list-renderer {
border-radius: 4px !important;
}
}