]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use ::ng-deep instead of /deep/
authorChocobozzz <me@florianbigard.com>
Wed, 24 Jul 2019 14:12:35 +0000 (16:12 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 25 Jul 2019 09:00:43 +0000 (11:00 +0200)
26 files changed:
client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.scss
client/src/app/+admin/plugins/shared/toggle-plugin-type.scss
client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss
client/src/app/+signup/+register/register.component.scss
client/src/app/menu/avatar-notification.component.scss
client/src/app/menu/menu.component.scss
client/src/app/search/search.component.scss
client/src/app/shared/buttons/action-dropdown.component.scss
client/src/app/shared/buttons/button.component.scss
client/src/app/shared/forms/markdown-textarea.component.scss
client/src/app/shared/forms/timestamp-input.component.scss
client/src/app/shared/images/global-icon.component.scss
client/src/app/shared/menu/top-menu-dropdown.component.scss
client/src/app/shared/misc/help.component.scss
client/src/app/shared/user-subscription/subscribe-button.component.scss
client/src/app/shared/video/video-actions-dropdown.component.scss
client/src/app/shared/video/video-miniature.component.scss
client/src/app/videos/+video-edit/shared/video-edit.component.scss
client/src/app/videos/+video-edit/video-add-components/video-upload.component.scss
client/src/app/videos/+video-edit/video-add.component.scss
client/src/app/videos/+video-watch/comment/video-comment.component.scss
client/src/app/videos/+video-watch/video-watch-playlist.component.scss
client/src/app/videos/+video-watch/video-watch.component.scss
client/src/sass/include/_miniature.scss
client/src/sass/include/_mixins.scss

index 0b54ffda3f593ee397d3f3929b27282c09c9881d..9376e38b04828d7e7d535f0374011cde09dbe3cc 100644 (file)
@@ -1,6 +1,6 @@
 @import '_variables';
 @import '_mixins';
 
-.update-button[disabled="true"] /deep/ .action-button {
+.update-button[disabled="true"] ::ng-deep .action-button {
   cursor: default !important;
 }
index ea2eda28ccf574be8fe77b23060b4791603bcaf2..7e2c40aae4ffcebb954f16cf431c65d73ce2a9e6 100644 (file)
@@ -7,7 +7,7 @@
   margin-bottom: 30px;
 
   p-selectButton {
-    /deep/ {
+    ::ng-deep {
       .ui-button-text {
         font-size: 15px;
       }
index 77fce138b67ba71c24e66c65b02fb206295ab0f6..20582e478a29afcc5f7ff87e7913c812424af9fa 100644 (file)
@@ -5,7 +5,7 @@
   @include create-button;
 }
 
-/deep/ .action-button {
+::ng-deep .action-button {
   &.action-button-delete {
     margin-right: 10px;
   }
index f648c33e4786ea121569db1a8155b6a6a0543c5b..dd5712c06d39f4753fdf4cf8d1599131d88839f0 100644 (file)
@@ -5,7 +5,7 @@
   @include create-button;
 }
 
-/deep/ .action-button {
+::ng-deep .action-button {
   &.action-button-delete {
     margin-right: 10px;
   }
@@ -17,7 +17,7 @@
   .miniature-wrapper {
     flex-grow: 1;
 
-    /deep/ .miniature {
+    ::ng-deep .miniature {
       display: flex;
 
       .miniature-info {
index 8d14992e724d01d949f76fef4148d7ac2903ceed..9405b5293c5eee49d4171bf08c6b313f4b9f7428 100644 (file)
@@ -70,7 +70,7 @@ button {
   my-loader {
     margin-bottom: 20px;
 
-    /deep/ .loader div {
+    ::ng-deep .loader div {
       border-color: var(--mainColor) transparent transparent transparent;
     }
 
index 201668b6e54ea28cd3416991a9e3da039dbe8414..5e09225df8e11df0593eb72342791b51c60f0395 100644 (file)
@@ -1,7 +1,7 @@
 @import '_variables';
 @import '_mixins';
 
-/deep/ {
+::ng-deep {
   .popover-notifications.popover {
     max-width: none;
 
@@ -99,7 +99,7 @@
 }
 
 @media screen and (max-width: $mobile-view) {
-  /deep/ {
+  ::ng-deep {
     .popover-notifications.popover .popover-body {
       width: 400px;
     }
index 06baa52d371d3e6d5ac246a506702413ac951934..76e73155ca4590e0f02a68ff92732babf260d601 100644 (file)
@@ -82,7 +82,7 @@ menu {
           border: none;
         }
 
-        /deep/ {
+        ::ng-deep {
           @include apply-svg-color(var(--menuForegroundColor));
         }
       }
index 3343a276dc4f171ba57946d41501b05e9eaf9703..d4d8bbcf7bbc606bced63f5d9fe1d0ed5871e904 100644 (file)
         my-video-thumbnail {
           margin-right: 0 !important;
 
-          /deep/ .video-thumbnail {
+          ::ng-deep .video-thumbnail {
             width: 100%;
             height: auto;
 
index 7c2b0db71b2c53365a67b6a5b8a3e9dec771db36..2f7e848d53bfbe819279b9add612e9ffe7986675 100644 (file)
@@ -33,7 +33,7 @@
   .more-icon {
     width: 21px;
 
-    /deep/ {
+    ::ng-deep {
       @include apply-svg-color(var(--mainForegroundColor));
     }
   }
index 4cc2b05732fd72ca4a159fa8690120ab7e94e350..2a8cfc74834ced5d1534ab63d603bd44285d53c2 100644 (file)
@@ -1,7 +1,7 @@
 @import '_variables';
 @import '_mixins';
 
-my-small-loader /deep/ .root {
+my-small-loader ::ng-deep .root {
   display: inline-block;
   margin: 0 3px 0 0;
   width: 20px;
index 118b38b9116355410f1b32c71b51a00eb319cefb..eacaf36a21a7e42dbb26e3b98b4cb230daa808b8 100644 (file)
@@ -16,7 +16,7 @@
     flex-grow: 1;
   }
 
-  /deep/ {
+  ::ng-deep {
     .nav-link {
       display: flex !important;
       align-items: center;
index 7115777fd3dd9f90ab78520f4b73106029157b85..e7dbcd9979fd28a35967833e88b013408968da21 100644 (file)
@@ -1,5 +1,5 @@
 p-inputmask {
-  /deep/ input {
+  ::ng-deep input {
     width: 80px;
     font-size: 15px;
 
index 6805fb6f788979cf2781393ee1c482d1928493cc..32fb9badb9c34a272dca7ffb7f6bfed2116da397 100644 (file)
@@ -1,4 +1,4 @@
-/deep/ svg {
+::ng-deep svg {
   width: inherit;
   height: inherit;
 }
index d7c7de957fa543173659300dc3369a1ef7e89a08..1be699a88440dad7b88bc159144f5e1f2fa47739 100644 (file)
   }
 }
 
-/deep/ .dropdown-toggle::after {
+::ng-deep .dropdown-toggle::after {
   position: relative;
   top: 2px;
 }
 
-/deep/ .dropdown-menu {
+::ng-deep .dropdown-menu {
   margin-top: 0 !important;
 }
 
index 3898f3cda96005f9bfb57c11806fb9f2dfef4083..84e176b342e0039a9d3b941b204271fe4350ae67 100644 (file)
@@ -15,7 +15,7 @@
   }
 }
 
-/deep/ {
+::ng-deep {
   .help-popover {
     max-width: 300px;
 
index 15fb83c051134722aca5a025f848abf20fa277f2..92a28aad9af4ee765e7de69945b42730528157da 100644 (file)
@@ -61,7 +61,7 @@
     padding-left: 1rem;
   }
 
-  /deep/ form {
+  ::ng-deep form {
     padding: 0.25rem 1rem;
   }
 
index 7ffdce822302ddee2eea24a7a1f2c7855eea5ac4..67d7ee86acd28a91bd2a77671cd4519308257a24 100644 (file)
@@ -7,6 +7,6 @@
   }
 }
 
-/deep/ .icon-playlist-add {
+::ng-deep .icon-playlist-add {
   left: 2px;
 }
index d665ce021ccb45b7536207990e3ff0203e1c7c95..dac178bdef848e9cdce1ec6bd660304f15fcefab 100644 (file)
@@ -68,16 +68,16 @@ $more-margin-right: 10px;
       width: $more-button-width;
       height: 30px;
 
-      /deep/ .dropdown-root:not(.show) {
+      ::ng-deep .dropdown-root:not(.show) {
         opacity: 0;
       }
 
-      /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root {
+      ::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root {
         opacity: 1;
       }
     }
 
-    &:hover .video-actions /deep/ .dropdown-root {
+    &:hover .video-actions ::ng-deep .dropdown-root {
       opacity: 1;
     }
 
@@ -90,7 +90,7 @@ $more-margin-right: 10px;
         margin: 0;
         top: -3px;
 
-        /deep/ .dropdown-root {
+        ::ng-deep .dropdown-root {
           opacity: 1 !important;
         }
       }
index bb775cb0af67642979d720bf93d15339cfadcfcd..9479c588acb31ee411fdc5a4c0ff113edad0c5d1 100644 (file)
@@ -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;
   }
index 684342f09311521e4983c8e48aa762f518bc0e90..b5628e276b0c7d64415f7b557160e4fcccccab5e 100644 (file)
@@ -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;
 
index dd97b79eed685d06b65583ad436733ca97746b83..da711ec5bb75f7e792294191b3d7148cdc0f2fb8 100644 (file)
@@ -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
+}
index 731ecbf8f97736fa341b57cbb09c241bdeebe0a9..c3ab1ab0105fcec9fb8463ca3b26e71ea529c036 100644 (file)
@@ -50,7 +50,7 @@
       @include peertube-word-wrap;
 
       // Mentions
-      /deep/ a {
+      ::ng-deep a {
 
         &:not(.linkified-url) {
           @include disable-default-a-behaviour;
index 5da55c2f8ddfa3d8947059afa8f3e4c085c8e537..eeb763bd917d1b31ac96a320cfc5de1ec0d4da09 100644 (file)
@@ -37,7 +37,7 @@
   }
 
   my-video-playlist-element-miniature {
-    /deep/ {
+    ::ng-deep {
       .video {
         .position {
           margin-right: 0;
index 35ea0fffd6d146c9238d1db106488a916b74428f..5dc79c6b7555260390af0624a2f2d8ad6b50dddd 100644 (file)
@@ -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;
   }
 
index 0c2ee2d0d00a52f5db69cb58ec6f2ba1d471dd7f..26c327956d3170feff99080cc92526d7630e9532 100644 (file)
@@ -95,7 +95,7 @@ $play-overlay-width: 18px;
 }
 
 @mixin thumbnail-size-component ($width, $height) {
-  /deep/ .video-thumbnail {
+  ::ng-deep .video-thumbnail {
     width: $width;
     height: $height;
   }
@@ -110,7 +110,7 @@ $play-overlay-width: 18px;
 @mixin video-miniature-small-screen {
   text-align: center;
 
-  /deep/ .video-miniature {
+  ::ng-deep .video-miniature {
     padding-right: 0;
     height: auto;
     width: 100%;
index caa79bf047309b170661abe19772bb95d836671b..abbc137b2b25aa175a9e7ae91b48235f87891920 100644 (file)
@@ -54,7 +54,7 @@
 }
 
 @mixin apply-svg-color ($color) {
-  /deep/ svg {
+  ::ng-deep svg {
     path[fill="#000000"],
     g[fill="#000000"],
     rect[fill="#000000"],