From e2f01c47e08d26a30ad47068d195b3d21d0df8a1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Mar 2019 14:18:58 +0100 Subject: Playlist support in watch page --- .../videos/+video-watch/video-watch.component.scss | 54 +++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-watch/video-watch.component.scss') diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index 44040e90d..e1cb249ef 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -1,6 +1,7 @@ @import '_variables'; @import '_mixins'; @import '_bootstrap-variables'; +@import '_miniature'; $other-videos-width: 260px; @@ -12,7 +13,7 @@ $other-videos-width: 260px; font-weight: $font-semibold; } -#video-element-wrapper { +#video-wrapper { background-color: #000; display: flex; justify-content: center; @@ -39,6 +40,57 @@ $other-videos-width: 260px; } } + .playlist { + width: 400px; + height: 66vh; + background-color: #e4e4e4; + overflow-y: auto; + + .playlist-info { + padding: 5px 30px; + + .playlist-display-name { + font-size: 18px; + font-weight: $font-semibold; + margin-bottom: 5px; + } + + .playlist-by-index { + color: $grey-foreground-color; + display: flex; + + .playlist-by { + margin-right: 5px; + } + + .playlist-index span:first-child::after { + content: '/'; + margin: 0 3px; + } + } + } + + my-video-playlist-element-miniature { + /deep/ { + .video { + .position { + margin-right: 0; + } + + .video-info { + .video-info-name { + font-size: 15px; + } + } + } + + my-video-thumbnail { + @include thumbnail-size-component(90px, 50px); + } + } + } + } + /deep/ .video-js { width: calc(66vh * 1.77); height: 66vh; -- cgit v1.2.3