Refactor des fiches de creatures

This commit is contained in:
2026-03-30 09:27:11 +02:00
parent 1b5da3e144
commit 6fda4b9246
71 changed files with 547 additions and 231 deletions

View File

@@ -891,6 +891,82 @@ section.npc .cde-neon-tabs .item.active { color: @cde-supernatural; borde
.cde-aptitudes-table {
// Inherits .cde-skills-table styles; just ensure consistent width
.cde-spec-cell { flex: 1 1 0; }
.cde-roll-cell {
width: 28px;
flex-shrink: 0;
text-align: center;
.cde-roll-trigger {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
color: @cde-muted;
border-radius: 4px;
transition: color 0.15s, background 0.15s;
&:hover {
color: @cde-supernatural;
background: fade(@cde-supernatural, 12%);
}
}
}
}
// Empty list placeholder
.cde-empty-list {
color: @cde-muted;
font-style: italic;
font-size: 11px;
text-align: center;
padding: 10px 0;
}
// NPC supernatural item cards
.cde-supernatural-list {
.cde-supernatural-item {
background: fade(@cde-surface, 60%);
border: 1px solid @cde-border;
border-radius: 4px;
margin-bottom: 6px;
padding: 6px;
list-style: none;
}
.cde-supernatural-header {
align-items: center;
gap: 8px;
img { border-radius: 4px; flex-shrink: 0; }
}
.cde-supernatural-info {
flex: 1 1 0;
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
.cde-supernatural-name {
font-size: 12px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.cde-supernatural-desc {
font-size: 10px;
color: @cde-muted;
margin-top: 4px;
padding-left: 36px;
line-height: 1.4;
p { margin: 0; }
}
}
// NPC vitality / hei tracker