Condense la page utilisateur

This commit is contained in:
2026-04-15 22:44:22 +02:00
parent b2cbab7891
commit 9aae4cadc0
2 changed files with 151 additions and 58 deletions

View File

@@ -1623,6 +1623,115 @@ body.site-menu-hidden .site-menu-shell {
color: #ffd8de;
}
.user-profile-panel {
display: grid;
gap: 0.7rem;
}
.user-profile-heading {
align-items: start;
gap: 0.6rem;
margin-bottom: 0;
}
.user-profile-chips {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
}
.user-profile-chips .mini-chip {
max-width: 100%;
justify-content: flex-start;
padding: 0.3rem 0.6rem;
font-size: 0.88rem;
}
.user-profile-note {
margin: 0;
color: var(--muted);
font-size: 0.9rem;
line-height: 1.35;
}
.user-profile-summary-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 0.55rem;
}
.user-summary-card {
display: grid;
gap: 0.12rem;
padding: 0.5rem 0.7rem;
border-radius: 14px;
border: 1px solid var(--panel-border);
background: rgba(255, 255, 255, 0.03);
}
.user-summary-card .micro-label {
font-size: 0.66rem;
letter-spacing: 0.16em;
}
.user-summary-card strong {
font-size: 0.9rem;
line-height: 1.25;
}
.user-profile-bio {
min-height: 0;
margin: 0;
padding: 0.8rem 0.95rem;
}
.user-profile-bio p {
margin: 0.2rem 0 0;
}
.user-profile-form-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.55rem 0.65rem;
}
.user-profile-form-grid .field {
gap: 0.28rem;
}
.user-profile-form-grid .field > span {
font-size: 0.88rem;
}
.user-profile-panel input:not([type="radio"]):not([type="checkbox"]),
.user-profile-panel select,
.user-profile-panel textarea {
padding: 0.68rem 0.8rem;
border-radius: 14px;
font-size: 0.95rem;
}
.user-profile-panel textarea {
min-height: 3.3rem;
}
.user-profile-actions {
justify-content: flex-end;
gap: 0.55rem;
margin-top: 0.65rem;
}
.user-profile-actions .button {
padding: 0.72rem 0.95rem;
}
.user-profile-form-grid .user-span-2 {
grid-column: span 2;
}
.user-profile-form-grid .user-span-full {
grid-column: 1 / -1;
}
.admin-hero-stats {
margin-top: 0.8rem;
}
@@ -1956,6 +2065,7 @@ body.site-menu-hidden .site-menu-shell {
}
.admin-edit-summary-grid,
.user-profile-summary-grid,
.profile-meta-grid,
.profile-form-grid,
.admin-toggle-grid,
@@ -1967,12 +2077,21 @@ body.site-menu-hidden .site-menu-shell {
grid-template-columns: 1fr;
}
.user-profile-form-grid {
grid-template-columns: 1fr;
}
.admin-edit-form-grid .admin-edit-span-2,
.admin-edit-form-grid .admin-edit-span-3,
.admin-edit-form-grid .admin-edit-span-full {
grid-column: 1 / -1;
}
.user-profile-form-grid .user-span-2,
.user-profile-form-grid .user-span-full {
grid-column: 1 / -1;
}
.phase-header {
grid-template-columns: 1fr;
text-align: center;