Use less for css #750

Merged
uberwald merged 1 commits from VincentVk/foundryvtt-reve-de-dragon:v13 into v13 2025-02-09 20:47:46 +01:00
91 changed files with 2472 additions and 837 deletions

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 193 KiB

After

Width:  |  Height:  |  Size: 193 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

View File

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 716 KiB

After

Width:  |  Height:  |  Size: 716 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 188 B

View File

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

View File

Before

Width:  |  Height:  |  Size: 634 KiB

After

Width:  |  Height:  |  Size: 634 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 637 KiB

After

Width:  |  Height:  |  Size: 637 KiB

File diff suppressed because it is too large Load Diff

37
gulpfile.js Normal file
View File

@ -0,0 +1,37 @@
const gulp = require('gulp');
const less = require('gulp-less');
function onError(err) {
util.log(util.colors.red.bold('[ERROR LESS]:'),util.colors.bgRed(err.message));
this.emit('end');
};
/* ----------------------------------------- */
/* Compile LESS
/* ----------------------------------------- */
function compileLESS() {
return gulp.src("less/foundryvtt-reve-de-dragon.less")
.pipe(less()).on('error',console.log.bind(console))
.pipe(gulp.dest("./css"))
}
const css = gulp.series(compileLESS);
/* ----------------------------------------- */
/* Watch Updates
/* ----------------------------------------- */
const SIMPLE_LESS = ["less/*.less"];
function watchUpdates() {
gulp.watch(SIMPLE_LESS, css);
}
/* ----------------------------------------- */
/* Export Tasks
/* ----------------------------------------- */
exports.default = gulp.series(
gulp.parallel(css),
watchUpdates
);
exports.css = css;
exports.watchUpdates = watchUpdates;

71
less/colors.less Normal file
View File

@ -0,0 +1,71 @@
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: CaslonAntique;
--window-header-title-font-size: 1.6rem;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
--major-button-font-family: CaslonAntique;
--major-button-font-size: 1.4rem;
--major-button-font-weight: normal;
--major-button-color: #dadada;
--tab-header-font-family: CaslonAntique;
--tab-header-font-size: 1.2rem;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--actor-input-font-family: CaslonAntique;
--actor-input-font-size: 1.2rem;
--actor-input-font-weight: 500;
--actor-input-color: black;
--actor-label-font-family: CaslonAntique;
--actor-label-font-size: 1.2rem;
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
--debug-background-color-red: #ff000054;
--debug-background-color-blue: #1d00ff54;
--debug-background-color-green: #54ff0054;
--debug-box-shadow-red: inset 0 0 2px red;
--debug-box-shadow-blue: inset 0 0 2px blue;
--debug-box-shadow-green: inset 0 0 2px green;
/* =================== 3. some constants ============ */
--color-controls:rgba(0, 0, 0, 0.9);
--color-controls-light:hsla(0, 0%, 20%, 0.8);
--color-controls-hover:hsla(60, 100%, 75%, 0.7);
--color-control-border-hover:rgba(255, 128, 0, 0.8);
--color-gold: rgba(191, 149, 63, 0.8);
--gradient-gold: linear-gradient(30deg, rgba(191, 149, 63, 0.3), rgba(252, 246, 186, 0.3), rgba(179, 135, 40, 0.3), rgba(251, 245, 183, 0.3), rgba(170, 119, 28, 0.3));
--gradient-silver: linear-gradient(30deg, rgba(61, 55, 93, 0.3), rgba(178, 179, 196, 0.3), rgba(59, 62, 63, 0.6), rgba(206, 204, 199, 0.3), rgba(61, 46, 49, 0.3));
--gradient-green: linear-gradient(30deg, rgba(7, 76, 0, 0.3), rgba(66, 163, 65, 0.2), rgba(184, 226, 163, 0.1), rgba(66, 163, 65, 0.2), rgba(184, 226, 163, 0.3));
--gradient-red: linear-gradient(150deg, rgba(255, 0, 0, 0.3), rgba(255, 200, 128, 0.05),rgba(255, 200, 128, 0.1), rgba(255,10,0,0.3));
--gradient-violet: linear-gradient(150deg, rgba(100, 45, 124, 0.6), rgba(216, 157, 192, 0.3), rgba(177, 157, 216, 0.5), rgba(107, 62, 121, 0.3), rgba(100, 45, 124, 0.6));
--gradient-purple-black: linear-gradient(150deg, rgba(0, 0, 0, 0.7), rgba(100, 45, 124, 0.4), rgba(82, 17, 131, 0.3),rgba(100, 45, 124, 0.4), rgba(0, 0, 0, 0.7));
--gradient-silver-light: linear-gradient(30deg, rgba(61, 55, 93, 0.2), rgba(178, 179, 196, 0.1), rgba(59, 62, 63, 0.2), rgba(206, 204, 199, 0.1), rgba(61, 46, 49, 0.2));
--gradient-daylight: conic-gradient(
from 0deg,
hsla(50, 100%, 80%, 0.7),
hsla(30, 30%, 40%, 0.1) 25%,
hsla(250, 50%, 40%, 0.1) 25%,
hsla(250, 30%, 30%, 0.7) 50%,
hsla(250, 50%, 40%, 0.1) 75%,
hsla(30, 30%, 40%, 0.1) 75%,
hsla(50, 100%, 80%, 0.7)
);
--background-custom-button: linear-gradient(to bottom, rgba(33, 55, 74, 0.988) 5%, rgba(21, 40, 51, 0.671) 100%);
--background-custom-button-hover: linear-gradient(to bottom, rgb(128, 0, 0) 5%, rgb(62, 1, 1) 100%);
--background-control-selected: linear-gradient(to bottom, hsla(0, 100%, 25%, 0.5) 5%, hsla(0, 100%, 12%, 0.5) 100%);
--background-tooltip: hsla(60, 12%, 85%, 0.95);
--color-tooltip:hsla(282, 47%, 33%, 0.9);
--color-tooltip-faint:hsla(282, 47%, 66%, 0.5);
--background-error:hsla(16, 100%, 50%, 0.8);
--color-profile-border: hsla(0, 0%, 80%, 0.05);
}

30
less/fonts.less Normal file
View File

@ -0,0 +1,30 @@
/* ==================== (A) Fonts ==================== */
@font-face {
font-family: "GoudyAcc";
src: url('../fonts/goudyacc.ttf') format("truetype");
}
@font-face {
font-family: "MedievalSharp";
src: url('../fonts/MedievalSharp.ttf') format("truetype");
}
@font-face {
font-family: "GrenzeGotisch";
src: url('../fonts/GrenzeGotisch-Regular.ttf') format("truetype");
}
@font-face {
font-family: "Fondamento";
src: url('../fonts/Fondamento.ttf') format("truetype");
}
@font-face {
font-family: "CaslonAntique";
src: url('../fonts/CaslonAntique.ttf') format("truetype");
}
@font-face {
font-family: 'HeuresDraconiques';
src:
url('../fonts/heuresdraconiques2.woff') format('woff'),
url('../fonts/heuresdraconiques2.woff2') format('woff2'),
url('../fonts/heuresdraconiques2.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

View File

@ -1,108 +1,10 @@
/* ==================== (A) Fonts ==================== */
@font-face {
font-family: "GoudyAcc";
src: url('../fonts/goudyacc.ttf') format("truetype");
}
@font-face {
font-family: "MedievalSharp";
src: url('../fonts/MedievalSharp.ttf') format("truetype");
}
@font-face {
font-family: "GrenzeGotisch";
src: url('../fonts/GrenzeGotisch-Regular.ttf') format("truetype");
}
@font-face {
font-family: "Fondamento";
src: url('../fonts/Fondamento.ttf') format("truetype");
}
@font-face {
font-family: "CaslonAntique";
src: url('../fonts/CaslonAntique.ttf') format("truetype");
}
@font-face {
font-family: 'HeuresDraconiques';
src:
url('../fonts/heuresdraconiques2.woff') format('woff'),
url('../fonts/heuresdraconiques2.woff2') format('woff2'),
url('../fonts/heuresdraconiques2.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@import "fonts.less";
@import "colors.less";
body {
--input-height: 1.4rem;
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: CaslonAntique;
--window-header-title-font-size: 1.6rem;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
--major-button-font-family: CaslonAntique;
--major-button-font-size: 1.4rem;
--major-button-font-weight: normal;
--major-button-color: #dadada;
--tab-header-font-family: CaslonAntique;
--tab-header-font-size: 1.2rem;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--actor-input-font-family: CaslonAntique;
--actor-input-font-size: 1.2rem;
--actor-input-font-weight: 500;
--actor-input-color: black;
--actor-label-font-family: CaslonAntique;
--actor-label-font-size: 1.2rem;
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
--debug-background-color-red: #ff000054;
--debug-background-color-blue: #1d00ff54;
--debug-background-color-green: #54ff0054;
--debug-box-shadow-red: inset 0 0 2px red;
--debug-box-shadow-blue: inset 0 0 2px blue;
--debug-box-shadow-green: inset 0 0 2px green;
/* =================== 3. some constants ============ */
--color-controls:rgba(0, 0, 0, 0.9);
--color-controls-light:hsla(0, 0%, 20%, 0.8);
--color-controls-hover:hsla(60, 100%, 75%, 0.7);
--color-control-border-hover:rgba(255, 128, 0, 0.8);
--color-gold: rgba(191, 149, 63, 0.8);
--gradient-gold: linear-gradient(30deg, rgba(191, 149, 63, 0.3), rgba(252, 246, 186, 0.3), rgba(179, 135, 40, 0.3), rgba(251, 245, 183, 0.3), rgba(170, 119, 28, 0.3));
--gradient-silver: linear-gradient(30deg, rgba(61, 55, 93, 0.3), rgba(178, 179, 196, 0.3), rgba(59, 62, 63, 0.6), rgba(206, 204, 199, 0.3), rgba(61, 46, 49, 0.3));
--gradient-green: linear-gradient(30deg, rgba(7, 76, 0, 0.3), rgba(66, 163, 65, 0.2), rgba(184, 226, 163, 0.1), rgba(66, 163, 65, 0.2), rgba(184, 226, 163, 0.3));
--gradient-red: linear-gradient(150deg, rgba(255, 0, 0, 0.3), rgba(255, 200, 128, 0.05),rgba(255, 200, 128, 0.1), rgba(255,10,0,0.3));
--gradient-violet: linear-gradient(150deg, rgba(100, 45, 124, 0.6), rgba(216, 157, 192, 0.3), rgba(177, 157, 216, 0.5), rgba(107, 62, 121, 0.3), rgba(100, 45, 124, 0.6));
--gradient-purple-black: linear-gradient(150deg, rgba(0, 0, 0, 0.7), rgba(100, 45, 124, 0.4), rgba(82, 17, 131, 0.3),rgba(100, 45, 124, 0.4), rgba(0, 0, 0, 0.7));
--gradient-silver-light: linear-gradient(30deg, rgba(61, 55, 93, 0.2), rgba(178, 179, 196, 0.1), rgba(59, 62, 63, 0.2), rgba(206, 204, 199, 0.1), rgba(61, 46, 49, 0.2));
--gradient-daylight: conic-gradient(
from 0deg,
hsla(50, 100%, 80%, 0.7),
hsla(30, 30%, 40%, 0.1) 25%,
hsla(250, 50%, 40%, 0.1) 25%,
hsla(250, 30%, 30%, 0.7) 50%,
hsla(250, 50%, 40%, 0.1) 75%,
hsla(30, 30%, 40%, 0.1) 75%,
hsla(50, 100%, 80%, 0.7)
);
--background-custom-button: linear-gradient(to bottom, rgba(33, 55, 74, 0.988) 5%, rgba(21, 40, 51, 0.671) 100%);
--background-custom-button-hover: linear-gradient(to bottom, rgb(128, 0, 0) 5%, rgb(62, 1, 1) 100%);
--background-control-selected: linear-gradient(to bottom, hsla(0, 100%, 25%, 0.5) 5%, hsla(0, 100%, 12%, 0.5) 100%);
--background-tooltip: hsla(60, 12%, 85%, 0.95);
--color-tooltip:hsla(282, 47%, 33%, 0.9);
--color-tooltip-faint:hsla(282, 47%, 66%, 0.5);
--background-error:hsla(16, 100%, 50%, 0.8);
--color-profile-border: hsla(0, 0%, 80%, 0.05);
}
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
/* Global styles & Font */
.window-app {
font-family: CaslonAntique;
@ -224,7 +126,7 @@ i:is(.fas, .far, .fa-solid, .fa-regular, .fa-sharp ) {
max-width: 1.4rem;
max-height: 1.4rem;
border: 1px;
background: center / contain no-repeat url('img/ui/icone_parchement_vierge.webp');
background: center / contain no-repeat url('../../assets/ui/icone_parchement_vierge.webp');
}
.system-foundryvtt-reve-de-dragon .sheet-header .header-compteurs {
@ -258,7 +160,7 @@ i:is(.fas, .far, .fa-solid, .fa-regular, .fa-sharp ) {
border-top: 0 none;
border-bottom: 0 none;
color: rgba(52, 52, 52, 0.95);
background: rgb(245,245,240) url(img/bg_menu.webp) no-repeat left top;
background: rgb(245,245,240) url(../assets/ui/bg_menu.webp) no-repeat left top;
}
.sheet nav.sheet-tabs .item ,
nav.sheet-tabs .item {
@ -957,7 +859,7 @@ div.placeholder-resolution span.table-proba-reussite{
/* ======================================== */
/* Sheet */
.window-app.sheet .window-content .sheet-header{
background: #011d33 url(img/bg_header.webp) no-repeat left top;
background: #011d33 url(../assets/ui/bg_header.webp) no-repeat left top;
color: rgba(255, 255, 255, 1);
}
@ -1043,7 +945,7 @@ form.rdddialogchrono input[type=datetime-local] {
}
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
background: rgb(245,245,240) url(img/bg_left.webp) no-repeat left top;
background: rgb(245,245,240) url(../assets/ui/bg_left.webp) no-repeat left top;
}
section.sheet-body {
@ -1188,7 +1090,7 @@ ul, li {
padding: 0;
}
:is(.sheet, div.fenetre-recherche div.section-filters-text) input.recherche {
background-image: url("img/ui/icon-search.svg");
background-image: url("../assets/ui/icon-search.svg");
background-position: 0.1rem 0.1rem;
background-size: 1rem;
background-repeat: no-repeat;
@ -1207,27 +1109,13 @@ span.embed-inline {
background: rgba(80, 60, 0, 0.10);
}
.alterne-list > .list-item:nth-child(odd) {
background: rgb(160, 130, 100, 0.05);
background: rgba(160, 130, 100, 0.05);
}
input.attribute-value.field-error ,
.list-item span.field-error {
.attribute-value.field-error,
.list-item .field-error {
background-color: var(--background-error);
}
ul.chat-list {
margin-left: 0.8rem;
list-style: inside;
}
ul.chat-list li:nth-child(even) {
background: rgba(80, 60, 0, 0.10);
list-style-type: disc;
}
ul.chat-list li:nth-child(odd) {
background: rgb(160, 130, 100, 0.05);
list-style-type: disc;
}
.xp-level-up {
margin: 0.1rem;
box-shadow: inset 0px 0px 1px #00000096;
@ -1268,23 +1156,11 @@ ul.chat-list li:nth-child(odd) {
display: flex;
align-items: center !important;
}
.table-row {
margin: 0.1rem;
padding: 0.1rem;
flex: 1 1 5rem;
}
.alterne-row > .row-item:hover {
background: rgba(100, 100, 50, 0.25);
}
.alterne-row > .row-item:nth-child(even) {
background: rgba(80, 60, 0, 0.10);
}
.alterne-row > .row-item:nth-child(odd) {
background: rgb(160, 130, 100, 0.05);
}
.item-display-show {
display: inline;
}
@ -1292,7 +1168,7 @@ ul.chat-list li:nth-child(odd) {
display: none;
}
.conteneur-type {
background: rgb(200, 10, 100, 0.25);
background: rgba(200, 10, 100, 0.25);
}
.item-column {
@ -1573,7 +1449,7 @@ div.control-icon.token-hud-icon {
/* Sidebar CSS */
#sidebar {
font-size: 1rem;
background: rgb(105,85,65) url(img/bg_sid_dark.webp) no-repeat right bottom;
background: rgb(105,85,65) url(../assets/ui/bg_sid_dark.webp) no-repeat right bottom;
background-position: 100%;
color: rgba(220,220,220,0.75);
}
@ -1653,18 +1529,18 @@ div.control-icon.token-hud-icon {
.fa-book-open, .fa-th-list, .fa-music,
.fa-atlas,.fa-cogs
):before {content: "";}
#sidebar #sidebar-tabs i.fa-comments {background: url("img/ui/icon_sidebar_chat.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-fist-raised {background: url("img/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-swords {background: url("img/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-user {background: url("img/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-users {background: url("img/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-map {background: url("img/ui/icon_sidebar_scene.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-suitcase {background: url("img/ui/icon_sidebar_item.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-book-open {background: url("img/ui/icon_sidebar_journal.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-th-list {background: url("img/ui/icon_sidebar_rolltable.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-music {background: url("img/ui/icon_sidebar_music.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-atlas {background: url("img/ui/icon_sidebar_compendium.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-cogs {background: url("img/ui/icon_sidebar_settings.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-comments {background: url("../assets/ui/icon_sidebar_chat.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-fist-raised {background: url("../assets/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-swords {background: url("../assets/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-user {background: url("../assets/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-users {background: url("../assets/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-map {background: url("../assets/ui/icon_sidebar_scene.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-suitcase {background: url("../assets/ui/icon_sidebar_item.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-book-open {background: url("../assets/ui/icon_sidebar_journal.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-th-list {background: url("../assets/ui/icon_sidebar_rolltable.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-music {background: url("../assets/ui/icon_sidebar_music.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-atlas {background: url("../assets/ui/icon_sidebar_compendium.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-cogs {background: url("../assets/ui/icon_sidebar_settings.svg") no-repeat;}
#combat #combat-controls {
box-shadow: inset 0 0 2rem rgba(0,0,0,0.5);
@ -1679,7 +1555,7 @@ div.control-icon.token-hud-icon {
border-radius: 0;
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.webp) 10 repeat;
border-image: url(../assets/ui/footer-button.webp) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
@ -1690,7 +1566,7 @@ div.control-icon.token-hud-icon {
#controls :is(.scene-control.active,.control-tool.active, .scene-control:hover, .control-tool:hover) {
background: rgba(72, 46, 28, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.webp) 10 repeat;
border-image: url(../assets/ui/footer-button.webp) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
box-shadow: 0 0 3px #ff6400;
@ -1702,7 +1578,7 @@ div.control-icon.token-hud-icon {
}
#hotbar #action-bar .macro {
border-image: url(img/ui/bg_control.webp) 21 repeat;
border-image: url(../assets/ui/bg_control.webp) 21 repeat;
border-image-slice: 6 6 6 6 fill;
border-image-width: 6px 6px 6px 6px;
border-image-outset: 0px 0px 0px 0px;
@ -1715,7 +1591,7 @@ div.control-icon.token-hud-icon {
}
#players {
border-image: url(img/ui/footer-button.webp) 10 repeat;
border-image: url(../assets/ui/footer-button.webp) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
background: rgba(30, 25, 20, 1);
@ -1728,7 +1604,7 @@ div.control-icon.token-hud-icon {
#navigation #scene-list .scene.nav-item {
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.webp) 10 repeat;
border-image: url(../assets/ui/footer-button.webp) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
@ -1736,7 +1612,7 @@ div.control-icon.token-hud-icon {
#navigation #scene-list .scene.view, #navigation #scene-list .scene.context {
background: rgba(72, 46, 28, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.webp) 10 repeat;
border-image: url(../assets/ui/footer-button.webp) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
box-shadow: 0 0 3px #ff6400;
@ -1745,7 +1621,7 @@ div.control-icon.token-hud-icon {
#navigation #nav-toggle {
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.webp) 10 repeat;
border-image: url(../assets/ui/footer-button.webp) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
@ -1814,7 +1690,7 @@ div.horloge-roue div {
}
div.horloge-roue div.horloge-cercle {
background: hsl(60, 20%, 95%) url(img/bg_left.webp) no-repeat left top;
background: hsl(60, 20%, 95%) url(../assets/ui/bg_left.webp) no-repeat left top;
top: 2%; left: 2%; width: 96%; height: 96%; border-radius: 50%;
}
@ -1999,7 +1875,7 @@ div.calendar-timestamp-edit select.calendar-signe-heure {
width: 360px;
background: rgba(30, 25, 20, 0.9);
border-image: url(img/ui/bg_control.webp) 21 repeat;
border-image: url(../assets/ui/bg_control.webp) 21 repeat;
border-image-slice: 6 6 6 6 fill;
border-image-width: 6px 6px 6px 6px;
border-image-outset: 0px 0px 0px 0px;
@ -2185,7 +2061,7 @@ aside#tooltip .toolclip p.faint {
color: #CCC
}
#pause > img {
content: url(img/rdd_pause.webp);
content: url(../assets/ui/rdd_pause.webp);
height: 256px;
width: 256px;
top: -75px;
@ -2193,7 +2069,7 @@ aside#tooltip .toolclip p.faint {
}
#logo {
content : url(img/logo.webp);
content : url(../assets/ui/logo.webp);
width: 80px;
height: 68px;
}

View File

@ -3,7 +3,7 @@ import { Misc } from "../../misc.js"
import { EXPORT_CSV_SCRIPTARIUM, OptionsAvancees } from "../../settings/options-avancees.js"
import { Mapping } from "./mapping.js"
const IMG_SCRIPTARIUM = '<img class="context-menu-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/scriptarium.svg">'
const IMG_SCRIPTARIUM = '<img class="context-menu-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/scriptarium.svg">'
export class ExportScriptarium {

View File

@ -3,9 +3,9 @@ import { Draconique } from "./draconique.js";
import { PixiTMR } from "./pixi-tmr.js";
const IMAGE_CARTE_TMR = 'image-carte-tmr';
const TMR_V1 = "systems/foundryvtt-reve-de-dragon/styles/img/ui/tmr-v1.webp";
const TMR_V2 = "systems/foundryvtt-reve-de-dragon/styles/img/ui/tmr-v2.webp";
const TMR_V3_COULEUR = "systems/foundryvtt-reve-de-dragon/styles/img/ui/tmr-v3-couleur.webp";
const TMR_V1 = "systems/foundryvtt-reve-de-dragon/assets/ui/tmr-v1.webp";
const TMR_V2 = "systems/foundryvtt-reve-de-dragon/assets/ui/tmr-v2.webp";
const TMR_V3_COULEUR = "systems/foundryvtt-reve-de-dragon/assets/ui/tmr-v3-couleur.webp";
export class CarteTmr extends Draconique {

View File

@ -1,14 +1,36 @@
{
"name": "foundryvtt-reve-de-dragon",
"description": "<h2><em>Rêve de Dragon</em> pour Foundry Virtual TableTop</h2>",
"private": true,
"version": "1.0.0",
"license": "Creative Commons",
"main": "gulpfile.js",
"scripts": {
"build": "npx vite build",
"gulp": "gulp",
"packCompendiumsToDist": "node ./tools/packCompendiumsToDist.mjs",
"packCompendiumsToPublic": "node ./tools/packCompendiumsToPublic.mjs",
"unpackCompendiumsFromPublic": "node ./tools/unpackCompendiumsFromPublic.mjs"
},
"devDependencies": {
"@foundryvtt/foundryvtt-cli": "^1.0.3"
"@eslint/js": "^9.8.0",
"@foundryvtt/foundryvtt-cli": "^1.0.3",
"commander": "^11.1.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"less": "^4.1.3",
"prettier": "^3.3.3"
},
"dependencies": {
"gulp": "^5.0.0",
"gulp-less": "^5.0.0",
"rollup-plugin-visualizer": "^5.12.0"
},
"repository": {
"type": "git",
"url": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon.git"
}
}

View File

@ -2,7 +2,7 @@ name: Terres médianes du rêve
type: script
scope: global
author: Hp9ImM4o9YRTSdfu
img: systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg
img: systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-normal.svg
command: |-
const selected = game.system.rdd.RdDUtility.getSelectedActor();
if (!selected) {
@ -18,8 +18,8 @@ command: |-
title: `Monter dans les TMR`,
content: `Monter dans les TMR`,
buttons: {
normale: { label: `normale`, icon: `<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg" alt="Montée dans les Terres M&eacute;dianes !"/>`, callback: () => selected.displayTMR("normal") },
rapide: { label: `rapide`, icon: `<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-rapide.svg" alt="Montée accélérée dans les Terres M&eacute;dianes !"/>`, callback: () => selected.displayTMR("rapide") },
normale: { label: `normale`, icon: `<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-normal.svg" alt="Montée dans les Terres M&eacute;dianes !"/>`, callback: () => selected.displayTMR("normal") },
rapide: { label: `rapide`, icon: `<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-rapide.svg" alt="Montée accélérée dans les Terres M&eacute;dianes !"/>`, callback: () => selected.displayTMR("rapide") },
},
});

View File

@ -5,7 +5,7 @@ sort: 0
pages:
- name: 'Figure: Documentation MJ/Joueurs'
type: image
src: systems/foundryvtt-reve-de-dragon/styles/img/logo.webp
src: systems/foundryvtt-reve-de-dragon/assets/logo.webp
title:
show: false
level: 1
@ -94,9 +94,9 @@ pages:
<li><img style="background-color:purple;vertical-align:middle" src="icons/svg/bones.svg" width="25" height="30" /> Encaisser des dommages</li>
<li><img style="background-color:purple;vertical-align:middle" src="icons/svg/regen.svg" width="25" height="30" /> Remise à neuf (Uniquement pour le MJ) pour enlever toutes les blessures/états du personnage.</li>
<li><img style="background-color:purple;vertical-align:middle" src="icons/svg/sleep.svg" width="25" height="30" /> Le sommeil (dormir une heure, une nuit, gris rêve)</li>
<li><img style="background-color:purple;vertical-align:middle" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg" width="25" height="30" /> Montée dans les Terres Médianes</li>
<li><img style="background-color:purple;vertical-align:middle" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-rapide.svg" width="25" height="30" /> Montée rapide</li>
<li><img style="background-color:purple;vertical-align:middle" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-view.svg" width="25" height="30" /> Regarder ses terres médianes (sans monter)</li>
<li><img style="background-color:purple;vertical-align:middle" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-normal.svg" width="25" height="30" /> Montée dans les Terres Médianes</li>
<li><img style="background-color:purple;vertical-align:middle" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-rapide.svg" width="25" height="30" /> Montée rapide</li>
<li><img style="background-color:purple;vertical-align:middle" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-view.svg" width="25" height="30" /> Regarder ses terres médianes (sans monter)</li>
</ul>
<h1>Combat</h1>
<p>Pour l'initiative et les attaques, des options sont disponibles
@ -171,7 +171,7 @@ pages:
<li>Les retours que vous nous ferez via <a href="https://discord.gg/pPSDNJk">discord</a>
(channel #rêve-de-dragon) ;-)</li>
</ul>
<p><img style="border:0;display:block;margin-left:auto;margin-right:auto" src="systems/foundryvtt-reve-de-dragon/styles/img/rdd_pause.webp" width="210" height="216" /></p>
<p><img style="border:0;display:block;margin-left:auto;margin-right:auto" src="systems/foundryvtt-reve-de-dragon/assets/rdd_pause.webp" width="210" height="216" /></p>
_id: p0xOSy6tZwU4DOq5
image: {}
video:

View File

@ -5,7 +5,7 @@ sort: 0
pages:
- name: 'Figure: Passeur fou'
type: image
src: systems/foundryvtt-reve-de-dragon/styles/img/ui/tmp_main_r1.webp
src: systems/foundryvtt-reve-de-dragon/assets/ui/tmp_main_r1.webp
title:
show: false
level: 1

View File

@ -5,7 +5,7 @@ sort: 0
pages:
- name: 'Figure: Tourbillon rouge'
type: image
src: systems/foundryvtt-reve-de-dragon/styles/img/ui/tmp_main_r1.webp
src: systems/foundryvtt-reve-de-dragon/assets/ui/tmp_main_r1.webp
title:
show: false
level: 1

View File

@ -1,6 +1,6 @@
name: Rêve de Dragon
type: rencontre
img: systems/foundryvtt-reve-de-dragon/styles/img/rdd_pause.webp
img: systems/foundryvtt-reve-de-dragon/assets/rdd_pause.webp
system:
description: ''
descriptionmj: ''

View File

@ -38,7 +38,7 @@ regions: []
ownership:
default: 0
background:
src: systems/foundryvtt-reve-de-dragon/styles/img/ecran_rdd.webp
src: systems/foundryvtt-reve-de-dragon/assets/ecran_rdd.webp
offsetX: 0
offsetY: 0
anchorX: 0

View File

@ -1,4 +0,0 @@
[Dolphin]
Timestamp=2020,11,21,13,59,38
Version=4
VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_creationtime,CustomizedDetails

View File

@ -1,5 +0,0 @@
[Dolphin]
HeaderColumnWidths=634,87,118
Timestamp=2020,6,10,17,19,0
Version=4
ViewMode=1

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

View File

@ -42,25 +42,14 @@
],
"flags": {
"hotReload": {
"extensions": [
"css",
"hbs",
"html"
],
"paths": [
"styles/",
"templates/"
]
"extensions": ["css", "hbs", "html", "svg", "webp"],
"paths": ["assets/", "css/", "templates/"]
}
},
"url": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon",
"license": "LICENSE.txt",
"esmodules": [
"module/rdd-main.js"
],
"styles": [
"styles/simple.css"
],
"esmodules": ["module/rdd-main.js"],
"styles": ["css/foundryvtt-reve-de-dragon.css"],
"languages": [
{
"lang": "en",
@ -81,7 +70,7 @@
"label": "Compétences",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/competences",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -94,7 +83,7 @@
"label": "Arts et Divertissements",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/arts-et-divertissements",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -107,7 +96,7 @@
"label": "Compétences de Créatures",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/competences-creatures",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -120,7 +109,7 @@
"label": "Sorts d'Oniros",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/sorts-oniros",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -133,7 +122,7 @@
"label": "Sorts d'Hypnos",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/sorts-hypnos",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -146,7 +135,7 @@
"label": "Sorts de Narcos",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/sorts-narcos",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -160,7 +149,7 @@
"system": "foundryvtt-reve-de-dragon",
"path": "packs/sorts-thanatos",
"type": "Item",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
@ -172,7 +161,7 @@
"label": "Equipement",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/equipement",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -185,7 +174,7 @@
"label": "Maladies & Poisons",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/maladies-et-poisons",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -198,7 +187,7 @@
"label": "Rappels des Règles",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/rappel-des-regles",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "JournalEntry",
"ownership": {
"PLAYER": "OBSERVER",
@ -211,7 +200,7 @@
"label": "Macros Rêve de Dragon",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/macros",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Macro",
"ownership": {
"PLAYER": "OBSERVER",
@ -224,7 +213,7 @@
"label": "Queues de Dragon",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/queues-de-dragon",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -237,7 +226,7 @@
"label": "Ombres de Thanatos",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/ombres-de-thanatos",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -250,7 +239,7 @@
"label": "Souffles de Dragon",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/souffles-de-dragon",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -263,7 +252,7 @@
"label": "Tarot Draconique",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/tarot-draconique",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -276,7 +265,7 @@
"label": "Extraits poétiques",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/extrait-poetique",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
@ -289,7 +278,7 @@
"label": "Têtes de Dragon (Hauts-Rêvants)",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/tetes-de-dragon-pour-haut-revants",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -302,7 +291,7 @@
"label": "Têtes de Dragon (Tous Personnages)",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/tetes-de-dragon-pour-tous-personnages",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -315,7 +304,7 @@
"label": "Rencontres",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/rencontres",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -328,7 +317,7 @@
"label": "Tables Diverses",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/tables-diverses",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "RollTable",
"ownership": {
"PLAYER": "NONE",
@ -341,7 +330,7 @@
"label": "Créatures",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/animaux",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -354,7 +343,7 @@
"label": "Voyageurs",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/voyageurs",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -367,7 +356,7 @@
"label": "Véhicules",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/vehicules",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -380,7 +369,7 @@
"label": "Archetypes PNJs",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/archetypes",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -393,7 +382,7 @@
"label": "Races",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/races",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -406,7 +395,7 @@
"label": "Humanoïdes",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/humanoides",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -419,7 +408,7 @@
"label": "Entités de Cauchemar",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/entites-de-cauchemar",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -432,7 +421,7 @@
"label": "Invocation d'Hypnos",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/invocations",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
@ -445,7 +434,7 @@
"label": "Faune, Flore, Minéraux",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/faune-flore-mineraux",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -458,7 +447,7 @@
"label": "Méditations et Ecrits",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/meditations-et-ecrits",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -471,7 +460,7 @@
"label": "Recettes Alchimiques",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/recettes-alchimiques",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Item",
"ownership": {
"PLAYER": "NONE",
@ -484,7 +473,7 @@
"label": "Scenes Reve de Dragon",
"system": "foundryvtt-reve-de-dragon",
"path": "packs/scenes-rdd",
"banner": "systems/foundryvtt-reve-de-dragon/styles/img/ui/compendium_banner.webp",
"banner": "systems/foundryvtt-reve-de-dragon/assets/ui/compendium_banner.webp",
"type": "Scene",
"ownership": {
"PLAYER": "NONE",
@ -497,9 +486,7 @@
{
"name": "Rêve de Dragon",
"sorting": "m",
"packs": [
"rappel-des-regles"
],
"packs": ["rappel-des-regles"],
"folders": [
{
"name": "Personnages",
@ -574,25 +561,25 @@
},
"primaryTokenAttribute": "sante.vie",
"secondaryTokenAttribute": "sante.endurance",
"background": "systems/foundryvtt-reve-de-dragon/styles/img/reve-de-dragon-cover.webp",
"background": "systems/foundryvtt-reve-de-dragon/assets/ui/reve-de-dragon-cover.webp",
"media": [
{
"type": "icon",
"url": "systems/foundryvtt-reve-de-dragon/styles/img/reve-de-dragon-icon.webp",
"url": "systems/foundryvtt-reve-de-dragon/assets/ui/reve-de-dragon-icon.webp",
"caption": "Logo Rêve de Dragon",
"loop": false,
"flags": {}
},
{
"type": "cover",
"url": "systems/foundryvtt-reve-de-dragon/styles/img/reve-de-dragon-cover.webp",
"url": "systems/foundryvtt-reve-de-dragon/assets/ui/reve-de-dragon-cover.webp",
"caption": "Logo Rêve de Dragon",
"loop": false,
"flags": {}
},
{
"type": "screenshot",
"url": "systems/foundryvtt-reve-de-dragon/styles/img/apercu.webp",
"url": "systems/foundryvtt-reve-de-dragon/assets/ui/apercu.webp",
"caption": "Capture d'écran de Rêve de Dragon sur Foundry",
"loop": false,
"flags": {}

View File

@ -8,19 +8,19 @@
<h1 class="charname">{{name}}</h1>
</div>
<div>
<a class="button-appel-chance"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/appel-chance.svg" data-tooltip="Appel à la chance"/></a>
<a class="button-appel-chance"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/appel-chance.svg" data-tooltip="Appel à la chance"/></a>
<a class="button-encaissement"><img class="button-img" src="icons/svg/bones.svg" data-tooltip="Encaisser des dommages"/></a>
<a class="button-ethylisme"><img class="button-img" src="icons/svg/tankard.svg" data-tooltip="Boire"/></a>
<a class="button-repos"><img class="button-img" src="icons/svg/sleep.svg" data-tooltip="Se reposer"/></a>
{{#if system.attributs.hautrevant.value}}
<a class="button-tmr" data-tooltip="Montée dans les Terres M&eacute;dianes !" {{#if hautreve.isDemiReve}}disabled{{/if}}>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-normal.svg"/>
</a>
<a class="button-tmr-rapide" data-tooltip="Montée accélérée dans les Terres M&eacute;dianes !" {{#if hautreve.isDemiReve}}disabled{{/if}}>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-rapide.svg"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-rapide.svg"/>
</a>
<a class="button-tmr-visu" data-tooltip="Regarder les Terres M&eacute;dianes">
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-view.svg"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-view.svg"/>
</a>
{{/if}}
{{#if @root.options.isGM}}
@ -28,7 +28,7 @@
{{/if}}
{{#if options.exportScriptarium}}
<a class="button-export">
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/scriptarium.svg" data-tooltip="Export format Scriptarium"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/scriptarium.svg" data-tooltip="Export format Scriptarium"/>
</a>
{{/if}}
</div>

View File

@ -1,6 +1,6 @@
<div class="header-buttons">
<span>
<a class="button-appel-chance"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/appel-chance.svg" data-tooltip="Appel à la chance"/></a>
<a class="button-appel-chance"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/appel-chance.svg" data-tooltip="Appel à la chance"/></a>
</span>
<span>
<a class="button-encaissement"><img class="button-img" src="icons/svg/bones.svg" data-tooltip="Encaisser des dommages"/></a>

View File

@ -2,17 +2,17 @@
<div class="tmr-buttons">
<span>
<a class="button-tmr" data-tooltip="Montée dans les Terres M&eacute;dianes !" {{#if hautreve.isDemiReve}}disabled{{/if}}>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-normal.svg"/>
</a>
</span>
<span>
<a class="button-tmr-rapide" data-tooltip="Montée accélérée dans les Terres M&eacute;dianes !" {{#if hautreve.isDemiReve}}disabled{{/if}}>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-rapide.svg"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-rapide.svg"/>
</a>
</span>
<span>
<a class="button-tmr-visu" data-tooltip="Regarder les Terres M&eacute;dianes">
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-view.svg"/>
<img class="button-img" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon-tmr-view.svg"/>
</a>
</span>
</div>

View File

@ -5,7 +5,7 @@
{{#if vendeur}}
<img class="chat-icon" src="{{vendeur.img}}" data-tooltip="{{vendeur.name}}" />
{{else}}
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon_echoppe.webp" data-tooltip="Un commerçant" />
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon_echoppe.webp" data-tooltip="Un commerçant" />
{{/if}}
</div>
<div><i class="fa-solid fa-arrow-right-long"></i></div>
@ -15,7 +15,7 @@
{{#if acheteur}}
<img class="chat-icon" src="{{acheteur.img}}" data-tooltip="{{acheteur.name}}"" />
{{else}}
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon_echoppe.webp" data-tooltip="Un acheteur" />
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/assets/ui/icon_echoppe.webp" data-tooltip="Un acheteur" />
{{/if}}
</div>
</div>

View File

@ -26,17 +26,17 @@
</div>
{{/if}}
<div class="flex-group-center flex-shrink">
<img class="small-button-direction tmr-move" data-move="topleft" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-topleft.svg">
<img class="small-button-direction tmr-move" data-move="top" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-top.svg">
<img class="small-button-direction tmr-move" data-move="topright" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-topright.svg">
<img class="small-button-direction tmr-move" data-move="topleft" src="systems/foundryvtt-reve-de-dragon/assets/ui/dir-topleft.svg">
<img class="small-button-direction tmr-move" data-move="top" src="systems/foundryvtt-reve-de-dragon/assets/ui/dir-top.svg">
<img class="small-button-direction tmr-move" data-move="topright" src="systems/foundryvtt-reve-de-dragon/assets/ui/dir-topright.svg">
</div>
<div class="flex-group-center flex-shrink">
<label>Coordonnées : </label><span id="tmr-pos">0</span>
</div>
<div class="flex-group-center flex-shrink">
<img class="small-button-direction tmr-move" data-move="bottomleft" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottomleft.svg">
<img class="small-button-direction tmr-move" data-move="bottom" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottom.svg">
<img class="small-button-direction tmr-move" data-move="bottomright" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/dir-bottomright.svg">
<img class="small-button-direction tmr-move" data-move="bottomleft" src="systems/foundryvtt-reve-de-dragon/assets/ui/dir-bottomleft.svg">
<img class="small-button-direction tmr-move" data-move="bottom" src="systems/foundryvtt-reve-de-dragon/assets/ui/dir-bottom.svg">
<img class="small-button-direction tmr-move" data-move="bottomright" src="systems/foundryvtt-reve-de-dragon/assets/ui/dir-bottomright.svg">
</div>
<div class="flex-group-center flex-shrink lire-signe-draconique">
<a>Lire un signe draconique</a>

View File

@ -1,3 +1,3 @@
{{#if (lte system.resistance 0)}}
<img class="equipement-inutilisable" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/broken.svg" data-tooltip="{{name}} est brisée, sa résistance est de 0"/>
<img class="equipement-inutilisable" src="systems/foundryvtt-reve-de-dragon/assets/ui/broken.svg" data-tooltip="{{name}} est brisée, sa résistance est de 0"/>
{{/if}}

View File

@ -6,7 +6,7 @@
<div class="horloge-ajustement heure-{{heure.hh}}"></div>
{{/each}}
<div class="disque-astro">
<img src="systems/foundryvtt-reve-de-dragon/styles/img/ui/astro-disque.svg" data-tooltip="">
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/astro-disque.svg" data-tooltip="">
</div>
{{/if}}
{{#each heures as |heure|}}
@ -14,9 +14,9 @@
{{/each}}
<div class="horloge-cercle2"></div>
<div class="horloge-aiguille-heure">
<img src="systems/foundryvtt-reve-de-dragon/styles/img/ui/rdd-aiguille-horloge.svg" data-tooltip="">
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/rdd-aiguille-horloge.svg" data-tooltip="">
</div>
<div class="horloge-aiguille-minute">
<img src="systems/foundryvtt-reve-de-dragon/styles/img/ui/rdd-aiguille-minute.svg" data-tooltip="">
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/rdd-aiguille-minute.svg" data-tooltip="">
</div>
</div>