Compare commits

..
Author SHA1 Message Date
fecoandClaude Opus 5.5 50cf334045 Form fields: room in text areas, our own select chevron
CI / test (push) Successful in 1m31s
CI / build (push) Successful in 4m43s
CI / deploy (push) Skipped
Text areas had no vertical padding, so the text touched the top edge;
selects used the browser's arrow and padding, so their text started further
in than in the other fields. Text areas now get 12px top and bottom, selects
a chevron of our own (gold on focus) with the same 14px start, and buttons
beside fields match their 48px height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-19 20:30:12 +00:00
fecoandClaude Opus 5.5 55f5a1ac60 Chart page: a balanced layout around the wheel
CI / test (push) Successful in 1m23s
CI / build (push) Successful in 4m53s
CI / deploy (push) Skipped
The side column held five boxes, so the wheel card grew with it and the
wheel floated in empty space. Now only the short summary and the big three
sit beside the wheel; the elements, the yearly forecast, the comparison and
the persons tile form a row below.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-19 18:31:02 +00:00
2 changed files with 92 additions and 73 deletions
+17 -1
View File
@@ -92,7 +92,19 @@ p { margin: 0; }
border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink);
font: 400 15px var(--font-body);
}
select.inp { padding-right: 32px; text-overflow: ellipsis; }
/* Our own chevron, so the text starts where it does in the other fields */
select.inp {
appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis;
padding: 0 42px 0 14px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a3abc0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
select.inp:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23d9b46a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
select.inp option { background: var(--panel-2); color: var(--ink); }
/* Multi-line fields: room above and below the text too */
textarea.inp { padding: 12px 14px; line-height: 1.55; min-height: 96px; resize: vertical; }
/* A button beside input fields is as tall as they are */
.row > .btn:not(.btn-sm), .redeem-row > .btn { min-height: 48px; }
.inp::placeholder { color: #8a93ab; }
.inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 106, 0.25); }
.inp:disabled { opacity: 0.55; }
@@ -932,3 +944,7 @@ a.pair-row:hover strong { color: var(--gold); }
.lp-partner:hover { opacity: 1; }
.lp-partners .hint + .lp-partner { margin-right: 18px; }
.lp-partners .lp-partner:last-child { margin-right: 0; }
/* Chart page: below the wheel and the summary, the facts and the next steps side by side */
.chart-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.chart-extras > .card { margin: 0; }
@@ -82,6 +82,10 @@ export default async function ChartPage({ params }: { params: Promise<{ id: stri
referralsLeft={me.referral_rewards.limit - me.referral_rewards.earned}
/>
<BigThree chart={chart} />
</div>
</section>
<section className="chart-extras" aria-label="A képlet összegzése és továbblépés">
{(elements || modalities || phase) && (
<div className="card" style={{ gap: 12 }}>
<dl className="facts">
@@ -162,7 +166,6 @@ export default async function ChartPage({ params }: { params: Promise<{ id: stri
</span>
</Link>
)}
</div>
</section>
<section className="card chart-tabs" aria-label="Elemzés és táblázatok">