FIX: Monsters and tabs

master
U~man 2020-07-03 16:04:31 +02:00
parent 4f6c6e3c90
commit 5afadf6039
4 changed files with 14 additions and 13 deletions

View File

@ -20,7 +20,7 @@ export class OseActorSheetCharacter extends OseActorSheet {
classes: ["ose", "sheet", "actor", "character"],
template: "systems/ose/templates/actors/character-sheet.html",
width: 450,
height: 560,
height: 530,
resizable: true,
tabs: [
{

View File

@ -77,28 +77,29 @@
position: absolute;
transform: rotate(90deg);
top: 365px;
right: -166px;
right: -169px;
width: 320px;
z-index: -1;
.item {
padding: 0 10px;
padding: 2px 10px 0;
margin-left: -5px;
text-indent: 4px;
background: url('/ui/parchment.jpg');
border-top-right-radius: 4px;
border-top-left-radius: 15px;
border-top-left-radius: 80px;
box-shadow: 0 0 6px 1px $colorDark;
font-size: 13px;
font-size: 12px;
&.active {
z-index: 1;
font-weight: bold;
text-shadow: none;
margin-bottom: -1px;
}
}
}
.sheet-body {
padding: 5px 0;
height: calc(100% - 175px);
height: calc(100% - 140px);
.attributes {
margin: 0;
padding: 0;

View File

@ -5,7 +5,7 @@
/* ----------------------------------------- */
.ose.sheet.actor.character {
min-width: 450px;
min-height: 590px;
min-height: 550px;
/* ----------------------------------------- */
/* Sheet Header */

View File

@ -2,7 +2,7 @@
<ul class="attributes flexrow">
<li class="attribute health">
<h4 class="attribute-name box-title" title="{{localize 'OSE.Health'}}">{{ localize "OSE.HealthShort" }}</h4>
<div class="attribute-value multiple">
<div class="attribute-value flexrow">
<input name="data.hp.value" type="text" value="{{data.hp.value}}" data-dtype="Number"
placeholder="10" />
<span class="sep"> / </span>
@ -138,35 +138,35 @@
<ul class="attributes">
<li class="attribute saving-throw" data-save="death">
<h4 class="attribute-name box-title" title="{{ localize 'OSE.saves.death.long' }}">
<a>{{ localize "OSE.saves.death.short" }}</a></h4>
<a>{{ localize "OSE.saves.death.long" }}</a></h4>
<div class="attribute-value">
<input name="data.saves.death.value" type="text" value="{{data.saves.death.value}}" placeholder="0"
data-dtype="Number" />
</li>
<li class="attribute saving-throw" data-save="wand">
<h4 class="attribute-name box-title" title="{{ localize 'OSE.saves.wand.long' }}">
<a>{{ localize "OSE.saves.wand.short" }}</a></h4>
<a>{{ localize "OSE.saves.wand.long" }}</a></h4>
<div class="attribute-value">
<input name="data.saves.wand.value" type="text" value="{{data.saves.wand.value}}" placeholder="0"
data-dtype="Number" />
</li>
<li class="attribute saving-throw" data-save="paralysis">
<h4 class="attribute-name box-title" title="{{ localize 'OSE.saves.paralysis.long' }}">
<a>{{ localize "OSE.saves.paralysis.short" }}</a></h4>
<a>{{ localize "OSE.saves.paralysis.long" }}</a></h4>
<div class="attribute-value">
<input name="data.saves.paralysis.value" type="text" value="{{data.saves.paralysis.value}}"
placeholder="0" data-dtype="Number" />
</li>
<li class="attribute saving-throw" data-save="breath">
<h4 class="attribute-name box-title" title="{{ localize 'OSE.saves.breath.long' }}">
<a>{{ localize "OSE.saves.breath.short" }}</a></h4>
<a>{{ localize "OSE.saves.breath.long" }}</a></h4>
<div class="attribute-value">
<input name="data.saves.breath.value" type="text" value="{{data.saves.breath.value}}"
placeholder="0" data-dtype="Number" />
</li>
<li class="attribute saving-throw" data-save="spell">
<h4 class="attribute-name box-title" title="{{ localize 'OSE.saves.spell.long' }}">
<a>{{ localize "OSE.saves.spell.short" }}</a></h4>
<a>{{ localize "OSE.saves.spell.long" }}</a></h4>
<div class="attribute-value">
<input name="data.saves.spell.value" type="text" value="{{data.saves.spell.value}}"
placeholder="0" />