Enhance styling
This commit is contained in:
parent
041568f34e
commit
9ffdd4341b
@ -606,6 +606,9 @@ ul, li {
|
|||||||
flex-grow: 2;
|
flex-grow: 2;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
.status-header-label {
|
||||||
|
margin-left: 2px;
|
||||||
|
}
|
||||||
.roll-dialog-label {
|
.roll-dialog-label {
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
min-width: 96px;
|
min-width: 96px;
|
||||||
@ -1317,7 +1320,7 @@ Focus FOC: #ff0084
|
|||||||
max-width: 24px;
|
max-width: 24px;
|
||||||
}
|
}
|
||||||
.status-col-name {
|
.status-col-name {
|
||||||
max-width: 62px;
|
max-width: 72px;
|
||||||
}
|
}
|
||||||
.status-block {
|
.status-block {
|
||||||
max-width: 216px;
|
max-width: 216px;
|
||||||
|
@ -183,6 +183,6 @@
|
|||||||
"templateVersion": 86,
|
"templateVersion": 86,
|
||||||
"title": "Pegasus RPG",
|
"title": "Pegasus RPG",
|
||||||
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
||||||
"version": "0.5.3",
|
"version": "0.5.4",
|
||||||
"background" : "./images/ui/pegasus_welcome_page.webp"
|
"background" : "./images/ui/pegasus_welcome_page.webp"
|
||||||
}
|
}
|
||||||
|
@ -284,8 +284,8 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li class="item flexrow list-item" data-key="nrg">
|
<li class="item flexrow list-item" data-key="nrg">
|
||||||
<span class="stat-label flexrow" name="nrg"><h4>{{data.nrg.label}}</h4> </span>
|
<span class="stat-label flexrow" name="nrg"><h4>{{data.nrg.label}}</h4> </span>
|
||||||
<span class="small-label padd-right packed-left">Act</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
<span class="small-label padd-right packed-left">Activated</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
||||||
<span class="small-label padd-right packed-left"> Cur</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
|
<span class="small-label padd-right packed-left"> Current</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
|
||||||
<span class="small-label padd-right packed-left"> Mod</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number"/>
|
<span class="small-label padd-right packed-left"> Mod</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number"/>
|
||||||
<span class="small-label padd-right packed-left"> Max</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
|
<span class="small-label padd-right packed-left"> Max</span><input type="text" class="padd-right update-field" data-field-name="data.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
|
||||||
<span class="small-label padd-right packed-left"> / {{data.nrg.absolutemax}}</span>
|
<span class="small-label padd-right packed-left"> / {{data.nrg.absolutemax}}</span>
|
||||||
@ -561,8 +561,8 @@
|
|||||||
<input type="text" class="" name="data.biodata.preferredhand" value="{{data.biodata.preferredhand}}" data-dtype="String" />
|
<input type="text" class="" name="data.biodata.preferredhand" value="{{data.biodata.preferredhand}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow item" data-item-id="{{race._id}}">
|
<li class="flexrow item" data-item-id="{{race._id}}">
|
||||||
<a class="item-edit"><img class="stat-icon" src="{{race.img}}"></a>
|
|
||||||
<label class="generic-label">Race</label>
|
<label class="generic-label">Race</label>
|
||||||
|
<a class="item-edit"><img class="stat-icon" src="{{race.img}}"></a>
|
||||||
<input type="text" class="" name="data.biodata.racename" value="{{race.name}}" disabled data-dtype="String" />
|
<input type="text" class="" name="data.biodata.racename" value="{{race.name}}" disabled data-dtype="String" />
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<ul class="status-block">
|
<ul class="status-block">
|
||||||
<li class="item flexrow list-item">
|
<li class="item flexrow">
|
||||||
<span class="status-small-label status-col-name"><strong>Status</strong></span>
|
<span class="stat-label status-small-label status-col-name"><label class="status-small-label"><strong>Status</strong></label></span>
|
||||||
<span class="status-small-label no-grow">Cur</span>
|
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Cur</label></span>
|
||||||
<span class="status-small-label no-grow">Max</span>
|
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Max</label></span>
|
||||||
<span class="status-small-label no-grow">Mod</span>
|
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Mod</label></span>
|
||||||
</li>
|
</li>
|
||||||
{{#each data.secondary as |stat2 key|}}
|
{{#each data.secondary as |stat2 key|}}
|
||||||
<li class="item flexrow list-item" data-attr-key="{{key}}">
|
<li class="item flexrow " data-attr-key="{{key}}">
|
||||||
<span class="stat-label flexrow status-col-name" name="{{key}}">
|
<span class="stat-label flexrow status-col-name" name="{{key}}">
|
||||||
<label class="status-small-label"><strong>{{stat2.label}}</strong><br>
|
<label class="status-small-label"><strong>{{stat2.label}}</strong><br>
|
||||||
{{#if (eq key "health")}}
|
{{#if (eq key "health")}}
|
||||||
@ -20,25 +20,30 @@
|
|||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.max" value="{{stat2.max}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.max" value="{{stat2.max}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.bonus" value="{{stat2.bonus}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.bonus" value="{{stat2.bonus}}" data-dtype="Number"/>
|
||||||
{{#if (eq key "socialhealth")}}
|
|
||||||
<span class="stat-label flexrow status-col-name" name="activated-nrg">
|
|
||||||
<label class="status-small-label"><strong>Activated NRG</strong><br>
|
|
||||||
</span>
|
|
||||||
{{/if}}
|
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<li class="item flexrow list-item" data-key="nrg">
|
<li class="item flexrow " data-key="nrg">
|
||||||
<span class="stat-label flexrow status-col-name" name="nrg">
|
<span class="stat-label flexrow status-col-name" name="nrg">
|
||||||
<label class="status-small-label"><strong>{{data.nrg.label}}</strong></label>
|
<label class="status-small-label"><strong>{{data.nrg.label}}</strong></label>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
<li class="item flexrow " data-key="nrg">
|
||||||
|
<span class="stat-label flexrow status-col-name" name="activated-nrg">
|
||||||
|
<label class="status-small-label"><strong>Activated NRG</strong><br>
|
||||||
|
</span>
|
||||||
<span class="stat-label flexrow status-col-name" name="activated-nrg">
|
<span class="stat-label flexrow status-col-name" name="activated-nrg">
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
||||||
</span>
|
</span>
|
||||||
|
<span class="stat-label flexrow status-col-name" name="momentum">
|
||||||
|
<label class="status-small-label flexrow"><strong>
|
||||||
|
<a class="stat-icon lock-unlock-sheet">{{#if editScore}}Lock{{else}}Unlock{{/if}}</a>
|
||||||
|
</strong></label>
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow list-item" data-key="momentum">
|
<li class="item flexrow " data-key="momentum">
|
||||||
<span class="stat-label flexrow status-col-name" name="momentum">
|
<span class="stat-label flexrow status-col-name" name="momentum">
|
||||||
<label class="status-small-label"><strong>Momentum</strong></label>
|
<label class="status-small-label"><strong>Momentum</strong></label>
|
||||||
</span>
|
</span>
|
||||||
@ -49,13 +54,6 @@
|
|||||||
<a class="momentum-minus plus-minus-button">-</a>
|
<a class="momentum-minus plus-minus-button">-</a>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow list-item" data-key="momentum">
|
|
||||||
<span class="stat-label flexrow status-col-name" name="momentum">
|
|
||||||
<label class="status-small-label flexrow"><strong>
|
|
||||||
<a class="stat-icon lock-unlock-sheet">{{#if editScore}}Lock{{else}}Unlock{{/if}}</a>
|
|
||||||
</strong></label>
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
<!--<li class="item flexrow list-item" data-key="lock-unlock">
|
<!--<li class="item flexrow list-item" data-key="lock-unlock">
|
||||||
<span class="stat-label flexrow status-col-name" name="momentum">
|
<span class="stat-label flexrow status-col-name" name="momentum">
|
||||||
<a class="stat-icon lock-unlock-sheet"><img class="small-button-container"
|
<a class="stat-icon lock-unlock-sheet"><img class="small-button-container"
|
||||||
|
Loading…
Reference in New Issue
Block a user