feat: hide IP addresses by default, click to reveal
Added maskIp() helper that replaces IPs with ••••••••. A global delegated click handler reveals the address on click. Applied to: - Player list 'Address' column - Player info 'Address' field Styled .ip-masked with dimmed text and purple hover glow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -47,6 +47,20 @@ a:hover { color: #fff; text-decoration: none; }
|
||||
/* Fade utility */
|
||||
.fade { opacity: 0.5; }
|
||||
|
||||
/* IP address masking */
|
||||
.ip-masked {
|
||||
cursor: pointer;
|
||||
color: rgba(255,255,255,0.35);
|
||||
transition: color 0.2s;
|
||||
user-select: none;
|
||||
}
|
||||
.ip-masked:hover {
|
||||
color: var(--rcon-accent);
|
||||
}
|
||||
.ip-revealed {
|
||||
color: rgba(255,255,255,0.85);
|
||||
}
|
||||
|
||||
/* Table styles */
|
||||
#PlayerListController .table-responsive {
|
||||
min-height: calc(100vh - 200px);
|
||||
|
||||
Reference in New Issue
Block a user