X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fplayer%2Fplaylist.scss;h=4419df2429a1887bbead5315e951de7ac6a629bb;hb=e722fb5923ddf11d72e48cec9788abc64327c22f;hp=1d1489ac1a90d822d5c47db8137aef9acf7aa6f5;hpb=a75292db788d400ba84933693f5f98a83f3aaa60;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/player/playlist.scss b/client/src/sass/player/playlist.scss index 1d1489ac1..4419df242 100644 --- a/client/src/sass/player/playlist.scss +++ b/client/src/sass/player/playlist.scss @@ -1,3 +1,7 @@ +@use '_variables' as *; +@use '_mixins' as *; +@use './_player-variables' as *; + $playlist-menu-width: 350px; .vjs-playlist-menu { @@ -5,9 +9,11 @@ $playlist-menu-width: 350px; right: 0; height: 100%; width: $playlist-menu-width; - background: rgba(0, 0, 0, 0.8); + // !important to prevent none background set on focus + background: rgba(0, 0, 0, 0.8) !important; z-index: 101; transition: right 0.2s; + overflow-y: scroll; // Hidden right: -$playlist-menu-width; @@ -38,14 +44,15 @@ $playlist-menu-width: 350px; } .cross { - cursor: pointer; - width: 20px; - height: 20px; mask-image: url('#{$assets-path}/images/feather/x.svg'); -webkit-mask-image: url('#{$assets-path}/images/feather/x.svg'); - background-color: white; mask-size: cover; -webkit-mask-size: cover; + + cursor: pointer; + width: 20px; + height: 20px; + background-color: #fff; } } } @@ -75,7 +82,7 @@ $playlist-menu-width: 350px; } .vjs-playlist-button { - font-size: 15px; + font-size: 16px; position: absolute; right: 0; top: 0; @@ -85,13 +92,14 @@ $playlist-menu-width: 350px; } .vjs-playlist-icon { - width: 22px; - height: 22px; mask-image: url('#{$assets-path}/images/feather/list.svg'); -webkit-mask-image: url('#{$assets-path}/images/feather/list.svg'); - background-color: white; mask-size: cover; -webkit-mask-size: cover; + + width: 22px; + height: 22px; + background-color: #fff; margin-bottom: 3px; } @@ -131,9 +139,9 @@ $playlist-menu-width: 350px; } .item-player { - display: none; - @include play-icon(20px, 16px); + + display: none; } &.vjs-selected {