fix: Ensures non-repeating selects have the right background color

- Adds all selects to the CSS rule defining the background color
- Updates custom ability repeating field to display Special Ability instead of Custom as per the title of the repeating fields
This commit is contained in:
Ian Merryweather
2022-09-06 15:52:11 +01:00
parent 9213cb946f
commit c190c2b82e
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -755,7 +755,8 @@ select {
.repitem [type="number"],
.repitem [type="text"],
.repitem select {
.repitem select,
select {
background-color: var(--textarea-background);
}
+2 -2
View File
@@ -760,10 +760,10 @@
<input class="sheet-center" name="attr_customabilityname" placeholder="Name" type="text">
</div>
<div class="sheet-col-3-4">
<textarea class="sheet-center sheet-resizev sheet-small-textarea" name="attr_customabilitydescription" placeholder="Describe your custom ability here."></textarea>
<textarea class="sheet-center sheet-resizev sheet-small-textarea" name="attr_customabilitydescription" placeholder="Describe your ability here."></textarea>
</div>
<div class="sheet-col-1-16 sheet-center">
<button type="roll" class="sheet-roll" name="roll_displaycustomability" value="&{template:5eDefault} {{ability=1}} {{title=@{customabilityname}}} {{subheader=@{character_name} Custom Ability}} {{freetext=@{customabilitydescription}}}"></button>
<button type="roll" class="sheet-roll" name="roll_displaycustomability" value="&{template:5eDefault} {{ability=1}} {{title=@{customabilityname}}} {{subheader=@{character_name} Special Ability}} {{freetext=@{customabilitydescription}}}"></button>
</div>
</div>
</fieldset>