X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fvideo-js-custom.scss;h=8de0784f99ec14325cc11112a19237455d33db31;hb=fa40cbc3b26e2a7b01a6273def62fa8bb552c7b6;hp=350e7cdd589814c5de5c87d7b31a43a5a48186bd;hpb=960a11e89da4e4a6ad6fbad61c71625f89e267b6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss index 350e7cdd5..8de0784f9 100644 --- a/client/src/sass/video-js-custom.scss +++ b/client/src/sass/video-js-custom.scss @@ -130,39 +130,6 @@ $context-menu-width: 350px; background-color: rgba($primary-background-color, 0.5); } - .vjs-slider { - background-color: rgba(255, 255, 255, .3); - border-radius: 2px; - height: 5px; - - .vjs-slider-bar { - background: $primary-foreground-color; - } - } - - .vjs-play-progress { - - &::before { - top: -0.3em; - - &:hover { - top: -0.372em; - } - } - - .vjs-time-tooltip { - display: none; - } - } - - .vjs-load-progress { - background: rgba($slider-bg-color, 0.5); - - div { - background: rgba($slider-bg-color, 0.75); - } - } - .vjs-poster { outline: none; /* Remove Blue Outline on Click*/ outline: 0; @@ -197,6 +164,38 @@ $context-menu-width: 350px; opacity: $primary-foreground-opacity; } + .vjs-slider { + background-color: rgba(255, 255, 255, .2); + border-radius: 2px; + height: 5px; + + .vjs-slider-bar { + background: $primary-foreground-color; + } + } + + .vjs-play-progress { + padding-right: 4px; + + &::before { + top: -0.3em; + + &:hover { + top: -0.372em; + } + } + + .vjs-time-tooltip { + display: none; + } + } + + .vjs-load-progress { + &, & div { + background: rgba(255, 255, 255, .2); + } + } + .vjs-progress-control { bottom: 34px; width: 100%; @@ -219,6 +218,8 @@ $context-menu-width: 350px; } .vjs-time-control { + line-height: inherit; + &.vjs-current-time { font-size: $font-size; display: inline-block;