modif variables colors

This commit is contained in:
rwanoux
2024-05-13 20:08:10 +02:00
parent 043a7f8342
commit 7a0c52bc4c
5 changed files with 134 additions and 54 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -9,7 +9,7 @@
/* Change shadow colors and Foundry general font color!! */ /* Change shadow colors and Foundry general font color!! */
.app { .app {
box-shadow: 0 0 20px #7e4444; box-shadow: 0 0 20px #7e7544;
/* Change the color code here for a nice shadow color! */ /* Change the color code here for a nice shadow color! */
color: #dfdfdf; color: #dfdfdf;
/* Text color for window titles and menu all across Foundry */ /* Text color for window titles and menu all across Foundry */
+8 -8
View File
@@ -8,14 +8,14 @@
// overwrites variables // overwrites variables
:root { :root {
--color-text-light-highlight: #b0d9b0; --color-text-light-highlight: #96d696;
--color-text-light-heading: #9fc7d8; --color-text-light-heading: #9fd8a8;
--color-text-light-primary: #a4b5b3; --color-text-light-primary: #a4b5b3;
--color-text-dark-primary: #131919; --color-text-dark-primary: #131919;
--color-text-dark-secondary: #444b4a; --color-text-dark-secondary: #444b4a;
--color-text-dark-header: #1d2223; --color-text-dark-header: #1d2223;
--color-text-dark-inactive: #71797a; --color-text-dark-inactive: #71797a;
--color-text-hyperlink: #0064ff; --color-text-hyperlink: #5aaf0a;
--color-text-light-0: #fff; --color-text-light-0: #fff;
--color-text-light-1: #e0f0f0; --color-text-light-1: #e0f0f0;
--color-text-light-2: #c0e0e0; --color-text-light-2: #c0e0e0;
@@ -37,12 +37,12 @@
--color-border-dark-3: #2d3333; --color-border-dark-3: #2d3333;
--color-border-dark-4: #3d4444; --color-border-dark-4: #3d4444;
--color-border-dark-5: #668888; --color-border-dark-5: #668888;
--color-shadow-primary: #0000ff; --color-shadow-primary: #7bb60d;
--color-shadow-highlight: #0064ff; --color-shadow-highlight: #85cc01d0;
--color-shadow-dark: #000; --color-shadow-dark: #000;
--color-underline-inactive: #71797a; --color-underline-inactive: #71797a;
--color-underline-active: #1a1944; --color-underline-active: #1a1944;
--color-underline-header: #222782; --color-underline-header: #228247;
--color-border-light-highlight: #b0d9b0; --color-border-light-highlight: #b0d9b0;
--color-border-light-primary: #a4b5b3; --color-border-light-primary: #a4b5b3;
--color-border-light-secondary: #9fc7d8; --color-border-light-secondary: #9fc7d8;
@@ -51,8 +51,8 @@
--color-border-dark-primary: #131919; --color-border-dark-primary: #131919;
--color-border-dark-secondary: #1d2223; --color-border-dark-secondary: #1d2223;
--color-border-dark-tertiary: #444b4a; --color-border-dark-tertiary: #444b4a;
--color-border-highlight: #0064ff; --color-border-highlight: #85c019;
--color-border-highlight-alt: #0000ff; --color-border-highlight-alt: #70c008;
--color-bg-btn-minor-inactive: #9fc7d8; --color-bg-btn-minor-inactive: #9fc7d8;
--color-bg-btn-minor-active: #a4b5b3; --color-bg-btn-minor-active: #a4b5b3;
--color-bg-option: #ccdada; --color-bg-option: #ccdada;
+82 -25
View File
@@ -1,51 +1,108 @@
<form class="{{cssClass}}" autocomplete="off"> <form
class="{{cssClass}}"
autocomplete="off"
>
<header class="sheet-header"> <header class="sheet-header">
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/> <img
class="profile-img"
src="{{item.img}}"
data-edit="img"
title="{{item.name}}"
/>
<div class="header-fields"> <div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1> <h1 class="charname"><input
name="name"
type="text"
value="{{item.name}}"
placeholder="Name"
/></h1>
</div> </div>
</header> </header>
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item active" data-tab="description">{{ localize "VERMINE.stats" }}</a>
</nav>
<section class="sheet-body"> <section class="sheet-body">
<div class="tab flexrow" data-group="primary" data-tab="description"> <div class="flexrow">
<aside style="flex:1"> <aside style="flex:1">
<div class="resource"> <div class="resource">
<label class="resource-label">{{ localize "VERMINE.level"}}</label> <label class="resource-label">{{ localize "VERMINE.level"}}</label>
<input type="number" name="system.level.value" value="{{system.level.value }}" data-dtype="Number" min="{{system.level.min }}" max="{{system.level.max }}" /> <input
</div> type="number"
name="system.level.value"
value="{{system.level.value }}"
data-dtype="Number"
min="{{system.level.min }}"
max="{{system.level.max }}"
/>
</div>
{{#if (eq system.type "group")}} {{#if (eq system.type "group")}}
<div class="resource row mdb"> <div class="resource row mdb">
<label class="resource-label">{{ localize "ITEMS.learning"}}</label> <label class="resource-label">{{ localize "ITEMS.learning"}}</label>
<div class=" flexrow row"> <div class=" flexrow row">
<input type="number" name="system.learning.threshold" value="{{system.learning.threshold }}" data-dtype="Number" min="3" max="10" /> / <input
<input type="number" name="system.learning.hindrance" value="{{system.learning.hindrance }}" data-dtype="Number" min="0" max="3" /> type="number"
name="system.learning.threshold"
value="{{system.learning.threshold }}"
data-dtype="Number"
min="3"
max="10"
/> /
<input
type="number"
name="system.learning.hindrance"
value="{{system.learning.hindrance }}"
data-dtype="Number"
min="0"
max="3"
/>
</div> </div>
</div> </div>
{{/if}} {{/if}}
<div class="resource"> <div class="resource">
<label class="resource-label">{{ localize "VERMINE.type"}}</label> <label class="resource-label">{{ localize "VERMINE.type"}}</label>
<select name="system.type" data-dtype="String"> <select
<option value="character" {{#if (eq system.type "character")}}selected{{/if}}>Personnage</option> name="system.type"
<option value="group" {{#if (eq system.type "group")}}selected{{/if}}>Groupe</option> data-dtype="String"
<option value="group" {{#if (eq system.type "creature")}}selected{{/if}}>Créature</option> >
<option value="totem" {{#if (eq system.type "totem")}}selected{{/if}}>Totem</option> <option
value="character"
{{#if (eq system.type "character")}}selected{{/if}}
>Personnage</option>
<option
value="group"
{{#if (eq system.type "group")}}selected{{/if}}
>Groupe</option>
<option
value="group"
{{#if (eq system.type "creature")}}selected{{/if}}
>Créature</option>
<option
value="totem"
{{#if (eq system.type "totem")}}selected{{/if}}
>Totem</option>
</select> </select>
</div> </div>
<div class="resource"> <div class="resource">
<label class="resource-label">{{ localize "VERMINE.totem"}}</label> <label class="resource-label">{{ localize "VERMINE.totem"}}</label>
<select name="system.totem" data-dtype="String"> <select
name="system.totem"
data-dtype="String"
>
{{#each config.totems as | totem tk|}} {{#each config.totems as | totem tk|}}
<option value="{{tk}}" {{#if (eq tk @root.system.totem)}}selected="selected"{{/if}}>{{ localize totem }}</option> <option
value="{{tk}}"
{{#if (eq tk @root.system.totem)}}selected="selected"
{{/if}}
>{{ localize totem }}</option>
{{/each}} {{/each}}
</select> </select>
</div> </div>
</aside> </aside>
<main class="editor-wrapper" style="flex:10"> <main
class="editor-wrapper"
style="flex:10"
>
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}} {{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
</main> </main>
</div> </div>
</section> </section>
</form> </form>
+42 -19
View File
@@ -1,29 +1,52 @@
<form class="{{cssClass}}" autocomplete="off"> <form
class="{{cssClass}}"
autocomplete="off"
>
<header class="sheet-header"> <header class="sheet-header">
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/> <img
class="profile-img"
src="{{item.img}}"
data-edit="img"
title="{{item.name}}"
/>
<div class="header-fields"> <div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1> <h1 class="charname"><input
name="name"
type="text"
value="{{item.name}}"
placeholder="Name"
/></h1>
</div> </div>
</header> </header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item active" data-tab="description">{{ localize "VERMINE.stats" }}</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="tab flexrow gap-4" data-group="primary" data-tab="description"> <div
<aside style="flex:20%;"> class=" flexrow "
<div class="resource"> data-group="primary"
<label class="resource-label">{{ localize "VERMINE.level"}}</label> data-tab="description"
<input type="number" name="system.level.value" value="{{system.level.value }}" data-dtype="Number" min="{{system.level.min }}" max="{{system.level.max }}" /> >
</div> <aside style="flex:20%;">
</aside> <div class="resource">
<main class="editor-wrapper" style="flex:10"> <label class="resource-label">{{ localize "VERMINE.level"}}</label>
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}} <input
</main> type="number"
name="system.level.value"
value="{{system.level.value }}"
data-dtype="Number"
min="{{system.level.min }}"
max="{{system.level.max }}"
/>
</div>
</aside>
<main
class="editor-wrapper"
style="flex:10"
>
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
</main>
</div> </div>
</section> </section>
</form> </form>