diff options
author | Jesus <heckyel@hyperbola.info> | 2025-03-08 16:28:27 -0500 |
---|---|---|
committer | Jesus <heckyel@hyperbola.info> | 2025-03-08 16:28:27 -0500 |
commit | 114c2572a4c040b51798124439680ea14172c93b (patch) | |
tree | 3b2cf95c41963e209e1f38831ff310332f3d4472 | |
parent | f64b36260381fe46b739a9821d3e850e82e5848b (diff) | |
download | yt-local-114c2572a4c040b51798124439680ea14172c93b.tar.lz yt-local-114c2572a4c040b51798124439680ea14172c93b.tar.xz yt-local-114c2572a4c040b51798124439680ea14172c93b.zip |
Renew plyr UI and simplify elements
-rw-r--r-- | youtube/static/modules/plyr/custom_plyr.css | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/youtube/static/modules/plyr/custom_plyr.css b/youtube/static/modules/plyr/custom_plyr.css index 0fd3c52..7a9f0f3 100644 --- a/youtube/static/modules/plyr/custom_plyr.css +++ b/youtube/static/modules/plyr/custom_plyr.css @@ -37,3 +37,41 @@ e.g. Firefox playback speed options */ max-height: 320px; overflow-y: auto; } + +/* +* Custom styles similar to youtube +*/ +.plyr__controls { + display: flex; + justify-content: center; +} + +.plyr__progress__container { + position: absolute; + bottom: 0; + width: 100%; + margin-bottom: -10px; +} + +.plyr__controls .plyr__controls__item:first-child { + margin-left: 0; + margin-right: 0; + z-index: 5; +} + +.plyr__controls .plyr__controls__item.plyr__volume { + margin-left: auto; +} + +.plyr__controls .plyr__controls__item.plyr__progress__container { + padding-left: 10px; + padding-right: 10px; +} + +.plyr__progress input[type="range"] { + margin-bottom: 50px; +} + +/* +* End custom styles +*/ |