diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-07 15:29:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-10 08:16:19 +0200 |
commit | a0da6f90d16027b385a67da6a5691b163626a363 (patch) | |
tree | d12d028399cd6ce32e120744b54d9ae7c27083bf | |
parent | 5c5bcea2e64daf0a66a796c89432732ed27308d2 (diff) | |
download | PeerTube-a0da6f90d16027b385a67da6a5691b163626a363.tar.gz PeerTube-a0da6f90d16027b385a67da6a5691b163626a363.tar.zst PeerTube-a0da6f90d16027b385a67da6a5691b163626a363.zip |
Prevent sass deprecated warning
7 files changed, 33 insertions, 33 deletions
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.scss b/client/src/app/+admin/overview/users/user-list/user-list.component.scss index 3c775cac5..23e0d29ee 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.scss +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use '_variables' as *; | 1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | @use '~bootstrap/scss/functions' as *; | 3 | @use 'bootstrap/scss/functions' as *; |
4 | 4 | ||
5 | .add-button { | 5 | .add-button { |
6 | @include create-button; | 6 | @include create-button; |
diff --git a/client/src/app/+login/login.component.scss b/client/src/app/+login/login.component.scss index d31d428f7..17e151fd8 100644 --- a/client/src/app/+login/login.component.scss +++ b/client/src/app/+login/login.component.scss | |||
@@ -1,8 +1,8 @@ | |||
1 | @use '_variables' as *; | 1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | @import '~bootstrap/scss/functions'; | 4 | @import 'bootstrap/scss/functions'; |
5 | @import '~bootstrap/scss/variables'; | 5 | @import 'bootstrap/scss/variables'; |
6 | 6 | ||
7 | label { | 7 | label { |
8 | display: block; | 8 | display: block; |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.scss b/client/src/app/+my-account/my-account-settings/my-account-settings.component.scss index 8206f4dd8..3d686a146 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use '_variables' as *; | 1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | @use '~bootstrap/scss/functions' as *; | 3 | @use 'bootstrap/scss/functions' as *; |
4 | 4 | ||
5 | .account-title { | 5 | .account-title { |
6 | @include settings-big-title; | 6 | @include settings-big-title; |
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 9328a27a2..a5d06de98 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -3,32 +3,32 @@ | |||
3 | 3 | ||
4 | @import './_bootstrap-variables'; | 4 | @import './_bootstrap-variables'; |
5 | 5 | ||
6 | @import '~bootstrap/scss/functions'; | 6 | @import 'bootstrap/scss/functions'; |
7 | @import '~bootstrap/scss/variables'; | 7 | @import 'bootstrap/scss/variables'; |
8 | @import '~bootstrap/scss/maps'; | 8 | @import 'bootstrap/scss/maps'; |
9 | @import '~bootstrap/scss/mixins'; | 9 | @import 'bootstrap/scss/mixins'; |
10 | @import '~bootstrap/scss/utilities'; | 10 | @import 'bootstrap/scss/utilities'; |
11 | 11 | ||
12 | @import '~bootstrap/scss/root'; | 12 | @import 'bootstrap/scss/root'; |
13 | @import '~bootstrap/scss/reboot'; | 13 | @import 'bootstrap/scss/reboot'; |
14 | @import '~bootstrap/scss/type'; | 14 | @import 'bootstrap/scss/type'; |
15 | @import '~bootstrap/scss/grid'; | 15 | @import 'bootstrap/scss/grid'; |
16 | @import '~bootstrap/scss/forms'; | 16 | @import 'bootstrap/scss/forms'; |
17 | @import '~bootstrap/scss/buttons'; | 17 | @import 'bootstrap/scss/buttons'; |
18 | @import '~bootstrap/scss/dropdown'; | 18 | @import 'bootstrap/scss/dropdown'; |
19 | @import '~bootstrap/scss/button-group'; | 19 | @import 'bootstrap/scss/button-group'; |
20 | @import '~bootstrap/scss/nav'; | 20 | @import 'bootstrap/scss/nav'; |
21 | @import '~bootstrap/scss/card'; | 21 | @import 'bootstrap/scss/card'; |
22 | @import '~bootstrap/scss/accordion'; | 22 | @import 'bootstrap/scss/accordion'; |
23 | @import '~bootstrap/scss/alert'; | 23 | @import 'bootstrap/scss/alert'; |
24 | @import '~bootstrap/scss/close'; | 24 | @import 'bootstrap/scss/close'; |
25 | @import '~bootstrap/scss/modal'; | 25 | @import 'bootstrap/scss/modal'; |
26 | @import '~bootstrap/scss/tooltip'; | 26 | @import 'bootstrap/scss/tooltip'; |
27 | @import '~bootstrap/scss/popover'; | 27 | @import 'bootstrap/scss/popover'; |
28 | @import '~bootstrap/scss/spinners'; | 28 | @import 'bootstrap/scss/spinners'; |
29 | 29 | ||
30 | @import '~bootstrap/scss/helpers'; | 30 | @import 'bootstrap/scss/helpers'; |
31 | @import '~bootstrap/scss/utilities/api'; | 31 | @import 'bootstrap/scss/utilities/api'; |
32 | 32 | ||
33 | .accordion { | 33 | .accordion { |
34 | --bs-accordion-color: #{pvar(--mainForegroundColor)}; | 34 | --bs-accordion-color: #{pvar(--mainForegroundColor)}; |
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index c02359f28..02fa7f1f0 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:math'; | 1 | @use 'sass:math'; |
2 | @use 'sass:color'; | 2 | @use 'sass:color'; |
3 | @use '~bootstrap/scss/functions' as *; | 3 | @use 'bootstrap/scss/functions' as *; |
4 | 4 | ||
5 | $small-view: 800px; | 5 | $small-view: 800px; |
6 | $mobile-view: 500px; | 6 | $mobile-view: 500px; |
diff --git a/client/src/sass/ng-select.scss b/client/src/sass/ng-select.scss index 78e3a6de3..e231e4fed 100644 --- a/client/src/sass/ng-select.scss +++ b/client/src/sass/ng-select.scss | |||
@@ -15,7 +15,7 @@ $ng-select-height: 30px; | |||
15 | $ng-select-value-padding-left: 15px; | 15 | $ng-select-value-padding-left: 15px; |
16 | $ng-select-value-font-size: $form-input-font-size; | 16 | $ng-select-value-font-size: $form-input-font-size; |
17 | 17 | ||
18 | @import '~@ng-select/ng-select/scss/default.theme'; | 18 | @import '@ng-select/ng-select/scss/default.theme'; |
19 | 19 | ||
20 | .ng-select { | 20 | .ng-select { |
21 | font-size: $ng-select-value-font-size; | 21 | font-size: $ng-select-value-font-size; |
diff --git a/client/src/sass/player/_player-variables.scss b/client/src/sass/player/_player-variables.scss index 47b8adda4..d5f24dd91 100644 --- a/client/src/sass/player/_player-variables.scss +++ b/client/src/sass/player/_player-variables.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '~bootstrap/scss/functions' as *; | 1 | @use 'bootstrap/scss/functions' as *; |
2 | 2 | ||
3 | $primary-foreground-color: #fff; | 3 | $primary-foreground-color: #fff; |
4 | $primary-foreground-opacity: 0.9; | 4 | $primary-foreground-opacity: 0.9; |