Add ul li style for editor + Adjuste stance + marge on sheets and img
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -166,3 +166,23 @@ sub,
|
|||||||
sup {
|
sup {
|
||||||
color: $l5r5e-black;
|
color: $l5r5e-black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sheet {
|
||||||
|
nav {
|
||||||
|
&.sheet-tabs {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-content,
|
||||||
|
.item-description {
|
||||||
|
ul {
|
||||||
|
margin: 0.5rem 0;
|
||||||
|
li {
|
||||||
|
list-style-type: initial;
|
||||||
|
margin: 0.5rem 0 0.5rem 1.5rem;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -93,9 +93,9 @@
|
|||||||
&.weapon {
|
&.weapon {
|
||||||
.sheet-header {
|
.sheet-header {
|
||||||
img {
|
img {
|
||||||
flex: 0 0 75px;
|
flex: 0 0 90px;
|
||||||
height: 75px;
|
height: 90px;
|
||||||
width: 75px;
|
width: 90px;
|
||||||
background: rgba(255, 255, 255, 0.25);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
flex: 0 0 calc(33% - 0.5rem);
|
flex: 0 0 calc(33% - 0.5rem);
|
||||||
}
|
}
|
||||||
.cursus {
|
.cursus {
|
||||||
flex: 1;
|
flex: 0 0 calc(19% - 0.5rem);
|
||||||
line-height: 0.75rem;
|
line-height: 0.75rem;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin: 0 0.25rem;
|
margin: 0 0.25rem;
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
article {
|
article {
|
||||||
&.attributes {
|
&.attributes {
|
||||||
.cursus {
|
.cursus {
|
||||||
flex: 1;
|
flex: 0 0 calc(20% - 0.5rem);
|
||||||
line-height: 0.75rem;
|
line-height: 0.75rem;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin: 0 0.25rem;
|
margin: 0 0.25rem;
|
||||||
@@ -308,4 +308,24 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.stance-content {
|
||||||
|
.item-description {
|
||||||
|
display: none;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.toggle-active {
|
||||||
|
display: block;
|
||||||
|
height: auto;
|
||||||
|
border: 0 none;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
.item-description {
|
||||||
|
height: auto;
|
||||||
|
border: 0 none;
|
||||||
|
}
|
||||||
|
.toggle-active {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
flex: 0 0 75px;
|
flex: 0 0 90px;
|
||||||
height: 75px;
|
height: 90px;
|
||||||
width: 75px;
|
width: 90px;
|
||||||
.full {
|
.full {
|
||||||
flex: 0 0 content;
|
flex: 0 0 content;
|
||||||
height: auto;
|
height: auto;
|
||||||
@@ -23,12 +23,12 @@
|
|||||||
.identity-wrapper {
|
.identity-wrapper {
|
||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
h1 {
|
h1 {
|
||||||
flex: 0 0 calc(100% - 75px - 1.25rem);
|
margin: 0 0.25rem 1rem 1rem;
|
||||||
margin: 0 0 1rem 1rem;
|
|
||||||
}
|
}
|
||||||
.identity-list {
|
.identity-list {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin: 0.25rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
li {
|
li {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -36,18 +36,22 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
select {
|
select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: transparent;
|
background: $l5r5e-white;
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
color: $l5r5e-bold;
|
||||||
|
font-family: $font-primary;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1rem;
|
||||||
|
letter-spacing: 0.15rem;
|
||||||
}
|
}
|
||||||
i,
|
i,
|
||||||
input {
|
input {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
width: 4rem;
|
width: 7.25rem;
|
||||||
float: left;
|
margin: auto;
|
||||||
margin: 0 1rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,8 +80,8 @@
|
|||||||
input {
|
input {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
height: 4rem;
|
height: 5rem;
|
||||||
margin: 0.5rem 0 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: $l5r5e-red;
|
color: $l5r5e-red;
|
||||||
@@ -173,32 +173,56 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
position: initial;
|
position: initial;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex: 0 0 calc(100% - 150px - 1.05rem);
|
flex: 0 0 calc(100% - 150px);
|
||||||
|
label {
|
||||||
|
display: flex;
|
||||||
|
color: $l5r5e-label;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
line-height: 2rem;
|
||||||
|
input {
|
||||||
|
flex: 1;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
height: 1.75rem;
|
||||||
|
margin: 0 1rem 0 0.5rem;
|
||||||
|
padding: 0 0.25rem 0.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.identity-content {
|
.identity-content {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 0.5rem 0 0.5rem 1rem;
|
margin: 0;
|
||||||
|
padding-top: 0.25rem;
|
||||||
|
padding-left: 0.5rem;
|
||||||
li {
|
li {
|
||||||
flex: 33%;
|
flex: 33%;
|
||||||
&:nth-child(1),
|
&:nth-child(1),
|
||||||
&:nth-child(2) {
|
&:nth-child(2) {
|
||||||
flex: calc(50% - 5rem);
|
flex: calc(50% - 3rem);
|
||||||
margin: 0 0 0.5rem;
|
margin: 0 0 0.25rem;
|
||||||
}
|
}
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
flex: auto;
|
flex: auto;
|
||||||
input {
|
input {
|
||||||
width: 2rem;
|
width: 1rem;
|
||||||
|
padding: 0;
|
||||||
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:nth-child(4),
|
&:nth-child(4),
|
||||||
&:nth-child(5) {
|
&:nth-child(5) {
|
||||||
flex: 50%;
|
flex: 60%;
|
||||||
input {
|
input {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&:nth-child(5) {
|
||||||
|
flex: 40%;
|
||||||
|
input {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -385,17 +409,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.identity-wrapper label {
|
|
||||||
display: flex;
|
|
||||||
color: $l5r5e-label;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: 0.75rem;
|
|
||||||
line-height: 2rem;
|
|
||||||
input {
|
|
||||||
flex: 1;
|
|
||||||
margin: 0 1rem 0 0.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
article {
|
article {
|
||||||
background: $l5r5e-white;
|
background: $l5r5e-white;
|
||||||
@@ -407,6 +420,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.narrative-content,
|
||||||
|
.narrative-note {
|
||||||
|
flex: 0 0 calc(50% - 0.5rem);
|
||||||
|
}
|
||||||
.techniques-wrapper {
|
.techniques-wrapper {
|
||||||
.checklist {
|
.checklist {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -441,8 +458,8 @@
|
|||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
margin: 0.25rem 0 0 0;
|
margin: 0.25rem 0 0 0;
|
||||||
height: auto;
|
height: 0.65rem;
|
||||||
width: auto;
|
width: 0.65rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,52 +1,48 @@
|
|||||||
<ul class="narrative-content">
|
<div class="narrative-content">
|
||||||
<li>
|
<fieldset>
|
||||||
<label class="attribute-label">{{ localize 'l5r5e.social.ninjo' }}</label>
|
<legend class="text-block-header">{{ localize 'l5r5e.social.title' }}</legend>
|
||||||
<input type="text" name="data.social_standing.ninjo" value="{{data.social.ninjo}}"/>
|
<label class="attribute-label">{{ localize 'l5r5e.social.ninjo' }}
|
||||||
</li>
|
<input type="text" name="data.social_standing.ninjo" value="{{data.social.ninjo}}"/>
|
||||||
<li>
|
</label>
|
||||||
<label class="attribute-label">{{ localize 'l5r5e.social.giri' }}</label>
|
<label class="attribute-label">{{ localize 'l5r5e.social.giri' }}
|
||||||
<input type="text" name="data.social_standing.giri" value="{{data.social.giri}}"/>
|
<input type="text" name="data.social_standing.giri" value="{{data.social.giri}}"/>
|
||||||
</li>
|
</label>
|
||||||
<li>
|
<label class="attribute-label">{{ localize 'l5r5e.social.titles' }}
|
||||||
<label class="attribute-label">{{ localize 'l5r5e.social.titles' }}</label>
|
<input type="text" name="data.social_standing.titles" value="{{data.social.titles}}"/>
|
||||||
<input type="text" name="data.social_standing.titles" value="{{data.social.titles}}"/>
|
</label>
|
||||||
</li>
|
</fieldset>
|
||||||
<li>
|
<fieldset>
|
||||||
<fieldset>
|
<legend class="text-block-header">
|
||||||
<legend class="text-block-header">
|
{{ localize 'l5r5e.social.advantages' }}
|
||||||
{{ localize 'l5r5e.social.advantages' }}
|
{{#if editable}}
|
||||||
{{#if editable}}
|
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
{{/if}}
|
||||||
{{/if}}
|
</legend>
|
||||||
</legend>
|
<ul class="item-list">
|
||||||
<ul class="item-list">
|
{{#each actor.items as |item id|}}
|
||||||
{{#each actor.items as |item id|}}
|
{{#ifCond '["distinction","passion"]' 'includes' item.data.peculiarity_type}}
|
||||||
{{#ifCond '["distinction","passion"]' 'includes' item.data.peculiarity_type}}
|
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
|
||||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
|
{{/ifCond}}
|
||||||
{{/ifCond}}
|
{{/each}}
|
||||||
{{/each}}
|
</ul>
|
||||||
</ul>
|
</fieldset>
|
||||||
</fieldset>
|
<fieldset>
|
||||||
</li>
|
<legend class="text-block-header">
|
||||||
<li>
|
{{ localize 'l5r5e.social.disadvantages' }}
|
||||||
<fieldset>
|
{{#if editable}}
|
||||||
<legend class="text-block-header">
|
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||||
{{ localize 'l5r5e.social.disadvantages' }}
|
{{/if}}
|
||||||
{{#if editable}}
|
</legend>
|
||||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
<ul class="item-list">
|
||||||
{{/if}}
|
{{#each actor.items as |item id|}}
|
||||||
</legend>
|
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.peculiarity_type}}
|
||||||
<ul class="item-list">
|
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
|
||||||
{{#each actor.items as |item id|}}
|
{{/ifCond}}
|
||||||
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.peculiarity_type}}
|
{{/each}}
|
||||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
|
</ul>
|
||||||
{{/ifCond}}
|
</fieldset>
|
||||||
{{/each}}
|
</div>
|
||||||
</ul>
|
<fieldset class="narrative-note">
|
||||||
</fieldset>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<fieldset>
|
|
||||||
<legend class="text-block-header">{{ localize 'l5r5e.notes' }}</legend>
|
<legend class="text-block-header">{{ localize 'l5r5e.notes' }}</legend>
|
||||||
{{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }}
|
{{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
Reference in New Issue
Block a user