Fix for pattern and title

This commit is contained in:
Mandar
2021-05-30 01:33:38 +02:00
parent cf603de1e8
commit 4d2423fc27
5 changed files with 38 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@@ -362,6 +362,26 @@
}
}
}
&.item-pattern {
.attribute {
&.item {
display: inline;
.item-properties {
display: inline;
li {
display: inline;
}
}
}
}
}
&.title {
article {
&.attributes {
height: auto;
}
}
}
.item-list {
> li {
.item-description {
@@ -429,7 +449,4 @@
}
}
}
article {
flex: 100%;
}
}

View File

@@ -737,12 +737,13 @@
.inventory {
.items-wrapper {
h3 {
background: $l5r5e-bold;
color: $white;
border-bottom: 1px solid;
background: rgba(90, 110, 90, 0.15);
color: $l5r5e-label;
border-bottom: 1px solid $white;
font-family: $font-tertiary;
font-size: 1rem;
padding-left: 0.5rem;
margin: 0;
}
.item-list {
display: block;
@@ -834,6 +835,12 @@
flex: 100%;
}
}
&.title {
.experience {
flex: 100%;
width: calc(100% - 7.5rem);
}
}
}
// Lang Adjust.
&.sheet {

View File

@@ -6,7 +6,7 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Attributes Tab --}}
<article class="attributes" data-group="primary" data-tab="attributes">
<article class="attributes item-list" data-group="primary" data-tab="attributes">
<label class="attribute">
{{ localize 'l5r5e.advancements.rarity_modifier' }}
<input class="select-on-focus" type="number" name="data.rarity_modifier" value="{{data.data.rarity_modifier}}" data-dtype="Number" min="0" placeholder="0"/>
@@ -27,12 +27,14 @@
{{ localize 'l5r5e.bought_at_rank' }}
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
<label class="attribute">
<label class="attribute item">
{{ localize 'l5r5e.linked_property' }}
{{#if data.linkedProperty}}
<ul class="item-properties">
<li>{{{ data.linkedProperty.name }}}</li>
<li data-item-id="{{data.linkedProperty.id}}" class="item-control linked-property-delete" title="{{localize 'Delete'}}"> <i class="fas fa-trash"></i></li>
<li>
{{{ data.linkedProperty.name }}}
<span data-item-id="{{data.linkedProperty.id}}" class="item-control linked-property-delete" title="{{localize 'Delete'}}"> <i class="fas fa-trash"></i></span>
</li>
</ul>
{{else}}
-

View File

@@ -14,7 +14,7 @@
</nav>
{{!-- Attributes Tab --}}
<article>
<article class="attributes">
<label class="attribute">
{{localize 'l5r5e.advancements.cost'}}
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>