Migration vers datamodels

This commit is contained in:
2026-02-25 15:49:55 +01:00
parent 64eb40abfb
commit f1ab04bf32
95 changed files with 7418 additions and 593 deletions

View File

@@ -60,6 +60,7 @@
/* For nav and title */
.window-app input,
.application input,
.fvtt-ecryme .item-form,
.sheet header.sheet-header .flex-group-center.flex-compteurs,
.sheet header.sheet-header .flex-group-center.flex-fatigue,
@@ -76,9 +77,11 @@
background: rgba(0, 0, 0, 0.75);
}
.window-app.sheet .window-content {
.window-app.sheet .window-content,
.application.sheet .window-content {
margin: 0;
padding: 0;
overflow: hidden auto;
}
.strong-text {
@@ -396,13 +399,15 @@
/* ======================================== */
/* Sheet */
.window-app.sheet .window-content .sheet-header {
.window-app.sheet .window-content .sheet-header,
.application.sheet .window-content .sheet-header {
color: rgba(19, 18, 18, 0.95);
background: url("../images/ui/fond_carnet_01.webp");
/*background: #494e6b;*/
}
input[type="text"],
input[type="number"],
select[type="text"] {
background: white;
color: #494e6b;
@@ -420,14 +425,23 @@
.window-app.sheet .window-content .sheet-header input[type="number"],
.window-app.sheet .window-content .sheet-body input[type="text"],
.window-app.sheet .window-content .sheet-body input[type="number"],
.window-app.sheet .window-content .sheet-body select[type="text"] {
.window-app.sheet .window-content .sheet-body select[type="text"],
.application.sheet .window-content .sheet-header select[type="text"],
.application.sheet .window-content .sheet-header input[type="text"],
.application.sheet .window-content .sheet-header input[type="number"],
.application.sheet .window-content .sheet-body input[type="text"],
.application.sheet .window-content .sheet-body input[type="number"],
.application.sheet .window-content .sheet-body select[type="text"] {
color: rgba(19, 18, 18, 0.95);
/*color: #494e6b;*/
}
.window-app.sheet .window-content .sheet-header input[type="password"],
.window-app.sheet .window-content .sheet-header input[type="date"],
.window-app.sheet .window-content .sheet-header input[type="time"] {
.window-app.sheet .window-content .sheet-header input[type="time"],
.application.sheet .window-content .sheet-header input[type="password"],
.application.sheet .window-content .sheet-header input[type="date"],
.application.sheet .window-content .sheet-header input[type="time"] {
color: rgba(19, 18, 18, 0.95);
background: url("../images/ui/fond_carnet_01.webp");
border: 1 none;
@@ -437,7 +451,10 @@
.window-app.sheet .window-content .sheet-body input[type="password"],
.window-app.sheet .window-content .sheet-body input[type="date"],
.window-app.sheet .window-content .sheet-body input[type="time"] {
.window-app.sheet .window-content .sheet-body input[type="time"],
.application.sheet .window-content .sheet-body input[type="password"],
.application.sheet .window-content .sheet-body input[type="date"],
.application.sheet .window-content .sheet-body input[type="time"] {
color: rgba(19, 18, 18, 0.95);
background: url("../images/ui/fond_carnet_01.webp");
border: 1 none;
@@ -446,7 +463,9 @@
}
.window-app.sheet .window-content .sheet-body select,
.window-app.sheet .window-content .sheet-header select {
.window-app.sheet .window-content .sheet-header select,
.application.sheet .window-content .sheet-body select,
.application.sheet .window-content .sheet-header select {
color: rgba(19, 18, 18, 0.95);
background: #fff;
border: 1 none;
@@ -455,7 +474,9 @@
}
.window-app .window-content,
.window-app.sheet .window-content .sheet-body {
.window-app.sheet .window-content .sheet-body,
.application .window-content,
.application.sheet .window-content .sheet-body {
font-size: 0.8rem;
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/
background: url("../images/ui/fond_carnet_01.webp");
@@ -1565,4 +1586,62 @@
border: 2px ridge #443307;
align-items: center;
justify-content: center;
}
}
/* ==============================
Application V2 Item Sheets
============================== */
/* Compact header for item sheets (smaller than actor sheets) */
.fvtt-ecryme.item .sheet-header {
flex: 0 0 auto;
min-height: 70px;
padding: 4px 6px;
align-items: center;
}
.fvtt-ecryme.item .sheet-header .item-sheet-img {
width: 64px;
height: 64px;
object-fit: contain;
border: 1px solid #7a7971;
cursor: pointer;
flex: 0 0 64px;
margin-right: 8px;
}
.fvtt-ecryme.item .sheet-header .header-fields {
flex: 1;
}
.fvtt-ecryme.item .sheet-header h1.charname {
height: auto;
margin: 0;
border-bottom: 0;
}
.fvtt-ecryme.item .sheet-header h1.charname input {
font-family: MailartRubberstamp;
font-size: 1.8rem;
width: 100%;
height: auto;
margin: 0;
}
/* Active tab styling for AppV2 (uses <a> without .item class) */
.fvtt-ecryme.item nav.sheet-tabs a.active {
text-decoration: underline;
}
/* Details tab content */
.fvtt-ecryme.item .sheet-body ul {
list-style: none;
margin: 0;
padding: 4px 2px;
}
.fvtt-ecryme.item .sheet-body ul li.flexrow {
align-items: center;
margin-bottom: 4px;
gap: 4px;
}