From a0da6f90d16027b385a67da6a5691b163626a363 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Oct 2022 15:29:53 +0200 Subject: Prevent sass deprecated warning --- .../users/user-list/user-list.component.scss | 2 +- client/src/app/+login/login.component.scss | 4 +- .../my-account-settings.component.scss | 2 +- client/src/sass/bootstrap.scss | 52 +++++++++++----------- client/src/sass/include/_variables.scss | 2 +- client/src/sass/ng-select.scss | 2 +- client/src/sass/player/_player-variables.scss | 2 +- 7 files changed, 33 insertions(+), 33 deletions(-) (limited to 'client') 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 @@ @use '_variables' as *; @use '_mixins' as *; -@use '~bootstrap/scss/functions' as *; +@use 'bootstrap/scss/functions' as *; .add-button { @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 @@ @use '_variables' as *; @use '_mixins' as *; -@import '~bootstrap/scss/functions'; -@import '~bootstrap/scss/variables'; +@import 'bootstrap/scss/functions'; +@import 'bootstrap/scss/variables'; label { 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 @@ @use '_variables' as *; @use '_mixins' as *; -@use '~bootstrap/scss/functions' as *; +@use 'bootstrap/scss/functions' as *; .account-title { @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 @@ @import './_bootstrap-variables'; -@import '~bootstrap/scss/functions'; -@import '~bootstrap/scss/variables'; -@import '~bootstrap/scss/maps'; -@import '~bootstrap/scss/mixins'; -@import '~bootstrap/scss/utilities'; - -@import '~bootstrap/scss/root'; -@import '~bootstrap/scss/reboot'; -@import '~bootstrap/scss/type'; -@import '~bootstrap/scss/grid'; -@import '~bootstrap/scss/forms'; -@import '~bootstrap/scss/buttons'; -@import '~bootstrap/scss/dropdown'; -@import '~bootstrap/scss/button-group'; -@import '~bootstrap/scss/nav'; -@import '~bootstrap/scss/card'; -@import '~bootstrap/scss/accordion'; -@import '~bootstrap/scss/alert'; -@import '~bootstrap/scss/close'; -@import '~bootstrap/scss/modal'; -@import '~bootstrap/scss/tooltip'; -@import '~bootstrap/scss/popover'; -@import '~bootstrap/scss/spinners'; - -@import '~bootstrap/scss/helpers'; -@import '~bootstrap/scss/utilities/api'; +@import 'bootstrap/scss/functions'; +@import 'bootstrap/scss/variables'; +@import 'bootstrap/scss/maps'; +@import 'bootstrap/scss/mixins'; +@import 'bootstrap/scss/utilities'; + +@import 'bootstrap/scss/root'; +@import 'bootstrap/scss/reboot'; +@import 'bootstrap/scss/type'; +@import 'bootstrap/scss/grid'; +@import 'bootstrap/scss/forms'; +@import 'bootstrap/scss/buttons'; +@import 'bootstrap/scss/dropdown'; +@import 'bootstrap/scss/button-group'; +@import 'bootstrap/scss/nav'; +@import 'bootstrap/scss/card'; +@import 'bootstrap/scss/accordion'; +@import 'bootstrap/scss/alert'; +@import 'bootstrap/scss/close'; +@import 'bootstrap/scss/modal'; +@import 'bootstrap/scss/tooltip'; +@import 'bootstrap/scss/popover'; +@import 'bootstrap/scss/spinners'; + +@import 'bootstrap/scss/helpers'; +@import 'bootstrap/scss/utilities/api'; .accordion { --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 @@ @use 'sass:math'; @use 'sass:color'; -@use '~bootstrap/scss/functions' as *; +@use 'bootstrap/scss/functions' as *; $small-view: 800px; $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; $ng-select-value-padding-left: 15px; $ng-select-value-font-size: $form-input-font-size; -@import '~@ng-select/ng-select/scss/default.theme'; +@import '@ng-select/ng-select/scss/default.theme'; .ng-select { 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 @@ -@use '~bootstrap/scss/functions' as *; +@use 'bootstrap/scss/functions' as *; $primary-foreground-color: #fff; $primary-foreground-opacity: 0.9; -- cgit v1.2.3