From 114c2572a4c040b51798124439680ea14172c93b Mon Sep 17 00:00:00 2001 From: Jesus Date: Sat, 8 Mar 2025 16:28:27 -0500 Subject: Renew plyr UI and simplify elements --- youtube/static/modules/plyr/custom_plyr.css | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'youtube/static/modules/plyr/custom_plyr.css') 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 +*/ -- cgit v1.2.3