X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch.component.scss;h=8ca5c4118e7d53ab48a39465a565ddfab07fc96c;hb=72675ebe0181ab2389fb2f75a3b2acdca6e09c07;hp=84b9aed397a363cbaf0e3e191b7ec9bcd46f1619;hpb=31b6ddf86652502e0c96d77fa10861ce4af11aa4;p=github%2FChocobozzz%2FPeerTube.git 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 84b9aed39..8ca5c4118 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -15,10 +15,10 @@ $player-factor: 1.7; // 16/9 } @mixin playlist-below-player { - width: 100%; - height: auto; - max-height: 300px; - border-bottom: 1px solid $separator-border-color; + width: 100% !important; + height: auto !important; + max-height: 300px !important; + border-bottom: 1px solid $separator-border-color !important; } .root { @@ -37,7 +37,7 @@ $player-factor: 1.7; // 16/9 width: 100%; } - .playlist { + my-video-watch-playlist /deep/ .playlist { @include playlist-below-player; } } @@ -80,60 +80,6 @@ $player-factor: 1.7; // 16/9 } } - .playlist { - min-width: 200px; - max-width: 470px; - height: 66vh; - background-color: var(--mainBackgroundColor); - overflow-y: auto; - border-bottom: 1px solid $separator-border-color; - - .playlist-info { - padding: 5px 30px; - background-color: #e4e4e4; - - .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: getPlayerWidth(66vh); height: 66vh; @@ -156,6 +102,7 @@ $player-factor: 1.7; // 16/9 .alert { text-align: center; + border-radius: 0; } #video-not-found { @@ -427,19 +374,18 @@ my-video-comments { // If the view is not expanded, take into account the menu .privacy-concerns { width: calc(100% - #{$menu-width}); - margin-left: -15px; } @media screen and (max-width: $small-view) { .privacy-concerns { - margin-left: $menu-width; + margin-left: $menu-width - 15px; // Menu is absolute } } :host-context(.expanded) { .privacy-concerns { width: 100%; - margin-left: 0; + margin-left: -15px; } } @@ -450,6 +396,7 @@ my-video-comments { padding: 5px 15px; display: flex; + flex-wrap: nowrap; align-items: center; justify-content: flex-start; background-color: rgba(0, 0, 0, 0.9); @@ -507,7 +454,7 @@ my-video-comments { flex-direction: column; justify-content: center; - .playlist { + my-video-watch-playlist /deep/ .playlist { @include playlist-below-player; } }