- Configurable server URL (default: pedshub.com) - Android + iOS platforms initialized - Dark theme matching quiz app (#0f172a) - Status bar and navigation bar color matched - Auto-redirect on subsequent launches - App ID: com.pedshub.quiz, App Name: PedsHub Build: cd mobile && npx cap sync && npx cap open android Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
44 lines
2.1 KiB
CSS
44 lines
2.1 KiB
CSS
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
}
|
|
|
|
.launcher { width: 100%; max-width: 400px; padding: 40px 24px; text-align: center; }
|
|
|
|
.logo-text { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 6px; }
|
|
|
|
.subtitle { font-size: 14px; opacity: 0.7; margin-bottom: 32px; }
|
|
|
|
.form-group { text-align: left; margin-bottom: 16px; }
|
|
.form-group label { display: block; font-size: 13px; font-weight: 600; opacity: 0.8; margin-bottom: 6px; }
|
|
.form-group input {
|
|
width: 100%; padding: 14px 16px; border: 2px solid rgba(255,255,255,0.3);
|
|
border-radius: 12px; background: rgba(255,255,255,0.15); color: white;
|
|
font-size: 16px; font-family: inherit; outline: none;
|
|
}
|
|
.form-group input::placeholder { color: rgba(255,255,255,0.4); }
|
|
.form-group input:focus { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.2); }
|
|
|
|
.btn-primary {
|
|
width: 100%; padding: 14px; border: none; border-radius: 12px;
|
|
background: white; color: #0f172a; font-size: 16px; font-weight: 700;
|
|
font-family: inherit; cursor: pointer;
|
|
}
|
|
.btn-primary:active { transform: scale(0.98); }
|
|
.btn-primary:disabled { opacity: 0.5; }
|
|
|
|
.btn-link { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 13px; cursor: pointer; margin-top: 16px; text-decoration: underline; font-family: inherit; }
|
|
|
|
.hint { margin-top: 20px; font-size: 12px; opacity: 0.5; line-height: 1.5; }
|
|
.footer { margin-top: 40px; font-size: 11px; opacity: 0.3; }
|
|
|
|
.spinner { width: 32px; height: 32px; border: 3px solid rgba(255,255,255,0.2); border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; }
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|