aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/overview/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-25 14:27:35 +0200
committerChocobozzz <me@florianbigard.com>2023-05-25 14:36:17 +0200
commitffc424259ebe5d670136d6c6183f3d65632655a5 (patch)
tree519b134c872d8c00b43cc96e2e04a2d39b8ccbf7 /client/src/app/+admin/overview/users
parent38358661e03d141c7129c28f3cc7ddfd6e06e7e8 (diff)
downloadPeerTube-ffc424259ebe5d670136d6c6183f3d65632655a5.tar.gz
PeerTube-ffc424259ebe5d670136d6c6183f3d65632655a5.tar.zst
PeerTube-ffc424259ebe5d670136d6c6183f3d65632655a5.zip
Fix scss lint
Diffstat (limited to 'client/src/app/+admin/overview/users')
-rw-r--r--client/src/app/+admin/overview/users/user-edit/user-edit.component.scss4
-rw-r--r--client/src/app/+admin/overview/users/user-list/user-list.component.scss5
2 files changed, 7 insertions, 2 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
5tr.banned > td { 8tr.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 {