From 8cbc40b2fe9d36ef0505b9441276ca561342e9e9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 27 May 2021 18:25:00 +0200 Subject: Move to sass module --- client/src/sass/player/peertube-skin.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'client/src/sass/player/peertube-skin.scss') diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 1a84bd7f0..17fd14342 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -1,7 +1,7 @@ @use 'sass:math'; -@use '_variables'; -@use '_mixins'; -@use './_player-variables'; +@use '_variables' as *; +@use '_mixins' as *; +@use './_player-variables' as *; body { --embedForegroundColor: #{$primary-foreground-color}; @@ -12,8 +12,8 @@ body { @mixin big-play-button-triangle-size($triangle-size) { width: $triangle-size; height: $triangle-size; - top: calc(50% - math.div($triangle-size / 2)); - left: calc(53% - math.div($triangle-size / 2)); + top: calc(50% - math.div($triangle-size, 2)); + left: calc(53% - math.div($triangle-size, 2)); } .video-js.vjs-peertube-skin { @@ -57,7 +57,7 @@ body { $big-play-width: 1.2em; $big-play-height: 1.2em; - @include margin-left(-($big-play-width / 2)); + @include margin-left(-(math.div($big-play-width, 2))); outline: 0; font-size: 6em; @@ -70,7 +70,7 @@ body { width: $big-play-width; height: $big-play-height; line-height: $big-play-height; - margin-top: -(math.div($big-play-height / 2)); + margin-top: -(math.div($big-play-height, 2)); transition: 0.4s opacity; &::-moz-focus-inner { -- cgit v1.2.3