X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fplayer%2Fplaylist.scss;h=f7e67ba16d2287da35e5574efbd2a9859b14f081;hb=62ddc31a9e4b92d7d27898ccfc363f68ab044139;hp=cf125a5620ebf5c0daddeddb13f210ee80e7a97f;hpb=92d54714b91a8e1619d49efac26ea0977a27f532;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/player/playlist.scss b/client/src/sass/player/playlist.scss index cf125a562..f7e67ba16 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,7 +9,8 @@ $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; @@ -39,14 +44,14 @@ $playlist-menu-width: 350px; } .cross { + mask-image: url('#{$assets-path}/images/feather/x.svg'); + -webkit-mask-image: url('#{$assets-path}/images/feather/x.svg'); + 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; + background-color: #fff; mask-size: cover; - -webkit-mask-size: cover; } } } @@ -86,13 +91,13 @@ $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; + + width: 22px; + height: 22px; + background-color: #fff; mask-size: cover; - -webkit-mask-size: cover; margin-bottom: 3px; } @@ -132,9 +137,9 @@ $playlist-menu-width: 350px; } .item-player { - display: none; - @include play-icon(20px, 16px); + + display: none; } &.vjs-selected {