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"], classes: ["ose", "sheet", "actor", "character"],
template: "systems/ose/templates/actors/character-sheet.html", template: "systems/ose/templates/actors/character-sheet.html",
width: 450, width: 450,
height: 560, height: 530,
resizable: true, resizable: true,
tabs: [ tabs: [
{ {

View File

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

View File

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

View File

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