forked from GitHub-Mirrors/foundry-sw5e
Add powercasting dropdown
This commit is contained in:
parent
d716d514df
commit
08700670f9
3 changed files with 21 additions and 5 deletions
|
@ -695,6 +695,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.powercasting {
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
|
|
||||||
.languages {
|
.languages {
|
||||||
grid-column-end: span 1;
|
grid-column-end: span 1;
|
||||||
label {
|
label {
|
||||||
|
@ -982,7 +986,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .panel {
|
& > .panel {
|
||||||
grid-template-rows: 56px 32px 24px auto;
|
grid-template-rows: 64px 32px 24px auto;
|
||||||
}
|
}
|
||||||
h3.power-dc {
|
h3.power-dc {
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
|
@ -1083,9 +1087,6 @@
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// section.traits {
|
|
||||||
// display:block;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tab.force-powerbook,
|
.tab.force-powerbook,
|
||||||
|
|
|
@ -1362,6 +1362,9 @@ input[type="reset"]:disabled {
|
||||||
.sw5e.sheet.actor .swalt-sheet .tab.attributes .traits-resources section.traits .trait-selector i.fas:hover {
|
.sw5e.sheet.actor .swalt-sheet .tab.attributes .traits-resources section.traits .trait-selector i.fas:hover {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
.sw5e.sheet.actor .swalt-sheet .tab.attributes .traits-resources section.traits .powercasting {
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
.sw5e.sheet.actor .swalt-sheet .tab.attributes .traits-resources section.traits .languages {
|
.sw5e.sheet.actor .swalt-sheet .tab.attributes .traits-resources section.traits .languages {
|
||||||
grid-column-end: span 1;
|
grid-column-end: span 1;
|
||||||
}
|
}
|
||||||
|
@ -1610,7 +1613,7 @@ input[type="reset"]:disabled {
|
||||||
}
|
}
|
||||||
.sw5e.sheet.actor .swalt-sheet .tab.force-powerbook > .panel,
|
.sw5e.sheet.actor .swalt-sheet .tab.force-powerbook > .panel,
|
||||||
.sw5e.sheet.actor .swalt-sheet .tab.tech-powerbook > .panel {
|
.sw5e.sheet.actor .swalt-sheet .tab.tech-powerbook > .panel {
|
||||||
grid-template-rows: 56px 32px 24px auto;
|
grid-template-rows: 64px 32px 24px auto;
|
||||||
}
|
}
|
||||||
.sw5e.sheet.actor .swalt-sheet .tab.force-powerbook h3.power-dc,
|
.sw5e.sheet.actor .swalt-sheet .tab.force-powerbook h3.power-dc,
|
||||||
.sw5e.sheet.actor .swalt-sheet .tab.tech-powerbook h3.power-dc {
|
.sw5e.sheet.actor .swalt-sheet .tab.tech-powerbook h3.power-dc {
|
||||||
|
|
|
@ -69,6 +69,18 @@
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
{{#if isNPC}}
|
||||||
|
<label>
|
||||||
|
{{localize "SW5E.Powercasting"}}
|
||||||
|
<select class="powercasting" name="data.attributes.powercasting">
|
||||||
|
{{#select data.attributes.powercasting}}
|
||||||
|
{{#each config.powerMaxLevel as |id class|}}
|
||||||
|
<option value="{{class}}">{{class}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
</label>
|
||||||
|
{{/if}}
|
||||||
<label class="{{#unless data.traits.senses}}inactive{{/unless}}">
|
<label class="{{#unless data.traits.senses}}inactive{{/unless}}">
|
||||||
{{#unless isVehicle}}
|
{{#unless isVehicle}}
|
||||||
<label>{{localize "SW5E.Senses"}}</label>
|
<label>{{localize "SW5E.Senses"}}</label>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue