diff --git a/less/character-sheet.less b/less/character-sheet.less index fa707f7..de0adfc 100644 --- a/less/character-sheet.less +++ b/less/character-sheet.less @@ -533,4 +533,15 @@ border-radius: 50%; background: black; } + + .combatBox { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-items: space-evenly; + position: absolute; + z-index: 100; + margin-top: 25px; + margin-left: 50px; + } } diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 9b78165..85ce977 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -8,9 +8,9 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi static DEFAULT_OPTIONS = { tag: "form", classes: ["pokemon", "sheet", "characterSheet"], - actions: { - - }, + tabs: [ + {navSelector: ".tabs", contentSelector: ".content", initial: "tab1"} + ], form: { submitOnChange: true, closeOnSubmit: false @@ -83,7 +83,5 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: "tab1"}); tabs.bind(this.element); - const tabs2 = new foundry.applications.ux.Tabs({navSelector: ".tabs2", contentSelector: ".content2", initial: "tab2-1"}); - tabs2.bind(this.element); } } \ No newline at end of file diff --git a/pokemon.css b/pokemon.css index d7e0639..836a7d5 100644 --- a/pokemon.css +++ b/pokemon.css @@ -451,3 +451,13 @@ border-radius: 50%; background: black; } +.pokemon.sheet.characterSheet .combatBox { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-items: space-evenly; + position: absolute; + z-index: 100; + margin-top: 25px; + margin-left: 50px; +} diff --git a/system.json b/system.json index c920057..a66472e 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.0.47", + "version": "0.0.48", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index e90a9a6..d6325d2 100644 Binary files a/system.zip and b/system.zip differ diff --git a/templates/partials/character-sheet-combat.hbs b/templates/partials/character-sheet-combat.hbs index 493e6ce..dee20c6 100644 --- a/templates/partials/character-sheet-combat.hbs +++ b/templates/partials/character-sheet-combat.hbs @@ -1,18 +1,18 @@
- +
- +
- +
- +
\ No newline at end of file