From 03652b3179b7d3d2959b68318fdc5e00f94eb95f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:12:35 +0200 Subject: Use ::ng-deep instead of /deep/ --- .../+video-edit/shared/video-edit.component.scss | 4 ++-- .../video-add-components/video-upload.component.scss | 4 ++-- .../app/videos/+video-edit/video-add.component.scss | 4 ++-- .../+video-watch/comment/video-comment.component.scss | 2 +- .../+video-watch/video-watch-playlist.component.scss | 2 +- .../app/videos/+video-watch/video-watch.component.scss | 18 +++++++++--------- 6 files changed, 17 insertions(+), 17 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss index bb775cb0a..9479c588a 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss @@ -122,7 +122,7 @@ my-peertube-checkbox { p-calendar { display: block; - /deep/ { + ::ng-deep { input, .ui-calendar { width: 100%; @@ -135,7 +135,7 @@ p-calendar { } } -/deep/ { +::ng-deep { .root-tabset > .nav { margin-bottom: 15px; } diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.scss b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.scss index 684342f09..b5628e276 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.scss +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.scss @@ -25,7 +25,7 @@ p-progressBar { flex-grow: 1; - /deep/ .ui-progressbar { + ::ng-deep .ui-progressbar { font-size: 15px !important; height: 30px !important; border-radius: 3px !important; @@ -45,7 +45,7 @@ } &.processing { - /deep/ .ui-progressbar-label { + ::ng-deep .ui-progressbar-label { // Same color as background to hide "100%" color: rgba(11, 204, 41, 0.16) !important; diff --git a/client/src/app/videos/+video-edit/video-add.component.scss b/client/src/app/videos/+video-edit/video-add.component.scss index dd97b79ee..da711ec5b 100644 --- a/client/src/app/videos/+video-edit/video-add.component.scss +++ b/client/src/app/videos/+video-edit/video-add.component.scss @@ -5,7 +5,7 @@ $border-width: 3px; $border-type: solid; $border-color: #EAEAEA; -/deep/ .root-tabset.video-add-tabset { +::ng-deep .root-tabset.video-add-tabset { &.hide-nav > .nav { display: none !important; } @@ -52,4 +52,4 @@ $border-color: #EAEAEA; justify-content: center; align-items: center; } -} \ No newline at end of file +} diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss index 731ecbf8f..c3ab1ab01 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss @@ -50,7 +50,7 @@ @include peertube-word-wrap; // Mentions - /deep/ a { + ::ng-deep a { &:not(.linkified-url) { @include disable-default-a-behaviour; diff --git a/client/src/app/videos/+video-watch/video-watch-playlist.component.scss b/client/src/app/videos/+video-watch/video-watch-playlist.component.scss index 5da55c2f8..eeb763bd9 100644 --- a/client/src/app/videos/+video-watch/video-watch-playlist.component.scss +++ b/client/src/app/videos/+video-watch/video-watch-playlist.component.scss @@ -37,7 +37,7 @@ } my-video-playlist-element-miniature { - /deep/ { + ::ng-deep { .video { .position { margin-right: 0; 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 35ea0fffd..5dc79c6b7 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -31,14 +31,14 @@ $player-factor: 1.7; // 16/9 width: 100%; } - /deep/ .video-js { + ::ng-deep .video-js { $height: calc(100vh - #{$header-height} - #{$theater-bottom-space}); height: $height; width: 100%; } - my-video-watch-playlist /deep/ .playlist { + my-video-watch-playlist ::ng-deep .playlist { @include playlist-below-player; } } @@ -81,7 +81,7 @@ $player-factor: 1.7; // 16/9 } } - /deep/ .video-js { + ::ng-deep .video-js { width: getPlayerWidth(66vh); height: 66vh; @@ -94,7 +94,7 @@ $player-factor: 1.7; // 16/9 @media screen and (max-width: 600px) { .remote-server-down, - /deep/ .video-js { + ::ng-deep .video-js { width: 100vw; height: getPlayerHeight(100vw) } @@ -344,7 +344,7 @@ $player-factor: 1.7; // 16/9 } } - /deep/ .other-videos { + ::ng-deep .other-videos { padding-left: 15px; flex-basis: $other-videos-width; min-width: $other-videos-width; @@ -456,7 +456,7 @@ my-video-comments { flex-direction: column; justify-content: center; - my-video-watch-playlist /deep/ .playlist { + my-video-watch-playlist ::ng-deep .playlist { @include playlist-below-player; } } @@ -464,10 +464,10 @@ my-video-comments { .video-bottom { flex-direction: column; - /deep/ .other-videos { + ::ng-deep .other-videos { padding-left: 0 !important; - /deep/ .video-miniature { + ::ng-deep .video-miniature { flex-direction: row; width: auto; } @@ -492,7 +492,7 @@ my-video-comments { } } - /deep/ .other-videos .video-miniature { + ::ng-deep .other-videos .video-miniature { flex-direction: column; } -- cgit v1.2.3