feat(server): user account deletion

This commit is contained in:
Henri Bourcereau 2026-05-25 17:12:23 +02:00
parent 6fd3499d7b
commit 20b8353cfb
9 changed files with 252 additions and 6 deletions

View file

@ -305,6 +305,62 @@ a:hover { text-decoration: underline; }
.portal-error { color: var(--ui-red-accent); font-size: 0.875rem; margin-top: 0.5rem; }
.portal-success { color: var(--ui-green-accent); font-size: 0.875rem; margin-top: 0.5rem; }
.flash-banner {
position: fixed;
top: 1.25rem;
left: 50%;
transform: translateX(-50%);
z-index: 500;
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1.25rem;
background: var(--ui-green-accent);
color: #f5edd8;
border-radius: 6px;
box-shadow: 0 4px 16px rgba(0,0,0,0.35);
font-family: var(--font-ui);
font-size: 0.95rem;
max-width: 90vw;
animation: flash-in 0.2s ease;
}
@keyframes flash-in {
from { opacity: 0; transform: translateX(-50%) translateY(-0.5rem); }
to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.flash-dismiss {
background: none;
border: none;
color: inherit;
cursor: pointer;
font-size: 1rem;
opacity: 0.75;
padding: 0;
line-height: 1;
}
.flash-dismiss:hover { opacity: 1; }
.portal-danger-zone {
border: 1px solid rgba(122, 30, 42, 0.4);
background: rgba(122, 30, 42, 0.04);
}
.portal-danger-zone h2 {
color: var(--ui-red-accent);
}
.portal-danger-btn {
padding: 0.5rem 1.25rem;
font-family: var(--font-ui);
font-size: 0.9rem;
background: var(--ui-red-accent);
color: #f5edd8;
border: none;
border-radius: 4px;
cursor: pointer;
transition: opacity 0.15s;
}
.portal-danger-btn:hover { opacity: 0.85; }
.portal-danger-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.portal-link {
color: var(--ui-gold);
text-decoration: none;