DataModel & SheetV2 pour les items Monnaie

This commit is contained in:
2025-02-06 00:18:09 +01:00
parent 675fe5838e
commit f1b6c01cd7
26 changed files with 399 additions and 43 deletions

View File

@@ -28,6 +28,9 @@
font-weight: normal;
font-style: normal;
}
body {
--input-height: 1.4rem;
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: CaslonAntique;
@@ -731,10 +734,36 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
.flex-grow-3 {
flex-grow: 3;
}
.editor.prosemirror {
fieldset {
border-style: groove;
border-width: 0.1rem;
padding-inline: 0.2rem;
padding-block: 0.1rem;
margin-inline: 0.1rem;
margin-block: 0.1rem;
}
form.application.sheet.fvtt-rdd fieldset :is(label, input) {
font-family: CaslonAntique;
text-align: justify;
font-size: 1rem;
letter-spacing: 1px;
}
form.application.sheet.fvtt-rdd div.form-group {
clear: both;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0.1rem 0;
align-items: center;
}
form.application.sheet.fvtt-rdd .editor.prosemirror {
height: fit-content;
min-height: 20rem;
min-height: 5rem;
}
form.application.sheet.fvtt-rdd prose-mirror.prosemirror .editor-container {
min-height: 5rem;
height: fit-content;
margin: 0;
}
.large-editor {
border: 2;
@@ -742,6 +771,7 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
min-height: 12rem;
padding: 0 3px;
}
.editor {
border: 2;
height: fit-content;
@@ -765,6 +795,7 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
.foundryvtt-reve-de-dragon.sheet :is(.large-editor,.editor,.medium-editor,.small-editor){
align-items: start;
}
.foundryvtt-reve-de-dragon.sheet :is(.large-editor,.editor,.medium-editor,.small-editor) .editor.prosemirror{
align-items: normal;
}