diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-27 18:25:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-28 10:54:02 +0200 |
commit | 8cbc40b2fe9d36ef0505b9441276ca561342e9e9 (patch) | |
tree | 5777288d76c0926f5b4484e2689d0fe741462a36 /client/src/sass/player/upnext.scss | |
parent | fa12eacc014aae8094d108634371640f2695bf9f (diff) | |
download | PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.gz PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.zst PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.zip |
Move to sass module
Diffstat (limited to 'client/src/sass/player/upnext.scss')
-rw-r--r-- | client/src/sass/player/upnext.scss | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/client/src/sass/player/upnext.scss b/client/src/sass/player/upnext.scss index 922a9674d..2618d79d4 100644 --- a/client/src/sass/player/upnext.scss +++ b/client/src/sass/player/upnext.scss | |||
@@ -4,14 +4,10 @@ $browser-context: 16; | |||
4 | @return #{$pixels/$context}em; | 4 | @return #{$pixels/$context}em; |
5 | } | 5 | } |
6 | 6 | ||
7 | @mixin transition($string: $transition--default) { | ||
8 | transition: $string; | ||
9 | } | ||
10 | |||
11 | .video-js { | 7 | .video-js { |
12 | 8 | ||
13 | .vjs-upnext-content { | 9 | .vjs-upnext-content { |
14 | @include transition(opacity 0.1s); | 10 | transition: opacity 0.1s; |
15 | 11 | ||
16 | font-size: 1.8em; | 12 | font-size: 1.8em; |
17 | pointer-events: auto; | 13 | pointer-events: auto; |
@@ -93,7 +89,7 @@ $browser-context: 16; | |||
93 | } | 89 | } |
94 | 90 | ||
95 | .vjs-upnext-autoplay-icon { | 91 | .vjs-upnext-autoplay-icon { |
96 | @include transition(stroke-dasharray 0.1s cubic-bezier(0.4,0,1,1)); | 92 | transition: stroke-dasharray 0.1s cubic-bezier(0.4, 0, 1, 1); |
97 | 93 | ||
98 | position: absolute; | 94 | position: absolute; |
99 | top: 50%; | 95 | top: 50%; |