[SalvageUnion] add bonus inventory slots from abilities

This commit is contained in:
Stexinator
2023-04-16 19:32:52 +02:00
parent 5a78c20f74
commit 73576da643
2 changed files with 61 additions and 6 deletions
+23 -6
View File
@@ -139,12 +139,6 @@ input[type="checkbox"] {
.show-active:checked ~ input.active {
}
.passiv-hide:checked ~ button.passiv-hide {
display:none;
}
.passiv-hide:not(:checked) ~ button.passiv-hide {
}
/**
sheet content
**/
@@ -217,12 +211,29 @@ h3 {
margin-top: 2%;
}
/**
Inventory
**/
.inventory {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.nojobtobig:checked ~ span.nojobtobig {
}
.nojobtobig:not(:checked) ~ span.nojobtobig {
display:none;
}
.beefcake:checked ~ span.beefcake {
}
.beefcake:not(:checked) ~ span.beefcake {
display:none;
}
.equipment {
display: inline-flex;
width: 100%;
@@ -236,6 +247,12 @@ h3 {
width: 22%;
}
.passiv-hide:checked ~ button.passiv-hide {
display:none;
}
.passiv-hide:not(:checked) ~ button.passiv-hide {
}
.ui-dialog .charsheet input {
height: 24px;
}
+38
View File
@@ -145,6 +145,36 @@
</summary>
<textarea name="attr_itemDetails6"></textarea>
</details>
<input class="nojobtobig" name="attr_nojobtobig" type="checkbox" hidden/>
<span class="nojobtobig">
<details>
<summary>
<input type="text" name="attr_nojobtobig2">
</summary>
<textarea name="attr_nojobtobigDetails2"></textarea>
</details>
<details>
<summary>
<input type="text" name="attr_nojobtobig1">
</summary>
<textarea name="attr_nojobtobigDetails1"></textarea>
</details>
</span>
<input class="beefcake" name="attr_beefcake" type="checkbox" hidden/>
<span class="beefcake">
<details>
<summary>
<input type="text" name="attr_beefcake1">
</summary>
<textarea name="attr_beefackeDetails1"></textarea>
</details>
<details>
<summary>
<input type="text" name="attr_beefcake2">
</summary>
<textarea name="attr_beefackeDetails2"></textarea>
</details>
</span>
</div>
<h3>Equipment</h3>
@@ -721,6 +751,14 @@
<span>Is Pilot</span>
<input id="isPilot" name="attr_is-pilot" type="checkbox"/>
</label>
<label for="NoJobTooBig" class="settings-checkbox">
<span>No Job Too Big</span>
<input id="NoJobTooBig" name="attr_nojobtobig" type="checkbox"/>
</label>
<label for="Beefcake" class="settings-checkbox">
<span>Beefcake</span>
<input id="Beefcake" name="attr_beefcake" type="checkbox"/>
</label>
<details>
<summary>Importer</summary>
<textarea name="attr_importerText" class="textarea" placeholder="To use the importer copy the text from the rulebook and paste it into this window. Names have to be on one line."></textarea>