feat: implement identity authentication, authorization policies, and MAUI platform support with Docker orchestration
This commit is contained in:
@@ -1,173 +1,256 @@
|
||||
.profile-container {
|
||||
.profile-dashboard {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
background-color: #121418;
|
||||
color: white;
|
||||
font-family: 'Inter', sans-serif;
|
||||
padding: 60px 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background-color: #0a0a0a;
|
||||
padding: 2rem;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.profile-card {
|
||||
.mesh-overlay {
|
||||
position: absolute;
|
||||
top: 0; left: 0; width: 100%; height: 100%;
|
||||
background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.02) 1px, transparent 0);
|
||||
background-size: 40px 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dashboard-content {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
background: rgba(20, 20, 20, 0.8);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 2rem;
|
||||
padding: 3rem;
|
||||
box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
|
||||
max-width: 1000px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.profile-header {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
.dashboard-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 48px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.user-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: linear-gradient(135deg, #39ff14 0%, #1a8a0a 100%);
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 1.5rem;
|
||||
background: linear-gradient(135deg, #44ff77 0%, #2ecc71 100%);
|
||||
border-radius: 24px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
color: #000;
|
||||
box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
|
||||
box-shadow: 0 10px 30px rgba(68, 255, 119, 0.2);
|
||||
}
|
||||
|
||||
.profile-header h2 {
|
||||
font-size: 1.5rem;
|
||||
.user-info h1 {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 0.75rem;
|
||||
margin: 0 0 8px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.plan-badge {
|
||||
display: inline-block;
|
||||
padding: 0.4rem 1rem;
|
||||
border-radius: 2rem;
|
||||
.plan-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
padding: 4px 12px;
|
||||
border-radius: 8px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.plan-badge.free {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: #888;
|
||||
}
|
||||
.badge.pro { background: rgba(68, 255, 119, 0.1); color: #44ff77; border: 1px solid rgba(68, 255, 119, 0.2); }
|
||||
.badge.free { background: rgba(255, 255, 255, 0.05); color: #888; border: 1px solid rgba(255, 255, 255, 0.1); }
|
||||
|
||||
.plan-badge.pro {
|
||||
background: rgba(57, 255, 20, 0.1);
|
||||
color: #39ff14;
|
||||
border: 1px solid rgba(57, 255, 20, 0.2);
|
||||
}
|
||||
.tenant-id { font-size: 0.8rem; color: #555; }
|
||||
|
||||
.profile-stats {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.stat-group {
|
||||
.btn-logout {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 18px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
padding: 1.5rem;
|
||||
border-radius: 1rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.stat-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
margin-bottom: 1rem;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
.usage-count {
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
background: #1a1a1a;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
height: 100%;
|
||||
background: #39ff14;
|
||||
box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
|
||||
border-radius: 4px;
|
||||
transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.stat-footer {
|
||||
font-size: 0.75rem;
|
||||
color: #666;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.profile-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
background: #39ff14;
|
||||
color: #000;
|
||||
border: none;
|
||||
border-radius: 1rem;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 20px rgba(57, 255, 20, 0.3);
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
background: transparent;
|
||||
color: #ff5555;
|
||||
border: 1px solid rgba(255, 85, 85, 0.2);
|
||||
border-radius: 1rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 12px;
|
||||
color: #888;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
background: rgba(255, 85, 85, 0.05);
|
||||
border-color: rgba(255, 85, 85, 0.4);
|
||||
.btn-logout:hover {
|
||||
background: rgba(255, 77, 77, 0.05);
|
||||
border-color: rgba(255, 77, 77, 0.2);
|
||||
color: #ff4d4d;
|
||||
}
|
||||
|
||||
.loading-state {
|
||||
text-align: center;
|
||||
padding: 4rem 0;
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
||||
gap: 24px;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid rgba(57, 255, 20, 0.1);
|
||||
border-top-color: #39ff14;
|
||||
.stat-card {
|
||||
background: #1c1f24;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 28px;
|
||||
padding: 32px;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.stat-card:hover { transform: translateY(-5px); }
|
||||
|
||||
.card-icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border-radius: 16px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #44ff77;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.card-info h3 {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
margin: 0 0 16px;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.token-numbers {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tokens-used { font-size: 2rem; font-weight: 800; color: white; }
|
||||
.tokens-limit { font-size: 1rem; color: #555; font-weight: 500; }
|
||||
|
||||
.usage-bar {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
background: #15181c;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.usage-fill {
|
||||
height: 100%;
|
||||
background: #44ff77;
|
||||
box-shadow: 0 0 15px rgba(68, 255, 119, 0.3);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.usage-desc { font-size: 0.8rem; color: #555; margin: 0; }
|
||||
|
||||
.learning-metrics {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.metric {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.metric .label { font-size: 0.85rem; color: #666; font-weight: 500; }
|
||||
.metric .value { font-size: 1.2rem; font-weight: 700; color: white; }
|
||||
.metric .truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
|
||||
|
||||
.subscription-section { margin-top: 48px; }
|
||||
|
||||
.section-card {
|
||||
background: linear-gradient(90deg, #1c1f24 0%, #23272e 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 28px;
|
||||
padding: 40px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.section-info h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; }
|
||||
.section-info p { color: #888; margin: 0; line-height: 1.6; max-width: 500px; }
|
||||
|
||||
.btn-upgrade {
|
||||
padding: 16px 32px;
|
||||
background: #44ff77;
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
color: #000;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.btn-upgrade:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 10px 30px rgba(68, 255, 119, 0.2);
|
||||
}
|
||||
|
||||
.loading-overlay {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.nexus-loader {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid rgba(68, 255, 119, 0.1);
|
||||
border-top-color: #44ff77;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 1.5rem;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
|
||||
.decoration-star {
|
||||
position: absolute;
|
||||
font-size: 48px;
|
||||
color: rgba(255, 255, 255, 0.03);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.top-left { top: 40px; left: 40px; }
|
||||
.bottom-right { bottom: 40px; right: 40px; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.dashboard-header { flex-direction: column; align-items: flex-start; gap: 24px; }
|
||||
.header-actions { width: 100%; }
|
||||
.btn-logout { width: 100%; justify-content: center; }
|
||||
.stats-grid { grid-template-columns: 1fr; }
|
||||
.section-card { flex-direction: column; text-align: center; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user