✨
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
10
pokemon.css
10
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;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.0.47",
|
||||
"version": "0.0.48",
|
||||
"id": "pokemon",
|
||||
"title": "Pokémon TTRPG",
|
||||
"description": "A Pokémon TTRPG",
|
||||
|
||||
BIN
system.zip
BIN
system.zip
Binary file not shown.
@@ -1,18 +1,18 @@
|
||||
<div class="combatBox">
|
||||
<div class="row">
|
||||
<input class="inputText moveName" type="text" name="system.moves.move1.name" value="{{system.moves.move1.name}}">
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move1.name">{{system.moves.move1.description}}</textarea>
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move1.description">{{system.moves.move1.description}}</textarea>
|
||||
</div>
|
||||
<div class="row">
|
||||
<input class="inputText moveName" type="text" name="system.moves.move2.name" value="{{system.moves.move2.name}}">
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move2.name">{{system.moves.move2.description}}</textarea>
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move2.description">{{system.moves.move2.description}}</textarea>
|
||||
</div>
|
||||
<div class="row">
|
||||
<input class="inputText moveName" type="text" name="system.moves.move3.name" value="{{system.moves.move3.name}}">
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move3.name">{{system.moves.move3.description}}</textarea>
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move3.description">{{system.moves.move3.description}}</textarea>
|
||||
</div>
|
||||
<div class="row">
|
||||
<input class="inputText moveName" type="text" name="system.moves.move4.name" value="{{system.moves.move4.name}}">
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move4.name">{{system.moves.move4.description}}</textarea>
|
||||
<textarea class="inputText moveDescription" type="text" name="system.moves.move4.description">{{system.moves.move4.description}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user