[Glitch] Add badge on account card in report moderation interface when account is already suspended

Port cf08a438e7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2683/head
Claire 2024-03-19 09:20:53 +01:00
parent ccf2f2cb75
commit 885a4c73cb
1 changed files with 13 additions and 0 deletions

View File

@ -1401,6 +1401,19 @@ a.sparkline {
.account-card { .account-card {
border-radius: 4px; border-radius: 4px;
border: 1px solid lighten($ui-base-color, 8%); border: 1px solid lighten($ui-base-color, 8%);
position: relative;
&__warning-badge {
position: absolute;
padding: 4px 10px;
top: 10px;
inset-inline-start: 10px;
border-radius: 4px;
background:
url('~images/warning-stripes.svg') repeat-y left,
url('~images/warning-stripes.svg') repeat-y right,
var(--background-color);
}
&__permalink { &__permalink {
color: inherit; color: inherit;