YouTube Always Show Progress Bar - CSS Method

Shows YouTube progress bar at all times, formatted for theater mode, via lightweight CSS.

  1. /* ==UserStyle==
  2. @name YouTube Always Show Progress Bar - CSS Method
  3. @namespace greatest.deepsurf.us/en/users/1252550-kiokito
  4. @domain youtube.com
  5. @version 1.0.0
  6. @description Shows YouTube progress bar at all times, formatted for theater mode, via lightweight CSS.
  7. @author Kiokito
  8. @match http*://*youtube.com/*
  9. @run-at document-start
  10. @locale en "English"
  11. ==/UserStyle== */
  12. @-moz-document domain("youtube.com") {
  13. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) {
  14. overflow: visible !important;
  15. }
  16. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-chrome-bottom {
  17. display: block !important;
  18. opacity: 1 !important;
  19. position: absolute !important;
  20. bottom: -4.4vh !important;
  21. width: 100% !important;
  22. z-index: 100 !important;
  23. }
  24. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-gradient-bottom {
  25. display: none !important;
  26. }
  27. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-caption-window-bottom {
  28. bottom: 5vh !important;
  29. }
  30. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) #player-container {
  31. padding-bottom: 3.5vh !important;
  32. }
  33. @media (max-width: 600px) {
  34. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-chrome-bottom {
  35. bottom: 0vh !important;
  36. }
  37. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-caption-window-bottom {
  38. bottom: 4vh !important;
  39. }
  40. html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) #player-container {
  41. padding-bottom: 4vh !important;
  42. }
  43. }
  44. }