Detailed analysis button, loading wheel, birth data change limits
Backend: - own birth data: three corrections within an hour of the first save, then one change per 24 hours (birth_data_changes); 429 birth_data_change_limit with the user-facing message; /v1/me birth_change shows the notice; admins are not limited - admins get detailed analyses free (no unit spent) - POST /v1/payments/mock (MOCK_PAYMENTS): stand-in payment that adds a unit, until Stripe is connected; on in the compose files for now Frontend: - detailed analysis offer: admin starts it free, users with units confirm, others go through the (stand-in) payment step - turning wheel with elapsed time while the summary or the analysis is being written - no "adatok javítása" on the chart page (only in the profile), limit notice there; wheel hover highlighting removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -192,6 +192,21 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
.skeleton span:last-child { width: 60%; }
|
||||
@keyframes pulse { 50% { opacity: 0.45; } }
|
||||
@media (prefers-reduced-motion: reduce) { .skeleton span { animation: none; } }
|
||||
|
||||
/* Loading while the LLM writes */
|
||||
.loading { display: flex; align-items: center; gap: 24px; padding: 8px 0; }
|
||||
.loading-wheel { width: 120px; height: 120px; flex: none; animation: spin 24s linear infinite; }
|
||||
.loading-compact .loading-wheel { width: 64px; height: 64px; }
|
||||
.loading-text { display: flex; flex-direction: column; gap: 6px; }
|
||||
.loading-text strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
|
||||
.loading-text .muted { animation: pulse 2.4s ease-in-out infinite; }
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
@media (prefers-reduced-motion: reduce) { .loading-wheel, .loading-text .muted { animation: none; } }
|
||||
@media (max-width: 640px) { .loading { flex-direction: column; text-align: center; } }
|
||||
|
||||
/* Payment step */
|
||||
.pay-box { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel-2); }
|
||||
.pay-line { display: flex; justify-content: space-between; gap: 12px; }
|
||||
.chart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
|
||||
.chart-wheel-card { padding: 16px; gap: 10px; }
|
||||
.chart-wheel { width: 100%; height: auto; display: block; max-width: 680px; margin: 0 auto; }
|
||||
@@ -224,13 +239,10 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
.w-axis-label { fill: var(--gold); font: 600 14px var(--font-body); letter-spacing: 0.5px; }
|
||||
.w-house-num { fill: var(--muted); font: 500 12px var(--font-body); }
|
||||
.w-aspect { stroke-linecap: round; }
|
||||
.w-aspect { transition: stroke-opacity 0.15s; }
|
||||
.w-asp-trine { stroke: var(--harmonic); }
|
||||
.w-asp-sextile { stroke: var(--harmonic); stroke-dasharray: 5 4; }
|
||||
.w-asp-square { stroke: var(--square); }
|
||||
.w-asp-opposition { stroke: var(--tense); }
|
||||
.w-point { outline: none; cursor: default; }
|
||||
.w-point:focus-visible .w-point-glyph { fill: var(--gold); }
|
||||
.w-point-tick { stroke: var(--ink); stroke-width: 1.6; }
|
||||
.w-leader { stroke: var(--muted); stroke-width: 0.7; stroke-opacity: 0.6; }
|
||||
.w-point-glyph { fill: var(--ink); font-family: var(--font-symbols); font-size: 22px; }
|
||||
|
||||
Reference in New Issue
Block a user