From 0e7c4b03c3908ad81427921c96b06c1efae4da54 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 20 Dec 2022 16:28:15 +0100 Subject: Add back to live feature --- client/src/sass/player/control-bar.scss | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'client/src/sass/player') diff --git a/client/src/sass/player/control-bar.scss b/client/src/sass/player/control-bar.scss index 0082378e4..96b3adf66 100644 --- a/client/src/sass/player/control-bar.scss +++ b/client/src/sass/player/control-bar.scss @@ -153,8 +153,25 @@ } .vjs-live-control { - line-height: $control-bar-height; - min-width: 4em; + padding: 5px 7px; + border-radius: 3px; + height: fit-content; + margin: auto 10px; + font-weight: bold; + max-width: fit-content; + opacity: 1 !important; + line-height: normal; + position: relative; + top: -1px; + + &.synced-with-live-edge { + background: #d7281c; + } + + &:not(.synced-with-live-edge) { + cursor: pointer; + background: #80807f; + } } .vjs-peertube { -- cgit v1.2.3