YouTube - Hide Controls Until Hover

Automatically hides the top and bottom bar when paused. Makes it easier to read text on the top/bottom that is normally hidden by the controls.

当前为 2022-06-05 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name YouTube - Hide Controls Until Hover
  3. @namespace q1k
  4. @version 1.0.0
  5. @description Automatically hides the top and bottom bar when paused. Makes it easier to read text on the top/bottom that is normally hidden by the controls.
  6. @type uso
  7. @preprocessor uso
  8. ==/UserStyle== */
  9.  
  10. @-moz-document domain("youtube.com") {
  11. .html5-video-player.paused-mode .ytp-chrome-top,
  12. .html5-video-player.paused-mode .ytp-gradient-top,
  13. .html5-video-player.paused-mode .ytp-chrome-bottom,
  14. .html5-video-player.paused-mode .ytp-gradient-bottom {
  15. visibility: hidden;
  16. }
  17. .html5-video-player.paused-mode:hover .ytp-chrome-top,
  18. .html5-video-player.paused-mode:hover .ytp-gradient-top,
  19. .html5-video-player.paused-mode:hover .ytp-chrome-bottom,
  20. .html5-video-player.paused-mode:hover .ytp-gradient-bottom {
  21. visibility: visible;
  22. }
  23.  
  24. }