RC-29 | Abilities | Editing

This commit is contained in:
Oliver-Akins 2024-12-24 21:07:50 -07:00
parent 07ad74822f
commit 9f0fea1467
5 changed files with 22 additions and 6 deletions

View file

@ -23,7 +23,11 @@
{{!-- * Fate & Advancement --}}
<div class="fate">
<label for="{{meta.idp}}-fate-path" class="col-header">Fate</label>
<select class="row-alt" id="{{meta.idp}}-fate-path" name="system.fate">
<select
class="row-alt"
id="{{meta.idp}}-fate-path"
name="system.fate"
>
{{rc-options fate.selected fate.options localize=true}}
</select>
</div>
@ -40,7 +44,9 @@
<input
type="number"
id="{{@root.meta.idp}}-{{ability.id}}-input"
class="value"
value="{{ability.value}}"
name="system.ability.{{ability.id}}"
>
{{else}}
<span>{{ability.value}}</span>

View file

@ -85,8 +85,10 @@
border-radius: 50%;
font-size: 1.5rem;
> input {
width: 75%;
> .value {
background: none;
width: 70%;
text-align: center;
}
}
}

View file

@ -18,8 +18,10 @@
font-family: inherit;
font-size: inherit;
position: relative;
background: none;
&[type="text"] {
&[type="text"],
&[type="number"] {
border-bottom: 2px dashed purple;
}
}