прод: убрать ЛС-лабу (demo-чат, гость-доступ, isDemo, demo-avatars); мок→плейсхолдер

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pixel
2026-06-19 20:31:09 +03:00
co-authored by Claude Opus 4.8
parent 465792b2ab
commit 92791c77a9
12 changed files with 9 additions and 222 deletions
-27
View File
@@ -3730,33 +3730,6 @@ button.dm-via-node:hover { border-color: rgba(25, 229, 138, 0.5); }
даёт лишний скролл. Фон НЕ меняем — клиппим overflow на уровне страницы (как просит ТЗ, п.4). */
html, body { overflow-x: hidden; }
/* ===== Demo-чат лаборатории ЛС (dm-lab-chat) — только demo, прод chat-view не затрагивает ===== */
.dm-chat-screen { display: flex; flex-direction: column; min-height: 100%; }
.dm-chat-head {
position: sticky; top: 0; z-index: 12; display: flex; align-items: center; gap: 12px;
padding: 14px; border-bottom: 1px solid rgba(240, 184, 46, 0.22);
background: linear-gradient(180deg, rgba(10, 12, 18, 0.92), rgba(10, 12, 18, 0.55));
backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.dm-chat-back {
flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
display: grid; place-items: center; font-size: 26px; line-height: 1;
color: var(--rel-family); border: 1px solid rgba(240, 184, 46, 0.4);
background: rgba(10, 12, 18, 0.6); cursor: pointer;
}
.dm-chat-peer { flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-chat-demo-tag {
flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
color: rgba(244, 246, 255, 0.55); padding: 3px 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12);
}
.dm-chat-screen .dm-messages-log {
flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
padding: 14px; padding-bottom: 16px;
}
.dm-chat-screen .bubble.in { align-self: flex-start; }
.dm-chat-screen .bubble.out { align-self: flex-end; }
.dm-chat-screen .dm-chat-input { display: grid; }
.dm-chat-wrap {
gap: 12px;
}