YouTube - Show Buttons On Hover When Paused

Hide buttons when the video is paused and show them again when hovered

目前为 2021-09-29 提交的版本。查看 最新版本

/* ==UserStyle==
@name           YouTube - Show Buttons On Hover When Paused
@namespace      https://github.com/pabli24
@version        1.0.2
@description    Hide buttons when the video is paused and show them again when hovered
@author         Pabli
@license        MIT
@homepageURL    https://github.com/pabli24/YTPlayerHideButtonsWhenPaused
@supportURL     https://github.com/pabli24/YTPlayerHideButtonsWhenPaused/issues
==/UserStyle== */

@-moz-document domain("youtube.com") {
.paused-mode:not(.unstarted-mode) > div:not(.html5-video-container) {
    opacity: 0
}
.paused-mode:hover > div:not(.html5-video-container) {
    opacity: 1
}
}