diff --git a/Black Void by Penny for a Tale/BlackVoid.css b/Black Void by Penny for a Tale/BlackVoid.css index fc16a623fc..04380c50b6 100644 --- a/Black Void by Penny for a Tale/BlackVoid.css +++ b/Black Void by Penny for a Tale/BlackVoid.css @@ -2043,6 +2043,13 @@ div.sheet-npc .sheet-collapse, div.sheet-npc .sheet-settings { grid-column: 1/-1 !important; } +div.sheet-npc .sheet-npc-toggle { + position: relative !important; + top: 20px; + right: 1px; + opacity: 0%; + z-index: 99 !important; +} /* REPEATING SECTIONS ============================= */ diff --git a/Black Void by Penny for a Tale/BlackVoid.html b/Black Void by Penny for a Tale/BlackVoid.html index 2452e33399..ef0bb21b1b 100644 --- a/Black Void by Penny for a Tale/BlackVoid.html +++ b/Black Void by Penny for a Tale/BlackVoid.html @@ -1055,6 +1055,10 @@
+
+ +
U
+

diff --git a/Black Void by Penny for a Tale/src/pug/pages/npc.pug b/Black Void by Penny for a Tale/src/pug/pages/npc.pug index dfe354375f..5752ead94b 100644 --- a/Black Void by Penny for a Tale/src/pug/pages/npc.pug +++ b/Black Void by Penny for a Tale/src/pug/pages/npc.pug @@ -1,9 +1,8 @@ .npc .grid.button - input(name="attr_sheet_type", class="sheet-npc-toggle", type="checkbox" value="npc") - .option + input.sheet-npc-toggle(name='attr_sheet_type' type='checkbox' value='npc') + .option span.pictos U - .grid.npc-display h1.npc-title @@ -26,26 +25,26 @@ each attribute in npcAttributes .sheet-npc-attribute(data-i18n=`npc ${attribute.name}`) - + if (attribute.type === "number") +numberInput(attribute.name) - + if (attribute.type === "text") +textInput(attribute.name) .grid.column.npc-weapons .grid.npc-weapons-header - + h2.text-left(data-i18n='weapons') each field in npcWeaponFields .text-center(data-i18n=field.name) - + .grid.npc-weapons - + .repeating-container - + +repeatingNPCAttacks('weapons') .grid.column.2autocolumn.npc-repeating diff --git a/Black Void by Penny for a Tale/src/scss/pages/_npc.scss b/Black Void by Penny for a Tale/src/scss/pages/_npc.scss index c5f07b91d1..cddf8ef4c9 100644 --- a/Black Void by Penny for a Tale/src/scss/pages/_npc.scss +++ b/Black Void by Penny for a Tale/src/scss/pages/_npc.scss @@ -454,12 +454,14 @@ div.sheet-npc { .sheet-settings { grid-column: 1 / -1 !important; } -} - -.sheet-npc-toggle{ - position: relative!important; - top: 20px; - right: 1px; - opacity: 0%; - z-index: 99!important; -} \ No newline at end of file + + .sheet-npc-toggle{ + position: relative!important; + top: 20px; + right: 1px; + opacity: 0%; + z-index: 99!important; + } + + +} \ No newline at end of file