mcServerWebsite/assets/styles/administration/users/index.css
Ploush 303fc7bcb5 ajout trop de chose
rappel pour moi : a ne plus reproduire
2026-04-09 14:58:12 +02:00

104 lines
2.3 KiB
CSS

/* ── CARTE UTILISATEUR ─────────────────────────────────────────── */
a.user-card {
display: flex;
flex-direction: row;
align-items: center;
gap: 1.5rem;
padding: 0.875rem 1.25rem;
text-decoration: none;
color: var(--text-light);
transition: color var(--duration-slow);
}
[data-theme="dark"] a.user-card {
color: var(--text-dark);
}
a.user-card:hover {
text-decoration: none;
}
/* ── PHOTO DE PROFIL ───────────────────────────────────────────── */
.pp-img,
.pp-svg-wrapper {
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
flex-shrink: 0;
object-fit: cover;
border: 2px solid var(--border-light);
transition: border-color var(--duration-slow);
}
[data-theme="dark"] .pp-img,
[data-theme="dark"] .pp-svg-wrapper {
border-color: var(--border-dark);
}
.pp-svg-wrapper {
display: flex;
align-items: center;
justify-content: center;
background: var(--pill-bg-light);
color: var(--violet);
}
[data-theme="dark"] .pp-svg-wrapper {
background: var(--pill-bg-dark);
color: var(--violet-light);
}
.pp-svg {
width: 1.1rem;
height: 1.1rem;
}
/* ── COLONNES INFOS ────────────────────────────────────────────── */
.user-pseudo {
font-weight: 600;
font-size: 0.95rem;
min-width: 10rem;
}
.user-space {
flex: 1;
overflow: hidden;
white-space: nowrap;
}
[data-theme="dark"] .user-uripp {
color: var(--muted-dark);
}
.user-role,
.user-editable {
font-size: 0.78rem;
font-weight: 500;
padding: 0.2rem 0.6rem;
border-radius: 999px;
white-space: nowrap;
}
.user-role {
background: var(--pill-bg-light);
color: var(--violet);
}
[data-theme="dark"] .user-role {
background: var(--pill-bg-dark);
color: var(--violet-light);
}
.user-editable {
background: rgba(16, 185, 129, 0.1);
color: #10b981;
}
.user-editable.non-modifiable {
background: rgba(107, 114, 128, 0.1);
color: var(--muted-light);
}
[data-theme="dark"] .user-editable.non-modifiable {
color: var(--muted-dark);
}