From fa12eacc014aae8094d108634371640f2695bf9f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 27 May 2021 17:45:36 +0200 Subject: Move to sass @use --- client/src/app/+admin/admin.component.scss | 4 ++-- .../config/edit-custom-config/edit-custom-config.component.scss | 4 ++-- .../app/+admin/follows/followers-list/followers-list.component.scss | 4 ++-- .../app/+admin/follows/following-list/following-list.component.scss | 4 ++-- client/src/app/+admin/follows/follows.component.scss | 2 +- .../src/app/+admin/follows/shared/redundancy-checkbox.component.scss | 4 ++-- .../video-redundancies-list/video-redundancies-list.component.scss | 4 ++-- .../video-redundancy-information.component.scss | 4 ++-- .../instance-blocklist/instance-account-blocklist.component.scss | 4 ++-- .../moderation/video-block-list/video-block-list.component.scss | 2 +- .../moderation/video-comment-list/video-comment-list.component.scss | 2 +- .../plugin-list-installed/plugin-list-installed.component.scss | 4 ++-- .../src/app/+admin/plugins/plugin-search/plugin-search.component.scss | 4 ++-- .../plugin-show-installed/plugin-show-installed.component.scss | 4 ++-- client/src/app/+admin/plugins/shared/plugin-list.component.scss | 4 ++-- client/src/app/+admin/plugins/shared/toggle-plugin-type.scss | 4 ++-- client/src/app/+admin/system/debug/debug.component.scss | 4 ++-- client/src/app/+admin/system/jobs/jobs.component.scss | 4 ++-- client/src/app/+admin/system/logs/logs.component.scss | 4 ++-- client/src/app/+admin/users/user-edit/user-edit.component.scss | 4 ++-- client/src/app/+admin/users/user-edit/user-password.component.scss | 4 ++-- client/src/app/+admin/users/user-list/user-list.component.scss | 4 ++-- 22 files changed, 41 insertions(+), 41 deletions(-) (limited to 'client/src/app/+admin') diff --git a/client/src/app/+admin/admin.component.scss b/client/src/app/+admin/admin.component.scss index c98cc9be5..753b0042b 100644 --- a/client/src/app/+admin/admin.component.scss +++ b/client/src/app/+admin/admin.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; my-top-menu-dropdown { flex-grow: 1; diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss index b99a779a1..66c529055 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; $form-base-input-width: 340px; diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.scss b/client/src/app/+admin/follows/followers-list/followers-list.component.scss index 8a120bd61..e01c9571d 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.scss +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; a { @include disable-default-a-behaviour; diff --git a/client/src/app/+admin/follows/following-list/following-list.component.scss b/client/src/app/+admin/follows/following-list/following-list.component.scss index 9474b0a23..69e047700 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.scss +++ b/client/src/app/+admin/follows/following-list/following-list.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; a { @include disable-default-a-behaviour; diff --git a/client/src/app/+admin/follows/follows.component.scss b/client/src/app/+admin/follows/follows.component.scss index 55256c273..ef2c08957 100644 --- a/client/src/app/+admin/follows/follows.component.scss +++ b/client/src/app/+admin/follows/follows.component.scss @@ -1,4 +1,4 @@ -@import 'mixins'; +@use '_mixins'; .form-sub-title { @include margin-right(30px); diff --git a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.scss b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.scss index 5e6774739..21a554f2c 100644 --- a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.scss +++ b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.scss @@ -1,2 +1,2 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss index ff9a83fea..bea8bf0d7 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; a { @include disable-default-a-behaviour; diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.scss b/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.scss index 6b09fbb01..f81a8d2f7 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.scss +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .label { display: inline-block; diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.scss b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.scss index 1d98e44d9..e804045da 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.scss +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .unblock-button { @include peertube-button; diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.scss b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.scss index 068aa2aee..8b967da3a 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.scss +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.scss @@ -1,4 +1,4 @@ -@import 'mixins'; +@use '_mixins'; my-global-icon { width: 24px; diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss index 39e54c315..a4aec81b8 100644 --- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss +++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss @@ -1,4 +1,4 @@ -@import 'mixins'; +@use '_mixins'; my-feed { @include margin-left(5px); diff --git a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.scss b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.scss index 22d4a59ab..52297cd00 100644 --- a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.scss +++ b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .update-button[disabled=true] ::ng-deep .action-button { cursor: default !important; diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss index 7e532f931..f4b93c72f 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .search-bar { display: flex; diff --git a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss index 6b7b84e29..942a9c093 100644 --- a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss +++ b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; h2 { margin-bottom: 20px; diff --git a/client/src/app/+admin/plugins/shared/plugin-list.component.scss b/client/src/app/+admin/plugins/shared/plugin-list.component.scss index 0ca49aef4..265c0571f 100644 --- a/client/src/app/+admin/plugins/shared/plugin-list.component.scss +++ b/client/src/app/+admin/plugins/shared/plugin-list.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .plugin { margin: 15px 0; diff --git a/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss b/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss index 9e98fcd34..3dc1ab33a 100644 --- a/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss +++ b/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .toggle-plugin-type { display: flex; diff --git a/client/src/app/+admin/system/debug/debug.component.scss b/client/src/app/+admin/system/debug/debug.component.scss index 7bc8fa946..b46e46612 100644 --- a/client/src/app/+admin/system/debug/debug.component.scss +++ b/client/src/app/+admin/system/debug/debug.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .root { font-size: 15px; diff --git a/client/src/app/+admin/system/jobs/jobs.component.scss b/client/src/app/+admin/system/jobs/jobs.component.scss index 6698646cd..3261b0391 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.scss +++ b/client/src/app/+admin/system/jobs/jobs.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .select-job-state { min-width: 120px; diff --git a/client/src/app/+admin/system/logs/logs.component.scss b/client/src/app/+admin/system/logs/logs.component.scss index e2e5a5932..2f7d1e111 100644 --- a/client/src/app/+admin/system/logs/logs.component.scss +++ b/client/src/app/+admin/system/logs/logs.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .logs { font-family: monospace; diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.scss b/client/src/app/+admin/users/user-edit/user-edit.component.scss index 145177fb9..6d1ac3566 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.component.scss +++ b/client/src/app/+admin/users/user-edit/user-edit.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; $form-base-input-width: 340px; diff --git a/client/src/app/+admin/users/user-edit/user-password.component.scss b/client/src/app/+admin/users/user-edit/user-password.component.scss index 66d15ee9c..1e2f3f5e8 100644 --- a/client/src/app/+admin/users/user-edit/user-password.component.scss +++ b/client/src/app/+admin/users/user-edit/user-password.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; input:not([type=submit]):not([type=checkbox]) { @include peertube-input-text(340px); diff --git a/client/src/app/+admin/users/user-list/user-list.component.scss b/client/src/app/+admin/users/user-list/user-list.component.scss index f004775c0..a39a889dc 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.scss +++ b/client/src/app/+admin/users/user-list/user-list.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; .add-button { @include create-button; -- cgit v1.2.3