feat(control): трекер инициативы в отдельном окне

Очередь NPC/игроков с DnD, курсором на сцене, состояниями и запасом; сброс при смене сцены.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-09-04 10:09:51 +08:00
parent db1168a46c
commit 86d6d157f0
28 changed files with 1783 additions and 4 deletions
@@ -0,0 +1,55 @@
.row {
display: flex;
flex-wrap: wrap;
gap: 4px;
justify-content: center;
max-width: none;
width: 100%;
pointer-events: none;
}
.compact {
gap: 3px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: 999px;
border: 1px solid rgba(96, 165, 250, 0.75);
background: rgba(15, 23, 42, 0.85);
color: #93c5fd;
font-size: 11px;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
pointer-events: auto;
}
.compact .chip {
font-size: 9px;
padding: 1px 6px;
}
.chipLabel {
pointer-events: none;
}
.chipRemove {
appearance: none;
border: none;
background: transparent;
color: inherit;
padding: 0;
margin: 0;
cursor: pointer;
font-size: 12px;
line-height: 1;
opacity: 0.85;
}
.chipRemove:hover {
opacity: 1;
}