Amélioration de l'UI : meilleur affichage des images que ce soit dans la partie lore ou la partie campagne (partie campagne : visualisation scrapbooking). Possibilité de réordonner les champs dans les templates...

Passage v0.3.0
This commit is contained in:
2026-04-21 16:56:27 +02:00
parent 1e34f7f954
commit 71449bee1b
45 changed files with 1045 additions and 90 deletions

View File

@@ -125,7 +125,8 @@
&:hover { color: #a5b4fc; background: #1f1b3a; }
}
.type-select {
.type-select,
.layout-select {
background: #1a1a2e;
border: 1px solid #2a2a3d;
color: white;
@@ -138,6 +139,12 @@
&:focus { outline: none; border-color: #6c63ff; }
}
.layout-select {
height: 28px;
font-size: 0.72rem;
padding: 0 0.45rem;
}
input {
flex: 1;
background: #1a1a2e;
@@ -167,6 +174,35 @@
&:focus { border: none; }
}
}
.reorder-stack {
display: flex;
flex-direction: column;
gap: 2px;
.btn-reorder {
width: 22px;
height: 16px;
background: transparent;
color: #6b7280;
border: 1px solid #2a2a3d;
border-radius: 3px;
padding: 0;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background 0.12s, color 0.12s, border-color 0.12s;
&:hover:not(:disabled) {
background: #2a2a3d;
color: white;
border-color: #6c63ff;
}
&:disabled { opacity: 0.3; cursor: not-allowed; }
}
}
}
.btn-icon-ghost {