Add price icon

This commit is contained in:
Mandar
2021-01-11 20:10:28 +01:00
parent b34954818e
commit a02337205c
9 changed files with 38 additions and 26 deletions

View File

@@ -327,6 +327,7 @@
"choose_one_skill": "Pick one", "choose_one_skill": "Pick one",
"or": "OR", "or": "OR",
"and": "AND", "and": "AND",
"error": "Oops it looks like there's an error:",
"part0": { "part0": {
"intro": "You can use this sheet to fill in your answers to The Game of Twenty Questions, and to take notes for later !", "intro": "You can use this sheet to fill in your answers to The Game of Twenty Questions, and to take notes for later !",
"section": "Legend of the Five Rings Core Rulebook, Chapter 2 : Creating a character, p. 41-95" "section": "Legend of the Five Rings Core Rulebook, Chapter 2 : Creating a character, p. 41-95"

View File

@@ -327,6 +327,7 @@
"choose_one_skill": "Pick one", "choose_one_skill": "Pick one",
"or": "OR", "or": "OR",
"and": "AND", "and": "AND",
"error": "Oops it looks like there's an error:",
"part0": { "part0": {
"intro": "You can use this sheet to fill in your answers to The Game of Twenty Questions, and to take notes for later !", "intro": "You can use this sheet to fill in your answers to The Game of Twenty Questions, and to take notes for later !",
"section": "Legend of the Five Rings Core Rulebook, Chapter 2 : Creating a character, p. 41-95" "section": "Legend of the Five Rings Core Rulebook, Chapter 2 : Creating a character, p. 41-95"

View File

@@ -327,6 +327,7 @@
"choose_one_skill": "En choisir une", "choose_one_skill": "En choisir une",
"or": "OU", "or": "OU",
"and": "ET", "and": "ET",
"error": "Oops il semble qu'il y est erreur : ",
"part0": { "part0": {
"intro": "Renseignez vos réponses au jeu des vingt questions sur ce formulaire et notez-y des éléments à utiliser ultérieurement !", "intro": "Renseignez vos réponses au jeu des vingt questions sur ce formulaire et notez-y des éléments à utiliser ultérieurement !",
"section": "Livre de Règles de La Légende des Cinq Anneaux, Chapitre 2 : Création de personnage, p. 41-95" "section": "Livre de Règles de La Légende des Cinq Anneaux, Chapitre 2 : Création de personnage, p. 41-95"

File diff suppressed because one or more lines are too long

View File

@@ -71,7 +71,8 @@ body {
&.peculiarity, &.peculiarity,
&.property, &.property,
&.technique, &.technique,
&.weapon { &.weapon,
&.twenty-questions-dialog {
.window-content { .window-content {
overflow-y: scroll; overflow-y: scroll;
} }

View File

@@ -177,7 +177,7 @@
} }
} }
input[name="data.zeni"] { input[name="data.zeni"] {
width: 5rem; width: 7rem;
float: right; float: right;
} }
fieldset { fieldset {

View File

@@ -13,15 +13,16 @@
} }
.errors { .errors {
position: sticky; position: sticky;
top: 0px; top: 1rem;
left: 0px; left: 1rem;
z-index: 999; z-index: 999;
display: block; width: calc(100% - 1rem);
width: 100%;
background-color: $l5r5e-red; background-color: $l5r5e-red;
border: 1px solid $dark-red; border: 1px solid $dark-red;
color: $white;
border-radius: 1rem; border-radius: 1rem;
text-align: center; text-align: center;
line-height: 2rem;
} }
h3 { h3 {
font-size: 1.25rem; font-size: 1.25rem;
@@ -31,9 +32,13 @@
} }
nav { nav {
.item { .item {
color: $black;
font-size: 2rem;
font-weight: bold;
background-color: $l5r5e-white-light; background-color: $l5r5e-white-light;
&.active, &.active,
&:hover { &:hover {
color: $white;
background-color: rgba(73, 12, 11, 0.85); background-color: rgba(73, 12, 11, 0.85);
--notchSize: 0.5rem; --notchSize: 0.5rem;
clip-path: polygon( clip-path: polygon(
@@ -88,6 +93,10 @@
border: 1px solid $l5r5e-title; border: 1px solid $l5r5e-title;
font-size: 0.85rem; font-size: 0.85rem;
padding: 0.25rem; padding: 0.25rem;
&.done {
border: 1px solid $l5r5e-earth;
box-shadow: 0 1px 5px $l5r5e-earth;
}
} }
} }
} }

View File

@@ -1,20 +1,19 @@
<form class="l5r5e twenty-questions-dialog" autocomplete="off"> <form class="l5r5e twenty-questions-dialog" autocomplete="off">
{{#if summary.errors}}
<div id="errors" class="errors">{{summary.errors}}</div>
{{/if}}
<div class="content"> <div class="content">
<nav class="sheet-tabs tabs" data-group="primary"> <nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="part0">?</a> <a class="item" data-tab="part0">?</a>
<a class="item" data-tab="part1">I</a> <a class="item" data-tab="part1"></a>
<a class="item" data-tab="part2">II</a> <a class="item" data-tab="part2"></a>
<a class="item" data-tab="part3">III</a> <a class="item" data-tab="part3"></a>
<a class="item" data-tab="part4">IV</a> <a class="item" data-tab="part4"></a>
<a class="item" data-tab="part5">V</a> <a class="item" data-tab="part5"></a>
<a class="item" data-tab="part6">VI</a> <a class="item" data-tab="part6"></a>
<a class="item" data-tab="part7">VII</a> <a class="item" data-tab="part7"></a>
</nav> </nav>
<section class="sheet-body"> <section class="sheet-body">
{{#if summary.errors}}
<p id="errors" class="errors">{{localize 'l5r5e.twenty_questions.error'}}{{summary.errors}}</p>
{{/if}}
<article class="tab parts part0" data-group="primary" data-tab="part0"> <article class="tab parts part0" data-group="primary" data-tab="part0">
<h1>{{localize 'l5r5e.twenty_questions.title'}}</h1> <h1>{{localize 'l5r5e.twenty_questions.title'}}</h1>
{{localize 'l5r5e.twenty_questions.part0.intro'}} {{localize 'l5r5e.twenty_questions.part0.intro'}}

View File

@@ -11,6 +11,6 @@
<input class="select-on-focus" type="number" name="data.rarity" value="{{data.rarity}}" data-dtype="Number" min="0" placeholder="0"/> <input class="select-on-focus" type="number" name="data.rarity" value="{{data.rarity}}" data-dtype="Number" min="0" placeholder="0"/>
</label> </label>
<label class="value"> <label class="value">
{{ localize 'l5r5e.money.zeni' }} <i class="fas fa-coins"></i>
<input class="select-on-focus" type="text" name="data.zeni" value="{{data.zeni}}" data-dtype="String" min="0" placeholder="0"/> <input class="select-on-focus" type="text" name="data.zeni" value="{{data.zeni}}" data-dtype="String" min="0" placeholder="0"/>
</label> </label>