Forum: reports for moderators and private messages by request
Any logged-in user can report a post, or a private message received; a possible crisis shows the helplines at once. Moderators get the open reports (crisis first) with what was reported, remove or close them, and every step goes to the log; the operator gets a Telegram notice of each new report (kind and link only). Private conversations start with a request and a short introduction (from the Kereső rank, a few a day); the recipient accepts, declines silently or blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -445,3 +445,56 @@ body:has(.forum[data-theme="light"]) .site-footer { background: #0d1220; }
|
||||
.fmodlog { list-style: none; margin: 0; }
|
||||
.fmodlog li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; }
|
||||
.fmodlog li + li { border-top: 1px solid var(--line); }
|
||||
|
||||
/* --- reports --- */
|
||||
.frep { flex-basis: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
|
||||
.frep-kind { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; cursor: pointer; }
|
||||
.frep-kind input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
|
||||
.frep-crisis { padding: 10px 12px; border-radius: 10px; background: var(--f-blue-tint); color: var(--ink); font-size: 15px; line-height: 1.45; }
|
||||
.frep-crisis strong { color: var(--harmonic); }
|
||||
.forum-modchip {
|
||||
display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
|
||||
background: var(--f-red-tint); border: 1px solid var(--danger); color: var(--danger); font-size: 14px; font-weight: 600;
|
||||
text-decoration: none; white-space: nowrap;
|
||||
}
|
||||
.forum-modchip:hover { color: var(--danger); background: var(--f-tint); }
|
||||
@media (max-width: 759px) { .forum-bar { flex-wrap: wrap; } .forum-modchip { order: 3; } }
|
||||
|
||||
/* --- moderation page --- */
|
||||
.fmod-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); align-self: flex-start; }
|
||||
.fmod-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
|
||||
.fmod-tabs a[aria-current="page"] { background: var(--f-tint-strong); color: var(--gold); }
|
||||
.fmod-report { display: flex; flex-direction: column; gap: 10px; }
|
||||
.fmod-crisis { border-color: var(--harmonic); box-shadow: 0 0 0 1px var(--harmonic); }
|
||||
.fmod-report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
|
||||
.fmod-note { color: var(--ink-2); font-style: italic; }
|
||||
.fmod-target { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
|
||||
.fmod-target .fp-body { font-size: 15px; }
|
||||
.fmod-chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
|
||||
.fmod-chat-reported { padding: 4px 8px; border-radius: 6px; background: var(--f-red-tint); }
|
||||
|
||||
/* --- private messages --- */
|
||||
.fmsg-h { font-family: var(--font-body) !important; font-size: 16px; font-weight: 600; color: var(--ink-2); }
|
||||
.fmsg-request { display: flex; flex-direction: column; gap: 12px; }
|
||||
.fmsg-intro { font-style: italic; color: var(--ink-2); }
|
||||
.fmsg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.ft-row.fmsg-row { display: flex; }
|
||||
.fmsg-when { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; color: var(--muted); flex: none; }
|
||||
.freq { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
|
||||
.freq label { font-size: 14px; font-weight: 500; }
|
||||
.fchat { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 820px; margin: 0 auto; }
|
||||
.fchat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
|
||||
.fchat-who { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: 1; min-width: 0; }
|
||||
.fchat-intro { font-size: 15px; color: var(--ink-2); font-style: italic; }
|
||||
.fchat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
|
||||
.fchat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 86%; }
|
||||
.fchat-mine { align-self: flex-end; align-items: flex-end; }
|
||||
.fchat-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--panel); border: 1px solid var(--line); }
|
||||
.fchat-mine .fchat-bubble { border-radius: 16px 16px 4px 16px; background: var(--f-tint-strong); border-color: transparent; }
|
||||
.fchat-bubble .fp-body { font-size: 16px; line-height: 1.5; }
|
||||
.fchat-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
|
||||
.fchat-report { min-height: 32px; padding: 0 6px; border: 0; background: none; color: var(--muted); font: 400 12px var(--font-body); cursor: pointer; }
|
||||
.fchat-report:hover { color: var(--danger); }
|
||||
.fchat-msg .frep { width: min(420px, 86vw); }
|
||||
.fchat-compose { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
|
||||
@media (min-width: 760px) { .forum-nav .fn-item { padding: 0 12px; } }
|
||||
|
||||
Reference in New Issue
Block a user