fix(chat): попап даты — верные CSS-переменные (--bg-card/--bg-input, не --card)

В chat.html переменные зовутся --bg-card/--bg-input (не --card) → фон попапа был прозрачный,
сообщения просвечивали. Исправлено. Bump 2026-07-18f.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
anor
2026-07-18 18:16:35 +10:00
co-authored by Claude Opus 4.8
parent 4dcd198dd4
commit f24e8595c1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ MAX_MESSAGE_LEN = 10_000
# ⚠️ Версия UI — единый источник. БАМПАТЬ ПРИ КАЖДОМ ДЕПЛОЕ (формат: YYYY-MM-DD + буква).
# Фронт берёт её через GET /api/version (chat.html + admin.html, элемент .app-version).
APP_VERSION = "2026-07-18e"
APP_VERSION = "2026-07-18f"
# Audit: path → action name mapping
_AUDIT_MAP = [
+3 -3
View File
@@ -326,11 +326,11 @@ html { color-scheme: light; }
</div>
<!-- Попап выбора даты сметы: нативный date-picker, тёмная тема через var(), без библиотек -->
<div id="date-popover" role="dialog" aria-label="Дата сметы" style="display:none;position:fixed;z-index:2000;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px 16px;box-shadow:0 8px 30px rgba(0,0,0,.22);min-width:264px">
<div style="font-size:.85rem;font-weight:600">Дата сметы</div>
<div id="date-popover" role="dialog" aria-label="Дата сметы" style="display:none;position:fixed;z-index:2000;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:14px 16px;box-shadow:0 8px 30px rgba(0,0,0,.22);min-width:264px">
<div style="font-size:.85rem;font-weight:600;color:var(--text)">Дата сметы</div>
<div style="font-size:.72rem;color:var(--text-muted);margin:2px 0 10px">На эту дату считаются нормативные документы (методики, ГСН, коэффициенты).</div>
<input type="date" id="date-input" onkeydown="if(event.key==='Enter')applySessionDate()"
style="width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--text);font-size:.9rem">
style="width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid var(--border);border-radius:7px;background:var(--bg-input);color:var(--text);font-size:.9rem">
<div id="date-warn" style="display:none;font-size:.72rem;color:var(--accent);margin-top:8px;line-height:1.35"></div>
<div style="display:flex;gap:8px;margin-top:12px;justify-content:flex-end;flex-wrap:wrap">
<button type="button" onclick="closeDatePopover()" style="padding:5px 12px;font-size:.8rem;background:transparent;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);cursor:pointer">Отмена</button>