YouTube Always Show Progress Bar - CSS Method

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

/* ==UserStyle==
@name           YouTube Always Show Progress Bar - CSS Method
@namespace      greasyfork.org/en/users/1252550-kiokito
@domain         youtube.com
@version        1.0.0
@description    Shows YouTube progress bar at all times, formatted for theater mode, via lightweight CSS.
@author         Kiokito
@match          http*://*youtube.com/*
@run-at         document-start
@locale         en "English"
==/UserStyle== */
    
@-moz-document domain("youtube.com") {
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) {
        overflow: visible !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-chrome-bottom {
        display: block !important;
        opacity: 1 !important;
        position: absolute !important;
        bottom: -4.4vh !important;
        width: 100% !important;
        z-index: 100 !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-gradient-bottom {
        display: none !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-caption-window-bottom {
        bottom: 5vh !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) #player-container {
        padding-bottom: 3.5vh !important;
    }
    
    @media (max-width: 600px) {
        html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-chrome-bottom {
            bottom: 0vh !important;
        }
        html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-caption-window-bottom {
            bottom: 4vh !important;
        }
        html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) #player-container {
            padding-bottom: 4vh !important;
        }
    }
}