Forum: answers to me as the only count, reply box in the branch, keyboard-safe inputs

- The "Követett" tab becomes "Válaszok": its count is the unread answers
  to the member (a reply to their post, a first-level reply in their
  thread, or a post naming them), listed on /forum/valaszok with "Mind
  olvasott"; the followed threads are its second view. The other counts
  are gone from the menu; listeners see the waiting threads on their card
  on the front page.
- Replying to a post opens the box at the bottom of its branch and scrolls
  there; another branch moves it (with the text typed so far).
- Phones: while typing, the forum's bottom menu and floating bars step
  aside and the box with its send button is scrolled above the keyboard
  (KeyboardSafe, site-wide; Android resizes the page for the keyboard).
- The "Meghallgató" badge is now "Kísérő", with a new icon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-26 13:31:00 +00:00
co-authored by Claude Opus 5.5
parent 8bc426460d
commit 42283d740e
25 changed files with 615 additions and 90 deletions
+39
View File
@@ -605,3 +605,42 @@ a.fh-online-item:hover { color: var(--gold); }
.ftopic-private svg, .ftv-private svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ftv-private { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-size: 13px; color: var(--muted); }
.ftv-private svg { margin-top: 0; width: 13px; height: 13px; }
/* --- "Válaszok": answers to the member --- */
.frep-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fanswers { list-style: none; margin: 0; padding: 0; }
.fanswers li + li { border-top: 1px solid var(--line); }
.fanswer {
display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start;
padding: 14px 16px; color: var(--ink); text-decoration: none;
}
.fanswer:hover { background: var(--f-hover); }
.fanswer-new { background: var(--f-tint); }
.fanswer-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fanswer-who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; }
.fanswer-thread { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fanswer-excerpt {
font-size: 14px; color: var(--muted); overflow: hidden;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.fanswer-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fh-me-waiting { font-size: 14px; color: var(--harmonic); text-decoration: none; }
.fh-me-waiting:hover { text-decoration: underline; }
/* The reply box at the bottom of a branch, where the answers to that post go. */
.ftv-inline {
display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px 17px; padding: 8px 0 4px 14px;
border-left: 2px solid var(--gold); scroll-margin: 96px 0 120px;
}
.ftv-inline .ftv-replyto { display: flex; align-items: center; gap: 5px; margin: 0; }
.ftv-inline .ftv-replyto svg {
width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* Phones, while typing: the bottom menu and the floating button step aside
for the keyboard (KeyboardSafe sets kb-open), and a focused box keeps room
around it for its send button. */
@media (max-width: 759px) {
.kb-open .forum-nav, .kb-open .ftv-incoming { display: none; }
}
.forum textarea, .forum input { scroll-margin: 88px 0 96px; }