Adds the @media (max-width: 480px) blocks specified in the design: - dashboard.css: indicator table hides the 'mobile-hide'-tagged columns (Label, Ccy, 1y, anchor, as-of), keeping Symbol / Price / 1d / 1m. Cell padding + font shrink. Group-tab buttons get a bigger touch target. - panels.css: header padding tightens, scroll-body max-height drops to 60vh so log/news stay above the fold in the stacked layout. - portfolio.css: overall grid keeps 2 cols (already at 640px) with tighter gap; action buttons wrap; composer input goes full-width. - log-chat.css: chat bubbles edge-to-edge, input row stacks, font- size:14px on form fields to avoid iOS Safari zoom-on-focus. - news.css: row collapses to age | (title / source) — source moves under the title. Tag filter strip wraps. - settings.css: form rows stack (label above input). Import picker becomes single-column. Buttons full-width. - auth.css: card padding tightens to free up vertical space when the iOS keyboard is up. font-size:14px on inputs. - public.css: hero headline clamp() lower bound drops to 22px; CTAs stack full-width; pricing tier-grid stacks. indicators.html: tagged the secondary cells with .mobile-hide rather than relying on positional nth-child — the anchor column is conditional and would have shifted positions. 336 tests still pass.
149 lines
4 KiB
CSS
149 lines
4 KiB
CSS
/* Cassandra — auth pages: login, sign-up, OTP verify (standalone, no app chrome). */
|
|
|
|
/* --- Auth pages (login / signup, standalone — no app chrome) -------- */
|
|
|
|
.auth-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--bg);
|
|
padding: 20px;
|
|
}
|
|
.auth-card {
|
|
width: 360px;
|
|
max-width: 100%;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
padding: 28px 26px;
|
|
}
|
|
.auth-card__brand {
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
font-size: 18px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
}
|
|
.auth-card__brand::before { content: "▰ "; opacity: 0.6; }
|
|
.auth-card__hint {
|
|
font-family: var(--font-mono);
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
margin: 2px 0 18px;
|
|
}
|
|
.auth-card form { display: flex; flex-direction: column; gap: 12px; }
|
|
.auth-card label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: var(--font-mono);
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
gap: 4px;
|
|
}
|
|
.auth-card input[type="email"],
|
|
.auth-card input[type="password"],
|
|
.auth-card input[type="text"] {
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 16px;
|
|
padding: 12px 14px;
|
|
outline: none;
|
|
border-radius: 3px;
|
|
}
|
|
/* The 6-digit OTP input wants to be visually loud — it's the only
|
|
thing the user is doing on that page. Bigger, more spacing, taller. */
|
|
.auth-card input[name="code"] {
|
|
font-size: 24px;
|
|
padding: 16px 14px;
|
|
letter-spacing: 0.5em;
|
|
text-align: center;
|
|
}
|
|
.auth-card input:focus { border-color: var(--accent); }
|
|
.auth-card button {
|
|
margin-top: 8px;
|
|
background: transparent;
|
|
border: 1px solid var(--accent);
|
|
color: var(--accent);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
padding: 9px 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
cursor: pointer;
|
|
}
|
|
.auth-card button:hover { background: var(--accent); color: var(--bg); }
|
|
.auth-card__alt {
|
|
margin-top: 18px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
.auth-error {
|
|
border-left: 3px solid var(--negative);
|
|
background: color-mix(in srgb, var(--negative) 6%, transparent);
|
|
color: var(--negative);
|
|
padding: 8px 10px;
|
|
font-size: 12px;
|
|
margin-bottom: 14px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
.auth-info {
|
|
border-left: 3px solid var(--accent);
|
|
background: color-mix(in srgb, var(--accent) 6%, transparent);
|
|
color: var(--accent);
|
|
padding: 8px 10px;
|
|
font-size: 12px;
|
|
margin-bottom: 14px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
.auth-info--invited {
|
|
/* Slightly warmer / friendlier shading for the referral banner. */
|
|
border-left-color: var(--positive);
|
|
background: color-mix(in srgb, var(--positive) 7%, transparent);
|
|
color: var(--text);
|
|
font-family: var(--font-sans);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
.auth-info--invited strong { color: var(--positive); font-weight: 600; }
|
|
.auth-card__lede {
|
|
font-size: 12.5px;
|
|
color: var(--muted);
|
|
margin: 0 0 16px;
|
|
line-height: 1.5;
|
|
}
|
|
.auth-card__lede strong { color: var(--text); font-weight: normal; }
|
|
.auth-card__resend {
|
|
background: transparent !important;
|
|
color: var(--muted) !important;
|
|
border: 1px dashed var(--border) !important;
|
|
font-size: 11px !important;
|
|
}
|
|
.auth-card__resend:hover {
|
|
color: var(--accent) !important;
|
|
border-color: var(--accent) !important;
|
|
}
|
|
|
|
|
|
/* --- Mobile (≤480px) -------------------------------------------------- */
|
|
|
|
@media (max-width: 480px) {
|
|
/* The card is already width:360px;max-width:100% so it fills the
|
|
screen — just tighten internal padding to free up vertical space
|
|
for the keyboard on iOS Safari (which eats half the viewport). */
|
|
.auth-card { padding: 20px 18px; }
|
|
.auth-card__brand { font-size: 14px; }
|
|
.auth-card__lede { font-size: 12px; }
|
|
.auth-card input,
|
|
.auth-card button[type="submit"] {
|
|
font-size: 14px; /* avoids iOS Safari zoom-on-focus */
|
|
padding: 10px 12px;
|
|
}
|
|
}
|