user profiles
All checks were successful
pedestrian-simulator / build (push) Successful in 1m17s

This commit is contained in:
2026-01-13 13:10:55 -07:00
parent f985d3433d
commit 72b94597ca
6 changed files with 478 additions and 45 deletions

View File

@@ -976,4 +976,78 @@ body {
border-right: none;
border-bottom: 2px solid var(--border);
}
}
/* User Profile Overlay */
.user-profile-card {
background: rgba(30, 41, 59, 0.95);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
width: 90%;
max-width: 500px;
max-height: 85vh;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
}
.user-profile-header {
position: absolute;
top: 1rem;
right: 1rem;
}
.user-profile-info {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2rem;
}
.profile-avatar-large {
width: 100px;
height: 100px;
border-radius: 50%;
border: 3px solid #6366f1;
margin-bottom: 1rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
.profile-fitbit-id {
color: #94a3b8;
font-size: 0.9rem;
margin-top: 0.25rem;
}
.user-profile-content {
flex: 1;
overflow-y: auto;
width: 100%;
}
.user-profile-content h3 {
margin-bottom: 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 0.5rem;
color: #e2e8f0;
}
/* Animating classes for Map Toggle */
.minimap-transitioning {
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 9999;
}
@media (max-width: 768px) {
.kml-browser-card,
.kml-details-card,
.user-profile-card {
width: 95%;
padding: 1.5rem;
}
}