diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 16:12:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-25 11:00:43 +0200 |
commit | 03652b3179b7d3d2959b68318fdc5e00f94eb95f (patch) | |
tree | 4e24adb0d7ecb89b23f4c86bae402af3b660f934 /client/src/app/shared | |
parent | f36da21e40104a50acb00132920b835240cebb38 (diff) | |
download | PeerTube-03652b3179b7d3d2959b68318fdc5e00f94eb95f.tar.gz PeerTube-03652b3179b7d3d2959b68318fdc5e00f94eb95f.tar.zst PeerTube-03652b3179b7d3d2959b68318fdc5e00f94eb95f.zip |
Use ::ng-deep instead of /deep/
Diffstat (limited to 'client/src/app/shared')
10 files changed, 14 insertions, 14 deletions
diff --git a/client/src/app/shared/buttons/action-dropdown.component.scss b/client/src/app/shared/buttons/action-dropdown.component.scss index 7c2b0db71..2f7e848d5 100644 --- a/client/src/app/shared/buttons/action-dropdown.component.scss +++ b/client/src/app/shared/buttons/action-dropdown.component.scss | |||
@@ -33,7 +33,7 @@ | |||
33 | .more-icon { | 33 | .more-icon { |
34 | width: 21px; | 34 | width: 21px; |
35 | 35 | ||
36 | /deep/ { | 36 | ::ng-deep { |
37 | @include apply-svg-color(var(--mainForegroundColor)); | 37 | @include apply-svg-color(var(--mainForegroundColor)); |
38 | } | 38 | } |
39 | } | 39 | } |
diff --git a/client/src/app/shared/buttons/button.component.scss b/client/src/app/shared/buttons/button.component.scss index 4cc2b0573..2a8cfc748 100644 --- a/client/src/app/shared/buttons/button.component.scss +++ b/client/src/app/shared/buttons/button.component.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @import '_variables'; | 1 | @import '_variables'; |
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | my-small-loader /deep/ .root { | 4 | my-small-loader ::ng-deep .root { |
5 | display: inline-block; | 5 | display: inline-block; |
6 | margin: 0 3px 0 0; | 6 | margin: 0 3px 0 0; |
7 | width: 20px; | 7 | width: 20px; |
diff --git a/client/src/app/shared/forms/markdown-textarea.component.scss b/client/src/app/shared/forms/markdown-textarea.component.scss index 118b38b91..eacaf36a2 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.scss +++ b/client/src/app/shared/forms/markdown-textarea.component.scss | |||
@@ -16,7 +16,7 @@ | |||
16 | flex-grow: 1; | 16 | flex-grow: 1; |
17 | } | 17 | } |
18 | 18 | ||
19 | /deep/ { | 19 | ::ng-deep { |
20 | .nav-link { | 20 | .nav-link { |
21 | display: flex !important; | 21 | display: flex !important; |
22 | align-items: center; | 22 | align-items: center; |
diff --git a/client/src/app/shared/forms/timestamp-input.component.scss b/client/src/app/shared/forms/timestamp-input.component.scss index 7115777fd..e7dbcd997 100644 --- a/client/src/app/shared/forms/timestamp-input.component.scss +++ b/client/src/app/shared/forms/timestamp-input.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | p-inputmask { | 1 | p-inputmask { |
2 | /deep/ input { | 2 | ::ng-deep input { |
3 | width: 80px; | 3 | width: 80px; |
4 | font-size: 15px; | 4 | font-size: 15px; |
5 | 5 | ||
diff --git a/client/src/app/shared/images/global-icon.component.scss b/client/src/app/shared/images/global-icon.component.scss index 6805fb6f7..32fb9badb 100644 --- a/client/src/app/shared/images/global-icon.component.scss +++ b/client/src/app/shared/images/global-icon.component.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | /deep/ svg { | 1 | ::ng-deep svg { |
2 | width: inherit; | 2 | width: inherit; |
3 | height: inherit; | 3 | height: inherit; |
4 | } | 4 | } |
diff --git a/client/src/app/shared/menu/top-menu-dropdown.component.scss b/client/src/app/shared/menu/top-menu-dropdown.component.scss index d7c7de957..1be699a88 100644 --- a/client/src/app/shared/menu/top-menu-dropdown.component.scss +++ b/client/src/app/shared/menu/top-menu-dropdown.component.scss | |||
@@ -11,12 +11,12 @@ | |||
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
14 | /deep/ .dropdown-toggle::after { | 14 | ::ng-deep .dropdown-toggle::after { |
15 | position: relative; | 15 | position: relative; |
16 | top: 2px; | 16 | top: 2px; |
17 | } | 17 | } |
18 | 18 | ||
19 | /deep/ .dropdown-menu { | 19 | ::ng-deep .dropdown-menu { |
20 | margin-top: 0 !important; | 20 | margin-top: 0 !important; |
21 | } | 21 | } |
22 | 22 | ||
diff --git a/client/src/app/shared/misc/help.component.scss b/client/src/app/shared/misc/help.component.scss index 3898f3cda..84e176b34 100644 --- a/client/src/app/shared/misc/help.component.scss +++ b/client/src/app/shared/misc/help.component.scss | |||
@@ -15,7 +15,7 @@ | |||
15 | } | 15 | } |
16 | } | 16 | } |
17 | 17 | ||
18 | /deep/ { | 18 | ::ng-deep { |
19 | .help-popover { | 19 | .help-popover { |
20 | max-width: 300px; | 20 | max-width: 300px; |
21 | 21 | ||
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.scss b/client/src/app/shared/user-subscription/subscribe-button.component.scss index 15fb83c05..92a28aad9 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.scss +++ b/client/src/app/shared/user-subscription/subscribe-button.component.scss | |||
@@ -61,7 +61,7 @@ | |||
61 | padding-left: 1rem; | 61 | padding-left: 1rem; |
62 | } | 62 | } |
63 | 63 | ||
64 | /deep/ form { | 64 | ::ng-deep form { |
65 | padding: 0.25rem 1rem; | 65 | padding: 0.25rem 1rem; |
66 | } | 66 | } |
67 | 67 | ||
diff --git a/client/src/app/shared/video/video-actions-dropdown.component.scss b/client/src/app/shared/video/video-actions-dropdown.component.scss index 7ffdce822..67d7ee86a 100644 --- a/client/src/app/shared/video/video-actions-dropdown.component.scss +++ b/client/src/app/shared/video/video-actions-dropdown.component.scss | |||
@@ -7,6 +7,6 @@ | |||
7 | } | 7 | } |
8 | } | 8 | } |
9 | 9 | ||
10 | /deep/ .icon-playlist-add { | 10 | ::ng-deep .icon-playlist-add { |
11 | left: 2px; | 11 | left: 2px; |
12 | } | 12 | } |
diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index d665ce021..dac178bde 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss | |||
@@ -68,16 +68,16 @@ $more-margin-right: 10px; | |||
68 | width: $more-button-width; | 68 | width: $more-button-width; |
69 | height: 30px; | 69 | height: 30px; |
70 | 70 | ||
71 | /deep/ .dropdown-root:not(.show) { | 71 | ::ng-deep .dropdown-root:not(.show) { |
72 | opacity: 0; | 72 | opacity: 0; |
73 | } | 73 | } |
74 | 74 | ||
75 | /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root { | 75 | ::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root { |
76 | opacity: 1; | 76 | opacity: 1; |
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
80 | &:hover .video-actions /deep/ .dropdown-root { | 80 | &:hover .video-actions ::ng-deep .dropdown-root { |
81 | opacity: 1; | 81 | opacity: 1; |
82 | } | 82 | } |
83 | 83 | ||
@@ -90,7 +90,7 @@ $more-margin-right: 10px; | |||
90 | margin: 0; | 90 | margin: 0; |
91 | top: -3px; | 91 | top: -3px; |
92 | 92 | ||
93 | /deep/ .dropdown-root { | 93 | ::ng-deep .dropdown-root { |
94 | opacity: 1 !important; | 94 | opacity: 1 !important; |
95 | } | 95 | } |
96 | } | 96 | } |