Spaces:
Sleeping
Sleeping
| /* ======================================== | |
| Teacher Dashboard Styles | |
| ======================================== */ | |
| /* Active session banner */ | |
| .active-session-card { | |
| background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%); | |
| border-radius: var(--radius-lg); | |
| padding: 20px 24px; | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| flex-wrap: wrap; | |
| margin-bottom: 20px; | |
| border: 1px solid rgba(79,70,229,0.3); | |
| } | |
| .active-session-info { flex: 1; min-width: 0; } | |
| .active-session-info h3 { color: white; font-size: 1.1rem; margin-bottom: 4px; } | |
| .active-session-info p { color: rgba(255,255,255,0.5); font-size: 13px; } | |
| .active-session-qr { text-align: center; } | |
| .active-session-qr canvas { border-radius: 8px; background: white; padding: 4px; } | |
| .qr-expire-mini { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); margin-top: 4px; } | |
| .active-session-stats { display: flex; gap: 20px; } | |
| .as-stat { text-align: center; } | |
| .as-val { font-size: 1.8rem; font-weight: 800; color: white; } | |
| .as-lbl { font-size: 11px; color: rgba(255,255,255,0.4); } | |
| /* QR Section Grid */ | |
| .qr-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } | |
| @media (max-width: 768px) { .qr-section-grid { grid-template-columns: 1fr; } } | |
| /* QR Session Code */ | |
| .qr-session-code { | |
| display: inline-block; | |
| background: var(--dark); | |
| color: white; | |
| font-family: 'Courier New', monospace; | |
| font-size: 1.6rem; | |
| font-weight: 800; | |
| padding: 10px 24px; | |
| border-radius: var(--radius); | |
| letter-spacing: 6px; | |
| margin: 8px 0; | |
| } | |
| /* Session info rows */ | |
| .sinfo-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; } | |
| .sinfo-row:last-child { border-bottom: none; } | |
| .sinfo-key { color: var(--gray); font-weight: 500; } | |
| .sinfo-val { font-weight: 600; color: var(--text); text-align: right; } | |
| /* Activity Feed */ | |
| .activity-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; } | |
| .activity-item:last-child { border-bottom: none; } | |
| .activity-avatar { flex-shrink: 0; } | |
| .activity-content { flex: 1; line-height: 1.5; color: var(--text); } | |
| .activity-time { font-size: 11px; color: var(--gray); white-space: nowrap; } | |
| /* Mini student rows */ | |
| .mini-student-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; } | |
| .mini-student-row:last-child { border-bottom: none; } | |
| /* Grid 2 responsive */ | |
| @media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr ; } } | |
| @media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr ; } } | |
| /* Section animation */ | |
| .section.active { display: block; } | |
| .section { display: none; } | |
| .section.hidden { display: none; } | |