Admin settings: give each ingestion source its own card
CI/CD / CI · dotnet build (push) Successful in 2m17s
CI/CD / Deploy · hamkadr (push) Successful in 1m57s

The sources panel (Telegram/Bale/Divar/Medjobs/Websites/Proxy) ran
together as one flat list. Each is now wrapped in a bordered .source-box
with an icon + hint, so it's clear where one source's settings end and the
next begins.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-08 08:49:27 +03:30
parent 0622270cd2
commit f9d7c48d88
2 changed files with 64 additions and 46 deletions
+5
View File
@@ -376,6 +376,11 @@ label { font-size: 13px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.settings-panel h3:first-child { margin-top: 0; }
/* Each ingestion source gets its own card so the settings don't run together. */
.source-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 12px 0; background: var(--surface); }
.source-box .toggle-row { background: var(--bg); margin-bottom: 10px; }
.source-box .filter-group:last-child { margin-bottom: 0; }
/* Toggle rows — give each boolean field a clean, card-like row. */
.toggle-row {
display: flex; align-items: flex-start; gap: 10px; font-weight: 700;