From 0699c5522987ae051cb6304b55919cbecfa8ab8e Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Mon, 1 Feb 2021 21:24:26 +0800 Subject: [PATCH] videojs: make control bar slightly transparent. ## Issue Closes #5392 better support for non-standard resolution videos It's not actually cropped -- the control bar was opaque. ## Change Use 0.80 opacity to somewhat see the full picture. Using 0.5 or less would be even better, but due to the default tiny size of the control bar, the text becomes unreadable (it's readable if you zoom the browser to get larger text). Don't want to mess with sizing for now, so using 0.80 to get the best of both worlds. --- ui/scss/component/_file-render.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scss/component/_file-render.scss b/ui/scss/component/_file-render.scss index eeff9f475..2d03f9398 100644 --- a/ui/scss/component/_file-render.scss +++ b/ui/scss/component/_file-render.scss @@ -387,7 +387,7 @@ } .vjs-control-bar { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.8); .vjs-remaining-time { display: none;