Overview announcements: let a member put one away for the session

The PolHunter launch card, the Five Dollar Friday card and the "you came from
PolHunter" card repeat on a timer, so anyone who has read one had no way to
clear it. Each now carries a small close control in its heading: the card
stays hidden for the rest of that browser session and comes back at the next
sign-in, so a message nobody acted on is never lost for good.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-22 06:29:49 -05:00
parent 67fb8193bd
commit c47905d89a
4 changed files with 532 additions and 506 deletions
+6
View File
@@ -388,6 +388,12 @@ textarea{resize:vertical;font:inherit}
.chip.warm{background:rgba(255,178,56,.12);color:var(--amber)}
.card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.card-head .sub{font-size:12px;color:var(--muted)}
/* dismiss on the announcement cards at the top of the Overview (Marty, 2026-09-22):
hides the card for the rest of this browser session, back at the next sign-in */
.card-x{flex:none;align-self:center;margin:-4px -6px 0 2px;width:28px;height:28px;border-radius:50%;
border:1px solid var(--line);background:transparent;color:var(--muted);font-size:19px;line-height:1;
cursor:pointer;display:grid;place-items:center;padding:0}
.card-x:hover{border-color:var(--line-strong);color:var(--ink);background:rgba(139,166,156,.1)}
/* bar chart (divs, real data) */
.barchart{display:flex;align-items:flex-end;gap:6px;height:120px;margin-top:14px}
.barchart .bar{flex:1;min-width:6px;background:linear-gradient(180deg,var(--mint),rgba(67,232,195,.25));