diff --git a/assets/images/ui/barre_lateral.webp b/assets/images/ui/barre_lateral.webp index 395cc50..47fe9ae 100644 Binary files a/assets/images/ui/barre_lateral.webp and b/assets/images/ui/barre_lateral.webp differ diff --git a/css/style.css b/css/style.css index 95a97a3..50bd2e2 100644 --- a/css/style.css +++ b/css/style.css @@ -192,6 +192,11 @@ align-items: flex-end; } +.gap-xs { gap: 2px; } +.gap-sm { gap: 4px; } +.gap-md { gap: 8px; } +.gap-lg { gap: 16px; } + .flexshrink { -webkit-box-flex: 0; -ms-flex: 0; diff --git a/css/totem.css b/css/totem.css index c38f4e3..8146015 100644 --- a/css/totem.css +++ b/css/totem.css @@ -64,6 +64,11 @@ ul.unstyled li { width:100%; } +.mx-auto { + margin-left: auto; + margin-right:auto; +} + /* ----------------------------------------- */ /* Sheet Structure */ /* ----------------------------------------- */ @@ -132,6 +137,7 @@ ul.unstyled li { font-family: "DistressBlack", sans-serif; font-size: 2em; text-transform: uppercase; + margin-top:0.875rem; } .system-totem .char-header { @@ -156,7 +162,7 @@ ul.unstyled li { display: flex; flex-direction: column; flex-wrap: nowrap; - max-height: 720px; + max-height: 688px; padding-bottom:1rem; } .system-totem .sheet.actor form { @@ -230,8 +236,8 @@ ul.unstyled li { /* Actor Sheet */ /* ---------------------------------------- */ .system-totem .sheet.actor { - min-width: 650px; - min-height: 450px; + min-width: 690px; + min-height: 800px; } .system-totem .sheet.actor .sidebar { width: 230px; @@ -307,13 +313,18 @@ ul.unstyled li { background: url(../assets/images/ui/barre_haut.webp) no-repeat right top; width:100%; position: relative; - padding-right:2rem; + padding-right:4rem; } .actor.sheet nav.sheet-navigation .item { - height: 24px; + line-height: 54px; width: 24px; + display: inline-block; border-radius: 50%; z-index: 1; transition: all 0.1s ease-out; +} + +.system-totem .sheet.actor form nav.sheet-navigation.sheet-tabs { + height:54px; } \ No newline at end of file diff --git a/lang/en.json b/lang/en.json index 59e0efc..bb2dcca 100644 --- a/lang/en.json +++ b/lang/en.json @@ -22,7 +22,7 @@ "prohibits": "Interdits", "objectives": "Objectifs", "relations": "Relations", - "biography": "Histoire" + "notes": "Notes" }, "TOTEM": { "stats": "Statistiques", diff --git a/module/sheets/actor-sheet.mjs b/module/sheets/actor-sheet.mjs index a743889..82cb58d 100644 --- a/module/sheets/actor-sheet.mjs +++ b/module/sheets/actor-sheet.mjs @@ -11,8 +11,9 @@ export class TotemActorSheet extends ActorSheet { return mergeObject(super.defaultOptions, { classes: ["totem", "sheet", "actor"], template: "systems/totem/templates/actor/actor-sheet.html", + height: 820, width: 690, - height: 800, + resizable: false, tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "features" }] }); } diff --git a/module/system/handlebars-manager.mjs b/module/system/handlebars-manager.mjs index db0781e..2f52e6e 100644 --- a/module/system/handlebars-manager.mjs +++ b/module/system/handlebars-manager.mjs @@ -18,6 +18,7 @@ "systems/totem/templates/actor/parts/actor-items.html", "systems/totem/templates/actor/parts/actor-weapons.hbs", "systems/totem/templates/actor/parts/actor-defenses.hbs", + "systems/totem/templates/actor/parts/actor-stories.hbs", "systems/totem/templates/actor/parts/actor-effects.html", // additional templates diff --git a/system.json b/system.json index 20d6338..ce926ff 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "totem", "title": "Totem", "description": "The Totem system for FoundryVTT!", - "version": "0.0.10", + "version": "0.0.11", "compatibility": { "minimum": 10, "verified": "10.287", diff --git a/templates/actor/actor-character-sheet.html b/templates/actor/actor-character-sheet.html index 57979ae..517eb41 100644 --- a/templates/actor/actor-character-sheet.html +++ b/templates/actor/actor-character-sheet.html @@ -1,7 +1,7 @@