diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-27 17:45:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-28 09:36:35 +0200 |
commit | fa12eacc014aae8094d108634371640f2695bf9f (patch) | |
tree | 15b1153a9c830f5caa7e93f0939ba4153ab7624c /client/src/app/+videos | |
parent | e2e0b645cdac3c705b1988fbb0eff723ad5e885d (diff) | |
download | PeerTube-fa12eacc014aae8094d108634371640f2695bf9f.tar.gz PeerTube-fa12eacc014aae8094d108634371640f2695bf9f.tar.zst PeerTube-fa12eacc014aae8094d108634371640f2695bf9f.zip |
Move to sass @use
Diffstat (limited to 'client/src/app/+videos')
15 files changed, 34 insertions, 34 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss b/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss index a85cf444c..7461688da 100644 --- a/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss +++ b/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | label { | 4 | label { |
5 | font-weight: $font-regular; | 5 | font-weight: $font-regular; |
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 b7b4400c1..b6dfa8c3e 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 | |||
@@ -1,5 +1,5 @@ | |||
1 | @import 'variables'; | 1 | @use '_variables'; |
2 | @import 'mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | label, | 4 | label, |
5 | my-dynamic-form-field ::ng-deep label { | 5 | my-dynamic-form-field ::ng-deep label { |
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.scss b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.scss index dd87641fc..542e7be18 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.scss +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import 'variables'; | 1 | @use '_variables'; |
2 | @import 'mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | .first-step-block { | 4 | .first-step-block { |
5 | .torrent-or-magnet { | 5 | .torrent-or-magnet { |
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss index dc9153b2b..382821195 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss +++ b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import 'variables'; | 1 | @use '_variables'; |
2 | @import 'mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | $width-size: 190px; | 4 | $width-size: 190px; |
5 | 5 | ||
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 435dd36fa..f26e95ec5 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 | |||
@@ -1,5 +1,5 @@ | |||
1 | @import 'variables'; | 1 | @use '_variables'; |
2 | @import 'mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | .first-step-block { | 4 | .first-step-block { |
5 | .form-group-channel { | 5 | .form-group-channel { |
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 35bca24d0..3e7dc7608 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.scss +++ b/client/src/app/+videos/+video-edit/video-add.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | $border-width: 3px; | 4 | $border-width: 3px; |
5 | $border-type: solid; | 5 | $border-type: solid; |
diff --git a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss index 5c97fb13c..6202ed05b 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss +++ b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | $markdown-icon-height: 18px; | 4 | $markdown-icon-height: 18px; |
5 | $markdown-icon-width: 30px; | 5 | $markdown-icon-width: 30px; |
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 7868991ba..fd2a9f86f 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 | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | .root-comment { | 4 | .root-comment { |
5 | font-size: 15px; | 5 | font-size: 15px; |
diff --git a/client/src/app/+videos/+video-watch/comment/video-comments.component.scss b/client/src/app/+videos/+video-watch/comment/video-comments.component.scss index 29a00ee3f..af684bdc4 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comments.component.scss +++ b/client/src/app/+videos/+video-watch/comment/video-comments.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | #highlighted-comment { | 4 | #highlighted-comment { |
5 | margin-bottom: 25px; | 5 | margin-bottom: 25px; |
diff --git a/client/src/app/+videos/+video-watch/player-styles.component.scss b/client/src/app/+videos/+video-watch/player-styles.component.scss index 7f1442a59..313dca701 100644 --- a/client/src/app/+videos/+video-watch/player-styles.component.scss +++ b/client/src/app/+videos/+video-watch/player-styles.component.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @import 'node_modules/video.js/dist/video-js'; | 1 | @use 'node_modules/video.js/dist/video-js'; |
2 | 2 | ||
3 | $assets-path: '../../assets/'; | 3 | $assets-path: '../../assets/'; |
4 | @import '../../../sass/player/index'; | 4 | @use '../../../sass/player/index'; |
diff --git a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss index 89d44c067..ba8032497 100644 --- a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss +++ b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | 3 | ||
4 | .title-page-container { | 4 | .title-page-container { |
5 | display: flex; | 5 | display: flex; |
diff --git a/client/src/app/+videos/+video-watch/video-avatar-channel.component.scss b/client/src/app/+videos/+video-watch/video-avatar-channel.component.scss index f269398cb..ada2780d3 100644 --- a/client/src/app/+videos/+video-watch/video-avatar-channel.component.scss +++ b/client/src/app/+videos/+video-watch/video-avatar-channel.component.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @import '_mixins'; | 1 | @use '_mixins'; |
2 | 2 | ||
3 | @mixin main { | 3 | @mixin main { |
4 | @include actor-avatar-size(35px); | 4 | @include actor-avatar-size(35px); |
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 d1a0f97f7..dfbe835dd 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 | |||
@@ -1,7 +1,7 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | @import '_bootstrap-variables'; | 3 | @use '_bootstrap-variables'; |
4 | @import '_miniature'; | 4 | @use '_miniature'; |
5 | 5 | ||
6 | .playlist { | 6 | .playlist { |
7 | min-width: 200px; | 7 | min-width: 200px; |
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 4a2e05c62..13d801cc6 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | @import '_bootstrap-variables'; | 3 | @use '_bootstrap-variables'; |
4 | @import '_miniature'; | 4 | @use '_miniature'; |
5 | 5 | ||
6 | $player-factor: 16/9; | 6 | $player-factor: 16/9; |
7 | $video-info-margin-left: 44px; | 7 | $video-info-margin-left: 44px; |
diff --git a/client/src/app/+videos/video-list/overview/video-overview.component.scss b/client/src/app/+videos/video-list/overview/video-overview.component.scss index cb9308dda..3a895ae7b 100644 --- a/client/src/app/+videos/video-list/overview/video-overview.component.scss +++ b/client/src/app/+videos/video-list/overview/video-overview.component.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables'; |
2 | @import '_mixins'; | 2 | @use '_mixins'; |
3 | @import '_miniature'; | 3 | @use '_miniature'; |
4 | 4 | ||
5 | .section-title { | 5 | .section-title { |
6 | // make the element span a full grid row within .videos grid | 6 | // make the element span a full grid row within .videos grid |