diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-25 14:27:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-25 14:36:17 +0200 |
commit | ffc424259ebe5d670136d6c6183f3d65632655a5 (patch) | |
tree | 519b134c872d8c00b43cc96e2e04a2d39b8ccbf7 /client/src/app | |
parent | 38358661e03d141c7129c28f3cc7ddfd6e06e7e8 (diff) | |
download | PeerTube-ffc424259ebe5d670136d6c6183f3d65632655a5.tar.gz PeerTube-ffc424259ebe5d670136d6c6183f3d65632655a5.tar.zst PeerTube-ffc424259ebe5d670136d6c6183f3d65632655a5.zip |
Fix scss lint
Diffstat (limited to 'client/src/app')
3 files changed, 10 insertions, 3 deletions
diff --git a/client/src/app/+admin/overview/users/user-edit/user-edit.component.scss b/client/src/app/+admin/overview/users/user-edit/user-edit.component.scss index 698628149..73a23eb7f 100644 --- a/client/src/app/+admin/overview/users/user-edit/user-edit.component.scss +++ b/client/src/app/+admin/overview/users/user-edit/user-edit.component.scss | |||
@@ -1,4 +1,6 @@ | |||
1 | @use 'sass:math'; | 1 | @use 'sass:math'; |
2 | @use 'sass:color'; | ||
3 | |||
2 | @use '_variables' as *; | 4 | @use '_variables' as *; |
3 | @use '_mixins' as *; | 5 | @use '_mixins' as *; |
4 | 6 | ||
@@ -8,7 +10,7 @@ $form-base-input-width: 340px; | |||
8 | @include settings-big-title; | 10 | @include settings-big-title; |
9 | 11 | ||
10 | &.account-title-danger { | 12 | &.account-title-danger { |
11 | color: lighten($color: #c54130, $amount: 10); | 13 | color: color.adjust($color: #c54130, $lightness: 10%); |
12 | } | 14 | } |
13 | } | 15 | } |
14 | 16 | ||
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 559a00251..1c4ca533f 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,9 +1,12 @@ | |||
1 | @use 'sass:color'; | ||
2 | |||
1 | @use '_variables' as *; | 3 | @use '_variables' as *; |
2 | @use '_mixins' as *; | 4 | @use '_mixins' as *; |
5 | |||
3 | @use 'bootstrap/scss/functions' as *; | 6 | @use 'bootstrap/scss/functions' as *; |
4 | 7 | ||
5 | tr.banned > td { | 8 | tr.banned > td { |
6 | background-color: lighten($color: $red, $amount: 40) !important; | 9 | background-color: color.adjust($color: $red, $lightness: 40%) !important; |
7 | } | 10 | } |
8 | 11 | ||
9 | .banned-info { | 12 | .banned-info { |
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 3d686a146..5d406ed5d 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,3 +1,5 @@ | |||
1 | @use 'sass:color'; | ||
2 | |||
1 | @use '_variables' as *; | 3 | @use '_variables' as *; |
2 | @use '_mixins' as *; | 4 | @use '_mixins' as *; |
3 | @use 'bootstrap/scss/functions' as *; | 5 | @use 'bootstrap/scss/functions' as *; |
@@ -6,7 +8,7 @@ | |||
6 | @include settings-big-title; | 8 | @include settings-big-title; |
7 | 9 | ||
8 | &.account-title-danger { | 10 | &.account-title-danger { |
9 | color: lighten($color: #c54130, $amount: 10); | 11 | color: color.adjust($color: #c54130, $lightness: 10%); |
10 | } | 12 | } |
11 | } | 13 | } |
12 | 14 | ||