Leitung/Benutzerliste: Rollen- und Status-Badges vereinheitlichen

This commit is contained in:
torsten 2026-11-21 10:10:37 +01:00
parent 1c1860fb5f
commit f21b714d82
2 changed files with 4 additions and 2 deletions

View file

@ -350,7 +350,9 @@ main { padding-top: 2rem; }
}
.badge.badge-dead { border-color: rgba(141, 47, 47, 0.7); color: #e39a9a; background: rgba(141, 47, 47, 0.16); }
.badge.badge-retired { border-color: rgba(185, 171, 142, 0.5); color: var(--parchment-dim); background: rgba(185, 171, 142, 0.1); }
.badge.badge-tight { padding: 0.06rem 0.4rem; font-size: 0.6rem; letter-spacing: 0.1em; }
.badge.badge-admin { border-color: rgba(232, 199, 102, 0.8); color: #fff2c8; }
.badge.badge-player { border-color: rgba(185, 171, 142, 0.45); color: var(--parchment-dim); background: rgba(185, 171, 142, 0.06); }
/* ---------------------------------------------------------------- Formulare */

View file

@ -40,7 +40,7 @@
<span class="muted">· <?= e((string) $row['display_name']) ?></span>
<?php endif; ?>
<?php if ($row['status'] !== 'active'): ?>
<span class="badge badge-retired" style="font-size:.6rem">deaktiviert</span>
<span class="badge badge-retired badge-tight">deaktiviert</span>
<?php endif; ?>
</td>
<td class="muted"><?= e((string) ($row['email'] ?? '–')) ?></td>
@ -48,7 +48,7 @@
<?php if ($row['role'] === 'admin'): ?>
<span class="badge badge-admin">Spielleiter</span>
<?php else: ?>
<span class="muted">Spieler</span>
<span class="badge badge-player">Spieler</span>
<?php endif; ?>
</td>
<td class="num"><?= (int) $row['character_count'] ?></td>