New admin panel - People → Study Users

This commit is contained in:
nmemmert
2026-06-03 12:29:05 -04:00
parent 4983524ea4
commit 49c9994156
3 changed files with 464 additions and 1 deletions
+134
View File
@@ -6319,3 +6319,137 @@
margin-bottom: 1.5rem;
}
/* ── Admin: Study Users ── */
.admin-study-users-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.admin-study-user-card {
border: 1px solid rgba(201, 168, 76, 0.15);
border-radius: 8px;
overflow: hidden;
background: #0e0e0b;
}
.admin-study-user-card--open {
border-color: rgba(201, 168, 76, 0.35);
}
.admin-study-user-header {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: none;
border: none;
color: inherit;
cursor: pointer;
text-align: left;
gap: 1rem;
}
.admin-study-user-header:hover {
background: rgba(201, 168, 76, 0.04);
}
.admin-study-user-header-left {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.admin-study-user-email {
font-size: 0.8rem;
color: #5a5440;
}
.admin-study-user-header-right {
display: flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
}
.admin-study-user-pill {
font-size: 0.75rem;
background: rgba(201, 168, 76, 0.1);
color: #c9a84c;
padding: 0.15rem 0.5rem;
border-radius: 12px;
white-space: nowrap;
}
.admin-study-user-body {
padding: 0 1rem 1rem;
border-top: 1px solid rgba(201, 168, 76, 0.1);
display: flex;
flex-direction: column;
gap: 1rem;
}
.admin-study-user-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
font-size: 0.82rem;
color: #8a7f5a;
padding-top: 0.75rem;
}
.admin-study-user-section h4 {
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.07em;
color: #c9a84c;
margin: 0 0 0.5rem;
}
.admin-study-user-row {
display: flex;
gap: 0.5rem;
align-items: center;
flex-wrap: wrap;
}
.admin-study-user-row input,
.admin-study-user-row select {
flex: 1 1 200px;
padding: 0.45rem 0.65rem;
border-radius: 6px;
border: 1px solid rgba(201, 168, 76, 0.25);
background: #0a0a08;
color: #f0e9cc;
font-size: 0.88rem;
}
.admin-study-user-enrollments {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.admin-study-user-enrollments li {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.88rem;
padding: 0.3rem 0.5rem;
background: rgba(201, 168, 76, 0.05);
border-radius: 5px;
}
.admin-study-user-msg {
font-size: 0.85rem;
color: #c9a84c;
margin: 0;
padding: 0.4rem 0.75rem;
background: rgba(201, 168, 76, 0.08);
border-radius: 6px;
}