add account web

This commit is contained in:
2026-06-30 10:58:09 +07:00
parent dc86524ff0
commit fd08bee7ab
4 changed files with 115 additions and 44 deletions

View File

@@ -237,6 +237,51 @@ body {
flex-shrink: 0;
}
.sidebar-user-btn {
width: 100%;
text-align: left;
border: 1px solid transparent;
border-radius: var(--radius-sm);
background: none;
padding: 0.5rem 0.6rem;
cursor: pointer;
display: flex;
flex-direction: column;
gap: 0.15rem;
transition: background 0.15s, border-color 0.15s;
}
.sidebar-user-btn:hover {
background: var(--bg-subtle);
}
.sidebar-user-btn.active {
background: var(--accent-light);
border-color: var(--accent);
}
.sidebar-user-btn.active .sidebar-user-name,
.sidebar-user-btn.active .sidebar-user-email {
color: var(--accent);
}
.sidebar-user-name {
font-size: 0.82rem;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-user-email {
font-size: 0.72rem;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.token-badge {
background-color: var(--bg-subtle);
border: 1px solid var(--border-color);