Compare commits

...

2 Commits

Author SHA1 Message Date
e0df1f1ff5 Fix CSS pour confrontation et CSS pour DiceTray 2023-10-26 09:25:07 +02:00
2c92dd6ef9 Fix notes + CSS 2023-10-25 00:00:30 +02:00
35 changed files with 136 additions and 70 deletions

View File

@ -12,7 +12,7 @@ export class MaleficesActorSheet extends ActorSheet {
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
classes: ["fvtt-malefices", "sheet", "actor"],
classes: ["fvtt-malefices", "sheet", "actor", "malefices-actor-sheet"],
template: "systems/fvtt-malefices/templates/actors/actor-sheet.hbs",
width: 640,
height:680,
@ -44,8 +44,8 @@ export class MaleficesActorSheet extends ActorSheet {
phyMalus: this.actor.getPhysiqueMalus(),
elementsbio: this.actor.getElementsBio(),
sorts: this.actor.getSorts(),
description: await TextEditor.enrichHTML(this.object.system.description, { async: true }),
notes: await TextEditor.enrichHTML(this.object.system.notes, { async: true }),
description: await TextEditor.enrichHTML(this.object.system.biodata.description, { async: true }),
notes: await TextEditor.enrichHTML(this.object.system.biodata.notes, { async: true }),
equipementlibre: await TextEditor.enrichHTML(this.object.system.equipementlibre, { async: true }),
options: this.options,
owner: this.document.isOwner,
@ -54,7 +54,7 @@ export class MaleficesActorSheet extends ActorSheet {
}
this.formData = formData;
console.log("PC : ", formData, this.object);
console.log("PC : ", formData, this.object );
return formData;
}

View File

@ -19,20 +19,6 @@ export class MaleficesItemSheet extends ItemSheet {
});
}
/* -------------------------------------------- */
_getHeaderButtons() {
let buttons = super._getHeaderButtons();
// Add "Post to chat" button
// We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry!
buttons.unshift(
{
class: "post",
icon: "fas fa-comment",
onclick: ev => { }
})
return buttons
}
/* -------------------------------------------- */
/** @override */
setPosition(options = {}) {

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000014

View File

View File

@ -0,0 +1,8 @@
2023/10/26-09:14:30.238994 7f5603fff6c0 Recovering log #12
2023/10/26-09:14:30.250498 7f5603fff6c0 Delete type=3 #10
2023/10/26-09:14:30.250614 7f5603fff6c0 Delete type=0 #12
2023/10/26-09:23:17.065670 7f56037fe6c0 Level-0 table #17: started
2023/10/26-09:23:17.065742 7f56037fe6c0 Level-0 table #17: 0 bytes OK
2023/10/26-09:23:17.072462 7f56037fe6c0 Delete type=0 #15
2023/10/26-09:23:17.079476 7f56037fe6c0 Manual compaction at level-0 from '!items!2HWSdXDSFei9KC6y' @ 72057594037927935 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at (end)
2023/10/26-09:23:17.079561 7f56037fe6c0 Manual compaction at level-1 from '!items!2HWSdXDSFei9KC6y' @ 72057594037927935 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/26-09:13:41.637133 7f5603fff6c0 Recovering log #8
2023/10/26-09:13:41.648494 7f5603fff6c0 Delete type=3 #6
2023/10/26-09:13:41.648626 7f5603fff6c0 Delete type=0 #8
2023/10/26-09:13:55.694567 7f56037fe6c0 Level-0 table #13: started
2023/10/26-09:13:55.694619 7f56037fe6c0 Level-0 table #13: 0 bytes OK
2023/10/26-09:13:55.701338 7f56037fe6c0 Delete type=0 #11
2023/10/26-09:13:55.715996 7f56037fe6c0 Manual compaction at level-0 from '!items!2HWSdXDSFei9KC6y' @ 72057594037927935 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at (end)
2023/10/26-09:13:55.716063 7f56037fe6c0 Manual compaction at level-1 from '!items!2HWSdXDSFei9KC6y' @ 72057594037927935 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000014

View File

View File

@ -0,0 +1,8 @@
2023/10/26-09:14:30.225660 7f56117fa6c0 Recovering log #12
2023/10/26-09:14:30.236009 7f56117fa6c0 Delete type=3 #10
2023/10/26-09:14:30.236095 7f56117fa6c0 Delete type=0 #12
2023/10/26-09:23:17.051895 7f56037fe6c0 Level-0 table #17: started
2023/10/26-09:23:17.051934 7f56037fe6c0 Level-0 table #17: 0 bytes OK
2023/10/26-09:23:17.058810 7f56037fe6c0 Delete type=0 #15
2023/10/26-09:23:17.072664 7f56037fe6c0 Manual compaction at level-0 from '!items!5J6qIaWdnhEGMAXJ' @ 72057594037927935 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at (end)
2023/10/26-09:23:17.079499 7f56037fe6c0 Manual compaction at level-1 from '!items!5J6qIaWdnhEGMAXJ' @ 72057594037927935 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/26-09:13:41.623945 7f5610ff96c0 Recovering log #8
2023/10/26-09:13:41.634738 7f5610ff96c0 Delete type=3 #6
2023/10/26-09:13:41.634829 7f5610ff96c0 Delete type=0 #8
2023/10/26-09:13:55.687144 7f56037fe6c0 Level-0 table #13: started
2023/10/26-09:13:55.687180 7f56037fe6c0 Level-0 table #13: 0 bytes OK
2023/10/26-09:13:55.694295 7f56037fe6c0 Delete type=0 #11
2023/10/26-09:13:55.701584 7f56037fe6c0 Manual compaction at level-0 from '!items!5J6qIaWdnhEGMAXJ' @ 72057594037927935 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at (end)
2023/10/26-09:13:55.716019 7f56037fe6c0 Manual compaction at level-1 from '!items!5J6qIaWdnhEGMAXJ' @ 72057594037927935 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000014

View File

View File

@ -0,0 +1,8 @@
2023/10/26-09:14:30.253493 7f5610ff96c0 Recovering log #12
2023/10/26-09:14:30.264581 7f5610ff96c0 Delete type=3 #10
2023/10/26-09:14:30.264682 7f5610ff96c0 Delete type=0 #12
2023/10/26-09:23:17.058988 7f56037fe6c0 Level-0 table #17: started
2023/10/26-09:23:17.059024 7f56037fe6c0 Level-0 table #17: 0 bytes OK
2023/10/26-09:23:17.065403 7f56037fe6c0 Delete type=0 #15
2023/10/26-09:23:17.079441 7f56037fe6c0 Manual compaction at level-0 from '!macros!ESV4er8Hy6liMOC3' @ 72057594037927935 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at (end)
2023/10/26-09:23:17.079539 7f56037fe6c0 Manual compaction at level-1 from '!macros!ESV4er8Hy6liMOC3' @ 72057594037927935 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/26-09:13:41.652680 7f5611ffb6c0 Recovering log #8
2023/10/26-09:13:41.662766 7f5611ffb6c0 Delete type=3 #6
2023/10/26-09:13:41.662869 7f5611ffb6c0 Delete type=0 #8
2023/10/26-09:13:55.701609 7f56037fe6c0 Level-0 table #13: started
2023/10/26-09:13:55.701657 7f56037fe6c0 Level-0 table #13: 0 bytes OK
2023/10/26-09:13:55.708471 7f56037fe6c0 Delete type=0 #11
2023/10/26-09:13:55.716035 7f56037fe6c0 Manual compaction at level-0 from '!macros!ESV4er8Hy6liMOC3' @ 72057594037927935 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at (end)
2023/10/26-09:13:55.716078 7f56037fe6c0 Manual compaction at level-1 from '!macros!ESV4er8Hy6liMOC3' @ 72057594037927935 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000014

View File

View File

@ -0,0 +1,8 @@
2023/10/26-09:14:30.211232 7f5611ffb6c0 Recovering log #12
2023/10/26-09:14:30.222971 7f5611ffb6c0 Delete type=3 #10
2023/10/26-09:14:30.223076 7f5611ffb6c0 Delete type=0 #12
2023/10/26-09:23:17.024333 7f56037fe6c0 Level-0 table #17: started
2023/10/26-09:23:17.024403 7f56037fe6c0 Level-0 table #17: 0 bytes OK
2023/10/26-09:23:17.030633 7f56037fe6c0 Delete type=0 #15
2023/10/26-09:23:17.041759 7f56037fe6c0 Manual compaction at level-0 from '!items!1DRKmbzGzbCRCswc' @ 72057594037927935 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at (end)
2023/10/26-09:23:17.051874 7f56037fe6c0 Manual compaction at level-1 from '!items!1DRKmbzGzbCRCswc' @ 72057594037927935 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/26-09:13:41.610590 7f56117fa6c0 Recovering log #8
2023/10/26-09:13:41.620893 7f56117fa6c0 Delete type=3 #6
2023/10/26-09:13:41.620978 7f56117fa6c0 Delete type=0 #8
2023/10/26-09:13:55.669182 7f56037fe6c0 Level-0 table #13: started
2023/10/26-09:13:55.669226 7f56037fe6c0 Level-0 table #13: 0 bytes OK
2023/10/26-09:13:55.676595 7f56037fe6c0 Delete type=0 #11
2023/10/26-09:13:55.687107 7f56037fe6c0 Manual compaction at level-0 from '!items!1DRKmbzGzbCRCswc' @ 72057594037927935 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at (end)
2023/10/26-09:13:55.694543 7f56037fe6c0 Manual compaction at level-1 from '!items!1DRKmbzGzbCRCswc' @ 72057594037927935 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1,64 +1,64 @@
/* ==================== (A) Fonts ==================== */
@font-face {
font-family: "Rivanna";
src: url('../fonts/rivanna.ttf') format("truetype");
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-size: 1.3rem;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
/* ==================== (A) Fonts ==================== */
@font-face {
font-family: "Rivanna";
src: url('../fonts/rivanna.ttf') format("truetype");
}
--major-button-font-size: 1.05rem;
--major-button-font-weight: normal;
--major-button-color: #dadada;
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-size: 1.3rem;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
--tab-header-font-size: 1.0rem;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--major-button-font-size: 1.05rem;
--major-button-font-weight: normal;
--major-button-color: #dadada;
--actor-input-font-size: 0.8rem;
--actor-input-font-weight: 500;
--actor-input-color: black;
--tab-header-font-size: 1.0rem;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--actor-label-font-size: 0.8rem;
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
--actor-input-font-size: 0.8rem;
--actor-input-font-weight: 500;
--actor-input-color: black;
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
--debug-background-color-red: #ff000054;
--debug-background-color-blue: #1d00ff54;
--debug-background-color-green: #54ff0054;
--actor-label-font-size: 0.8rem;
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
--debug-box-shadow-red: inset 0 0 2px red;
--debug-box-shadow-blue: inset 0 0 2px blue;
--debug-box-shadow-green: inset 0 0 2px green;
}
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
--debug-background-color-red: #ff000054;
--debug-background-color-blue: #1d00ff54;
--debug-background-color-green: #54ff0054;
--debug-box-shadow-red: inset 0 0 2px red;
--debug-box-shadow-blue: inset 0 0 2px blue;
--debug-box-shadow-green: inset 0 0 2px green;
}
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
/* Global styles & Font */
.window-app {
text-align: justify;
font-size: 16px;
letter-spacing: 1px;
.fvtt-malefices .window-app {
text-align: justify;
font-size: 16px;
letter-spacing: 1px;
}
/* Fonts */
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {
font-size: 1.0rem;
font-size: 1.0rem;
} /* For title, sidebar character and scene */
.sheet nav.sheet-tabs {
font-size: 0.8rem;
.fvtt-malefices .sheet nav.sheet-tabs {
font-size: 0.8rem;
} /* For nav and title */
.window-app input, .fvtt-malefices .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
font-size: 0.8rem;
font-size: 0.8rem;
}
.window-header{
background: rgba(0,0,0,0.75);
}
background: rgba(0,0,0,0.75);
}
.window-app.sheet .window-content {
margin: 0;
@ -401,7 +401,7 @@ li.folder > .folder-header h3 {
/* ======================================== */
/* Sheet */
.window-app.sheet .window-content .sheet-header{
.fvtt-malefices .window-app.sheet .window-content .sheet-header{
color: rgba(19, 18, 18, 0.95);
background: url("../images/ui/background_01_clear.webp");
/*background: #494e6b;*/
@ -447,7 +447,7 @@ select {
margin-left: 2px;
}
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
.fvtt-malefices .window-app .window-content, .fvtt-malefices .window-app.sheet .window-content .sheet-body{
font-size: 0.8rem;
/*background: url("../images/ui/pc_sheet_bg.webp") repeat left top;*/
background: url("../images/ui/background_01_clear.webp");
@ -465,7 +465,7 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
padding: 0;
}
.sheet nav.sheet-tabs {
.malefices-actor-sheet nav.sheet-tabs {
font-size: 1.2rem;
font-weight: bold;
height: 3rem;
@ -481,7 +481,16 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
color:beige;
}
/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/
/* Dice tray specific overrides */
.dice-tray button svg * {
fill: #6d5923 !important;
}
.dice-tray input[type="text"] {
color: #6d5923 !important;
}
.dice-tray button {
color: #6d5923 !important;
}
nav.sheet-tabs .item {
position: relative;
@ -495,7 +504,7 @@ nav.sheet-tabs .item:after {
right: 0;
height: 2rem;
width: 1px;
border-right: 1px dashed rgba(52, 52, 52, 0.25);
/*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/
}
.sheet .tab[data-tab] {
@ -803,6 +812,9 @@ ul, li {
color: rgba(19, 18, 18, 0.95);
}
#sidebar .scene {
color: rgba(237, 240, 199, 0.95);
}
/* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/
#sidebar.collapsed {

View File

@ -73,7 +73,7 @@
],
"title": "Maléfices, le Jeu de Rôle",
"url": "https://www.uberwald.me/gitea/public/fvtt-malefices",
"version": "11.0.0",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v11.0.0.zip",
"version": "11.0.2",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v11.0.2.zip",
"background": "systems/fvtt-malefices/images/ui/malefice_welcome_page.webp"
}

View File

@ -25,6 +25,7 @@
"religion": "",
"fantastique": "",
"description": "",
"notes": "",
"gmnotes": ""
}
},

View File

@ -396,8 +396,7 @@
<h3><label class="items-title-text">Background</label></h3>
</span>
<div class="form-group editor">
{{editor description target="system.biodata.description" button=true owner=owner
editable=editable}}
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
</div>
<hr>
<span class="item-name-label-header items-title-bg">

View File

@ -28,7 +28,7 @@
{{#if isSuccess}}
<li><label class="chat-result-text chat-result-success ">Réussite !</label> Votre {{attr.label}} augmente de {{gainAttr}} points.</li>
{{else}}
<li><label class="chat-result-text chat-result-success ">Echec !</label> Votre {{attr.label}} diminue de {{gainAttr}} points.</li>
<li><label class="chat-result-text chat-result-failure ">Echec !</label> Votre {{attr.label}} diminue de {{gainAttr}} points.</li>
{{/if}}
</ul>