From 2acb622cb8f6b273ba9a03d5e37630d19a3d3e30 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Dec 2021 10:51:19 +0100 Subject: [PATCH] Remove unused code --- client/src/sass/player/peertube-skin.scss | 26 +---------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 876fdf968..332a0e17d 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -71,7 +71,7 @@ body { height: $big-play-height; line-height: $big-play-height; margin-top: -(math.div($big-play-height, 2)); - transition: 0.4s opacity; + transition: 0.2s background-color; &::-moz-focus-inner { border: 0; @@ -89,30 +89,6 @@ body { &:hover { background-color: var(--mainColor, #696969); } - - } - - // Small effect when we click on the play button - &.vjs-has-big-play-button-clicked { - - .vjs-big-play-button, - .vjs-poster { - display: block; - visibility: hidden; - - &.vjs-big-play-button, - &.vjs-big-play-button::before { - opacity: 0; - transition: visibility 0.2s, opacity 0.2s; - } - - &.vjs-poster, - &.vjs-poster::before { - opacity: 0; - transition: visibility 0.3s, opacity 0.3s; - transition-delay: 0.05s; - } - } } // Show poster and controls when playing audio-only content