diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..7f34754 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,35 @@ +const gulp = require('gulp'); +const less = require('gulp-less'); +const sourcemaps = require('gulp-sourcemaps'); + +// Paths +const paths = { + styles: { + src: 'less/**/*.less', + dest: 'styles/' + } +}; + +// Compile LESS to CSS +function styles() { + return gulp.src('less/hawkmoon.less') + .pipe(sourcemaps.init()) + .pipe(less()) + .pipe(sourcemaps.write('.')) + .pipe(gulp.dest(paths.styles.dest)); +} + +// Watch files +function watchFiles() { + gulp.watch(paths.styles.src, styles); +} + +// Define complex tasks +const build = gulp.series(styles); +const watch = gulp.series(build, watchFiles); + +// Export tasks +exports.styles = styles; +exports.build = build; +exports.watch = watch; +exports.default = build; diff --git a/less/actor-sheet.less b/less/actor-sheet.less new file mode 100644 index 0000000..7612d8f --- /dev/null +++ b/less/actor-sheet.less @@ -0,0 +1,8 @@ +// Actor sheet styles + +.actor-sheet { + min-width: 720px; + min-height: 680px; +} + +// Placeholder - to be expanded based on actor-sheet.html diff --git a/less/base.less b/less/base.less new file mode 100644 index 0000000..0ac3004 --- /dev/null +++ b/less/base.less @@ -0,0 +1,90 @@ +// Base styles + +* { + scrollbar-color: initial; +} + +.hawkmoon { + font-family: @font-family-base; +} + +// Utility classes +.flexrow { + .flex-row(); + gap: @spacing-base; +} + +.flexcol { + .flex-column(); + gap: @spacing-base; +} + +// Item lists +.item-list { + list-style: none; + margin: 0; + padding: 0; + + .item { + padding: @spacing-small @spacing-base; + border-bottom: 1px solid lighten(@color-border, 20%); + + &:hover { + background: lighten(@color-secondary, 65%); + } + } +} + +.alternate-list { + .item:nth-child(even) { + background: lighten(@color-secondary, 70%); + } +} + +// Form elements +input[type="text"], +input[type="number"], +textarea, +select { + .input-base(); +} + +button { + .button-base(); +} + +// Labels +label { + .label-base(); +} + +.generic-label { + .label-base(); + margin: 0 @spacing-base; +} + +// Field sizes +.item-field-label-short { + flex: 0 0 40px; +} + +.item-field-label-medium { + flex: 0 0 80px; +} + +.item-field-label-long { + flex: 0 0 120px; +} + +.item-field-label-very-long { + flex: 0 0 150px; +} + +// Padd classes +.padd-right { + padding-right: @spacing-medium; +} + +.padd-left { + padding-left: @spacing-medium; +} diff --git a/less/cellule-sheet.less b/less/cellule-sheet.less new file mode 100644 index 0000000..505b5c9 --- /dev/null +++ b/less/cellule-sheet.less @@ -0,0 +1,8 @@ +// Cellule sheet styles + +.cellule-sheet { + min-width: 720px; + min-height: 680px; +} + +// Placeholder - to be expanded based on cellule-sheet.html diff --git a/less/chat.less b/less/chat.less new file mode 100644 index 0000000..4731891 --- /dev/null +++ b/less/chat.less @@ -0,0 +1,23 @@ +// Chat message styles + +.chat-message { + .message-header { + .flex-row(); + gap: @spacing-base; + margin-bottom: @spacing-small; + } + + .dice-roll { + .flex-center(); + padding: @spacing-base; + background: lighten(@color-secondary, 70%); + border-radius: @input-border-radius; + + .dice-total { + font-size: 1.2rem; + font-weight: bold; + } + } +} + +// Placeholder - to be expanded based on chat templates diff --git a/less/combat.less b/less/combat.less new file mode 100644 index 0000000..0703b5f --- /dev/null +++ b/less/combat.less @@ -0,0 +1,3 @@ +// Combat styles + +// Placeholder - combat tracker styles diff --git a/less/creature-sheet.less b/less/creature-sheet.less new file mode 100644 index 0000000..19a3fda --- /dev/null +++ b/less/creature-sheet.less @@ -0,0 +1,8 @@ +// Creature sheet styles + +.creature-sheet { + min-width: 720px; + min-height: 680px; +} + +// Placeholder - to be expanded based on creature-sheet.html diff --git a/less/dialogs.less b/less/dialogs.less new file mode 100644 index 0000000..ac8ce89 --- /dev/null +++ b/less/dialogs.less @@ -0,0 +1,17 @@ +// Dialog styles + +.dialog { + .dialog-buttons { + .flex-row(); + justify-content: flex-end; + gap: @spacing-base; + padding-top: @spacing-medium; + border-top: 1px solid @color-border; + + button { + min-width: 80px; + } + } +} + +// Placeholder - to be expanded based on roll-dialog-generic.html diff --git a/less/fonts.less b/less/fonts.less new file mode 100644 index 0000000..3fa4361 --- /dev/null +++ b/less/fonts.less @@ -0,0 +1,13 @@ +// Font definitions + +@font-face { + font-family: "Pfeffer"; + src: url("../assets/fonts/pfeffer-simpelgotisch.regular2.otf") + format("opentype"); +} + +@font-face { + font-family: "Montserrat"; + src: url("../assets/fonts/Montserrat-Medium.woff") format("woff"); + font-weight: normal; +} diff --git a/less/forms.less b/less/forms.less new file mode 100644 index 0000000..0327a29 --- /dev/null +++ b/less/forms.less @@ -0,0 +1,27 @@ +// Form elements specific styles + +form { + input[type="checkbox"] { + width: auto; + margin: 0 @spacing-base; + } + + input[disabled], + select[disabled], + textarea[disabled] { + opacity: 0.6; + cursor: not-allowed; + background: lighten(@color-border, 25%); + } +} + +.editor { + min-height: 100px; + border: @input-border; + border-radius: @input-border-radius; + padding: @spacing-base; + + .editor-content { + min-height: 80px; + } +} diff --git a/less/hawkmoon.less b/less/hawkmoon.less new file mode 100644 index 0000000..ce29ae8 --- /dev/null +++ b/less/hawkmoon.less @@ -0,0 +1,4 @@ +// Main LESS file for Hawkmoon system +// Temporarily importing the full converted simple.css while we refactor + +@import "simple-converted"; diff --git a/less/hud.less b/less/hud.less new file mode 100644 index 0000000..facb364 --- /dev/null +++ b/less/hud.less @@ -0,0 +1,3 @@ +// HUD styles + +// Placeholder - to be expanded based on hud-adversites.html diff --git a/less/item-sheets.less b/less/item-sheets.less new file mode 100644 index 0000000..63e45ef --- /dev/null +++ b/less/item-sheets.less @@ -0,0 +1,109 @@ +// Item sheets styles + +.item-sheet { + min-width: 500px; + min-height: 400px; + + .sheet-header { + .flex-row(); + gap: @spacing-medium; + padding: @spacing-medium; + background: lighten(@color-secondary, 65%); + border-bottom: 2px solid @color-primary; + + img.item-sheet-img { + flex: 0 0 48px; + width: 48px; + height: 48px; + object-fit: cover; + border: 2px solid @color-border; + border-radius: @input-border-radius; + cursor: pointer; + + &:hover { + border-color: @color-primary; + } + } + + .header-fields { + flex: 1; + + h1 { + margin: 0 0 @spacing-base 0; + font-size: 1.2rem; + font-weight: bold; + border: none; + + input { + font-size: 1.2rem; + font-weight: bold; + border: none; + background: transparent; + + &:focus { + background: white; + border: @input-border; + } + } + } + } + + .header-actions { + .flex-row(); + gap: @spacing-base; + + button { + padding: @spacing-small @spacing-base; + font-size: @font-size-small; + } + } + } + + .sheet-body { + padding: @spacing-medium; + } + + // Predilections section + .predilections-list { + .predilection-item { + padding: @spacing-base; + margin-bottom: @spacing-small; + border: 1px solid lighten(@color-border, 15%); + border-radius: @input-border-radius; + + .predilection-header { + .flex-row(); + margin-bottom: @spacing-small; + + input[type="text"] { + flex: 1; + } + + input[type="checkbox"] { + margin: 0 @spacing-small; + } + } + + .predilection-description { + textarea { + width: 100%; + min-height: 40px; + } + } + } + } + + // Automation section + .automation-item { + padding: @spacing-base; + margin-bottom: @spacing-small; + background: lighten(@color-secondary, 70%); + border-radius: @input-border-radius; + + hr { + margin: @spacing-small 0; + border: none; + border-top: 1px solid @color-border; + } + } +} diff --git a/less/items.less b/less/items.less new file mode 100644 index 0000000..f8d42df --- /dev/null +++ b/less/items.less @@ -0,0 +1,47 @@ +// Item-related styles + +.item-control { + flex: 0 0 24px; + height: 24px; + line-height: 24px; + text-align: center; + cursor: pointer; + border: none; + background: transparent; + + i { + font-size: @font-size-base; + } + + &:hover { + color: @color-primary; + } +} + +.item-image { + flex: 0 0 36px; + height: 36px; + cursor: pointer; + + img { + width: 100%; + height: 100%; + object-fit: cover; + border: 1px solid @color-border; + border-radius: @input-border-radius; + } +} + +.item-name { + flex: 1; + cursor: pointer; + + &:hover { + color: @color-primary; + } +} + +.item-value { + flex: 0 0 60px; + text-align: center; +} diff --git a/less/mixins.less b/less/mixins.less new file mode 100644 index 0000000..afa1c17 --- /dev/null +++ b/less/mixins.less @@ -0,0 +1,58 @@ +// Mixins for Hawkmoon system + +// Flexbox helpers +.flex-row { + display: flex; + flex-direction: row; + align-items: center; +} + +.flex-column { + display: flex; + flex-direction: column; +} + +.flex-center { + display: flex; + justify-content: center; + align-items: center; +} + +// Common input styling +.input-base { + padding: @input-padding; + border: @input-border; + border-radius: @input-border-radius; + font-size: @font-size-base; + + &:focus { + outline: none; + border-color: @color-primary; + } +} + +// Button styling +.button-base { + padding: @button-padding; + border: @input-border; + border-radius: @button-border-radius; + background: @color-background; + cursor: pointer; + font-family: @font-family-base; + + &:hover { + background: lighten(@color-secondary, 60%); + } + + &:active { + background: lighten(@color-secondary, 50%); + } +} + +// Label styling +.label-base { + font-family: @font-family-base; + font-size: @font-size-base; + font-weight: 700; + color: @color-text-dark; +} diff --git a/less/simple-converted.less b/less/simple-converted.less new file mode 100644 index 0000000..7c24092 --- /dev/null +++ b/less/simple-converted.less @@ -0,0 +1,1665 @@ +/* ==================== (A) Fonts ==================== */ +@font-face { + font-family: "Pfeffer"; + src: url("../assets/fonts/pfeffer-simpelgotisch.regular2.otf") + format("opentype"); +} + +@font-face { + font-family: "Montserrat"; + src: url("../assets/fonts/Montserrat-Medium.woff") format("woff"); + font-weight: normal; +} + +:root { + /* =================== 1. ACTOR SHEET FONT STYLES =========== */ + --window-header-font-family: Montserrat; + --window-header-title-font-size: 0.95rem; + --window-header-title-font-weight: normal; + --window-header-title-color: #f5f5f5; + + --major-button-font-family: Montserrat; + --major-button-font-size: 0.95rem; + --major-button-font-weight: normal; + --major-button-color: #dadada; + + --tab-header-font-family: Montserrat; + --tab-header-font-size: 1rem; + --tab-header-font-weight: 700; + --tab-header-color: #403f3e; + --tab-header-color-active: #4a0404; + + --actor-input-font-size: 0.9rem; + --actor-input-font-weight: 500; + --actor-input-color: black; + + --actor-label-font-size: 0.9rem; + --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; +} + +* { + scrollbar-color: initial; +} + +::-webkit-scrollbar-thumb { + border-color: #ff6400; +} + +@-moz-document url-prefix() { + * { + scrollbar-color: #782e22 transparent; + scrollbar-width: thin; + } +} + +.window-app button, +.window-app select, +.window-app input { + font-family: "Montserrat"; + text-align: center; +} + +/*@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: Montserrat; + text-align: justify; + font-size: 12px; + letter-spacing: 1px; + background-image: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; +} + +/* Fonts */ +.window-app .window-header, +#actors .directory-list, +#navigation #scene-list .scene.nav-item { + font-family: "Montserrat"; + font-size: 0.8rem; +} + +/* For title, sidebar character and scene */ +.sheet header.sheet-header h1 input { + font-family: "Pfeffer"; + font-size: 0.8rem; + color: lightgray; +} + +.journal-sidebar .headings .heading.h3, +.journal-sidebar .headings .heading.h4, +.journal-sidebar .headings .heading.h2 { + color: #e6dede; +} + +.sheet nav.sheet-tabs { + font-family: "Pfeffer"; + font-size: 0.8rem; + color: #151c1f; +} + +/* For nav and title */ +.window-app input, +.fvtt-hawkmoon-cyd .item-form, +.sheet header.sheet-header .flex-group-center.flex-compteurs, +.sheet header.sheet-header .flex-group-center.flex-fatigue, +select, +button, +.item-checkbox, +#sidebar, +#players, +#navigation #nav-toggle { + font-size: 0.8rem; +} + +.fvtt-hawkmoon-cyd .sheet-header select option { + background-color: rgb(68, 25, 25); +} + +.fvtt-hawkmoon-cyd .sheet-header input, +.fvtt-hawkmoon-cyd .sheet-header select { + color: lightgray; +} + +.window-header { + background: rgba(0, 0, 0, 0.75); +} + +.window-app.sheet .window-content { + margin: 0; + padding: 0; + background-image: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; +} + +.strong-text { + font-weight: bold; +} + +.tabs .item.active, +.blessures-list li ul li:first-child:hover, +a:hover { + text-shadow: 1px 0px 0px #ff6600; +} + +.rollable:hover, +.rollable:focus { + color: #000; + text-shadow: 0 0 10px red; + cursor: pointer; +} + +input:disabled { + color: #1c2058; +} + +select:disabled { + color: #1c2058; +} + +table { + border: 1px solid #7a7971; +} + +.grid, +.grid-2col { + display: grid; + grid-column: span 2 / span 2; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 10px; + margin: 10px 0; + padding: 0; +} + +.grid-3col { + grid-column: span 3 / span 3; + grid-template-columns: repeat(3, minmax(0, 1fr)); +} + +.grid-4col { + grid-column: span 4 / span 4; + grid-template-columns: repeat(4, minmax(0, 1fr)); +} + +.grid-5col { + grid-column: span 5 / span 5; + grid-template-columns: repeat(5, minmax(0, 1fr)); +} + +.grid-6col { + grid-column: span 5 / span 5; + grid-template-columns: repeat(5, minmax(0, 1fr)); +} + +.grid-7col { + grid-column: span 7 / span 7; + grid-template-columns: repeat(7, minmax(0, 1fr)); +} + +.grid-8col { + grid-column: span 8 / span 8; + grid-template-columns: repeat(8, minmax(0, 1fr)); +} + +.grid-9col { + grid-column: span 9 / span 9; + grid-template-columns: repeat(9, minmax(0, 1fr)); +} + +.grid-10col { + grid-column: span 10 / span 10; + grid-template-columns: repeat(10, minmax(0, 1fr)); +} + +.grid-11col { + grid-column: span 11 / span 11; + grid-template-columns: repeat(11, minmax(0, 1fr)); +} + +.grid-12col { + grid-column: span 12 / span 12; + grid-template-columns: repeat(12, minmax(0, 1fr)); +} + +.flex-group-center, +.flex-group-left, +.flex-group-right { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + padding: 5px; +} + +.flex-group-left { + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + text-align: left; +} + +.flex-group-right { + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + text-align: right; +} + +.flex-center { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; +} + +.table-create-actor { + font-size: 0.8rem; +} + +.flex-between { + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.flex-shrink { + flex: "flex-shrink"; +} + +/* Styles limited to foundryvtt-vadentis sheets */ + +.fvtt-hawkmoon-cyd .sheet-header { + -webkit-box-flex: 0; + -ms-flex: 0 0 210px; + flex: 0 0 210px; + overflow: hidden; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + margin-bottom: 10px; + background-image: url("../assets/ui/hawkmoon_background_01.png"); +} + +.sheet.journal-entry .journal-sidebar { + color: #000; +} + +.background-sheet-header { + background-image: url("../assets/ui/hawkmoon_background_01.png"); + background-blend-mode: soft-light; + color: lightgray; + width: 100%; +} + +.fvtt-hawkmoon-cyd .sheet-header .profile-img { + -webkit-box-flex: 0; + -ms-flex: 0 0 128px; + flex: 0 0 128px; + height: 128px; + width: 128px; + margin-right: 10px; + object-fit: cover; + object-position: 50% 0; +} + +.button-img { + vertical-align: baseline; + width: 8%; + height: 8%; + max-height: 48px; + border-width: 0; + border: 1px solid rgba(0, 0, 0, 0); +} + +.button-img:hover { + color: rgba(255, 255, 128, 0.7); + border: 1px solid rgba(255, 128, 0, 0.8); + cursor: pointer; +} + +.button-effect-img { + vertical-align: baseline; + width: 16px; + max-height: 16px; + height: 16; + border-width: 0; +} + +.small-button-container { + height: 16px; + width: 16px; + border: 0; + vertical-align: bottom; +} + +.fvtt-hawkmoon-cyd .sheet-header .header-fields { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.fvtt-hawkmoon-cyd .sheet-header h1.charname { + height: 50px; + padding: 0px; + margin: 5px 0; + border-bottom: 0; + font-weight: bold; + font-size: 2rem; + font-family: "Pfeffer"; + color: lightgray; + text-align: left; +} + +.fvtt-hawkmoon-cyd .sheet-header h1.charname input { + width: 100%; + height: 100%; + margin: 0; + font-weight: bold; + font-family: "Pfeffer"; + font-size: 2rem; + color: lightgray; + text-align: left; +} + +.fvtt-hawkmoon-cyd .sheet-tabs { + -webkit-box-flex: 0; + -ms-flex: 0; + flex: 0; +} + +.fvtt-hawkmoon-cyd .sheet-body, +.fvtt-hawkmoon-cyd .sheet-body .tab, +.fvtt-hawkmoon-cyd .sheet-body .tab .editor { + height: 100%; + font-size: 0.8rem; + color: rgba(0, 0, 0, 0.9); +} + +.fvtt-hawkmoon-cyd .sheet-body input, +.fvtt-hawkmoon-cyd .sheet-body select { + color: rgba(0, 0, 0, 0.9); +} + +.editor { + border: 2; + height: 300px; + padding: 0 3px; +} + +.medium-editor { + border: 2; + height: 240px; + padding: 0 3px; +} + +.small-editor { + border: 2; + height: 120px; + padding: 0 3px; +} + +.fvtt-hawkmoon-cyd .tox .tox-editor-container { + background: #fff; +} + +.fvtt-hawkmoon-cyd .tox .tox-edit-area { + padding: 0 8px; +} + +.fvtt-hawkmoon-cyd .resource-label { + font-weight: bold; + text-transform: uppercase; +} + +.fvtt-hawkmoon-cyd .tabs { + height: 40px; + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + color: #000000; +} + +.fvtt-hawkmoon-cyd .tabs .item { + /*line-height: 40px;*/ + font-weight: bold; +} + +.fvtt-hawkmoon-cyd .tabs .item.active { + text-decoration: underline; + text-shadow: none; +} + +.fvtt-hawkmoon-cyd .items-list { + list-style: none; + margin: 1px 0; + padding: 0; + overflow-y: auto; +} + +.fvtt-hawkmoon-cyd .items-list .item-header { + font-weight: bold; +} + +.fvtt-hawkmoon-cyd .items-list .item { + height: 30px; + line-height: 24px; + padding: 1px 0; + border-bottom: 1px solid #bbb; +} + +.fvtt-hawkmoon-cyd .items-list .item .item-image { + -webkit-box-flex: 0; + -ms-flex: 0 0 24px; + flex: 0 0 24px; + margin-right: 5px; +} + +.fvtt-hawkmoon-cyd .items-list .item img { + display: block; +} + +.fvtt-hawkmoon-cyd .items-list .item-name { + margin: 0; +} + +.fvtt-hawkmoon-cyd .items-list .item-controls { + -webkit-box-flex: 0; + -ms-flex: 0 0 86px; + flex: 0 0 86px; + text-align: right; +} + +/* ======================================== */ +/* Sheet */ +.window-app.sheet .window-content .sheet-header { + /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ + background: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; +} + +.window-app.sheet .window-content .sheet-header input[type="text"], +.window-app.sheet .window-content .sheet-header input[type="number"], +.window-app.sheet .window-content .sheet-header input[type="password"], +.window-app.sheet .window-content .sheet-header input[type="date"], +.window-app.sheet .window-content .sheet-header input[type="time"] { + /*color: rgba(36, 37, 37, 0.75);*/ + /*background: rgba(255, 255, 255, 0.05);*/ + /*border: 2px saddlebrown;*/ + /*color: lightgray;*/ + border-width: 1px; + margin-bottom: 0.25rem; +} + +.window-app .window-content, +.window-app.sheet .window-content .sheet-body { + font-size: 0.8rem; + background: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat-y; + color: black; +} + +/*section.sheet-body{ + padding: 0.25rem 0.5rem;}*/ + +.sheet header.sheet-header .profile-img { + object-fit: cover; + object-position: 50% 0; + margin: 0.5rem 0 0.5rem 0.5rem; + padding: 0; + border: 0px; +} + +.sheet nav.sheet-tabs { + font-size: 0.7rem; + font-weight: bold; + height: 2.5rem; + flex: 0 0 3rem; + margin: 0; + padding: 0 0 0 0.25rem; + text-align: center; + text-transform: uppercase; + line-height: 1.5rem; + border-top: 0 none; + border-bottom: 0 none; + /*background-color:#2e5561;*/ + color: #151c1f; + /*background-image: url("../assets/ui/hawkmoon_background_02.png");*/ +} + +/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ +nav.sheet-tabs .item { + position: relative; + padding: 0 0.25rem; +} + +nav.sheet-tabs .item:after { + content: ""; + position: absolute; + top: 0; + right: 0; + height: 2rem; + width: 1px; + /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ +} + +.sheet .tab[data-tab] { + padding: 0; +} + +section.sheet-body:after { + content: ""; + display: block; + clear: both; +} + +.sheet header.sheet-header .flex-compteurs { + text-align: right; +} + +.sheet header.sheet-header .resource-content { + width: 2rem; +} + +.select-diff { + display: inline-block; + text-align: left; + width: 50px; +} + +.window-app.sheet .window-content .tooltip:hover .tooltiptext { + top: 2rem; + left: 2rem; + margin: 0; + padding: 0.25rem; +} + +.window-app.sheet .window-content .carac-value, +.window-app.sheet .window-content .competence-xp { + margin: 0.05rem; + flex-basis: 3rem; + text-align: center; +} + +/* ======================================== */ +/* Global UI elements */ + +/* ======================================== */ + +h1, +h2, +h3, +h4 { + font-weight: bold; +} + +ul, +ol { + margin: 0; + padding: 0; +} + +ul, +li { + list-style-type: none; +} + +.sheet li { + margin: 0.01rem; + padding: 0.25rem; +} + +.header-fields li { + margin: 0; + padding: 0; +} + +.alterne-list > .list-item:hover { + background: rgba(100, 100, 50, 0.25); +} + +.alterne-list > .list-item:nth-child(even) { + background: rgba(80, 60, 0, 0.1); +} + +.alterne-list > .list-item:nth-child(odd) { + background: rgb(160, 130, 100, 0.05); +} + +.specialisation-label { + font-size: 0.8rem; +} + +.carac-label, +.attr-label { + font-weight: bold; +} + +.list-item { + margin: 0.125rem; + box-shadow: inset 0px 0px 1px #00000096; + border-radius: 0.25rem; + padding: 0.125rem; + flex: 1 1 5rem; +} + +.item-display-show { + display: block; +} + +.item-display-hide { + display: none; +} + +.conteneur-type { + background: rgb(200, 10, 100, 0.25); +} + +.item-quantite { + margin-left: 0.5rem; +} + +.list-item-margin1 { + margin-left: 1rem; +} + +.list-item-margin2 { + margin-left: 2rem; +} + +.list-item-margin3 { + margin-left: 3rem; +} + +.list-item-margin4 { + margin-left: 4rem; +} + +.sheet-competence-img { + width: 24px; + height: 24px; + flex-grow: 0; + margin-right: 0.25rem; +} + +.competence-column { + flex-direction: column; + align-content: flex-start; + justify-content: flex-start; + flex-grow: 0; + flex-basis: 1; +} + +.competence-header { + align-content: flex-start; + justify-content: flex-start; + font-weight: bold; + flex-grow: 0; +} + +.secondaire-label, +.arme-label, +.generic-label, +.competence-label, +.devotion-label, +.sort-label, +.technique-label, +.stat-label, +.arme-label, +.armure-label, +.equipement-label, +.description-label { + flex-grow: 2; + margin-left: 4px; +} + +.roll-dialog-label { + margin: 4px 0; + padding-top: 7px; +} + +.short-label { + flex-grow: 1; +} + +.keyword-label { + font-size: 0.85rem; +} + +.item-sheet-label { + flex-grow: 1; +} + +.item-text-long-line { + flex-grow: 3; +} + +.score-label { + flex-grow: 2; + align-content: center; +} + +.attribut-value, +.carac-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} + +.sante-value, +.competence-value { + flex-grow: 0; + flex-basis: 2rem; + margin-right: 0.25rem; + margin-left: 0.25rem; +} + +.description-value { + flex-grow: 0; + flex-basis: 4rem; + margin-right: 0.25rem; + margin-left: 0.25rem; +} + +.competence-xp { + flex-grow: 0; + flex-basis: 2rem; + margin-right: 0.25rem; + margin-left: 0.25rem; +} + +.blessures-title { + font-weight: bold; +} + +.alchimie-title { + font-weight: bold; +} + +.blessure-data { + flex-direction: row; + align-content: flex-start; + justify-content: flex-start; +} + +.blessures-soins { + flex-grow: 0; + flex-basis: 32px; + margin-right: 4px; + margin-left: 4px; +} + +.blessures-loc { + flex-grow: 0; + flex-basis: 96px; + margin-right: 4px; + margin-left: 4px; +} + +.pointsreve-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} + +.input-sante-header, +.stress-style { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} + +.small-label { + margin-top: 5px; +} + +.padd-right { + margin-right: 8px; +} + +.padd-left { + margin-left: 8px; +} + +.stack-left { + align-items: center; + flex-shrink: 1; + flex-grow: 0; +} + +.npc-stat-label { + flex-grow: 2; +} + +.packed-left { + white-space: nowrap; + flex-grow: 0; +} + +.numeric-input { + text-align: right; + direction: rtl; + padding: 5px; +} + +.input-numeric-short { + width: 40px; + max-width: 40px; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 40px; + margin-right: 0.25rem; + margin-left: 0.25rem; +} + +.stats-table { + align-content: flex-start; +} + +/* ======================================== */ +.tokenhudext { + display: flex; + flex: 0 !important; + font-weight: 600; +} + +.tokenhudext.left { + justify-content: flex-start; + flex-direction: column; + position: absolute; + top: 2.75rem; + right: 4rem; +} + +.tokenhudext.right { + justify-content: flex-start; + flex-direction: column; + position: absolute; + top: 2.75rem; + left: 4rem; +} + +.control-icon.tokenhudicon { + width: fit-content; + height: fit-content; + min-width: 6rem; + min-height: 1.2rem; + flex-basis: auto; + padding: 0; + line-height: 1rem; + margin: 0.25rem; +} + +.control-icon.tokenhudicon.right { + margin-left: 8px; +} + +#token-hud .status-effects.active { + z-index: 2; +} + +/* ======================================== */ +.item-checkbox { + height: 25px; + border: 1px solid #736953a6; + border-left: none; + font-weight: 500; + font-size: 1rem; + color: black; + padding-top: 5px; + margin-right: 0px; + width: 45px; + position: relative; + left: 0px; + text-align: center; +} + +.flex-actions-bar { + flex-grow: 2; +} + +/* ======================================== */ +/* Sidebar CSS */ +#sidebar { + font-size: 1rem; + background-position: 100%; +} + +/* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ + +#sidebar.collapsed { + height: 470px !important; +} + +#sidebar-tabs > .collapsed, +#chat-controls .chat-control-icon { + color: rgba(220, 220, 220, 0.75); + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); +} + +.sidebar-tab .directory-list .entity { + border-top: 1px dashed rgba(0, 0, 0, 0.25); + border-bottom: 0 none; + padding: 0.25rem 0; +} + +.sidebar-tab .directory-list .entity:hover { + background: rgba(0, 0, 0, 0.05); + cursor: pointer; +} + +.chat-message-header { + background: rgba(220, 220, 210, 0.5); + font-size: 1.1rem; + height: 48px; + text-align: center; + vertical-align: middle; + display: flex; + align-items: center; +} + +.chat-message .message-header .flavor-text, +.chat-message .message-header .whisper-to { + font-size: 0.9rem; +} + +.chat-message .message-content { + font-size: 0.9rem; + font-family: CentaurMT; +} + +.chat-actor-name { + padding: 4px; +} + +.chat-img { + width: 64px; + height: 64px; +} + +.roll-dialog-header { + height: 52px; +} + +.adversite-text { + font-weight: bold; + position: absolute; + top: 50%; + left: 54%; + transform: translate(-50%, -50%); +} + +.icon-adversite-container { + position: relative; + text-align: center; + color: white; + width: 64px; + min-height: 48px; +} + +.icon-adversite { + width: 48px; + border: 0px; + margin-left: 8px; +} + +.hud-adversite-container { + position: relative; + text-align: center; + color: darkgreen; + width: 64px; + min-height: 64px; +} + +.hud-adversite-text { + font-weight: bold; + font-size: 0.9rem; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-60%, -90%); +} + +.actor-icon { + float: left; + width: 48px; + height: 48px; + padding: 2px 6px 2px 2px; +} + +.padding-dice { + padding-top: 0.2rem; + padding-bottom: 0.2rem; +} + +.dice-image { + box-sizing: border-box; + border: none; + border-radius: 0; + max-width: 100%; +} + +.dice-image-reroll { + background-color: rgba(115, 224, 115, 0.25); + border-color: #011d33; + box-sizing: border-box; + border: 1px; + border-radius: 0%; + max-width: 100%; +} + +.chat-dice { + width: 15%; + height: 15%; + font-size: 15px; + padding: 10px; + /*padding-bottom: 20px;*/ + padding-top: 0.2rem; + padding-bottom: 0.2rem; +} + +.div-center { + align-self: center; +} + +.chat-message { + background: rgba(220, 220, 210, 0.5); + font-size: 0.9rem; +} + +.chat-message.whisper { + background: rgba(220, 220, 210, 0.75); + border: 2px solid #545469; +} + +.chat-message .chat-icon { + border: 0; + padding: 2px 6px 2px 2px; + float: left; + width: 64px; + height: 64px; +} + +#sidebar-tabs { + flex: 0 0 32px; + box-sizing: border-box; + margin: 0 0 5px; + border-bottom: 1px solid rgba(0, 0, 0, 0); + box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); +} + +#sidebar-tabs > .item.active { + border: 1px solid rgba(114, 98, 72, 1); + background: rgba(30, 25, 20, 0.75); + box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); +} + +#sidebar #sidebar-tabs i { + display: inline-block; + background-position: center; + background-size: cover; + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); +} + +/*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.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-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;} + +#combat #combat-controls { + box-shadow: inset 0 0 2rem rgba(0,0,0,0.5); +} +*/ + +/*--------------------------------------------------------------------------*/ +/* Control, Tool, hotbar & navigation */ + +#controls .scene-control, +#controls .control-tool { + box-shadow: 0 0 3px #000; + margin: 0 0 8px; + border-radius: 0; + background: rgba(30, 25, 20, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; +} + +#controls .scene-control.active, +#controls .control-tool.active, +#controls .scene-control:hover, +#controls .control-tool:hover { + background: rgba(72, 46, 28, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + box-shadow: 0 0 3px #ff6400; +} + +#hotbar #action-bar #macro-list { + border: 1px solid rgba(72, 46, 28, 1); + box-shadow: 2px 2px 5px #000000; +} + +#hotbar #action-bar .macro { + border-image: url(img/ui/bg_control.jpg) 21 repeat; + border-image-slice: 6 6 6 6 fill; + border-image-width: 6px 6px 6px 6px; + border-image-outset: 0px 0px 0px 0px; + border-radius: 0px; +} + +#hotbar .bar-controls { + background: rgba(30, 25, 20, 1); + border: 1px solid rgba(72, 46, 28, 1); +} + +#players { + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + background: rgba(30, 25, 20, 1); +} + +#navigation #scene-list .scene.nav-item.active { + background: rgba(72, 46, 28, 1); +} + +#navigation #scene-list .scene.nav-item { + background: rgba(30, 25, 20, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; +} + +#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.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + box-shadow: 0 0 3px #ff6400; +} + +#navigation #nav-toggle { + background: rgba(30, 25, 20, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; +} + +/* Tooltip container */ +.tooltip { + position: relative; + display: inline-block; + /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ +} + +/* Tooltip text */ +.tooltip .tooltiptext { + text-align: left; + background: rgba(231, 229, 226, 0.9); + width: 150px; + padding: 3px 0; + font-size: 0.9rem; + + /* Position the tooltip text */ + top: 1px; + position: absolute; + z-index: 1; + + /* Fade in tooltip */ + visibility: hidden; + opacity: 0; + transition: opacity 0.3s; +} + +.tooltip .ttt-fatigue { + width: 360px; + + background: rgba(30, 25, 20, 0.9); + border-image: url(img/ui/bg_control.jpg) 21 repeat; + border-image-slice: 6 6 6 6 fill; + border-image-width: 6px 6px 6px 6px; + border-image-outset: 0px 0px 0px 0px; + border-radius: 0px; + + font-size: 0.8rem; + padding: 3px 0; +} + +.tooltip .ttt-ajustements { + width: 150px; + background: rgba(220, 220, 210, 0.95); + border-radius: 6px; + font-size: 0.9rem; + padding: 3px 0; +} + +.tooltip-nobottom { + border-bottom: unset; + /* If you want dots under the hoverable text */ +} + +.tooltip .ttt-xp { + width: 250px; + background: rgba(220, 220, 210, 0.95); + border-radius: 6px; + font-size: 0.9rem; + padding: 3px 0; +} + +/* Show the tooltip text when you mouse over the tooltip container */ +.tooltip:hover .tooltiptext { + visibility: visible; + opacity: 1; +} + +.chat-card-button { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); + background-color: #7d5d3b00; + border-radius: 3px; + border: 2px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-size: 0.8rem; + padding: 4px 4px 0px 4px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + /*margin:2px;*/ +} + +.chat-card-button:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: rgb(56, 33, 33); +} + +.chat-card-button:active { + position: relative; + top: 1px; +} + +.button-sheet-roll { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); + background-color: #7d5d3b00; + border-radius: 4px; + border: 1px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-size: 0.8rem; + padding: 1px 1px 0px 1px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + max-height: 1.7rem; + flex-grow: 1; + max-width: 3.5rem; + min-width: 3.5rem; +} + +.button-sheet-roll:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: rgb(56, 33, 33); +} + +.button-sheet-roll:active { + position: relative; + top: 1px; +} + +.defense-sheet { + border-radius: 4px; + text-align: center; + display: inline-block; + font-size: 0.8rem; + padding: 1px 1px 0px 1px; + text-decoration: none; + position: relative; + max-height: 1.7rem; + margin-left: 4px; + flex-grow: 1; + max-width: 3.5rem; + min-width: 3.5rem; +} + +.plus-minus-button { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); + background-color: #7d5d3b00; + border-radius: 4px; + border: 2px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + padding: 3px 6px 2px 6px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + margin: 3px; + max-width: 24px; + max-height: 24px; +} + +.river-button:hover, +.plus-minus-button:hover, +.chat-card-button:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: red; +} + +.plus-minus-button:active, +.chat-card-button:active { + position: relative; + top: 1px; +} + +.plus-minus { + font-size: 0.9rem; + font-weight: bold; +} + +.ul-level1 { + padding-left: 2rem; +} + +.drop-spec2 { + background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); + background-color: #7d5d3b00; + border-radius: 3px; + border: 2px ridge #846109; +} + +.label-name { + padding-top: 7px; + padding-left: 4px; + margin-left: 4px; + min-width: 5rem; + max-width: 5rem; +} + +/*************************************************************/ +.competence-name { + padding-top: 7px; + padding-left: 4px; + margin-left: 4px; + flex-grow: 2; +} + +/*************************************************************/ +.competence-niveau { + flex-grow: 1; + min-width: 64px; + max-width: 64px; +} + +/*************************************************************/ +.arme-defensif { + padding-top: 7px; + text-align: center; + flex-grow: 2; +} + +/*************************************************************/ +.item-name-img { + flex-grow: 1; + max-width: 2rem; + min-width: 2rem; + max-height: 2rem; +} + +/*************************************************************/ +#pause { + font-size: 2rem; +} + +#pause > h3 { + color: #ccc; +} + +#pause > img { + content: url(../assets/logos/hawkmoon_logo.webp); + height: 256px; + width: 256px; + top: -80px; + left: calc(50% - 132px); +} + +#logo { + content: url(../assets/logos/hawkmoon_logo.webp); + width: 120px; + height: 40px; +} + +.dice-cell { + padding-left: 12px; + padding-right: 12px; + width: 60px; + text-align: center; +} + +.dice-formula, +.dice-total { + height: 54px; + position: relative; +} + +.item-name-label-header { + flex-grow: 2; + max-width: 12rem; + min-width: 12rem; +} + +.item-name-label { + flex-grow: 2; + max-width: 10rem; + min-width: 10rem; +} + +.item-name-label-level2 { + flex-grow: 2; + max-width: 9rem; + min-width: 9rem; +} + +.item-field-label-short { + padding-top: 6px; + flex-grow: 1; + max-width: 4rem; + min-width: 4rem; +} + +.item-field-label-medium { + padding-top: 6px; + flex-grow: 1; + max-width: 7rem; + min-width: 7rem; +} + +.item-field-label-long { + padding-top: 6px; + flex-grow: 1; + max-width: 8rem; + min-width: 8rem; +} + +.item-field-label-long1 { + padding-top: 6px; + flex-grow: 1; + max-width: 12rem; + min-width: 12rem; +} + +.item-field-label-long2 { + padding-top: 6px; + flex-grow: 1; + max-width: 20rem; + min-width: 20rem; +} + +.item-control-end { + align-self: flex-end; +} + +.alternate-list { + margin-top: 2px; + flex-wrap: nowrap; +} + +.item-filler { + flex-grow: 6; + flex-shrink: 7; +} + +.item-controls-fixed { + min-width: 3.2rem; + max-width: 3.2rem; +} + +.item-field { + justify-content: flex-start; + flex-grow: 1; +} + +.chat-success { + font-size: 1.2rem; + font-weight: bold; + color: darkgreen; +} + +.chat-failure { + font-size: 1.2rem; + font-weight: bold; + color: darkred; +} + +.adversite-modify { + margin-top: 12px; +} + +.argent-total-text { + margin-left: 4px; +} + +.compendium h4.entry-name.document-name { + color: black; +} + +.page-title { + color: rgb(233, 226, 226); +} + +textarea { + font-family: "Montserrat"; + font-size: 0.8rem; +} + +.fxmaster { + background: #443e37e0; + background-color: #443e37e0; +} + +.predilection-text { + padding-left: 8px; + font-style: italic; + font-size: 0.6rem; +} + +/* AppV2 Item Sheets - Tab Management */ +.fvtt-hawkmoon-cyd.item .tab[data-tab], +.item-sheet .tab[data-tab] { + display: none; +} + +.fvtt-hawkmoon-cyd.item .tab[data-tab].active, +.item-sheet .tab[data-tab].active { + display: block; +} + +.fvtt-hawkmoon-cyd.item nav.tabs a.item, +.item-sheet nav.tabs a.item { + opacity: 0.6; +} + +.fvtt-hawkmoon-cyd.item nav.tabs a.item.active, +.item-sheet nav.tabs a.item.active { + opacity: 1; + font-weight: bold; + border-bottom: 2px solid; +} + +/* AppV2 Item Sheets - Specific fixes */ +.fvtt-hawkmoon-cyd.item header.sheet-header img.item-sheet-img, +.item-sheet header.sheet-header img.item-sheet-img { + flex: 0 0 48px; + width: 48px; + height: 48px; + max-width: 48px; + max-height: 48px; +} + +/* AppV2 Item Sheets - Header Layout */ +.fvtt-hawkmoon-cyd.item header.sheet-header, +.item-sheet header.sheet-header { + display: flex; + flex-direction: row; + align-items: center; + gap: 8px; + padding: 8px; +} + +.fvtt-hawkmoon-cyd.item header.sheet-header .header-actions, +.item-sheet header.sheet-header .header-actions { + display: flex; + flex-direction: row; + gap: 4px; + align-items: center; +} + +.fvtt-hawkmoon-cyd.item header.sheet-header .header-actions button, +.item-sheet header.sheet-header .header-actions button { + padding: 4px 8px; + font-size: 0.8rem; + white-space: nowrap; +} diff --git a/less/tabs.less b/less/tabs.less new file mode 100644 index 0000000..d9efa8b --- /dev/null +++ b/less/tabs.less @@ -0,0 +1,39 @@ +// Tabs navigation + +.tabs { + .flex-row(); + gap: 0; + border-bottom: 2px solid @color-border; + margin-bottom: @spacing-medium; + + .item { + padding: @spacing-base @spacing-large; + font-family: @font-family-base; + font-size: @font-size-large; + font-weight: 700; + color: @color-secondary; + cursor: pointer; + border: none; + border-bottom: 3px solid transparent; + background: transparent; + transition: all 0.2s; + + &:hover { + color: @color-primary; + background: lighten(@color-secondary, 70%); + } + + &.active { + color: @color-primary; + border-bottom-color: @color-primary; + } + } +} + +.tab { + display: none; + + &.active { + display: block; + } +} diff --git a/less/variables.less b/less/variables.less new file mode 100644 index 0000000..a91673a --- /dev/null +++ b/less/variables.less @@ -0,0 +1,36 @@ +// Variables for Hawkmoon system + +// =================== Fonts =================== +@font-family-base: Montserrat; +@font-family-decorative: Pfeffer; + +// =================== Colors =================== +@color-primary: #4a0404; +@color-secondary: #403f3e; +@color-text-light: #f5f5f5; +@color-text-dark: #464331c4; +@color-border: #7a7971; +@color-background: #fff; + +// =================== Sizes =================== +@font-size-small: 0.8rem; +@font-size-base: 0.9rem; +@font-size-medium: 0.95rem; +@font-size-large: 1rem; + +@spacing-small: 2px; +@spacing-base: 4px; +@spacing-medium: 8px; +@spacing-large: 12px; + +// =================== Form Elements =================== +@input-padding: 2px 4px; +@input-border-radius: 3px; +@input-border: 1px solid @color-border; + +// =================== Buttons =================== +@button-padding: 4px 8px; +@button-border-radius: 3px; + +// =================== Windows =================== +@window-header-height: 28px; diff --git a/less/windows.less b/less/windows.less new file mode 100644 index 0000000..2e1907c --- /dev/null +++ b/less/windows.less @@ -0,0 +1,70 @@ +// Window and sheet styles + +.window-app { + .window-header { + font-family: @font-family-base; + + .window-title { + font-size: @font-size-medium; + font-weight: normal; + color: @color-text-light; + } + } + + .window-content { + background: @color-background; + padding: @spacing-medium; + } +} + +// Sheet sections +.sheet-header { + .flex-row(); + padding: @spacing-medium; + border-bottom: 2px solid @color-primary; + margin-bottom: @spacing-medium; + + img.profile-img { + flex: 0 0 100px; + height: 100px; + object-fit: cover; + border: 2px solid @color-border; + border-radius: @input-border-radius; + cursor: pointer; + + &:hover { + border-color: @color-primary; + } + } + + .header-fields { + flex: 1; + padding-left: @spacing-medium; + } +} + +.sheet-body { + overflow-y: auto; + + section { + margin-bottom: @spacing-large; + } +} + +// Edit/Play mode toggle +.sheet-mode-toggle { + position: absolute; + top: @spacing-base; + right: 80px; + z-index: 10; + + button { + padding: @spacing-small @spacing-base; + font-size: @font-size-small; + + &.active { + background: @color-primary; + color: @color-text-light; + } + } +} diff --git a/modules/applications/sheets/_module.mjs b/modules/applications/sheets/_module.mjs new file mode 100644 index 0000000..b1bbd87 --- /dev/null +++ b/modules/applications/sheets/_module.mjs @@ -0,0 +1,12 @@ +export { default as HawkmoonTalentSheet } from "./talent-sheet.mjs" +export { default as HawkmoonCompetenceSheet } from "./competence-sheet.mjs" +export { default as HawkmoonArmeSheet } from "./arme-sheet.mjs" +export { default as HawkmoonProtectionSheet } from "./protection-sheet.mjs" +export { default as HawkmoonHistoriqueSheet } from "./historique-sheet.mjs" +export { default as HawkmoonProfilSheet } from "./profil-sheet.mjs" +export { default as HawkmoonEquipementSheet } from "./equipement-sheet.mjs" +export { default as HawkmoonMonnaieSheet } from "./monnaie-sheet.mjs" +export { default as HawkmoonArtefactSheet } from "./artefact-sheet.mjs" +export { default as HawkmoonRessourceSheet } from "./ressource-sheet.mjs" +export { default as HawkmoonContactSheet } from "./contact-sheet.mjs" +export { default as HawkmoonMutationSheet } from "./mutation-sheet.mjs" diff --git a/modules/applications/sheets/arme-sheet.mjs b/modules/applications/sheets/arme-sheet.mjs new file mode 100644 index 0000000..98f20ec --- /dev/null +++ b/modules/applications/sheets/arme-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonArmeSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["arme"], + position: { + width: 640, + }, + window: { + contentClasses: ["arme-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-arme-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/artefact-sheet.mjs b/modules/applications/sheets/artefact-sheet.mjs new file mode 100644 index 0000000..a5b5a08 --- /dev/null +++ b/modules/applications/sheets/artefact-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonArtefactSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["artefact"], + position: { + width: 620, + }, + window: { + contentClasses: ["artefact-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-artefact-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/base-item-sheet.mjs b/modules/applications/sheets/base-item-sheet.mjs new file mode 100644 index 0000000..2b1d512 --- /dev/null +++ b/modules/applications/sheets/base-item-sheet.mjs @@ -0,0 +1,379 @@ +const { HandlebarsApplicationMixin } = foundry.applications.api + +export default class HawkmoonItemSheet extends HandlebarsApplicationMixin(foundry.applications.sheets.ItemSheetV2) { + /** + * Different sheet modes. + * @enum {number} + */ + static SHEET_MODES = { EDIT: 0, PLAY: 1 } + + constructor(options = {}) { + super(options) + this.#dragDrop = this.#createDragDropHandlers() + } + + #dragDrop + + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["fvtt-hawkmoon-cyd", "item"], + position: { + width: 620, + height: "auto", + }, + form: { + submitOnChange: true, + }, + window: { + resizable: true, + }, + tabs: [ + { + navSelector: 'nav[data-group="primary"]', + contentSelector: "section.sheet-body", + initial: "description", + }, + ], + dragDrop: [{ dragSelector: "[data-drag]", dropSelector: null }], + actions: { + toggleSheet: HawkmoonItemSheet.#onToggleSheet, + editImage: HawkmoonItemSheet.#onEditImage, + postItem: HawkmoonItemSheet.#onPostItem, + addPredilection: HawkmoonItemSheet.#onAddPredilection, + deletePredilection: HawkmoonItemSheet.#onDeletePredilection, + addAutomation: HawkmoonItemSheet.#onAddAutomation, + deleteAutomation: HawkmoonItemSheet.#onDeleteAutomation, + }, + } + + /** + * The current sheet mode. + * @type {number} + */ + _sheetMode = this.constructor.SHEET_MODES.PLAY + + /** + * Tab groups state + * @type {object} + */ + tabGroups = { primary: "description" } + + /** + * Is the sheet currently in 'Play' mode? + * @type {boolean} + */ + get isPlayMode() { + return this._sheetMode === this.constructor.SHEET_MODES.PLAY + } + + /** + * Is the sheet currently in 'Edit' mode? + * @type {boolean} + */ + get isEditMode() { + return this._sheetMode === this.constructor.SHEET_MODES.EDIT + } + + /** @override */ + async _prepareContext() { + const context = { + fields: this.document.schema.fields, + systemFields: this.document.system.schema.fields, + item: this.document, + system: this.document.system, + source: this.document.toObject(), + enrichedDescription: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }), + isEditMode: this.isEditMode, + isPlayMode: this.isPlayMode, + isEditable: this.isEditable, + isGM: game.user.isGM, + config: CONFIG.HAWKMOON, + attributs: this.#getAttributs(), + } + return context + } + + /** @override */ + _onRender(context, options) { + super._onRender(context, options) + this.#dragDrop.forEach((d) => d.bind(this.element)) + + // Activate tab navigation manually + const nav = this.element.querySelector('nav.tabs[data-group]') + if (nav) { + const group = nav.dataset.group + // Activate the current tab + const activeTab = this.tabGroups[group] || "description" + nav.querySelectorAll('[data-tab]').forEach(link => { + const tab = link.dataset.tab + link.classList.toggle('active', tab === activeTab) + link.addEventListener('click', (event) => { + event.preventDefault() + this.tabGroups[group] = tab + this.render() + }) + }) + + // Show/hide tab content + this.element.querySelectorAll('[data-group="' + group + '"][data-tab]').forEach(content => { + content.classList.toggle('active', content.dataset.tab === activeTab) + }) + } + } + + // #region Drag-and-Drop Workflow + /** + * Create drag-and-drop workflow handlers for this Application + * @returns {DragDrop[]} An array of DragDrop handlers + * @private + */ + #createDragDropHandlers() { + return this.options.dragDrop.map((d) => { + d.permissions = { + dragstart: this._canDragStart.bind(this), + drop: this._canDragDrop.bind(this), + } + d.callbacks = { + dragstart: this._onDragStart.bind(this), + dragover: this._onDragOver.bind(this), + drop: this._onDrop.bind(this), + } + return new foundry.applications.ux.DragDrop.implementation(d) + }) + } + + /** + * Can the User start a drag workflow for a given drag selector? + * @param {string} selector The candidate HTML selector for the drag event + * @returns {boolean} Can the current user drag this selector? + * @protected + */ + _canDragStart(selector) { + return this.isEditable + } + + /** + * Can the User drop an entry at a given drop selector? + * @param {string} selector The candidate HTML selector for the drop event + * @returns {boolean} Can the current user drop on this selector? + * @protected + */ + _canDragDrop(selector) { + return this.isEditable + } + + /** + * Callback for dragstart events. + * @param {DragEvent} event The drag start event + * @protected + */ + _onDragStart(event) { + const target = event.currentTarget + const dragData = { type: "Item", uuid: this.document.uuid } + event.dataTransfer.setData("text/plain", JSON.stringify(dragData)) + } + + /** + * Callback for dragover events. + * @param {DragEvent} event The drag over event + * @protected + */ + _onDragOver(event) { + // Default behavior is fine + } + + /** + * Callback for drop events. + * @param {DragEvent} event The drop event + * @protected + */ + async _onDrop(event) { + const data = TextEditor.getDragEventData(event) + const item = await fromUuid(data.uuid) + if (!item) return + + // Handle drop logic here if needed + console.log("Item dropped:", item) + } + // #endregion + + // #region Action Handlers + /** + * Toggle between Edit and Play mode + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static #onToggleSheet(event, target) { + this._sheetMode = this.isEditMode ? this.constructor.SHEET_MODES.PLAY : this.constructor.SHEET_MODES.EDIT + this.render() + } + + /** + * Edit the item image + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static async #onEditImage(event, target) { + const fp = new foundry.applications.ui.FilePicker({ + type: "image", + current: this.document.img, + callback: (path) => { + this.document.update({ img: path }) + }, + }) + return fp.browse() + } + + /** + * Post item to chat + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static async #onPostItem(event, target) { + let chatData = foundry.utils.duplicate(this.document) + if (this.document.actor) { + chatData.actor = { id: this.document.actor.id } + } + // Don't post any image for the item if the default image is used + if (chatData.img.includes("/blank.png")) { + chatData.img = null + } + // JSON object for easy creation + chatData.jsondata = JSON.stringify({ + compendium: "postedItem", + payload: chatData, + }) + + const html = await renderTemplate('systems/fvtt-hawkmoon-cyd/templates/post-item.hbs', chatData) + const chatOptions = { + user: game.user.id, + content: html, + } + ChatMessage.create(chatOptions) + } + + /** + * Add a predilection + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static async #onAddPredilection(event, target) { + let pred = foundry.utils.duplicate(this.document.system.predilections || []) + pred.push({ name: "Nouvelle prédilection", id: foundry.utils.randomID(16), used: false, acquise: false, maitrise: false, description: "" }) + await this.document.update({ 'system.predilections': pred }) + } + + /** + * Delete a predilection + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static async #onDeletePredilection(event, target) { + const index = parseInt(target.closest("[data-predilection-index]").dataset.predilectionIndex) + let pred = foundry.utils.duplicate(this.document.system.predilections) + pred.splice(index, 1) + await this.document.update({ 'system.predilections': pred }) + } + + /** + * Add an automation + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static async #onAddAutomation(event, target) { + let autom = foundry.utils.duplicate(this.document.system.automations || []) + autom.push({ + eventtype: "on-drop", + name: "Automatisation 1", + bonusname: "vigueur", + bonus: 0, + competence: "", + minLevel: 0, + baCost: 0, + id: foundry.utils.randomID(16) + }) + await this.document.update({ 'system.automations': autom }) + } + + /** + * Delete an automation + * @param {Event} event The triggering event + * @param {HTMLElement} target The target element + * @private + */ + static async #onDeleteAutomation(event, target) { + const index = parseInt(target.closest("[data-automation-index]").dataset.automationIndex) + let autom = foundry.utils.duplicate(this.document.system.automations) + autom.splice(index, 1) + await this.document.update({ 'system.automations': autom }) + } + // #endregion + + // #region Helper Methods + /** + * Get list of attributs + * @returns {Object} + * @private + */ + #getAttributs() { + return { + "adr": "Adresse", + "pui": "Puissance", + "cla": "Clairvoyance", + "pre": "Présence", + "tre": "Trempe" + } + } + // #endregion + + /** @override */ + _onChangeForm(formConfig, event) { + // Handle special form changes + const target = event.target + + // Handle predilection field changes + if (target.classList.contains('edit-predilection') || + target.classList.contains('edit-predilection-description') || + target.classList.contains('predilection-acquise') || + target.classList.contains('predilection-maitrise') || + target.classList.contains('predilection-used')) { + const li = target.closest('.prediction-item') + if (li) { + const index = parseInt(li.dataset.predictionIndex) + const field = target.classList.contains('edit-predilection') ? 'name' : + target.classList.contains('edit-predilection-description') ? 'description' : + target.classList.contains('predilection-acquise') ? 'acquise' : + target.classList.contains('predilection-maitrise') ? 'maitrise' : 'used' + + let pred = foundry.utils.duplicate(this.document.system.predilections) + if (target.type === 'checkbox') { + pred[index][field] = target.checked + } else { + pred[index][field] = target.value + } + pred[index].id = pred[index].id || foundry.utils.randomID(16) + this.document.update({ 'system.predilections': pred }) + return + } + } + + // Handle automation field changes + if (target.classList.contains('automation-edit-field')) { + const index = parseInt(target.dataset.automationIndex) + const field = target.dataset.automationField + let auto = foundry.utils.duplicate(this.document.system.automations) + auto[index][field] = target.value + auto[index].id = auto[index].id || foundry.utils.randomID(16) + this.document.update({ 'system.automations': auto }) + return + } + + super._onChangeForm(formConfig, event) + } +} diff --git a/modules/applications/sheets/competence-sheet.mjs b/modules/applications/sheets/competence-sheet.mjs new file mode 100644 index 0000000..22bf19a --- /dev/null +++ b/modules/applications/sheets/competence-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonCompetenceSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["competence"], + position: { + width: 620, + }, + window: { + contentClasses: ["competence-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-competence-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/contact-sheet.mjs b/modules/applications/sheets/contact-sheet.mjs new file mode 100644 index 0000000..6573b91 --- /dev/null +++ b/modules/applications/sheets/contact-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonContactSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["contact"], + position: { + width: 620, + }, + window: { + contentClasses: ["contact-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-contact-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/equipement-sheet.mjs b/modules/applications/sheets/equipement-sheet.mjs new file mode 100644 index 0000000..9a3d498 --- /dev/null +++ b/modules/applications/sheets/equipement-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonEquipementSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["equipement"], + position: { + width: 620, + }, + window: { + contentClasses: ["equipement-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-equipement-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/historique-sheet.mjs b/modules/applications/sheets/historique-sheet.mjs new file mode 100644 index 0000000..3e6d406 --- /dev/null +++ b/modules/applications/sheets/historique-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonHistoriqueSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["historique"], + position: { + width: 620, + }, + window: { + contentClasses: ["historique-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-historique-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/monnaie-sheet.mjs b/modules/applications/sheets/monnaie-sheet.mjs new file mode 100644 index 0000000..bcfb813 --- /dev/null +++ b/modules/applications/sheets/monnaie-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonMonnaieSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["monnaie"], + position: { + width: 620, + }, + window: { + contentClasses: ["monnaie-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-monnaie-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/mutation-sheet.mjs b/modules/applications/sheets/mutation-sheet.mjs new file mode 100644 index 0000000..c09fee0 --- /dev/null +++ b/modules/applications/sheets/mutation-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonMutationSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["mutation"], + position: { + width: 620, + }, + window: { + contentClasses: ["mutation-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-mutation-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/profil-sheet.mjs b/modules/applications/sheets/profil-sheet.mjs new file mode 100644 index 0000000..74f7669 --- /dev/null +++ b/modules/applications/sheets/profil-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonProfilSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["profil"], + position: { + width: 620, + }, + window: { + contentClasses: ["profil-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-profil-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/protection-sheet.mjs b/modules/applications/sheets/protection-sheet.mjs new file mode 100644 index 0000000..753b250 --- /dev/null +++ b/modules/applications/sheets/protection-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonProtectionSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["protection"], + position: { + width: 620, + }, + window: { + contentClasses: ["protection-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-protection-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/ressource-sheet.mjs b/modules/applications/sheets/ressource-sheet.mjs new file mode 100644 index 0000000..57283ad --- /dev/null +++ b/modules/applications/sheets/ressource-sheet.mjs @@ -0,0 +1,21 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonRessourceSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["ressource"], + position: { + width: 620, + }, + window: { + contentClasses: ["ressource-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-ressource-sheet.hbs", + }, + } +} diff --git a/modules/applications/sheets/talent-sheet.mjs b/modules/applications/sheets/talent-sheet.mjs new file mode 100644 index 0000000..a713bca --- /dev/null +++ b/modules/applications/sheets/talent-sheet.mjs @@ -0,0 +1,51 @@ +import HawkmoonItemSheet from "./base-item-sheet.mjs" + +export default class HawkmoonTalentSheet extends HawkmoonItemSheet { + /** @override */ + static DEFAULT_OPTIONS = { + classes: ["talent"], + position: { + width: 620, + }, + window: { + contentClasses: ["talent-content"], + }, + } + + /** @override */ + static PARTS = { + main: { + template: "systems/fvtt-hawkmoon-cyd/templates/item-talent-sheet.hbs", + }, + } + + /** @override */ + tabGroups = { + primary: "description", + } + + /** + * Prepare an array of form header tabs. + * @returns {Record>} + */ + #getTabs() { + const tabs = { + details: { id: "details", group: "primary", label: "Détails" }, + description: { id: "description", group: "primary", label: "Description" } + } + for (const v of Object.values(tabs)) { + v.active = this.tabGroups[v.group] === v.id + v.cssClass = v.active ? "active" : "" + } + return tabs + } + + /** @override */ + async _prepareContext() { + const context = await super._prepareContext() + context.tabs = this.#getTabs() + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) + return context + } + +} diff --git a/modules/hawkmoon-main.js b/modules/hawkmoon-main.js index bd9c2a8..e411d96 100644 --- a/modules/hawkmoon-main.js +++ b/modules/hawkmoon-main.js @@ -20,6 +20,12 @@ import { HawkmoonAutomation } from "./hawkmoon-automation.js"; import { HawkmoonTokenHud } from "./hawkmoon-hud.js"; import { HAWKMOON_CONFIG } from "./hawkmoon-config.js"; +// Import DataModels +import * as models from "./models/index.mjs"; + +// Import AppV2 Item Sheets +import * as sheets from "./applications/sheets/_module.mjs"; + /* -------------------------------------------- */ /* Foundry VTT Initialization */ /* -------------------------------------------- */ @@ -48,22 +54,59 @@ Hooks.once("init", async function () { // Define custom Entity classes CONFIG.Combat.documentClass = HawkmoonCombat CONFIG.Actor.documentClass = HawkmoonActor + CONFIG.Actor.dataModels = { + personnage: models.PersonnageDataModel, + cellule: models.CelluleDataModel, + creature: models.CreatureDataModel + } + CONFIG.Item.documentClass = HawkmoonItem + CONFIG.Item.dataModels = { + talent: models.TalentDataModel, + historique: models.HistoriqueDataModel, + profil: models.ProfilDataModel, + competence: models.CompetenceDataModel, + arme: models.ArmeDataModel, + protection: models.ProtectionDataModel, + monnaie: models.MonnaieDataModel, + equipement: models.EquipementDataModel, + artefact: models.ArtefactDataModel, + ressource: models.RessourceDataModel, + contact: models.ContactDataModel, + mutation: models.MutationDataModel + } + + CONFIG.HAWKMOON = HAWKMOON_CONFIG + game.system.hawkmoon = { HawkmoonUtility, HawkmoonAutomation, - config : HAWKMOON_CONFIG + config: HAWKMOON_CONFIG, + models, + sheets } /* -------------------------------------------- */ - // Regster sheet application classes + // Register sheet application classes foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); foundry.documents.collections.Actors.registerSheet("fvtt-hawkmoon-cyd", HawkmoonActorSheet, { types: ["personnage"], makeDefault: true }) foundry.documents.collections.Actors.registerSheet("fvtt-hawkmoon-cyd", HawkmoonCreatureSheet, { types: ["creature"], makeDefault: true }) foundry.documents.collections.Actors.registerSheet("fvtt-hawkmoon-cyd", HawkmoonCelluleSheet, { types: ["cellule"], makeDefault: true }); + // Register AppV2 Item Sheets foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", HawkmoonItemSheet, { makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonTalentSheet, { types: ["talent"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonCompetenceSheet, { types: ["competence"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonArmeSheet, { types: ["arme"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonProtectionSheet, { types: ["protection"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonHistoriqueSheet, { types: ["historique"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonProfilSheet, { types: ["profil"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonEquipementSheet, { types: ["equipement"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonMonnaieSheet, { types: ["monnaie"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonArtefactSheet, { types: ["artefact"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonRessourceSheet, { types: ["ressource"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonContactSheet, { types: ["contact"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("fvtt-hawkmoon-cyd", sheets.HawkmoonMutationSheet, { types: ["mutation"], makeDefault: true }) HawkmoonUtility.init() HawkmoonAutomation.init() @@ -113,10 +156,10 @@ Hooks.once("ready", function () { }); } - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{ + import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { console.log("ClassCounter loaded", moduleCounter) moduleCounter.ClassCounter.registerUsageCount() - }).catch(err=> + }).catch(err => console.log("No stats available, giving up.") ) diff --git a/modules/hawkmoon-utility.js b/modules/hawkmoon-utility.js index cc0629b..5c38f03 100644 --- a/modules/hawkmoon-utility.js +++ b/modules/hawkmoon-utility.js @@ -206,11 +206,11 @@ export class HawkmoonUtility { const templatePaths = [ 'systems/fvtt-hawkmoon-cyd/templates/editor-notes-gm.html', - 'systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html', - 'systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html', - 'systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html', - 'systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.html', - 'systems/fvtt-hawkmoon-cyd/templates/partial-automation.html', + 'systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs', + 'systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs', + 'systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs', + 'systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.hbs', + 'systems/fvtt-hawkmoon-cyd/templates/partial-automation.hbs', 'systems/fvtt-hawkmoon-cyd/templates/hud-adversites.html', ] return foundry.applications.handlebars.loadTemplates(templatePaths); diff --git a/modules/models/arme.mjs b/modules/models/arme.mjs index 0ccdcde..48deea1 100644 --- a/modules/models/arme.mjs +++ b/modules/models/arme.mjs @@ -1,7 +1,7 @@ /** * Data model pour les armes */ -export class ArmeDataModel extends foundry.abstract.TypeDataModel { +export default class ArmeDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/artefact.mjs b/modules/models/artefact.mjs index e14665f..fe93bf2 100644 --- a/modules/models/artefact.mjs +++ b/modules/models/artefact.mjs @@ -1,7 +1,7 @@ /** * Data model pour les artefacts */ -export class ArtefactDataModel extends foundry.abstract.TypeDataModel { +export default class ArtefactDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/cellule.mjs b/modules/models/cellule.mjs index 1125dca..582662e 100644 --- a/modules/models/cellule.mjs +++ b/modules/models/cellule.mjs @@ -1,7 +1,7 @@ /** * Data model pour les cellules */ -export class CelluleDataModel extends foundry.abstract.TypeDataModel { +export default class CelluleDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/competence.mjs b/modules/models/competence.mjs index 62403cc..4190007 100644 --- a/modules/models/competence.mjs +++ b/modules/models/competence.mjs @@ -1,7 +1,7 @@ /** * Data model pour les compétences */ -export class CompetenceDataModel extends foundry.abstract.TypeDataModel { +export default class CompetenceDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/contact.mjs b/modules/models/contact.mjs index b693e59..0ddf67d 100644 --- a/modules/models/contact.mjs +++ b/modules/models/contact.mjs @@ -1,7 +1,7 @@ /** * Data model pour les contacts */ -export class ContactDataModel extends foundry.abstract.TypeDataModel { +export default class ContactDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/creature.mjs b/modules/models/creature.mjs index d64897e..c696c17 100644 --- a/modules/models/creature.mjs +++ b/modules/models/creature.mjs @@ -1,7 +1,7 @@ /** * Data model pour les créatures */ -export class CreatureDataModel extends foundry.abstract.TypeDataModel { +export default class CreatureDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/equipement.mjs b/modules/models/equipement.mjs index da6995e..00cdf44 100644 --- a/modules/models/equipement.mjs +++ b/modules/models/equipement.mjs @@ -1,7 +1,7 @@ /** * Data model pour l'équipement */ -export class EquipementDataModel extends foundry.abstract.TypeDataModel { +export default class EquipementDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/historique.mjs b/modules/models/historique.mjs index f454b81..b166ef5 100644 --- a/modules/models/historique.mjs +++ b/modules/models/historique.mjs @@ -1,7 +1,7 @@ /** * Data model pour les historiques */ -export class HistoriqueDataModel extends foundry.abstract.TypeDataModel { +export default class HistoriqueDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/index.mjs b/modules/models/index.mjs index ba00909..a710640 100644 --- a/modules/models/index.mjs +++ b/modules/models/index.mjs @@ -4,23 +4,20 @@ */ // Modèles d'items -export { TalentDataModel } from './talent.mjs'; -export { HistoriqueDataModel } from './historique.mjs'; -export { ProfilDataModel } from './profil.mjs'; -export { CompetenceDataModel } from './competence.mjs'; -export { ArmeDataModel } from './arme.mjs'; -export { ProtectionDataModel } from './protection.mjs'; -export { MonnaieDataModel } from './monnaie.mjs'; -export { EquipementDataModel } from './equipement.mjs'; -export { ArtefactDataModel } from './artefact.mjs'; -export { RessourceDataModel } from './ressource.mjs'; -export { ContactDataModel } from './contact.mjs'; -export { MutationDataModel } from './mutation.mjs'; +export { default as TalentDataModel } from './talent.mjs'; +export { default as HistoriqueDataModel } from './historique.mjs'; +export { default as ProfilDataModel } from './profil.mjs'; +export { default as CompetenceDataModel } from './competence.mjs'; +export { default as ArmeDataModel } from './arme.mjs'; +export { default as ProtectionDataModel } from './protection.mjs'; +export { default as MonnaieDataModel } from './monnaie.mjs'; +export { default as EquipementDataModel } from './equipement.mjs'; +export { default as ArtefactDataModel } from './artefact.mjs'; +export { default as RessourceDataModel } from './ressource.mjs'; +export { default as ContactDataModel } from './contact.mjs'; +export { default as MutationDataModel } from './mutation.mjs'; // Modèles d'acteurs -export { PersonnageDataModel } from './personnage.mjs'; -export { CelluleDataModel } from './cellule.mjs'; -export { CreatureDataModel } from './creature.mjs'; - -// Templates de base (si nécessaire pour extension) -export { BaseItemModel, BaseEquipItemModel, AutomationItemModel } from './base-item.mjs'; +export { default as PersonnageDataModel } from './personnage.mjs'; +export { default as CelluleDataModel } from './cellule.mjs'; +export { default as CreatureDataModel } from './creature.mjs'; diff --git a/modules/models/monnaie.mjs b/modules/models/monnaie.mjs index 8fc9d91..82f9e2d 100644 --- a/modules/models/monnaie.mjs +++ b/modules/models/monnaie.mjs @@ -1,7 +1,7 @@ /** * Data model pour les monnaies */ -export class MonnaieDataModel extends foundry.abstract.TypeDataModel { +export default class MonnaieDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/mutation.mjs b/modules/models/mutation.mjs index 1621c84..f52cc7e 100644 --- a/modules/models/mutation.mjs +++ b/modules/models/mutation.mjs @@ -1,7 +1,7 @@ /** * Data model pour les mutations */ -export class MutationDataModel extends foundry.abstract.TypeDataModel { +export default class MutationDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/personnage.mjs b/modules/models/personnage.mjs index 1f07824..1870988 100644 --- a/modules/models/personnage.mjs +++ b/modules/models/personnage.mjs @@ -1,7 +1,7 @@ /** * Data model pour les personnages */ -export class PersonnageDataModel extends foundry.abstract.TypeDataModel { +export default class PersonnageDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/profil.mjs b/modules/models/profil.mjs index 727e67c..0149057 100644 --- a/modules/models/profil.mjs +++ b/modules/models/profil.mjs @@ -1,7 +1,7 @@ /** * Data model pour les profils */ -export class ProfilDataModel extends foundry.abstract.TypeDataModel { +export default class ProfilDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/protection.mjs b/modules/models/protection.mjs index b8a5412..bb6ccac 100644 --- a/modules/models/protection.mjs +++ b/modules/models/protection.mjs @@ -1,7 +1,7 @@ /** * Data model pour les protections */ -export class ProtectionDataModel extends foundry.abstract.TypeDataModel { +export default class ProtectionDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/ressource.mjs b/modules/models/ressource.mjs index 47d1b91..0e08bff 100644 --- a/modules/models/ressource.mjs +++ b/modules/models/ressource.mjs @@ -1,7 +1,7 @@ /** * Data model pour les ressources */ -export class RessourceDataModel extends foundry.abstract.TypeDataModel { +export default class RessourceDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/modules/models/talent.mjs b/modules/models/talent.mjs index 36eb051..38ae858 100644 --- a/modules/models/talent.mjs +++ b/modules/models/talent.mjs @@ -1,7 +1,7 @@ /** * Data model pour les talents */ -export class TalentDataModel extends foundry.abstract.TypeDataModel { +export default class TalentDataModel extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields; return { diff --git a/packs/aides-de-jeu/000335.log b/packs/aides-de-jeu/000351.log similarity index 100% rename from packs/aides-de-jeu/000335.log rename to packs/aides-de-jeu/000351.log diff --git a/packs/aides-de-jeu/CURRENT b/packs/aides-de-jeu/CURRENT index 50ac4e6..4e1f234 100644 --- a/packs/aides-de-jeu/CURRENT +++ b/packs/aides-de-jeu/CURRENT @@ -1 +1 @@ -MANIFEST-000333 +MANIFEST-000349 diff --git a/packs/aides-de-jeu/LOG b/packs/aides-de-jeu/LOG index 76531e2..4f51b63 100644 --- a/packs/aides-de-jeu/LOG +++ b/packs/aides-de-jeu/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.155164 7f93eb7fe6c0 Recovering log #331 -2026/01/05-22:20:56.166270 7f93eb7fe6c0 Delete type=3 #329 -2026/01/05-22:20:56.166327 7f93eb7fe6c0 Delete type=0 #331 -2026/01/05-22:39:51.165703 7f93e9ffb6c0 Level-0 table #336: started -2026/01/05-22:39:51.165730 7f93e9ffb6c0 Level-0 table #336: 0 bytes OK -2026/01/05-22:39:51.171765 7f93e9ffb6c0 Delete type=0 #334 -2026/01/05-22:39:51.199079 7f93e9ffb6c0 Manual compaction at level-0 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.199117 7f93e9ffb6c0 Manual compaction at level-1 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.969110 7f93eaffd6c0 Recovering log #347 +2026/01/06-08:51:42.979018 7f93eaffd6c0 Delete type=3 #345 +2026/01/06-08:51:42.979076 7f93eaffd6c0 Delete type=0 #347 +2026/01/06-16:09:35.226231 7f93e9ffb6c0 Level-0 table #352: started +2026/01/06-16:09:35.226274 7f93e9ffb6c0 Level-0 table #352: 0 bytes OK +2026/01/06-16:09:35.266431 7f93e9ffb6c0 Delete type=0 #350 +2026/01/06-16:09:35.363828 7f93e9ffb6c0 Manual compaction at level-0 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.363849 7f93e9ffb6c0 Manual compaction at level-1 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) diff --git a/packs/aides-de-jeu/LOG.old b/packs/aides-de-jeu/LOG.old index 12402d4..2893bf4 100644 --- a/packs/aides-de-jeu/LOG.old +++ b/packs/aides-de-jeu/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.288531 7f34ccff96c0 Recovering log #327 -2025/11/21-21:17:11.303357 7f34ccff96c0 Delete type=3 #325 -2025/11/21-21:17:11.303441 7f34ccff96c0 Delete type=0 #327 -2025/11/21-21:20:34.182000 7f322ffff6c0 Level-0 table #332: started -2025/11/21-21:20:34.182040 7f322ffff6c0 Level-0 table #332: 0 bytes OK -2025/11/21-21:20:34.189103 7f322ffff6c0 Delete type=0 #330 -2025/11/21-21:20:34.199156 7f322ffff6c0 Manual compaction at level-0 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.220809 7f322ffff6c0 Manual compaction at level-1 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.731237 7f93eaffd6c0 Recovering log #343 +2026/01/06-08:47:47.748574 7f93eaffd6c0 Delete type=3 #341 +2026/01/06-08:47:47.748681 7f93eaffd6c0 Delete type=0 #343 +2026/01/06-08:50:51.064497 7f93e9ffb6c0 Level-0 table #348: started +2026/01/06-08:50:51.064533 7f93e9ffb6c0 Level-0 table #348: 0 bytes OK +2026/01/06-08:50:51.071294 7f93e9ffb6c0 Delete type=0 #346 +2026/01/06-08:50:51.077656 7f93e9ffb6c0 Manual compaction at level-0 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.077786 7f93e9ffb6c0 Manual compaction at level-1 from '!journal!MUbViCE2PkVxlzqe' @ 72057594037927935 : 1 .. '!journal.pages!gVybbv17TFY8o3Y4.fQidyqfF1TbsZKHM' @ 0 : 0; will stop at (end) diff --git a/packs/aides-de-jeu/MANIFEST-000333 b/packs/aides-de-jeu/MANIFEST-000349 similarity index 84% rename from packs/aides-de-jeu/MANIFEST-000333 rename to packs/aides-de-jeu/MANIFEST-000349 index 9a2f3a9..f657d53 100644 Binary files a/packs/aides-de-jeu/MANIFEST-000333 and b/packs/aides-de-jeu/MANIFEST-000349 differ diff --git a/packs/armes/000334.log b/packs/armes/000350.log similarity index 100% rename from packs/armes/000334.log rename to packs/armes/000350.log diff --git a/packs/armes/CURRENT b/packs/armes/CURRENT index 60e4397..549acb4 100644 --- a/packs/armes/CURRENT +++ b/packs/armes/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/armes/LOG b/packs/armes/LOG index bca670f..8efef77 100644 --- a/packs/armes/LOG +++ b/packs/armes/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.048400 7f93eaffd6c0 Recovering log #330 -2026/01/05-22:20:56.058614 7f93eaffd6c0 Delete type=3 #328 -2026/01/05-22:20:56.058678 7f93eaffd6c0 Delete type=0 #330 -2026/01/05-22:39:51.125881 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.125907 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.131746 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.137885 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.137919 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.867692 7f93eb7fe6c0 Recovering log #346 +2026/01/06-08:51:42.877316 7f93eb7fe6c0 Delete type=3 #344 +2026/01/06-08:51:42.877391 7f93eb7fe6c0 Delete type=0 #346 +2026/01/06-16:09:34.742312 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.742344 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:34.776378 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:34.843192 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) +2026/01/06-16:09:34.843219 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) diff --git a/packs/armes/LOG.old b/packs/armes/LOG.old index ca11177..c4e0af2 100644 --- a/packs/armes/LOG.old +++ b/packs/armes/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.119952 7f34cd7fa6c0 Recovering log #326 -2025/11/21-21:17:11.135840 7f34cd7fa6c0 Delete type=3 #324 -2025/11/21-21:17:11.135940 7f34cd7fa6c0 Delete type=0 #326 -2025/11/21-21:20:34.115063 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.115090 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.121038 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.121241 7f322ffff6c0 Manual compaction at level-0 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.121271 7f322ffff6c0 Manual compaction at level-1 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.583230 7f93ebfff6c0 Recovering log #342 +2026/01/06-08:47:47.597749 7f93ebfff6c0 Delete type=3 #340 +2026/01/06-08:47:47.597804 7f93ebfff6c0 Delete type=0 #342 +2026/01/06-08:50:51.011547 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:51.011573 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:51.018121 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:51.024541 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.024585 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0fit7HelSjaFtXcW' @ 72057594037927935 : 1 .. '!items!wxrzP3NyiHiYnAMJ' @ 0 : 0; will stop at (end) diff --git a/packs/armes/MANIFEST-000332 b/packs/armes/MANIFEST-000348 similarity index 73% rename from packs/armes/MANIFEST-000332 rename to packs/armes/MANIFEST-000348 index 3cff801..1d4f889 100644 Binary files a/packs/armes/MANIFEST-000332 and b/packs/armes/MANIFEST-000348 differ diff --git a/packs/competences-creatures/000334.log b/packs/competences-creatures/000350.log similarity index 100% rename from packs/competences-creatures/000334.log rename to packs/competences-creatures/000350.log diff --git a/packs/competences-creatures/CURRENT b/packs/competences-creatures/CURRENT index 60e4397..549acb4 100644 --- a/packs/competences-creatures/CURRENT +++ b/packs/competences-creatures/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/competences-creatures/LOG b/packs/competences-creatures/LOG index e7e1d5a..1b44a6c 100644 --- a/packs/competences-creatures/LOG +++ b/packs/competences-creatures/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.023009 7f93eb7fe6c0 Recovering log #330 -2026/01/05-22:20:56.032779 7f93eb7fe6c0 Delete type=3 #328 -2026/01/05-22:20:56.032853 7f93eb7fe6c0 Delete type=0 #330 -2026/01/05-22:39:51.087705 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.087797 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.094096 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.112531 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.112576 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.843104 7f93ea7fc6c0 Recovering log #346 +2026/01/06-08:51:42.853684 7f93ea7fc6c0 Delete type=3 #344 +2026/01/06-08:51:42.853733 7f93ea7fc6c0 Delete type=0 #346 +2026/01/06-16:09:34.776538 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.776572 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:34.805072 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:34.843202 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) +2026/01/06-16:09:34.843241 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) diff --git a/packs/competences-creatures/LOG.old b/packs/competences-creatures/LOG.old index a54f044..79eef32 100644 --- a/packs/competences-creatures/LOG.old +++ b/packs/competences-creatures/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.082663 7f34ccff96c0 Recovering log #326 -2025/11/21-21:17:11.097415 7f34ccff96c0 Delete type=3 #324 -2025/11/21-21:17:11.097522 7f34ccff96c0 Delete type=0 #326 -2025/11/21-21:20:34.082672 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.082698 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.088631 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.094927 7f322ffff6c0 Manual compaction at level-0 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.094971 7f322ffff6c0 Manual compaction at level-1 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.547301 7f93ea7fc6c0 Recovering log #342 +2026/01/06-08:47:47.562777 7f93ea7fc6c0 Delete type=3 #340 +2026/01/06-08:47:47.562845 7f93ea7fc6c0 Delete type=0 #342 +2026/01/06-08:50:50.979616 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:50.979656 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:50.986028 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:50.999008 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) +2026/01/06-08:50:50.999044 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0nhTxujlIUB63Aqt' @ 72057594037927935 : 1 .. '!items!tFU5yISK6spdNWco' @ 0 : 0; will stop at (end) diff --git a/packs/competences-creatures/MANIFEST-000332 b/packs/competences-creatures/MANIFEST-000348 similarity index 73% rename from packs/competences-creatures/MANIFEST-000332 rename to packs/competences-creatures/MANIFEST-000348 index 19a3c3b..0ce644e 100644 Binary files a/packs/competences-creatures/MANIFEST-000332 and b/packs/competences-creatures/MANIFEST-000348 differ diff --git a/packs/competences/000334.log b/packs/competences/000350.log similarity index 100% rename from packs/competences/000334.log rename to packs/competences/000350.log diff --git a/packs/competences/CURRENT b/packs/competences/CURRENT index 60e4397..549acb4 100644 --- a/packs/competences/CURRENT +++ b/packs/competences/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/competences/LOG b/packs/competences/LOG index 884d9af..ffe17b3 100644 --- a/packs/competences/LOG +++ b/packs/competences/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:55.998572 7f93ea7fc6c0 Recovering log #330 -2026/01/05-22:20:56.008503 7f93ea7fc6c0 Delete type=3 #328 -2026/01/05-22:20:56.008556 7f93ea7fc6c0 Delete type=0 #330 -2026/01/05-22:39:51.100430 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.100453 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.106283 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.112557 7f93e9ffb6c0 Manual compaction at level-0 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.112589 7f93e9ffb6c0 Manual compaction at level-1 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.818447 7f93eb7fe6c0 Recovering log #346 +2026/01/06-08:51:42.829009 7f93eb7fe6c0 Delete type=3 #344 +2026/01/06-08:51:42.829068 7f93eb7fe6c0 Delete type=0 #346 +2026/01/06-16:09:34.705519 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.705598 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:34.742153 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:34.843178 7f93e9ffb6c0 Manual compaction at level-0 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) +2026/01/06-16:09:34.843227 7f93e9ffb6c0 Manual compaction at level-1 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) diff --git a/packs/competences/LOG.old b/packs/competences/LOG.old index 6b59878..67cf42d 100644 --- a/packs/competences/LOG.old +++ b/packs/competences/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.044217 7f34ce7fc6c0 Recovering log #326 -2025/11/21-21:17:11.059351 7f34ce7fc6c0 Delete type=3 #324 -2025/11/21-21:17:11.059409 7f34ce7fc6c0 Delete type=0 #326 -2025/11/21-21:20:34.076024 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.076057 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.082546 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.094915 7f322ffff6c0 Manual compaction at level-0 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.094962 7f322ffff6c0 Manual compaction at level-1 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.509458 7f93eb7fe6c0 Recovering log #342 +2026/01/06-08:47:47.527407 7f93eb7fe6c0 Delete type=3 #340 +2026/01/06-08:47:47.527473 7f93eb7fe6c0 Delete type=0 #342 +2026/01/06-08:50:50.973158 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:50.973217 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:50.979461 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:50.998993 7f93e9ffb6c0 Manual compaction at level-0 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) +2026/01/06-08:50:50.999032 7f93e9ffb6c0 Manual compaction at level-1 from '!items!15IDGG6JoZnRCQtY' @ 72057594037927935 : 1 .. '!items!yI1zY5k8mAdx9wHK' @ 0 : 0; will stop at (end) diff --git a/packs/competences/MANIFEST-000332 b/packs/competences/MANIFEST-000348 similarity index 73% rename from packs/competences/MANIFEST-000332 rename to packs/competences/MANIFEST-000348 index 882b75e..7dadb06 100644 Binary files a/packs/competences/MANIFEST-000332 and b/packs/competences/MANIFEST-000348 differ diff --git a/packs/equipement/000334.log b/packs/equipement/000350.log similarity index 100% rename from packs/equipement/000334.log rename to packs/equipement/000350.log diff --git a/packs/equipement/CURRENT b/packs/equipement/CURRENT index 60e4397..549acb4 100644 --- a/packs/equipement/CURRENT +++ b/packs/equipement/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/equipement/LOG b/packs/equipement/LOG index bd4084b..d0cd0f5 100644 --- a/packs/equipement/LOG +++ b/packs/equipement/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.073305 7f93eb7fe6c0 Recovering log #330 -2026/01/05-22:20:56.084269 7f93eb7fe6c0 Delete type=3 #328 -2026/01/05-22:20:56.084336 7f93eb7fe6c0 Delete type=0 #330 -2026/01/05-22:39:51.112726 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.112760 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.119133 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.137862 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.137903 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.891971 7f93eaffd6c0 Recovering log #346 +2026/01/06-08:51:42.902249 7f93eaffd6c0 Delete type=3 #344 +2026/01/06-08:51:42.902316 7f93eaffd6c0 Delete type=0 #346 +2026/01/06-16:09:34.843339 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.843371 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:34.879730 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:35.030293 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.030334 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) diff --git a/packs/equipement/LOG.old b/packs/equipement/LOG.old index fc978ba..04598aa 100644 --- a/packs/equipement/LOG.old +++ b/packs/equipement/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.157103 7f34ce7fc6c0 Recovering log #326 -2025/11/21-21:17:11.172875 7f34ce7fc6c0 Delete type=3 #324 -2025/11/21-21:17:11.172939 7f34ce7fc6c0 Delete type=0 #326 -2025/11/21-21:20:34.095092 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.095126 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.102295 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.121183 7f322ffff6c0 Manual compaction at level-0 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.121249 7f322ffff6c0 Manual compaction at level-1 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.618387 7f93eaffd6c0 Recovering log #342 +2026/01/06-08:47:47.634155 7f93eaffd6c0 Delete type=3 #340 +2026/01/06-08:47:47.634258 7f93eaffd6c0 Delete type=0 #342 +2026/01/06-08:50:51.005416 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:51.005447 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:51.011462 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:51.024529 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.024571 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0BopmCu8vGK2923j' @ 72057594037927935 : 1 .. '!items!zYx0Ak2y1LNTcKlO' @ 0 : 0; will stop at (end) diff --git a/packs/equipement/MANIFEST-000332 b/packs/equipement/MANIFEST-000348 similarity index 72% rename from packs/equipement/MANIFEST-000332 rename to packs/equipement/MANIFEST-000348 index c403f83..a87d8d9 100644 Binary files a/packs/equipement/MANIFEST-000332 and b/packs/equipement/MANIFEST-000348 differ diff --git a/packs/historiques/000334.log b/packs/historiques/000350.log similarity index 100% rename from packs/historiques/000334.log rename to packs/historiques/000350.log diff --git a/packs/historiques/CURRENT b/packs/historiques/CURRENT index 60e4397..549acb4 100644 --- a/packs/historiques/CURRENT +++ b/packs/historiques/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/historiques/LOG b/packs/historiques/LOG index dcbf4b6..094777f 100644 --- a/packs/historiques/LOG +++ b/packs/historiques/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.034759 7f93ea7fc6c0 Recovering log #330 -2026/01/05-22:20:56.045303 7f93ea7fc6c0 Delete type=3 #328 -2026/01/05-22:20:56.045387 7f93ea7fc6c0 Delete type=0 #330 -2026/01/05-22:39:51.094206 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.094228 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.100330 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.112546 7f93e9ffb6c0 Manual compaction at level-0 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.112583 7f93e9ffb6c0 Manual compaction at level-1 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.855440 7f93eaffd6c0 Recovering log #346 +2026/01/06-08:51:42.865357 7f93eaffd6c0 Delete type=3 #344 +2026/01/06-08:51:42.865405 7f93eaffd6c0 Delete type=0 #346 +2026/01/06-16:09:34.990584 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.990612 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:35.030140 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:35.030326 7f93e9ffb6c0 Manual compaction at level-0 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.030340 7f93e9ffb6c0 Manual compaction at level-1 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) diff --git a/packs/historiques/LOG.old b/packs/historiques/LOG.old index 2e5e719..6a2deb5 100644 --- a/packs/historiques/LOG.old +++ b/packs/historiques/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.100312 7f34ce7fc6c0 Recovering log #326 -2025/11/21-21:17:11.117500 7f34ce7fc6c0 Delete type=3 #324 -2025/11/21-21:17:11.117567 7f34ce7fc6c0 Delete type=0 #326 -2025/11/21-21:20:34.069446 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.069505 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.075899 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.094892 7f322ffff6c0 Manual compaction at level-0 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.094951 7f322ffff6c0 Manual compaction at level-1 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.564985 7f93eb7fe6c0 Recovering log #342 +2026/01/06-08:47:47.580878 7f93eb7fe6c0 Delete type=3 #340 +2026/01/06-08:47:47.580952 7f93eb7fe6c0 Delete type=0 #342 +2026/01/06-08:50:50.986188 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:50.986224 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:50.992304 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:50.999018 7f93e9ffb6c0 Manual compaction at level-0 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) +2026/01/06-08:50:50.999038 7f93e9ffb6c0 Manual compaction at level-1 from '!items!15foLG7y3LUXNzkK' @ 72057594037927935 : 1 .. '!items!z1HtkvazCGHut7cz' @ 0 : 0; will stop at (end) diff --git a/packs/historiques/MANIFEST-000332 b/packs/historiques/MANIFEST-000348 similarity index 72% rename from packs/historiques/MANIFEST-000332 rename to packs/historiques/MANIFEST-000348 index cc87aef..c05e08a 100644 Binary files a/packs/historiques/MANIFEST-000332 and b/packs/historiques/MANIFEST-000348 differ diff --git a/packs/mutations/000244.log b/packs/mutations/000260.log similarity index 100% rename from packs/mutations/000244.log rename to packs/mutations/000260.log diff --git a/packs/mutations/CURRENT b/packs/mutations/CURRENT index d3ee291..15dad27 100644 --- a/packs/mutations/CURRENT +++ b/packs/mutations/CURRENT @@ -1 +1 @@ -MANIFEST-000242 +MANIFEST-000258 diff --git a/packs/mutations/LOG b/packs/mutations/LOG index b4893d3..7862029 100644 --- a/packs/mutations/LOG +++ b/packs/mutations/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.010250 7f93eaffd6c0 Recovering log #240 -2026/01/05-22:20:56.020208 7f93eaffd6c0 Delete type=3 #238 -2026/01/05-22:20:56.020270 7f93eaffd6c0 Delete type=0 #240 -2026/01/05-22:39:51.106439 7f93e9ffb6c0 Level-0 table #245: started -2026/01/05-22:39:51.106472 7f93e9ffb6c0 Level-0 table #245: 0 bytes OK -2026/01/05-22:39:51.112404 7f93e9ffb6c0 Delete type=0 #243 -2026/01/05-22:39:51.112570 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.112598 7f93e9ffb6c0 Manual compaction at level-1 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.830647 7f93ebfff6c0 Recovering log #256 +2026/01/06-08:51:42.840435 7f93ebfff6c0 Delete type=3 #254 +2026/01/06-08:51:42.840519 7f93ebfff6c0 Delete type=0 #256 +2026/01/06-16:09:34.805232 7f93e9ffb6c0 Level-0 table #261: started +2026/01/06-16:09:34.805271 7f93e9ffb6c0 Level-0 table #261: 0 bytes OK +2026/01/06-16:09:34.843002 7f93e9ffb6c0 Delete type=0 #259 +2026/01/06-16:09:34.843211 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) +2026/01/06-16:09:34.843234 7f93e9ffb6c0 Manual compaction at level-1 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) diff --git a/packs/mutations/LOG.old b/packs/mutations/LOG.old index 369c6ad..ad0aff7 100644 --- a/packs/mutations/LOG.old +++ b/packs/mutations/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.062660 7f34cdffb6c0 Recovering log #236 -2025/11/21-21:17:11.079663 7f34cdffb6c0 Delete type=3 #234 -2025/11/21-21:17:11.079731 7f34cdffb6c0 Delete type=0 #236 -2025/11/21-21:20:34.088817 7f322ffff6c0 Level-0 table #241: started -2025/11/21-21:20:34.088856 7f322ffff6c0 Level-0 table #241: 0 bytes OK -2025/11/21-21:20:34.094750 7f322ffff6c0 Delete type=0 #239 -2025/11/21-21:20:34.094940 7f322ffff6c0 Manual compaction at level-0 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.094980 7f322ffff6c0 Manual compaction at level-1 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.529585 7f93ebfff6c0 Recovering log #252 +2026/01/06-08:47:47.544280 7f93ebfff6c0 Delete type=3 #250 +2026/01/06-08:47:47.544346 7f93ebfff6c0 Delete type=0 #252 +2026/01/06-08:50:50.992474 7f93e9ffb6c0 Level-0 table #257: started +2026/01/06-08:50:50.992510 7f93e9ffb6c0 Level-0 table #257: 0 bytes OK +2026/01/06-08:50:50.998885 7f93e9ffb6c0 Delete type=0 #255 +2026/01/06-08:50:50.999026 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) +2026/01/06-08:50:50.999050 7f93e9ffb6c0 Manual compaction at level-1 from '!folders!5d4Zn28TUcPxRyXd' @ 72057594037927935 : 1 .. '!items!zttESycGKltfwCzJ' @ 0 : 0; will stop at (end) diff --git a/packs/mutations/MANIFEST-000242 b/packs/mutations/MANIFEST-000258 similarity index 71% rename from packs/mutations/MANIFEST-000242 rename to packs/mutations/MANIFEST-000258 index 994f992..fb11730 100644 Binary files a/packs/mutations/MANIFEST-000242 and b/packs/mutations/MANIFEST-000258 differ diff --git a/packs/profils/000334.log b/packs/profils/000350.log similarity index 100% rename from packs/profils/000334.log rename to packs/profils/000350.log diff --git a/packs/profils/CURRENT b/packs/profils/CURRENT index 60e4397..549acb4 100644 --- a/packs/profils/CURRENT +++ b/packs/profils/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/profils/LOG b/packs/profils/LOG index e801a00..2e5eea1 100644 --- a/packs/profils/LOG +++ b/packs/profils/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.088422 7f93eaffd6c0 Recovering log #330 -2026/01/05-22:20:56.098507 7f93eaffd6c0 Delete type=3 #328 -2026/01/05-22:20:56.098565 7f93eaffd6c0 Delete type=0 #330 -2026/01/05-22:39:51.119253 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.119282 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.125789 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.137875 7f93e9ffb6c0 Manual compaction at level-0 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.137911 7f93e9ffb6c0 Manual compaction at level-1 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.904420 7f93ea7fc6c0 Recovering log #346 +2026/01/06-08:51:42.914401 7f93ea7fc6c0 Delete type=3 #344 +2026/01/06-08:51:42.914460 7f93ea7fc6c0 Delete type=0 #346 +2026/01/06-16:09:34.944982 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.945015 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:34.990460 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:35.030317 7f93e9ffb6c0 Manual compaction at level-0 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.030352 7f93e9ffb6c0 Manual compaction at level-1 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) diff --git a/packs/profils/LOG.old b/packs/profils/LOG.old index 546860e..16822e7 100644 --- a/packs/profils/LOG.old +++ b/packs/profils/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.175622 7f34cd7fa6c0 Recovering log #326 -2025/11/21-21:17:11.190667 7f34cd7fa6c0 Delete type=3 #324 -2025/11/21-21:17:11.190757 7f34cd7fa6c0 Delete type=0 #326 -2025/11/21-21:20:34.109081 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.109106 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.114933 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.121229 7f322ffff6c0 Manual compaction at level-0 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.121264 7f322ffff6c0 Manual compaction at level-1 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.638458 7f93eb7fe6c0 Recovering log #342 +2026/01/06-08:47:47.653642 7f93eb7fe6c0 Delete type=3 #340 +2026/01/06-08:47:47.653699 7f93eb7fe6c0 Delete type=0 #342 +2026/01/06-08:50:51.044605 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:51.044630 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:51.051730 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:51.051919 7f93e9ffb6c0 Manual compaction at level-0 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.051949 7f93e9ffb6c0 Manual compaction at level-1 from '!items!26mRstKhCJoXkhu1' @ 72057594037927935 : 1 .. '!items!tFQqcxmkS3MT6ASE' @ 0 : 0; will stop at (end) diff --git a/packs/profils/MANIFEST-000332 b/packs/profils/MANIFEST-000348 similarity index 73% rename from packs/profils/MANIFEST-000332 rename to packs/profils/MANIFEST-000348 index 92023c4..d831a9c 100644 Binary files a/packs/profils/MANIFEST-000332 and b/packs/profils/MANIFEST-000348 differ diff --git a/packs/protections/000334.log b/packs/protections/000350.log similarity index 100% rename from packs/protections/000334.log rename to packs/protections/000350.log diff --git a/packs/protections/CURRENT b/packs/protections/CURRENT index 60e4397..549acb4 100644 --- a/packs/protections/CURRENT +++ b/packs/protections/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/protections/LOG b/packs/protections/LOG index a4960d7..7e22660 100644 --- a/packs/protections/LOG +++ b/packs/protections/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.060705 7f93ebfff6c0 Recovering log #330 -2026/01/05-22:20:56.070672 7f93ebfff6c0 Delete type=3 #328 -2026/01/05-22:20:56.070726 7f93ebfff6c0 Delete type=0 #330 -2026/01/05-22:39:51.131859 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.131886 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.137774 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.137894 7f93e9ffb6c0 Manual compaction at level-0 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.137928 7f93e9ffb6c0 Manual compaction at level-1 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.879502 7f93ebfff6c0 Recovering log #346 +2026/01/06-08:51:42.890237 7f93ebfff6c0 Delete type=3 #344 +2026/01/06-08:51:42.890307 7f93ebfff6c0 Delete type=0 #346 +2026/01/06-16:09:34.879868 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:34.879907 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:34.944833 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:35.030307 7f93e9ffb6c0 Manual compaction at level-0 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.030345 7f93e9ffb6c0 Manual compaction at level-1 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) diff --git a/packs/protections/LOG.old b/packs/protections/LOG.old index eb0cc0c..71451a5 100644 --- a/packs/protections/LOG.old +++ b/packs/protections/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.139151 7f34cdffb6c0 Recovering log #326 -2025/11/21-21:17:11.154714 7f34cdffb6c0 Delete type=3 #324 -2025/11/21-21:17:11.154795 7f34cdffb6c0 Delete type=0 #326 -2025/11/21-21:20:34.102428 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.102452 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.108966 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.121216 7f322ffff6c0 Manual compaction at level-0 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.121256 7f322ffff6c0 Manual compaction at level-1 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.600139 7f93ea7fc6c0 Recovering log #342 +2026/01/06-08:47:47.616201 7f93ea7fc6c0 Delete type=3 #340 +2026/01/06-08:47:47.616278 7f93ea7fc6c0 Delete type=0 #342 +2026/01/06-08:50:50.999146 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:50.999191 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:51.005300 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:51.024514 7f93e9ffb6c0 Manual compaction at level-0 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.024562 7f93e9ffb6c0 Manual compaction at level-1 from '!items!16iPa2yIzB0V3pxb' @ 72057594037927935 : 1 .. '!items!yszkersMTE4p9VzP' @ 0 : 0; will stop at (end) diff --git a/packs/protections/MANIFEST-000332 b/packs/protections/MANIFEST-000348 similarity index 73% rename from packs/protections/MANIFEST-000332 rename to packs/protections/MANIFEST-000348 index b56398f..e3519ac 100644 Binary files a/packs/protections/MANIFEST-000332 and b/packs/protections/MANIFEST-000348 differ diff --git a/packs/scenes/000173.log b/packs/scenes/000189.log similarity index 100% rename from packs/scenes/000173.log rename to packs/scenes/000189.log diff --git a/packs/scenes/CURRENT b/packs/scenes/CURRENT index 91e41f4..7832dba 100644 --- a/packs/scenes/CURRENT +++ b/packs/scenes/CURRENT @@ -1 +1 @@ -MANIFEST-000171 +MANIFEST-000187 diff --git a/packs/scenes/LOG b/packs/scenes/LOG index e2d9af4..12f3247 100644 --- a/packs/scenes/LOG +++ b/packs/scenes/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.140241 7f93ea7fc6c0 Recovering log #169 -2026/01/05-22:20:56.150593 7f93ea7fc6c0 Delete type=3 #167 -2026/01/05-22:20:56.150657 7f93ea7fc6c0 Delete type=0 #169 -2026/01/05-22:39:51.158340 7f93e9ffb6c0 Level-0 table #174: started -2026/01/05-22:39:51.158381 7f93e9ffb6c0 Level-0 table #174: 0 bytes OK -2026/01/05-22:39:51.165430 7f93e9ffb6c0 Delete type=0 #172 -2026/01/05-22:39:51.165599 7f93e9ffb6c0 Manual compaction at level-0 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.165621 7f93e9ffb6c0 Manual compaction at level-1 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.955411 7f93eb7fe6c0 Recovering log #185 +2026/01/06-08:51:42.966311 7f93eb7fe6c0 Delete type=3 #183 +2026/01/06-08:51:42.966372 7f93eb7fe6c0 Delete type=0 #185 +2026/01/06-16:09:35.146583 7f93e9ffb6c0 Level-0 table #190: started +2026/01/06-16:09:35.146626 7f93e9ffb6c0 Level-0 table #190: 0 bytes OK +2026/01/06-16:09:35.183379 7f93e9ffb6c0 Delete type=0 #188 +2026/01/06-16:09:35.183567 7f93e9ffb6c0 Manual compaction at level-0 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.183590 7f93e9ffb6c0 Manual compaction at level-1 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/LOG.old b/packs/scenes/LOG.old index 0dd67c5..556d0e3 100644 --- a/packs/scenes/LOG.old +++ b/packs/scenes/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.269484 7f34cdffb6c0 Recovering log #165 -2025/11/21-21:17:11.284464 7f34cdffb6c0 Delete type=3 #163 -2025/11/21-21:17:11.284524 7f34cdffb6c0 Delete type=0 #165 -2025/11/21-21:20:34.145250 7f322ffff6c0 Level-0 table #170: started -2025/11/21-21:20:34.145279 7f322ffff6c0 Level-0 table #170: 0 bytes OK -2025/11/21-21:20:34.151544 7f322ffff6c0 Delete type=0 #168 -2025/11/21-21:20:34.151702 7f322ffff6c0 Manual compaction at level-0 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.164154 7f322ffff6c0 Manual compaction at level-1 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.712749 7f93eb7fe6c0 Recovering log #181 +2026/01/06-08:47:47.728095 7f93eb7fe6c0 Delete type=3 #179 +2026/01/06-08:47:47.728172 7f93eb7fe6c0 Delete type=0 #181 +2026/01/06-08:50:51.038567 7f93e9ffb6c0 Level-0 table #186: started +2026/01/06-08:50:51.038599 7f93e9ffb6c0 Level-0 table #186: 0 bytes OK +2026/01/06-08:50:51.044519 7f93e9ffb6c0 Delete type=0 #184 +2026/01/06-08:50:51.051910 7f93e9ffb6c0 Manual compaction at level-0 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.051933 7f93e9ffb6c0 Manual compaction at level-1 from '!scenes!VOzC5ey4qi1C34MY' @ 72057594037927935 : 1 .. '!scenes!mfosNsLsHN5Pf4TO' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/MANIFEST-000171 b/packs/scenes/MANIFEST-000187 similarity index 73% rename from packs/scenes/MANIFEST-000171 rename to packs/scenes/MANIFEST-000187 index ea14e3d..3f26b57 100644 Binary files a/packs/scenes/MANIFEST-000171 and b/packs/scenes/MANIFEST-000187 differ diff --git a/packs/tables/000330.log b/packs/tables/000346.log similarity index 100% rename from packs/tables/000330.log rename to packs/tables/000346.log diff --git a/packs/tables/CURRENT b/packs/tables/CURRENT index 6926645..0f17308 100644 --- a/packs/tables/CURRENT +++ b/packs/tables/CURRENT @@ -1 +1 @@ -MANIFEST-000328 +MANIFEST-000344 diff --git a/packs/tables/LOG b/packs/tables/LOG index 82da525..d6961ac 100644 --- a/packs/tables/LOG +++ b/packs/tables/LOG @@ -1,7 +1,7 @@ -2026/01/05-22:20:56.127066 7f93eaffd6c0 Recovering log #326 -2026/01/05-22:20:56.136649 7f93eaffd6c0 Delete type=3 #324 -2026/01/05-22:20:56.136722 7f93eaffd6c0 Delete type=0 #326 -2026/01/05-22:39:51.151918 7f93e9ffb6c0 Level-0 table #331: started -2026/01/05-22:39:51.151946 7f93e9ffb6c0 Level-0 table #331: 0 bytes OK -2026/01/05-22:39:51.158214 7f93e9ffb6c0 Delete type=0 #329 -2026/01/05-22:39:51.165589 7f93e9ffb6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.942425 7f93ea7fc6c0 Recovering log #342 +2026/01/06-08:51:42.952983 7f93ea7fc6c0 Delete type=3 #340 +2026/01/06-08:51:42.953043 7f93ea7fc6c0 Delete type=0 #342 +2026/01/06-16:09:35.067151 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-16:09:35.067186 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-16:09:35.104060 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-16:09:35.183546 7f93e9ffb6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) diff --git a/packs/tables/LOG.old b/packs/tables/LOG.old index 3ab97f1..4b97a8c 100644 --- a/packs/tables/LOG.old +++ b/packs/tables/LOG.old @@ -1,7 +1,7 @@ -2025/11/21-21:17:11.238038 7f34ccff96c0 Recovering log #322 -2025/11/21-21:17:11.266542 7f34ccff96c0 Delete type=3 #320 -2025/11/21-21:17:11.266608 7f34ccff96c0 Delete type=0 #322 -2025/11/21-21:20:34.138228 7f322ffff6c0 Level-0 table #327: started -2025/11/21-21:20:34.138262 7f322ffff6c0 Level-0 table #327: 0 bytes OK -2025/11/21-21:20:34.145084 7f322ffff6c0 Delete type=0 #325 -2025/11/21-21:20:34.151692 7f322ffff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.694947 7f93ea7fc6c0 Recovering log #338 +2026/01/06-08:47:47.710886 7f93ea7fc6c0 Delete type=3 #336 +2026/01/06-08:47:47.710964 7f93ea7fc6c0 Delete type=0 #338 +2026/01/06-08:50:51.031305 7f93e9ffb6c0 Level-0 table #343: started +2026/01/06-08:50:51.031341 7f93e9ffb6c0 Level-0 table #343: 0 bytes OK +2026/01/06-08:50:51.038444 7f93e9ffb6c0 Delete type=0 #341 +2026/01/06-08:50:51.051898 7f93e9ffb6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) diff --git a/packs/tables/MANIFEST-000328 b/packs/tables/MANIFEST-000328 deleted file mode 100644 index b0fbc5b..0000000 Binary files a/packs/tables/MANIFEST-000328 and /dev/null differ diff --git a/packs/tables/MANIFEST-000344 b/packs/tables/MANIFEST-000344 new file mode 100644 index 0000000..fe15b9c Binary files /dev/null and b/packs/tables/MANIFEST-000344 differ diff --git a/packs/talents-cellule/000334.log b/packs/talents-cellule/000350.log similarity index 100% rename from packs/talents-cellule/000334.log rename to packs/talents-cellule/000350.log diff --git a/packs/talents-cellule/CURRENT b/packs/talents-cellule/CURRENT index 60e4397..549acb4 100644 --- a/packs/talents-cellule/CURRENT +++ b/packs/talents-cellule/CURRENT @@ -1 +1 @@ -MANIFEST-000332 +MANIFEST-000348 diff --git a/packs/talents-cellule/LOG b/packs/talents-cellule/LOG index 7b480d2..0911e70 100644 --- a/packs/talents-cellule/LOG +++ b/packs/talents-cellule/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.113832 7f93ebfff6c0 Recovering log #330 -2026/01/05-22:20:56.124998 7f93ebfff6c0 Delete type=3 #328 -2026/01/05-22:20:56.125086 7f93ebfff6c0 Delete type=0 #330 -2026/01/05-22:39:51.145629 7f93e9ffb6c0 Level-0 table #335: started -2026/01/05-22:39:51.145659 7f93e9ffb6c0 Level-0 table #335: 0 bytes OK -2026/01/05-22:39:51.151770 7f93e9ffb6c0 Delete type=0 #333 -2026/01/05-22:39:51.165579 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.165614 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.930439 7f93eaffd6c0 Recovering log #346 +2026/01/06-08:51:42.940486 7f93eaffd6c0 Delete type=3 #344 +2026/01/06-08:51:42.940554 7f93eaffd6c0 Delete type=0 #346 +2026/01/06-16:09:35.104217 7f93e9ffb6c0 Level-0 table #351: started +2026/01/06-16:09:35.104251 7f93e9ffb6c0 Level-0 table #351: 0 bytes OK +2026/01/06-16:09:35.146416 7f93e9ffb6c0 Delete type=0 #349 +2026/01/06-16:09:35.183557 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.183582 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) diff --git a/packs/talents-cellule/LOG.old b/packs/talents-cellule/LOG.old index 01f44e2..2b51c43 100644 --- a/packs/talents-cellule/LOG.old +++ b/packs/talents-cellule/LOG.old @@ -1,8 +1,8 @@ -2025/11/21-21:17:11.214544 7f34ce7fc6c0 Recovering log #326 -2025/11/21-21:17:11.234732 7f34ce7fc6c0 Delete type=3 #324 -2025/11/21-21:17:11.234809 7f34ce7fc6c0 Delete type=0 #326 -2025/11/21-21:20:34.121434 7f322ffff6c0 Level-0 table #331: started -2025/11/21-21:20:34.121467 7f322ffff6c0 Level-0 table #331: 0 bytes OK -2025/11/21-21:20:34.128698 7f322ffff6c0 Delete type=0 #329 -2025/11/21-21:20:34.151669 7f322ffff6c0 Manual compaction at level-0 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.151712 7f322ffff6c0 Manual compaction at level-1 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.671595 7f93eaffd6c0 Recovering log #342 +2026/01/06-08:47:47.692464 7f93eaffd6c0 Delete type=3 #340 +2026/01/06-08:47:47.692528 7f93eaffd6c0 Delete type=0 #342 +2026/01/06-08:50:51.024710 7f93e9ffb6c0 Level-0 table #347: started +2026/01/06-08:50:51.024753 7f93e9ffb6c0 Level-0 table #347: 0 bytes OK +2026/01/06-08:50:51.031167 7f93e9ffb6c0 Delete type=0 #345 +2026/01/06-08:50:51.051881 7f93e9ffb6c0 Manual compaction at level-0 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.051926 7f93e9ffb6c0 Manual compaction at level-1 from '!items!0jRgc9a9L8i7j1Uk' @ 72057594037927935 : 1 .. '!items!yRTYaNKyXBX9wHhb' @ 0 : 0; will stop at (end) diff --git a/packs/talents-cellule/MANIFEST-000332 b/packs/talents-cellule/MANIFEST-000348 similarity index 73% rename from packs/talents-cellule/MANIFEST-000332 rename to packs/talents-cellule/MANIFEST-000348 index 91cae5f..9989596 100644 Binary files a/packs/talents-cellule/MANIFEST-000332 and b/packs/talents-cellule/MANIFEST-000348 differ diff --git a/packs/talents/000336.log b/packs/talents/000352.log similarity index 100% rename from packs/talents/000336.log rename to packs/talents/000352.log diff --git a/packs/talents/CURRENT b/packs/talents/CURRENT index 4e32000..5cedb3b 100644 --- a/packs/talents/CURRENT +++ b/packs/talents/CURRENT @@ -1 +1 @@ -MANIFEST-000334 +MANIFEST-000350 diff --git a/packs/talents/LOG b/packs/talents/LOG index 9819a9e..7ea01a2 100644 --- a/packs/talents/LOG +++ b/packs/talents/LOG @@ -1,8 +1,8 @@ -2026/01/05-22:20:56.100568 7f93ea7fc6c0 Recovering log #331 -2026/01/05-22:20:56.110337 7f93ea7fc6c0 Delete type=3 #329 -2026/01/05-22:20:56.110396 7f93ea7fc6c0 Delete type=0 #331 -2026/01/05-22:39:51.138048 7f93e9ffb6c0 Level-0 table #337: started -2026/01/05-22:39:51.138074 7f93e9ffb6c0 Level-0 table #337: 0 bytes OK -2026/01/05-22:39:51.145522 7f93e9ffb6c0 Delete type=0 #335 -2026/01/05-22:39:51.165565 7f93e9ffb6c0 Manual compaction at level-0 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) -2026/01/05-22:39:51.165606 7f93e9ffb6c0 Manual compaction at level-1 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) +2026/01/06-08:51:42.916450 7f93ebfff6c0 Recovering log #348 +2026/01/06-08:51:42.927518 7f93ebfff6c0 Delete type=3 #346 +2026/01/06-08:51:42.927580 7f93ebfff6c0 Delete type=0 #348 +2026/01/06-16:09:35.030447 7f93e9ffb6c0 Level-0 table #353: started +2026/01/06-16:09:35.030472 7f93e9ffb6c0 Level-0 table #353: 0 bytes OK +2026/01/06-16:09:35.066996 7f93e9ffb6c0 Delete type=0 #351 +2026/01/06-16:09:35.183534 7f93e9ffb6c0 Manual compaction at level-0 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) +2026/01/06-16:09:35.183574 7f93e9ffb6c0 Manual compaction at level-1 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) diff --git a/packs/talents/LOG.old b/packs/talents/LOG.old index f0ffa87..557f90d 100644 --- a/packs/talents/LOG.old +++ b/packs/talents/LOG.old @@ -1,15 +1,8 @@ -2025/11/21-21:17:11.194230 7f34cdffb6c0 Recovering log #327 -2025/11/21-21:17:11.210969 7f34cdffb6c0 Delete type=3 #325 -2025/11/21-21:17:11.211033 7f34cdffb6c0 Delete type=0 #327 -2025/11/21-21:20:34.128800 7f322ffff6c0 Level-0 table #332: started -2025/11/21-21:20:34.131893 7f322ffff6c0 Level-0 table #332: 3527 bytes OK -2025/11/21-21:20:34.137994 7f322ffff6c0 Delete type=0 #330 -2025/11/21-21:20:34.151683 7f322ffff6c0 Manual compaction at level-0 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) -2025/11/21-21:20:34.151734 7f322ffff6c0 Manual compaction at level-1 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at '!items!PfuzDohW3l2ds0hu' @ 1159 : 1 -2025/11/21-21:20:34.151743 7f322ffff6c0 Compacting 1@1 + 1@2 files -2025/11/21-21:20:34.157101 7f322ffff6c0 Generated table #333@1: 193 keys, 105016 bytes -2025/11/21-21:20:34.157139 7f322ffff6c0 Compacted 1@1 + 1@2 files => 105016 bytes -2025/11/21-21:20:34.163649 7f322ffff6c0 compacted to: files[ 0 0 1 0 0 0 0 ] -2025/11/21-21:20:34.163835 7f322ffff6c0 Delete type=2 #276 -2025/11/21-21:20:34.164056 7f322ffff6c0 Delete type=2 #332 -2025/11/21-21:20:34.181980 7f322ffff6c0 Manual compaction at level-1 from '!items!PfuzDohW3l2ds0hu' @ 1159 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) +2026/01/06-08:47:47.655576 7f93ebfff6c0 Recovering log #344 +2026/01/06-08:47:47.669164 7f93ebfff6c0 Delete type=3 #342 +2026/01/06-08:47:47.669230 7f93ebfff6c0 Delete type=0 #344 +2026/01/06-08:50:51.018281 7f93e9ffb6c0 Level-0 table #349: started +2026/01/06-08:50:51.018314 7f93e9ffb6c0 Level-0 table #349: 0 bytes OK +2026/01/06-08:50:51.024380 7f93e9ffb6c0 Delete type=0 #347 +2026/01/06-08:50:51.024553 7f93e9ffb6c0 Manual compaction at level-0 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) +2026/01/06-08:50:51.024577 7f93e9ffb6c0 Manual compaction at level-1 from '!items!07bq0fsbn653i81y' @ 72057594037927935 : 1 .. '!items!zKvlDHBalR4UdwUx' @ 0 : 0; will stop at (end) diff --git a/packs/talents/MANIFEST-000334 b/packs/talents/MANIFEST-000350 similarity index 72% rename from packs/talents/MANIFEST-000334 rename to packs/talents/MANIFEST-000350 index d55444c..5f59cf2 100644 Binary files a/packs/talents/MANIFEST-000334 and b/packs/talents/MANIFEST-000350 differ diff --git a/styles/hawkmoon.css b/styles/hawkmoon.css new file mode 100644 index 0000000..607b324 --- /dev/null +++ b/styles/hawkmoon.css @@ -0,0 +1,1409 @@ +/* ==================== (A) Fonts ==================== */ +@font-face { + font-family: "Pfeffer"; + src: url("../assets/fonts/pfeffer-simpelgotisch.regular2.otf") format("opentype"); +} +@font-face { + font-family: "Montserrat"; + src: url("../assets/fonts/Montserrat-Medium.woff") format("woff"); + font-weight: normal; +} +:root { + /* =================== 1. ACTOR SHEET FONT STYLES =========== */ + --window-header-font-family: Montserrat; + --window-header-title-font-size: 0.95rem; + --window-header-title-font-weight: normal; + --window-header-title-color: #f5f5f5; + --major-button-font-family: Montserrat; + --major-button-font-size: 0.95rem; + --major-button-font-weight: normal; + --major-button-color: #dadada; + --tab-header-font-family: Montserrat; + --tab-header-font-size: 1rem; + --tab-header-font-weight: 700; + --tab-header-color: #403f3e; + --tab-header-color-active: #4a0404; + --actor-input-font-size: 0.9rem; + --actor-input-font-weight: 500; + --actor-input-color: black; + --actor-label-font-size: 0.9rem; + --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; +} +* { + scrollbar-color: initial; +} +::-webkit-scrollbar-thumb { + border-color: #ff6400; +} +@-moz-document url-prefix() { + * { + scrollbar-color: #782e22 transparent; + scrollbar-width: thin; + } +} +.window-app button, +.window-app select, +.window-app input { + font-family: "Montserrat"; + text-align: center; +} +/*@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: Montserrat; + text-align: justify; + font-size: 12px; + letter-spacing: 1px; + background-image: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; +} +/* Fonts */ +.window-app .window-header, +#actors .directory-list, +#navigation #scene-list .scene.nav-item { + font-family: "Montserrat"; + font-size: 0.8rem; +} +/* For title, sidebar character and scene */ +.sheet header.sheet-header h1 input { + font-family: "Pfeffer"; + font-size: 0.8rem; + color: lightgray; +} +.journal-sidebar .headings .heading.h3, +.journal-sidebar .headings .heading.h4, +.journal-sidebar .headings .heading.h2 { + color: #e6dede; +} +.sheet nav.sheet-tabs { + font-family: "Pfeffer"; + font-size: 0.8rem; + color: #151c1f; +} +/* For nav and title */ +.window-app input, +.fvtt-hawkmoon-cyd .item-form, +.sheet header.sheet-header .flex-group-center.flex-compteurs, +.sheet header.sheet-header .flex-group-center.flex-fatigue, +select, +button, +.item-checkbox, +#sidebar, +#players, +#navigation #nav-toggle { + font-size: 0.8rem; +} +.fvtt-hawkmoon-cyd .sheet-header select option { + background-color: #441919; +} +.fvtt-hawkmoon-cyd .sheet-header input, +.fvtt-hawkmoon-cyd .sheet-header select { + color: lightgray; +} +.window-header { + background: rgba(0, 0, 0, 0.75); +} +.window-app.sheet .window-content { + margin: 0; + padding: 0; + background-image: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; +} +.strong-text { + font-weight: bold; +} +.tabs .item.active, +.blessures-list li ul li:first-child:hover, +a:hover { + text-shadow: 1px 0px 0px #ff6600; +} +.rollable:hover, +.rollable:focus { + color: #000; + text-shadow: 0 0 10px red; + cursor: pointer; +} +input:disabled { + color: #1c2058; +} +select:disabled { + color: #1c2058; +} +table { + border: 1px solid #7a7971; +} +.grid, +.grid-2col { + display: grid; + grid-column: span 2 / span 2; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 10px; + margin: 10px 0; + padding: 0; +} +.grid-3col { + grid-column: span 3 / span 3; + grid-template-columns: repeat(3, minmax(0, 1fr)); +} +.grid-4col { + grid-column: span 4 / span 4; + grid-template-columns: repeat(4, minmax(0, 1fr)); +} +.grid-5col { + grid-column: span 5 / span 5; + grid-template-columns: repeat(5, minmax(0, 1fr)); +} +.grid-6col { + grid-column: span 5 / span 5; + grid-template-columns: repeat(5, minmax(0, 1fr)); +} +.grid-7col { + grid-column: span 7 / span 7; + grid-template-columns: repeat(7, minmax(0, 1fr)); +} +.grid-8col { + grid-column: span 8 / span 8; + grid-template-columns: repeat(8, minmax(0, 1fr)); +} +.grid-9col { + grid-column: span 9 / span 9; + grid-template-columns: repeat(9, minmax(0, 1fr)); +} +.grid-10col { + grid-column: span 10 / span 10; + grid-template-columns: repeat(10, minmax(0, 1fr)); +} +.grid-11col { + grid-column: span 11 / span 11; + grid-template-columns: repeat(11, minmax(0, 1fr)); +} +.grid-12col { + grid-column: span 12 / span 12; + grid-template-columns: repeat(12, minmax(0, 1fr)); +} +.flex-group-center, +.flex-group-left, +.flex-group-right { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + padding: 5px; +} +.flex-group-left { + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + text-align: left; +} +.flex-group-right { + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + text-align: right; +} +.flex-center { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; +} +.table-create-actor { + font-size: 0.8rem; +} +.flex-between { + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} +.flex-shrink { + flex: "flex-shrink"; +} +/* Styles limited to foundryvtt-vadentis sheets */ +.fvtt-hawkmoon-cyd .sheet-header { + -webkit-box-flex: 0; + -ms-flex: 0 0 210px; + flex: 0 0 210px; + overflow: hidden; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + margin-bottom: 10px; + background-image: url("../assets/ui/hawkmoon_background_01.png"); +} +.sheet.journal-entry .journal-sidebar { + color: #000; +} +.background-sheet-header { + background-image: url("../assets/ui/hawkmoon_background_01.png"); + background-blend-mode: soft-light; + color: lightgray; + width: 100%; +} +.fvtt-hawkmoon-cyd .sheet-header .profile-img { + -webkit-box-flex: 0; + -ms-flex: 0 0 128px; + flex: 0 0 128px; + height: 128px; + width: 128px; + margin-right: 10px; + object-fit: cover; + object-position: 50% 0; +} +.button-img { + vertical-align: baseline; + width: 8%; + height: 8%; + max-height: 48px; + border-width: 0; + border: 1px solid rgba(0, 0, 0, 0); +} +.button-img:hover { + color: rgba(255, 255, 128, 0.7); + border: 1px solid rgba(255, 128, 0, 0.8); + cursor: pointer; +} +.button-effect-img { + vertical-align: baseline; + width: 16px; + max-height: 16px; + height: 16; + border-width: 0; +} +.small-button-container { + height: 16px; + width: 16px; + border: 0; + vertical-align: bottom; +} +.fvtt-hawkmoon-cyd .sheet-header .header-fields { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; +} +.fvtt-hawkmoon-cyd .sheet-header h1.charname { + height: 50px; + padding: 0px; + margin: 5px 0; + border-bottom: 0; + font-weight: bold; + font-size: 2rem; + font-family: "Pfeffer"; + color: lightgray; + text-align: left; +} +.fvtt-hawkmoon-cyd .sheet-header h1.charname input { + width: 100%; + height: 100%; + margin: 0; + font-weight: bold; + font-family: "Pfeffer"; + font-size: 2rem; + color: lightgray; + text-align: left; +} +.fvtt-hawkmoon-cyd .sheet-tabs { + -webkit-box-flex: 0; + -ms-flex: 0; + flex: 0; +} +.fvtt-hawkmoon-cyd .sheet-body, +.fvtt-hawkmoon-cyd .sheet-body .tab, +.fvtt-hawkmoon-cyd .sheet-body .tab .editor { + height: 100%; + font-size: 0.8rem; + color: rgba(0, 0, 0, 0.9); +} +.fvtt-hawkmoon-cyd .sheet-body input, +.fvtt-hawkmoon-cyd .sheet-body select { + color: rgba(0, 0, 0, 0.9); +} +.editor { + border: 2; + height: 300px; + padding: 0 3px; +} +.medium-editor { + border: 2; + height: 240px; + padding: 0 3px; +} +.small-editor { + border: 2; + height: 120px; + padding: 0 3px; +} +.fvtt-hawkmoon-cyd .tox .tox-editor-container { + background: #fff; +} +.fvtt-hawkmoon-cyd .tox .tox-edit-area { + padding: 0 8px; +} +.fvtt-hawkmoon-cyd .resource-label { + font-weight: bold; + text-transform: uppercase; +} +.fvtt-hawkmoon-cyd .tabs { + height: 40px; + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + color: #000000; +} +.fvtt-hawkmoon-cyd .tabs .item { + /*line-height: 40px;*/ + font-weight: bold; +} +.fvtt-hawkmoon-cyd .tabs .item.active { + text-decoration: underline; + text-shadow: none; +} +.fvtt-hawkmoon-cyd .items-list { + list-style: none; + margin: 1px 0; + padding: 0; + overflow-y: auto; +} +.fvtt-hawkmoon-cyd .items-list .item-header { + font-weight: bold; +} +.fvtt-hawkmoon-cyd .items-list .item { + height: 30px; + line-height: 24px; + padding: 1px 0; + border-bottom: 1px solid #bbb; +} +.fvtt-hawkmoon-cyd .items-list .item .item-image { + -webkit-box-flex: 0; + -ms-flex: 0 0 24px; + flex: 0 0 24px; + margin-right: 5px; +} +.fvtt-hawkmoon-cyd .items-list .item img { + display: block; +} +.fvtt-hawkmoon-cyd .items-list .item-name { + margin: 0; +} +.fvtt-hawkmoon-cyd .items-list .item-controls { + -webkit-box-flex: 0; + -ms-flex: 0 0 86px; + flex: 0 0 86px; + text-align: right; +} +/* ======================================== */ +/* Sheet */ +.window-app.sheet .window-content .sheet-header { + /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ + background: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; +} +.window-app.sheet .window-content .sheet-header input[type="text"], +.window-app.sheet .window-content .sheet-header input[type="number"], +.window-app.sheet .window-content .sheet-header input[type="password"], +.window-app.sheet .window-content .sheet-header input[type="date"], +.window-app.sheet .window-content .sheet-header input[type="time"] { + /*color: rgba(36, 37, 37, 0.75);*/ + /*background: rgba(255, 255, 255, 0.05);*/ + /*border: 2px saddlebrown;*/ + /*color: lightgray;*/ + border-width: 1px; + margin-bottom: 0.25rem; +} +.window-app .window-content, +.window-app.sheet .window-content .sheet-body { + font-size: 0.8rem; + background: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat-y; + color: black; +} +/*section.sheet-body{ + padding: 0.25rem 0.5rem;}*/ +.sheet header.sheet-header .profile-img { + object-fit: cover; + object-position: 50% 0; + margin: 0.5rem 0 0.5rem 0.5rem; + padding: 0; + border: 0px; +} +.sheet nav.sheet-tabs { + font-size: 0.7rem; + font-weight: bold; + height: 2.5rem; + flex: 0 0 3rem; + margin: 0; + padding: 0 0 0 0.25rem; + text-align: center; + text-transform: uppercase; + line-height: 1.5rem; + border-top: 0 none; + border-bottom: 0 none; + /*background-color:#2e5561;*/ + color: #151c1f; + /*background-image: url("../assets/ui/hawkmoon_background_02.png");*/ +} +/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ +nav.sheet-tabs .item { + position: relative; + padding: 0 0.25rem; +} +nav.sheet-tabs .item:after { + content: ""; + position: absolute; + top: 0; + right: 0; + height: 2rem; + width: 1px; + /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ +} +.sheet .tab[data-tab] { + padding: 0; +} +section.sheet-body:after { + content: ""; + display: block; + clear: both; +} +.sheet header.sheet-header .flex-compteurs { + text-align: right; +} +.sheet header.sheet-header .resource-content { + width: 2rem; +} +.select-diff { + display: inline-block; + text-align: left; + width: 50px; +} +.window-app.sheet .window-content .tooltip:hover .tooltiptext { + top: 2rem; + left: 2rem; + margin: 0; + padding: 0.25rem; +} +.window-app.sheet .window-content .carac-value, +.window-app.sheet .window-content .competence-xp { + margin: 0.05rem; + flex-basis: 3rem; + text-align: center; +} +/* ======================================== */ +/* Global UI elements */ +/* ======================================== */ +h1, +h2, +h3, +h4 { + font-weight: bold; +} +ul, +ol { + margin: 0; + padding: 0; +} +ul, +li { + list-style-type: none; +} +.sheet li { + margin: 0.01rem; + padding: 0.25rem; +} +.header-fields li { + margin: 0; + padding: 0; +} +.alterne-list > .list-item:hover { + background: rgba(100, 100, 50, 0.25); +} +.alterne-list > .list-item:nth-child(even) { + background: rgba(80, 60, 0, 0.1); +} +.alterne-list > .list-item:nth-child(odd) { + background: #a08264; +} +.specialisation-label { + font-size: 0.8rem; +} +.carac-label, +.attr-label { + font-weight: bold; +} +.list-item { + margin: 0.125rem; + box-shadow: inset 0px 0px 1px #00000096; + border-radius: 0.25rem; + padding: 0.125rem; + flex: 1 1 5rem; +} +.item-display-show { + display: block; +} +.item-display-hide { + display: none; +} +.conteneur-type { + background: #c80a64; +} +.item-quantite { + margin-left: 0.5rem; +} +.list-item-margin1 { + margin-left: 1rem; +} +.list-item-margin2 { + margin-left: 2rem; +} +.list-item-margin3 { + margin-left: 3rem; +} +.list-item-margin4 { + margin-left: 4rem; +} +.sheet-competence-img { + width: 24px; + height: 24px; + flex-grow: 0; + margin-right: 0.25rem; +} +.competence-column { + flex-direction: column; + align-content: flex-start; + justify-content: flex-start; + flex-grow: 0; + flex-basis: 1; +} +.competence-header { + align-content: flex-start; + justify-content: flex-start; + font-weight: bold; + flex-grow: 0; +} +.secondaire-label, +.arme-label, +.generic-label, +.competence-label, +.devotion-label, +.sort-label, +.technique-label, +.stat-label, +.arme-label, +.armure-label, +.equipement-label, +.description-label { + flex-grow: 2; + margin-left: 4px; +} +.roll-dialog-label { + margin: 4px 0; + padding-top: 7px; +} +.short-label { + flex-grow: 1; +} +.keyword-label { + font-size: 0.85rem; +} +.item-sheet-label { + flex-grow: 1; +} +.item-text-long-line { + flex-grow: 3; +} +.score-label { + flex-grow: 2; + align-content: center; +} +.attribut-value, +.carac-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} +.sante-value, +.competence-value { + flex-grow: 0; + flex-basis: 2rem; + margin-right: 0.25rem; + margin-left: 0.25rem; +} +.description-value { + flex-grow: 0; + flex-basis: 4rem; + margin-right: 0.25rem; + margin-left: 0.25rem; +} +.competence-xp { + flex-grow: 0; + flex-basis: 2rem; + margin-right: 0.25rem; + margin-left: 0.25rem; +} +.blessures-title { + font-weight: bold; +} +.alchimie-title { + font-weight: bold; +} +.blessure-data { + flex-direction: row; + align-content: flex-start; + justify-content: flex-start; +} +.blessures-soins { + flex-grow: 0; + flex-basis: 32px; + margin-right: 4px; + margin-left: 4px; +} +.blessures-loc { + flex-grow: 0; + flex-basis: 96px; + margin-right: 4px; + margin-left: 4px; +} +.pointsreve-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} +.input-sante-header, +.stress-style { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} +.small-label { + margin-top: 5px; +} +.padd-right { + margin-right: 8px; +} +.padd-left { + margin-left: 8px; +} +.stack-left { + align-items: center; + flex-shrink: 1; + flex-grow: 0; +} +.npc-stat-label { + flex-grow: 2; +} +.packed-left { + white-space: nowrap; + flex-grow: 0; +} +.numeric-input { + text-align: right; + direction: rtl; + padding: 5px; +} +.input-numeric-short { + width: 40px; + max-width: 40px; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 40px; + margin-right: 0.25rem; + margin-left: 0.25rem; +} +.stats-table { + align-content: flex-start; +} +/* ======================================== */ +.tokenhudext { + display: flex; + flex: 0 !important; + font-weight: 600; +} +.tokenhudext.left { + justify-content: flex-start; + flex-direction: column; + position: absolute; + top: 2.75rem; + right: 4rem; +} +.tokenhudext.right { + justify-content: flex-start; + flex-direction: column; + position: absolute; + top: 2.75rem; + left: 4rem; +} +.control-icon.tokenhudicon { + width: fit-content; + height: fit-content; + min-width: 6rem; + min-height: 1.2rem; + flex-basis: auto; + padding: 0; + line-height: 1rem; + margin: 0.25rem; +} +.control-icon.tokenhudicon.right { + margin-left: 8px; +} +#token-hud .status-effects.active { + z-index: 2; +} +/* ======================================== */ +.item-checkbox { + height: 25px; + border: 1px solid #736953a6; + border-left: none; + font-weight: 500; + font-size: 1rem; + color: black; + padding-top: 5px; + margin-right: 0px; + width: 45px; + position: relative; + left: 0px; + text-align: center; +} +.flex-actions-bar { + flex-grow: 2; +} +/* ======================================== */ +/* Sidebar CSS */ +#sidebar { + font-size: 1rem; + background-position: 100%; +} +/* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ +#sidebar.collapsed { + height: 470px !important; +} +#sidebar-tabs > .collapsed, +#chat-controls .chat-control-icon { + color: rgba(220, 220, 220, 0.75); + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); +} +.sidebar-tab .directory-list .entity { + border-top: 1px dashed rgba(0, 0, 0, 0.25); + border-bottom: 0 none; + padding: 0.25rem 0; +} +.sidebar-tab .directory-list .entity:hover { + background: rgba(0, 0, 0, 0.05); + cursor: pointer; +} +.chat-message-header { + background: rgba(220, 220, 210, 0.5); + font-size: 1.1rem; + height: 48px; + text-align: center; + vertical-align: middle; + display: flex; + align-items: center; +} +.chat-message .message-header .flavor-text, +.chat-message .message-header .whisper-to { + font-size: 0.9rem; +} +.chat-message .message-content { + font-size: 0.9rem; + font-family: CentaurMT; +} +.chat-actor-name { + padding: 4px; +} +.chat-img { + width: 64px; + height: 64px; +} +.roll-dialog-header { + height: 52px; +} +.adversite-text { + font-weight: bold; + position: absolute; + top: 50%; + left: 54%; + transform: translate(-50%, -50%); +} +.icon-adversite-container { + position: relative; + text-align: center; + color: white; + width: 64px; + min-height: 48px; +} +.icon-adversite { + width: 48px; + border: 0px; + margin-left: 8px; +} +.hud-adversite-container { + position: relative; + text-align: center; + color: darkgreen; + width: 64px; + min-height: 64px; +} +.hud-adversite-text { + font-weight: bold; + font-size: 0.9rem; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-60%, -90%); +} +.actor-icon { + float: left; + width: 48px; + height: 48px; + padding: 2px 6px 2px 2px; +} +.padding-dice { + padding-top: 0.2rem; + padding-bottom: 0.2rem; +} +.dice-image { + box-sizing: border-box; + border: none; + border-radius: 0; + max-width: 100%; +} +.dice-image-reroll { + background-color: rgba(115, 224, 115, 0.25); + border-color: #011d33; + box-sizing: border-box; + border: 1px; + border-radius: 0%; + max-width: 100%; +} +.chat-dice { + width: 15%; + height: 15%; + font-size: 15px; + padding: 10px; + /*padding-bottom: 20px;*/ + padding-top: 0.2rem; + padding-bottom: 0.2rem; +} +.div-center { + align-self: center; +} +.chat-message { + background: rgba(220, 220, 210, 0.5); + font-size: 0.9rem; +} +.chat-message.whisper { + background: rgba(220, 220, 210, 0.75); + border: 2px solid #545469; +} +.chat-message .chat-icon { + border: 0; + padding: 2px 6px 2px 2px; + float: left; + width: 64px; + height: 64px; +} +#sidebar-tabs { + flex: 0 0 32px; + box-sizing: border-box; + margin: 0 0 5px; + border-bottom: 1px solid rgba(0, 0, 0, 0); + box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); +} +#sidebar-tabs > .item.active { + border: 1px solid #726248; + background: rgba(30, 25, 20, 0.75); + box-shadow: 0 0 6px inset #726248; +} +#sidebar #sidebar-tabs i { + display: inline-block; + background-position: center; + background-size: cover; + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); +} +/*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.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-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;} + +#combat #combat-controls { + box-shadow: inset 0 0 2rem rgba(0,0,0,0.5); +} +*/ +/*--------------------------------------------------------------------------*/ +/* Control, Tool, hotbar & navigation */ +#controls .scene-control, +#controls .control-tool { + box-shadow: 0 0 3px #000; + margin: 0 0 8px; + border-radius: 0; + background: #1e1914; + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; +} +#controls .scene-control.active, +#controls .control-tool.active, +#controls .scene-control:hover, +#controls .control-tool:hover { + background: #482e1c; + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + box-shadow: 0 0 3px #ff6400; +} +#hotbar #action-bar #macro-list { + border: 1px solid #482e1c; + box-shadow: 2px 2px 5px #000000; +} +#hotbar #action-bar .macro { + border-image: url(img/ui/bg_control.jpg) 21 repeat; + border-image-slice: 6 6 6 6 fill; + border-image-width: 6px 6px 6px 6px; + border-image-outset: 0px 0px 0px 0px; + border-radius: 0px; +} +#hotbar .bar-controls { + background: #1e1914; + border: 1px solid #482e1c; +} +#players { + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + background: #1e1914; +} +#navigation #scene-list .scene.nav-item.active { + background: #482e1c; +} +#navigation #scene-list .scene.nav-item { + background: #1e1914; + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; +} +#navigation #scene-list .scene.view, +#navigation #scene-list .scene.context { + background: #482e1c; + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + box-shadow: 0 0 3px #ff6400; +} +#navigation #nav-toggle { + background: #1e1914; + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; +} +/* Tooltip container */ +.tooltip { + position: relative; + display: inline-block; + /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ +} +/* Tooltip text */ +.tooltip .tooltiptext { + text-align: left; + background: rgba(231, 229, 226, 0.9); + width: 150px; + padding: 3px 0; + font-size: 0.9rem; + /* Position the tooltip text */ + top: 1px; + position: absolute; + z-index: 1; + /* Fade in tooltip */ + visibility: hidden; + opacity: 0; + transition: opacity 0.3s; +} +.tooltip .ttt-fatigue { + width: 360px; + background: rgba(30, 25, 20, 0.9); + border-image: url(img/ui/bg_control.jpg) 21 repeat; + border-image-slice: 6 6 6 6 fill; + border-image-width: 6px 6px 6px 6px; + border-image-outset: 0px 0px 0px 0px; + border-radius: 0px; + font-size: 0.8rem; + padding: 3px 0; +} +.tooltip .ttt-ajustements { + width: 150px; + background: rgba(220, 220, 210, 0.95); + border-radius: 6px; + font-size: 0.9rem; + padding: 3px 0; +} +.tooltip-nobottom { + border-bottom: unset; + /* If you want dots under the hoverable text */ +} +.tooltip .ttt-xp { + width: 250px; + background: rgba(220, 220, 210, 0.95); + border-radius: 6px; + font-size: 0.9rem; + padding: 3px 0; +} +/* Show the tooltip text when you mouse over the tooltip container */ +.tooltip:hover .tooltiptext { + visibility: visible; + opacity: 1; +} +.chat-card-button { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); + background-color: #7d5d3b00; + border-radius: 3px; + border: 2px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-size: 0.8rem; + padding: 4px 4px 0px 4px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + /*margin:2px;*/ +} +.chat-card-button:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: #382121; +} +.chat-card-button:active { + position: relative; + top: 1px; +} +.button-sheet-roll { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); + background-color: #7d5d3b00; + border-radius: 4px; + border: 1px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-size: 0.8rem; + padding: 1px 1px 0px 1px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + max-height: 1.7rem; + flex-grow: 1; + max-width: 3.5rem; + min-width: 3.5rem; +} +.button-sheet-roll:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: #382121; +} +.button-sheet-roll:active { + position: relative; + top: 1px; +} +.defense-sheet { + border-radius: 4px; + text-align: center; + display: inline-block; + font-size: 0.8rem; + padding: 1px 1px 0px 1px; + text-decoration: none; + position: relative; + max-height: 1.7rem; + margin-left: 4px; + flex-grow: 1; + max-width: 3.5rem; + min-width: 3.5rem; +} +.plus-minus-button { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); + background-color: #7d5d3b00; + border-radius: 4px; + border: 2px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + padding: 3px 6px 2px 6px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + margin: 3px; + max-width: 24px; + max-height: 24px; +} +.river-button:hover, +.plus-minus-button:hover, +.chat-card-button:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: red; +} +.plus-minus-button:active, +.chat-card-button:active { + position: relative; + top: 1px; +} +.plus-minus { + font-size: 0.9rem; + font-weight: bold; +} +.ul-level1 { + padding-left: 2rem; +} +.drop-spec2 { + background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); + background-color: #7d5d3b00; + border-radius: 3px; + border: 2px ridge #846109; +} +.label-name { + padding-top: 7px; + padding-left: 4px; + margin-left: 4px; + min-width: 5rem; + max-width: 5rem; +} +/*************************************************************/ +.competence-name { + padding-top: 7px; + padding-left: 4px; + margin-left: 4px; + flex-grow: 2; +} +/*************************************************************/ +.competence-niveau { + flex-grow: 1; + min-width: 64px; + max-width: 64px; +} +/*************************************************************/ +.arme-defensif { + padding-top: 7px; + text-align: center; + flex-grow: 2; +} +/*************************************************************/ +.item-name-img { + flex-grow: 1; + max-width: 2rem; + min-width: 2rem; + max-height: 2rem; +} +/*************************************************************/ +#pause { + font-size: 2rem; +} +#pause > h3 { + color: #ccc; +} +#pause > img { + content: url(../assets/logos/hawkmoon_logo.webp); + height: 256px; + width: 256px; + top: -80px; + left: calc(50% - 132px); +} +#logo { + content: url(../assets/logos/hawkmoon_logo.webp); + width: 120px; + height: 40px; +} +.dice-cell { + padding-left: 12px; + padding-right: 12px; + width: 60px; + text-align: center; +} +.dice-formula, +.dice-total { + height: 54px; + position: relative; +} +.item-name-label-header { + flex-grow: 2; + max-width: 12rem; + min-width: 12rem; +} +.item-name-label { + flex-grow: 2; + max-width: 10rem; + min-width: 10rem; +} +.item-name-label-level2 { + flex-grow: 2; + max-width: 9rem; + min-width: 9rem; +} +.item-field-label-short { + padding-top: 6px; + flex-grow: 1; + max-width: 4rem; + min-width: 4rem; +} +.item-field-label-medium { + padding-top: 6px; + flex-grow: 1; + max-width: 7rem; + min-width: 7rem; +} +.item-field-label-long { + padding-top: 6px; + flex-grow: 1; + max-width: 8rem; + min-width: 8rem; +} +.item-field-label-long1 { + padding-top: 6px; + flex-grow: 1; + max-width: 12rem; + min-width: 12rem; +} +.item-field-label-long2 { + padding-top: 6px; + flex-grow: 1; + max-width: 20rem; + min-width: 20rem; +} +.item-control-end { + align-self: flex-end; +} +.alternate-list { + margin-top: 2px; + flex-wrap: nowrap; +} +.item-filler { + flex-grow: 6; + flex-shrink: 7; +} +.item-controls-fixed { + min-width: 3.2rem; + max-width: 3.2rem; +} +.item-field { + justify-content: flex-start; + flex-grow: 1; +} +.chat-success { + font-size: 1.2rem; + font-weight: bold; + color: darkgreen; +} +.chat-failure { + font-size: 1.2rem; + font-weight: bold; + color: darkred; +} +.adversite-modify { + margin-top: 12px; +} +.argent-total-text { + margin-left: 4px; +} +.compendium h4.entry-name.document-name { + color: black; +} +.page-title { + color: #e9e2e2; +} +textarea { + font-family: "Montserrat"; + font-size: 0.8rem; +} +.fxmaster { + background: #443e37e0; + background-color: #443e37e0; +} +.predilection-text { + padding-left: 8px; + font-style: italic; + font-size: 0.6rem; +} +/* AppV2 Item Sheets - Tab Management */ +.fvtt-hawkmoon-cyd.item .tab[data-tab], +.item-sheet .tab[data-tab] { + display: none; +} +.fvtt-hawkmoon-cyd.item .tab[data-tab].active, +.item-sheet .tab[data-tab].active { + display: block; +} +.fvtt-hawkmoon-cyd.item nav.tabs a.item, +.item-sheet nav.tabs a.item { + opacity: 0.6; +} +.fvtt-hawkmoon-cyd.item nav.tabs a.item.active, +.item-sheet nav.tabs a.item.active { + opacity: 1; + font-weight: bold; + border-bottom: 2px solid; +} +/* AppV2 Item Sheets - Specific fixes */ +.fvtt-hawkmoon-cyd.item header.sheet-header img.item-sheet-img, +.item-sheet header.sheet-header img.item-sheet-img { + flex: 0 0 48px; + width: 48px; + height: 48px; + max-width: 48px; + max-height: 48px; +} +/* AppV2 Item Sheets - Header Layout */ +.fvtt-hawkmoon-cyd.item header.sheet-header, +.item-sheet header.sheet-header { + display: flex; + flex-direction: row; + align-items: center; + gap: 8px; + padding: 8px; +} +.fvtt-hawkmoon-cyd.item header.sheet-header .header-actions, +.item-sheet header.sheet-header .header-actions { + display: flex; + flex-direction: row; + gap: 4px; + align-items: center; +} +.fvtt-hawkmoon-cyd.item header.sheet-header .header-actions button, +.item-sheet header.sheet-header .header-actions button { + padding: 4px 8px; + font-size: 0.8rem; + white-space: nowrap; +} +/*# sourceMappingURL=hawkmoon.css.map */ +/*# sourceMappingURL=hawkmoon.css.map */ diff --git a/styles/hawkmoon.css.map b/styles/hawkmoon.css.map new file mode 100644 index 0000000..3e11ea0 --- /dev/null +++ b/styles/hawkmoon.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../simple-converted.less"],"names":[],"mappings":"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","file":"hawkmoon.css","sourcesContent":[]} \ No newline at end of file diff --git a/styles/simple.css.backup b/styles/simple.css.backup new file mode 100644 index 0000000..b50051e --- /dev/null +++ b/styles/simple.css.backup @@ -0,0 +1,1610 @@ + /* ==================== (A) Fonts ==================== */ + @font-face { + font-family: "Pfeffer"; + src: url('../assets/fonts/pfeffer-simpelgotisch.regular2.otf') format("opentype"); + } + + @font-face { + font-family: "Montserrat"; + src: url('../assets/fonts/Montserrat-Medium.woff') format("woff"); + font-weight: normal; + } + + :root { + /* =================== 1. ACTOR SHEET FONT STYLES =========== */ + --window-header-font-family: Montserrat; + --window-header-title-font-size: 0.95rem; + --window-header-title-font-weight: normal; + --window-header-title-color: #f5f5f5; + + --major-button-font-family: Montserrat; + --major-button-font-size: 0.95rem; + --major-button-font-weight: normal; + --major-button-color: #dadada; + + --tab-header-font-family: Montserrat; + --tab-header-font-size: 1.0rem; + --tab-header-font-weight: 700; + --tab-header-color: #403f3e; + --tab-header-color-active: #4a0404; + + --actor-input-font-size: 0.9rem; + --actor-input-font-weight: 500; + --actor-input-color: black; + + --actor-label-font-size: 0.9rem; + --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; + } + + * { + scrollbar-color: initial; + } + + ::-webkit-scrollbar-thumb { + border-color: #ff6400; + } + + @-moz-document url-prefix() { + * { + scrollbar-color: #782e22 transparent; + scrollbar-width: thin; + } + } + + .window-app button, + .window-app select, + .window-app input { + font-family: "Montserrat"; + text-align: center; + } + + /*@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: Montserrat; + text-align: justify; + font-size: 12px; + letter-spacing: 1px; + background-image: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; + } + + /* Fonts */ + .window-app .window-header, + #actors .directory-list, + #navigation #scene-list .scene.nav-item { + font-family: "Montserrat"; + font-size: 0.8rem; + } + + /* For title, sidebar character and scene */ + .sheet header.sheet-header h1 input { + font-family: "Pfeffer"; + font-size: 0.8rem; + color: lightgray; + } + + .journal-sidebar .headings .heading.h3, + .journal-sidebar .headings .heading.h4, + .journal-sidebar .headings .heading.h2 { + color: #e6dede; + } + + .sheet nav.sheet-tabs { + font-family: "Pfeffer"; + font-size: 0.8rem; + color: #151c1f; + } + + /* For nav and title */ + .window-app input, + .fvtt-hawkmoon-cyd .item-form, + .sheet header.sheet-header .flex-group-center.flex-compteurs, + .sheet header.sheet-header .flex-group-center.flex-fatigue, + select, + button, + .item-checkbox, + #sidebar, + #players, + #navigation #nav-toggle { + font-size: 0.8rem; + } + + .fvtt-hawkmoon-cyd .sheet-header select option { + background-color: rgb(68, 25, 25); + } + + .fvtt-hawkmoon-cyd .sheet-header input, + .fvtt-hawkmoon-cyd .sheet-header select { + color: lightgray; + } + + .window-header { + background: rgba(0, 0, 0, 0.75); + } + + .window-app.sheet .window-content { + margin: 0; + padding: 0; + background-image: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; + } + + .strong-text { + font-weight: bold; + } + + .tabs .item.active, + .blessures-list li ul li:first-child:hover, + a:hover { + text-shadow: 1px 0px 0px #ff6600; + } + + .rollable:hover, + .rollable:focus { + color: #000; + text-shadow: 0 0 10px red; + cursor: pointer; + } + + input:disabled { + color: #1c2058; + } + + select:disabled { + color: #1c2058; + } + + table { + border: 1px solid #7a7971; + } + + .grid, + .grid-2col { + display: grid; + grid-column: span 2 / span 2; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 10px; + margin: 10px 0; + padding: 0; + } + + .grid-3col { + grid-column: span 3 / span 3; + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .grid-4col { + grid-column: span 4 / span 4; + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + + .grid-5col { + grid-column: span 5 / span 5; + grid-template-columns: repeat(5, minmax(0, 1fr)); + } + + .grid-6col { + grid-column: span 5 / span 5; + grid-template-columns: repeat(5, minmax(0, 1fr)); + } + + .grid-7col { + grid-column: span 7 / span 7; + grid-template-columns: repeat(7, minmax(0, 1fr)); + } + + .grid-8col { + grid-column: span 8 / span 8; + grid-template-columns: repeat(8, minmax(0, 1fr)); + } + + .grid-9col { + grid-column: span 9 / span 9; + grid-template-columns: repeat(9, minmax(0, 1fr)); + } + + .grid-10col { + grid-column: span 10 / span 10; + grid-template-columns: repeat(10, minmax(0, 1fr)); + } + + .grid-11col { + grid-column: span 11 / span 11; + grid-template-columns: repeat(11, minmax(0, 1fr)); + } + + .grid-12col { + grid-column: span 12 / span 12; + grid-template-columns: repeat(12, minmax(0, 1fr)); + } + + .flex-group-center, + .flex-group-left, + .flex-group-right { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + padding: 5px; + } + + .flex-group-left { + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + text-align: left; + } + + .flex-group-right { + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + text-align: right; + } + + .flex-center { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + } + + .table-create-actor { + font-size: 0.8rem; + } + + .flex-between { + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + } + + .flex-shrink { + flex: 'flex-shrink'; + } + + /* Styles limited to foundryvtt-vadentis sheets */ + + .fvtt-hawkmoon-cyd .sheet-header { + -webkit-box-flex: 0; + -ms-flex: 0 0 210px; + flex: 0 0 210px; + overflow: hidden; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + margin-bottom: 10px; + background-image: url("../assets/ui/hawkmoon_background_01.png"); + } + + .sheet.journal-entry .journal-sidebar { + color: #000; + } + + .background-sheet-header { + background-image: url("../assets/ui/hawkmoon_background_01.png"); + background-blend-mode: soft-light; + color: lightgray; + width: 100%; + } + + .fvtt-hawkmoon-cyd .sheet-header .profile-img { + -webkit-box-flex: 0; + -ms-flex: 0 0 128px; + flex: 0 0 128px; + height: 128px; + width: 128px; + margin-right: 10px; + object-fit: cover; + object-position: 50% 0; + } + + .button-img { + vertical-align: baseline; + width: 8%; + height: 8%; + max-height: 48px; + border-width: 0; + border: 1px solid rgba(0, 0, 0, 0); + } + + .button-img:hover { + color: rgba(255, 255, 128, 0.7); + border: 1px solid rgba(255, 128, 0, 0.8); + cursor: pointer; + } + + .button-effect-img { + vertical-align: baseline; + width: 16px; + max-height: 16px; + height: 16; + border-width: 0; + } + + .small-button-container { + height: 16px; + width: 16px; + border: 0; + vertical-align: bottom; + } + + .fvtt-hawkmoon-cyd .sheet-header .header-fields { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; + } + + .fvtt-hawkmoon-cyd .sheet-header h1.charname { + height: 50px; + padding: 0px; + margin: 5px 0; + border-bottom: 0; + font-weight: bold; + font-size: 2rem; + font-family: "Pfeffer"; + color: lightgray; + text-align: left; + } + + .fvtt-hawkmoon-cyd .sheet-header h1.charname input { + width: 100%; + height: 100%; + margin: 0; + font-weight: bold; + font-family: "Pfeffer"; + font-size: 2rem; + color: lightgray; + text-align: left; + } + + .fvtt-hawkmoon-cyd .sheet-tabs { + -webkit-box-flex: 0; + -ms-flex: 0; + flex: 0; + } + + .fvtt-hawkmoon-cyd .sheet-body, + .fvtt-hawkmoon-cyd .sheet-body .tab, + .fvtt-hawkmoon-cyd .sheet-body .tab .editor { + height: 100%; + font-size: 0.8rem; + color: rgba(0, 0, 0, 0.9) + } + + .fvtt-hawkmoon-cyd .sheet-body input, + .fvtt-hawkmoon-cyd .sheet-body select { + color: rgba(0, 0, 0, 0.9) + } + + .editor { + border: 2; + height: 300px; + padding: 0 3px; + } + + .medium-editor { + border: 2; + height: 240px; + padding: 0 3px; + } + + .small-editor { + border: 2; + height: 120px; + padding: 0 3px; + } + + .fvtt-hawkmoon-cyd .tox .tox-editor-container { + background: #fff; + } + + .fvtt-hawkmoon-cyd .tox .tox-edit-area { + padding: 0 8px; + } + + .fvtt-hawkmoon-cyd .resource-label { + font-weight: bold; + text-transform: uppercase; + } + + .fvtt-hawkmoon-cyd .tabs { + height: 40px; + border-top: 1px solid #AAA; + border-bottom: 1px solid #AAA; + color: #000000; + } + + .fvtt-hawkmoon-cyd .tabs .item { + /*line-height: 40px;*/ + font-weight: bold; + } + + .fvtt-hawkmoon-cyd .tabs .item.active { + text-decoration: underline; + text-shadow: none; + } + + .fvtt-hawkmoon-cyd .items-list { + list-style: none; + margin: 1px 0; + padding: 0; + overflow-y: auto; + } + + .fvtt-hawkmoon-cyd .items-list .item-header { + font-weight: bold; + } + + .fvtt-hawkmoon-cyd .items-list .item { + height: 30px; + line-height: 24px; + padding: 1px 0; + border-bottom: 1px solid #BBB; + } + + .fvtt-hawkmoon-cyd .items-list .item .item-image { + -webkit-box-flex: 0; + -ms-flex: 0 0 24px; + flex: 0 0 24px; + margin-right: 5px; + } + + .fvtt-hawkmoon-cyd .items-list .item img { + display: block; + } + + .fvtt-hawkmoon-cyd .items-list .item-name { + margin: 0; + } + + .fvtt-hawkmoon-cyd .items-list .item-controls { + -webkit-box-flex: 0; + -ms-flex: 0 0 86px; + flex: 0 0 86px; + text-align: right; + } + + + /* ======================================== */ + /* Sheet */ + .window-app.sheet .window-content .sheet-header { + /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ + background: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat; + } + + .window-app.sheet .window-content .sheet-header input[type="text"], + .window-app.sheet .window-content .sheet-header input[type="number"], + .window-app.sheet .window-content .sheet-header input[type="password"], + .window-app.sheet .window-content .sheet-header input[type="date"], + .window-app.sheet .window-content .sheet-header input[type="time"] { + /*color: rgba(36, 37, 37, 0.75);*/ + /*background: rgba(255, 255, 255, 0.05);*/ + /*border: 2px saddlebrown;*/ + /*color: lightgray;*/ + border-width: 1px; + margin-bottom: 0.25rem; + } + + .window-app .window-content, + .window-app.sheet .window-content .sheet-body { + font-size: 0.8rem; + background: url("../assets/ui/pc_sheet_bg.webp"); + background-repeat: repeat-y; + color: black; + } + + /*section.sheet-body{ + padding: 0.25rem 0.5rem;}*/ + + .sheet header.sheet-header .profile-img { + object-fit: cover; + object-position: 50% 0; + margin: 0.5rem 0 0.5rem 0.5rem; + padding: 0; + border: 0px; + } + + .sheet nav.sheet-tabs { + font-size: 0.70rem; + font-weight: bold; + height: 2.5rem; + flex: 0 0 3rem; + margin: 0; + padding: 0 0 0 0.25rem; + text-align: center; + text-transform: uppercase; + line-height: 1.5rem; + border-top: 0 none; + border-bottom: 0 none; + /*background-color:#2e5561;*/ + color: #151c1f; + /*background-image: url("../assets/ui/hawkmoon_background_02.png");*/ + } + + /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ + nav.sheet-tabs .item { + position: relative; + padding: 0 0.25rem; + } + + nav.sheet-tabs .item:after { + content: ""; + position: absolute; + top: 0; + right: 0; + height: 2rem; + width: 1px; + /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ + } + + .sheet .tab[data-tab] { + padding: 0; + } + + section.sheet-body:after { + content: ""; + display: block; + clear: both; + } + + .sheet header.sheet-header .flex-compteurs { + text-align: right; + } + + .sheet header.sheet-header .resource-content { + width: 2rem; + } + + .select-diff { + display: inline-block; + text-align: left; + width: 50px; + } + + .window-app.sheet .window-content .tooltip:hover .tooltiptext { + top: 2rem; + left: 2rem; + margin: 0; + padding: 0.25rem; + } + + .window-app.sheet .window-content .carac-value, + .window-app.sheet .window-content .competence-xp { + margin: 0.05rem; + flex-basis: 3rem; + text-align: center; + } + + /* ======================================== */ + /* Global UI elements */ + + /* ======================================== */ + + h1, + h2, + h3, + h4 { + font-weight: bold; + } + + ul, + ol { + margin: 0; + padding: 0; + } + + ul, + li { + list-style-type: none; + } + + .sheet li { + margin: 0.010rem; + padding: 0.25rem; + } + + .header-fields li { + margin: 0; + padding: 0; + } + + .alterne-list>.list-item:hover { + background: rgba(100, 100, 50, 0.25); + } + + .alterne-list>.list-item:nth-child(even) { + background: rgba(80, 60, 0, 0.10); + } + + .alterne-list>.list-item:nth-child(odd) { + background: rgb(160, 130, 100, 0.05); + } + + .specialisation-label { + font-size: 0.8rem; + } + + .carac-label, + .attr-label { + font-weight: bold; + } + + .list-item { + margin: 0.125rem; + box-shadow: inset 0px 0px 1px #00000096; + border-radius: 0.25rem; + padding: 0.125rem; + flex: 1 1 5rem; + } + + .item-display-show { + display: block; + } + + .item-display-hide { + display: none; + } + + .conteneur-type { + background: rgb(200, 10, 100, 0.25); + } + + .item-quantite { + margin-left: 0.5rem; + } + + .list-item-margin1 { + margin-left: 1rem; + } + + .list-item-margin2 { + margin-left: 2rem; + } + + .list-item-margin3 { + margin-left: 3rem; + } + + .list-item-margin4 { + margin-left: 4rem; + } + + .sheet-competence-img { + width: 24px; + height: 24px; + flex-grow: 0; + margin-right: 0.25rem; + } + + .competence-column { + flex-direction: column; + align-content: flex-start; + justify-content: flex-start; + flex-grow: 0; + flex-basis: 1; + } + + .competence-header { + align-content: flex-start; + justify-content: flex-start; + font-weight: bold; + flex-grow: 0; + } + + .secondaire-label, + .arme-label, + .generic-label, + .competence-label, + .devotion-label, + .sort-label, + .technique-label, + .stat-label, + .arme-label, + .armure-label, + .equipement-label, + .description-label { + flex-grow: 2; + margin-left: 4px; + } + + .roll-dialog-label { + margin: 4px 0; + padding-top: 7px; + } + + .short-label { + flex-grow: 1; + } + + .keyword-label { + font-size: 0.85rem; + } + + .item-sheet-label { + flex-grow: 1; + } + + .item-text-long-line { + flex-grow: 3; + } + + .score-label { + flex-grow: 2; + align-content: center; + } + + .attribut-value, + .carac-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; + } + + .sante-value, + .competence-value { + flex-grow: 0; + flex-basis: 2rem; + margin-right: 0.25rem; + margin-left: 0.25rem; + } + + .description-value { + flex-grow: 0; + flex-basis: 4rem; + margin-right: 0.25rem; + margin-left: 0.25rem; + } + + .competence-xp { + flex-grow: 0; + flex-basis: 2rem; + margin-right: 0.25rem; + margin-left: 0.25rem; + } + + .blessures-title { + font-weight: bold; + } + + .alchimie-title { + font-weight: bold; + } + + .blessure-data { + flex-direction: row; + align-content: flex-start; + justify-content: flex-start; + } + + .blessures-soins { + flex-grow: 0; + flex-basis: 32px; + margin-right: 4px; + margin-left: 4px; + } + + .blessures-loc { + flex-grow: 0; + flex-basis: 96px; + margin-right: 4px; + margin-left: 4px; + } + + .pointsreve-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; + } + + .input-sante-header, + .stress-style { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; + } + + .small-label { + margin-top: 5px; + } + + .padd-right { + margin-right: 8px; + } + + .padd-left { + margin-left: 8px; + } + + .stack-left { + align-items: center; + flex-shrink: 1; + flex-grow: 0; + } + + .npc-stat-label { + flex-grow: 2; + } + + .packed-left { + white-space: nowrap; + flex-grow: 0; + } + + .numeric-input { + text-align: right; + direction: rtl; + padding: 5px; + } + + .input-numeric-short { + width: 40px; + max-width: 40px; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 40px; + margin-right: 0.25rem; + margin-left: 0.25rem; + } + + .stats-table { + align-content: flex-start; + } + + /* ======================================== */ + .tokenhudext { + display: flex; + flex: 0 !important; + font-weight: 600; + } + + .tokenhudext.left { + justify-content: flex-start; + flex-direction: column; + position: absolute; + top: 2.75rem; + right: 4rem; + } + + .tokenhudext.right { + justify-content: flex-start; + flex-direction: column; + position: absolute; + top: 2.75rem; + left: 4rem; + } + + .control-icon.tokenhudicon { + width: fit-content; + height: fit-content; + min-width: 6rem; + min-height: 1.2rem; + flex-basis: auto; + padding: 0; + line-height: 1rem; + margin: 0.25rem; + } + + .control-icon.tokenhudicon.right { + margin-left: 8px; + } + + #token-hud .status-effects.active { + z-index: 2; + } + + /* ======================================== */ + .item-checkbox { + height: 25px; + border: 1px solid #736953a6; + border-left: none; + font-weight: 500; + font-size: 1rem; + color: black; + padding-top: 5px; + margin-right: 0px; + width: 45px; + position: relative; + left: 0px; + text-align: center; + } + + + .flex-actions-bar { + flex-grow: 2; + } + + /* ======================================== */ + /* Sidebar CSS */ + #sidebar { + font-size: 1rem; + background-position: 100%; + } + + /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ + + #sidebar.collapsed { + height: 470px !important; + } + + #sidebar-tabs>.collapsed, + #chat-controls .chat-control-icon { + color: rgba(220, 220, 220, 0.75); + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); + } + + .sidebar-tab .directory-list .entity { + border-top: 1px dashed rgba(0, 0, 0, 0.25); + border-bottom: 0 none; + padding: 0.25rem 0; + } + + .sidebar-tab .directory-list .entity:hover { + background: rgba(0, 0, 0, 0.05); + cursor: pointer; + } + + .chat-message-header { + background: rgba(220, 220, 210, 0.5); + font-size: 1.1rem; + height: 48px; + text-align: center; + vertical-align: middle; + display: flex; + align-items: center; + } + + .chat-message .message-header .flavor-text, + .chat-message .message-header .whisper-to { + font-size: 0.9rem; + } + + .chat-message .message-content { + font-size: 0.9rem; + font-family: CentaurMT; + } + + .chat-actor-name { + padding: 4px; + } + + .chat-img { + width: 64px; + height: 64px; + } + + .roll-dialog-header { + height: 52px; + } + + .adversite-text { + font-weight: bold; + position: absolute; + top: 50%; + left: 54%; + transform: translate(-50%, -50%); + } + + .icon-adversite-container { + position: relative; + text-align: center; + color: white; + width: 64px; + min-height: 48px; + } + + .icon-adversite { + width: 48px; + border: 0px; + margin-left: 8px; + } + + .hud-adversite-container { + position: relative; + text-align: center; + color: darkgreen; + width: 64px; + min-height: 64px; + } + + .hud-adversite-text { + font-weight: bold; + font-size: 0.9rem; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-60%, -90%); + } + + .actor-icon { + float: left; + width: 48px; + height: 48px; + padding: 2px 6px 2px 2px; + } + + .padding-dice { + padding-top: .2rem; + padding-bottom: .2rem; + } + + .dice-image { + box-sizing: border-box; + border: none; + border-radius: 0; + max-width: 100%; + } + + .dice-image-reroll { + background-color: rgba(115, 224, 115, 0.25); + border-color: #011d33; + box-sizing: border-box; + border: 1px; + border-radius: 0%; + max-width: 100%; + } + + .chat-dice { + width: 15%; + height: 15%; + font-size: 15px; + padding: 10px; + /*padding-bottom: 20px;*/ + padding-top: .2rem; + padding-bottom: .2rem; + } + + + .div-center { + align-self: center; + } + + .chat-message { + background: rgba(220, 220, 210, 0.5); + font-size: 0.9rem; + } + + .chat-message.whisper { + background: rgba(220, 220, 210, 0.75); + border: 2px solid #545469; + } + + .chat-message .chat-icon { + border: 0; + padding: 2px 6px 2px 2px; + float: left; + width: 64px; + height: 64px; + } + + #sidebar-tabs { + flex: 0 0 32px; + box-sizing: border-box; + margin: 0 0 5px; + border-bottom: 1px solid rgba(0, 0, 0, 0); + box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); + } + + #sidebar-tabs>.item.active { + border: 1px solid rgba(114, 98, 72, 1); + background: rgba(30, 25, 20, 0.75); + box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); + } + + #sidebar #sidebar-tabs i { + display: inline-block; + background-position: center; + background-size: cover; + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); + } + + /*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.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-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;} + +#combat #combat-controls { + box-shadow: inset 0 0 2rem rgba(0,0,0,0.5); +} +*/ + + /*--------------------------------------------------------------------------*/ + /* Control, Tool, hotbar & navigation */ + + #controls .scene-control, + #controls .control-tool { + box-shadow: 0 0 3px #000; + margin: 0 0 8px; + border-radius: 0; + background: rgba(30, 25, 20, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + } + + #controls .scene-control.active, + #controls .control-tool.active, + #controls .scene-control:hover, + #controls .control-tool:hover { + background: rgba(72, 46, 28, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + box-shadow: 0 0 3px #ff6400; + } + + #hotbar #action-bar #macro-list { + border: 1px solid rgba(72, 46, 28, 1); + box-shadow: 2px 2px 5px #000000; + } + + #hotbar #action-bar .macro { + border-image: url(img/ui/bg_control.jpg) 21 repeat; + border-image-slice: 6 6 6 6 fill; + border-image-width: 6px 6px 6px 6px; + border-image-outset: 0px 0px 0px 0px; + border-radius: 0px; + } + + #hotbar .bar-controls { + background: rgba(30, 25, 20, 1); + border: 1px solid rgba(72, 46, 28, 1); + } + + #players { + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + background: rgba(30, 25, 20, 1); + } + + #navigation #scene-list .scene.nav-item.active { + background: rgba(72, 46, 28, 1); + } + + #navigation #scene-list .scene.nav-item { + background: rgba(30, 25, 20, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + } + + #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.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + box-shadow: 0 0 3px #ff6400; + } + + #navigation #nav-toggle { + background: rgba(30, 25, 20, 1); + background-origin: padding-box; + border-image: url(img/ui/footer-button.png) 10 repeat; + border-image-width: 4px; + border-image-outset: 0px; + } + + /* Tooltip container */ + .tooltip { + position: relative; + display: inline-block; + /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ + } + + /* Tooltip text */ + .tooltip .tooltiptext { + text-align: left; + background: rgba(231, 229, 226, 0.9); + width: 150px; + padding: 3px 0; + font-size: 0.9rem; + + /* Position the tooltip text */ + top: 1px; + position: absolute; + z-index: 1; + + /* Fade in tooltip */ + visibility: hidden; + opacity: 0; + transition: opacity 0.3s; + } + + .tooltip .ttt-fatigue { + width: 360px; + + background: rgba(30, 25, 20, 0.9); + border-image: url(img/ui/bg_control.jpg) 21 repeat; + border-image-slice: 6 6 6 6 fill; + border-image-width: 6px 6px 6px 6px; + border-image-outset: 0px 0px 0px 0px; + border-radius: 0px; + + font-size: 0.8rem; + padding: 3px 0; + } + + .tooltip .ttt-ajustements { + width: 150px; + background: rgba(220, 220, 210, 0.95); + border-radius: 6px; + font-size: 0.9rem; + padding: 3px 0; + } + + .tooltip-nobottom { + border-bottom: unset; + /* If you want dots under the hoverable text */ + } + + .tooltip .ttt-xp { + width: 250px; + background: rgba(220, 220, 210, 0.95); + border-radius: 6px; + font-size: 0.9rem; + padding: 3px 0; + } + + /* Show the tooltip text when you mouse over the tooltip container */ + .tooltip:hover .tooltiptext { + visibility: visible; + opacity: 1; + } + + .chat-card-button { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); + background-color: #7d5d3b00; + border-radius: 3px; + border: 2px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-size: 0.8rem; + padding: 4px 4px 0px 4px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + /*margin:2px;*/ + } + + .chat-card-button:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: rgb(56, 33, 33); + } + + .chat-card-button:active { + position: relative; + top: 1px; + } + + + .button-sheet-roll { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); + background-color: #7d5d3b00; + border-radius: 4px; + border: 1px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-size: 0.8rem; + padding: 1px 1px 0px 1px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + max-height: 1.7rem; + flex-grow: 1; + max-width: 3.5rem; + min-width: 3.5rem; + } + + .button-sheet-roll:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: rgb(56, 33, 33); + } + + .button-sheet-roll:active { + position: relative; + top: 1px; + } + + .defense-sheet { + border-radius: 4px; + text-align: center; + display: inline-block; + font-size: 0.8rem; + padding: 1px 1px 0px 1px; + text-decoration: none; + position: relative; + max-height: 1.7rem; + margin-left: 4px; + flex-grow: 1; + max-width: 3.5rem; + min-width: 3.5rem; + } + + .plus-minus-button { + box-shadow: inset 0px 1px 0px 0px #a6827e; + background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); + background-color: #7d5d3b00; + border-radius: 4px; + border: 2px ridge #846109; + display: inline-block; + cursor: pointer; + color: #ffffff; + padding: 3px 6px 2px 6px; + text-decoration: none; + text-shadow: 0px 1px 0px #4d3534; + position: relative; + margin: 3px; + max-width: 24px; + max-height: 24px; + } + + .river-button:hover, + .plus-minus-button:hover, + .chat-card-button:hover { + background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); + background-color: red; + } + + .plus-minus-button:active, + .chat-card-button:active { + position: relative; + top: 1px; + } + + .plus-minus { + font-size: 0.9rem; + font-weight: bold; + } + + .ul-level1 { + padding-left: 2rem; + } + + .drop-spec2 { + background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); + background-color: #7d5d3b00; + border-radius: 3px; + border: 2px ridge #846109; + } + + .label-name { + padding-top: 7px; + padding-left: 4px; + margin-left: 4px; + min-width: 5rem; + max-width: 5rem; + } + + /*************************************************************/ + .competence-name { + padding-top: 7px; + padding-left: 4px; + margin-left: 4px; + flex-grow: 2; + } + + /*************************************************************/ + .competence-niveau { + flex-grow: 1; + min-width: 64px; + max-width: 64px; + } + + /*************************************************************/ + .arme-defensif { + padding-top: 7px; + text-align: center; + flex-grow: 2; + } + + /*************************************************************/ + .item-name-img { + flex-grow: 1; + max-width: 2rem; + min-width: 2rem; + max-height: 2rem; + } + + /*************************************************************/ + #pause { + font-size: 2rem; + } + + #pause>h3 { + color: #CCC + } + + #pause>img { + content: url(../assets/logos/hawkmoon_logo.webp); + height: 256px; + width: 256px; + top: -80px; + left: calc(50% - 132px); + } + + #logo { + content: url(../assets/logos/hawkmoon_logo.webp); + width: 120px; + height: 40px; + } + + .dice-cell { + padding-left: 12px; + padding-right: 12px; + width: 60px; + text-align: center; + } + + .dice-formula, + .dice-total { + height: 54px; + position: relative; + } + + .item-name-label-header { + flex-grow: 2; + max-width: 12rem; + min-width: 12rem; + } + + .item-name-label { + flex-grow: 2; + max-width: 10rem; + min-width: 10rem; + } + + .item-name-label-level2 { + flex-grow: 2; + max-width: 9rem; + min-width: 9rem; + } + + .item-field-label-short { + padding-top: 6px; + flex-grow: 1; + max-width: 4rem; + min-width: 4rem; + } + + .item-field-label-medium { + padding-top: 6px; + flex-grow: 1; + max-width: 7rem; + min-width: 7rem; + } + + .item-field-label-long { + padding-top: 6px; + flex-grow: 1; + max-width: 8rem; + min-width: 8rem; + } + + .item-field-label-long1 { + padding-top: 6px; + flex-grow: 1; + max-width: 12rem; + min-width: 12rem; + } + + .item-field-label-long2 { + padding-top: 6px; + flex-grow: 1; + max-width: 20rem; + min-width: 20rem; + } + + .item-control-end { + align-self: flex-end; + } + + .alternate-list { + margin-top: 2px; + flex-wrap: nowrap; + } + + .item-filler { + flex-grow: 6; + flex-shrink: 7; + } + + .item-controls-fixed { + min-width: 3.2rem; + max-width: 3.2rem; + } + + .item-field { + justify-content: flex-start; + flex-grow: 1; + } + + .chat-success { + font-size: 1.2rem; + font-weight: bold; + color: darkgreen; + } + + .chat-failure { + font-size: 1.2rem; + font-weight: bold; + color: darkred; + } + + .adversite-modify { + margin-top: 12px; + } + + .argent-total-text { + margin-left: 4px; + } + + .compendium h4.entry-name.document-name { + color: black; + } + + .page-title { + color: rgb(233, 226, 226); + } + + textarea { + font-family: "Montserrat"; + font-size: 0.8rem; + } + + .fxmaster { + background: #443e37E0; + background-color: #443e37E0; + } + + .predilection-text { + padding-left: 8px; + font-style: italic; + font-size: 0.6rem; + } \ No newline at end of file diff --git a/system.json b/system.json index 58d9a6a..e37e1e6 100644 --- a/system.json +++ b/system.json @@ -255,7 +255,7 @@ "secondaryTokenAttribute": "bonneaventure.actuelle", "socket": true, "styles": [ - "styles/simple.css" + "styles/hawkmoon.css" ], "title": "Hawkmoon - CYD System", "url": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd", diff --git a/templates/item-arme-sheet.html b/templates/item-arme-sheet.hbs similarity index 94% rename from templates/item-arme-sheet.html rename to templates/item-arme-sheet.hbs index 189b50f..d56bc35 100644 --- a/templates/item-arme-sheet.html +++ b/templates/item-arme-sheet.hbs @@ -1,9 +1,9 @@
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} {{> - systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} {{!-- Sheet Body + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} {{> + systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
    @@ -18,8 +18,8 @@ value="{{system.typearme}}" data-dtype="string" > - {{selectOptions config.optionsTypeArme selected=system.typearme - valueAttr="key" nameAttr="key" labelAttr="label"}} + {{selectOptions @root.config.optionsTypeArme selected=system.typearme + valueAttr="key" labelAttr="label"}}
  • @@ -176,7 +176,7 @@ />
  • - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.hbs}}
diff --git a/templates/item-artefact-sheet.html b/templates/item-artefact-sheet.hbs similarity index 90% rename from templates/item-artefact-sheet.html rename to templates/item-artefact-sheet.hbs index 6651839..c7e655d 100644 --- a/templates/item-artefact-sheet.html +++ b/templates/item-artefact-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
@@ -21,7 +21,7 @@ @@ -29,7 +29,7 @@ diff --git a/templates/item-competence-sheet.html b/templates/item-competence-sheet.hbs similarity index 95% rename from templates/item-competence-sheet.html rename to templates/item-competence-sheet.hbs index ff5b7bb..7ecaf2c 100644 --- a/templates/item-competence-sheet.html +++ b/templates/item-competence-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
diff --git a/templates/item-contact-sheet.html b/templates/item-contact-sheet.hbs similarity index 75% rename from templates/item-contact-sheet.html rename to templates/item-contact-sheet.hbs index d316e7b..2bba4d3 100644 --- a/templates/item-contact-sheet.html +++ b/templates/item-contact-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
@@ -15,12 +15,12 @@ diff --git a/templates/item-equipement-sheet.html b/templates/item-equipement-sheet.hbs similarity index 70% rename from templates/item-equipement-sheet.html rename to templates/item-equipement-sheet.hbs index 4b0c079..a1c7fc0 100644 --- a/templates/item-equipement-sheet.html +++ b/templates/item-equipement-sheet.hbs @@ -1,18 +1,18 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
    - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.hbs}}
diff --git a/templates/item-historique-sheet.html b/templates/item-historique-sheet.hbs similarity index 80% rename from templates/item-historique-sheet.html rename to templates/item-historique-sheet.hbs index b9733e9..6a72cbc 100644 --- a/templates/item-historique-sheet.html +++ b/templates/item-historique-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
- {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
    diff --git a/templates/item-monnaie-sheet.html b/templates/item-monnaie-sheet.hbs similarity index 86% rename from templates/item-monnaie-sheet.html rename to templates/item-monnaie-sheet.hbs index a195519..66d5093 100644 --- a/templates/item-monnaie-sheet.html +++ b/templates/item-monnaie-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
    - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
    diff --git a/templates/item-mutation-sheet.html b/templates/item-mutation-sheet.hbs similarity index 80% rename from templates/item-mutation-sheet.html rename to templates/item-mutation-sheet.hbs index 7eac426..6fee68f 100644 --- a/templates/item-mutation-sheet.html +++ b/templates/item-mutation-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
    - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
    @@ -15,7 +15,7 @@ diff --git a/templates/item-profil-sheet.html b/templates/item-profil-sheet.hbs similarity index 96% rename from templates/item-profil-sheet.html rename to templates/item-profil-sheet.hbs index 416ae5c..a28d93e 100644 --- a/templates/item-profil-sheet.html +++ b/templates/item-profil-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
    - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
      diff --git a/templates/item-protection-sheet.html b/templates/item-protection-sheet.hbs similarity index 86% rename from templates/item-protection-sheet.html rename to templates/item-protection-sheet.hbs index be69c39..95d3944 100644 --- a/templates/item-protection-sheet.html +++ b/templates/item-protection-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
      - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
      @@ -22,7 +22,7 @@ value="{{system.adversitepoids}}" data-dtype="Number" /> - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.hbs}}
      diff --git a/templates/item-ressource-sheet.html b/templates/item-ressource-sheet.hbs similarity index 80% rename from templates/item-ressource-sheet.html rename to templates/item-ressource-sheet.hbs index 82b0e91..3d367a3 100644 --- a/templates/item-ressource-sheet.html +++ b/templates/item-ressource-sheet.hbs @@ -1,12 +1,12 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs}} {{!-- Sheet Body --}}
      - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs}}
      diff --git a/templates/item-talent-sheet.html b/templates/item-talent-sheet.hbs similarity index 72% rename from templates/item-talent-sheet.html rename to templates/item-talent-sheet.hbs index 63438d9..3a967f6 100644 --- a/templates/item-talent-sheet.html +++ b/templates/item-talent-sheet.hbs @@ -1,14 +1,12 @@ - - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}} +
      - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs this}} - {{!-- Sheet Body --}} -
      + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs this}} - {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs this}} -
      +
        @@ -16,7 +14,7 @@ @@ -24,7 +22,7 @@ @@ -49,10 +47,9 @@ - {{> systems/fvtt-hawkmoon-cyd/templates/partial-automation.html}} + {{> systems/fvtt-hawkmoon-cyd/templates/partial-automation.hbs}}
      -
      +
      -
      - \ No newline at end of file +
      \ No newline at end of file diff --git a/templates/partial-automation.hbs b/templates/partial-automation.hbs new file mode 100644 index 0000000..ef284d6 --- /dev/null +++ b/templates/partial-automation.hbs @@ -0,0 +1,102 @@ +
    • + + +
    • + +{{#if system.isautomated}} +
    • +
        + {{#each system.automations as |automation key|}} +
      • +
        +
      • +
      • + + + + + + {{#if ../isEditMode}} + + {{/if}} + +
      • + + {{#if (eq automation.eventtype "on-drop")}} +
      • + + +
      • +
      • + + +
      • + {{/if}} + + {{#if (eq automation.eventtype "bonus-permanent")}} +
      • + + +
      • +
      • + + +
      • + {{/if}} + + {{#if (eq automation.eventtype "prepare-roll")}} +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • + {{/if}} + + {{/each}} + +
      + +{{#if isEditMode}} +
    • + +
    • +{{/if}} +{{/if}} \ No newline at end of file diff --git a/templates/partial-automation.html b/templates/partial-automation.html deleted file mode 100644 index c2190eb..0000000 --- a/templates/partial-automation.html +++ /dev/null @@ -1,74 +0,0 @@ -
    • - - -
    • - -{{#if system.isautomated}} -
    • -
        - {{#each system.automations as |automation key|}} -
      • -
        -
      • -
      • - - - - - - - -
      • - - {{#if (eq automation.eventtype "on-drop")}} -
      • - - -
      • -
      • - - -
      • - {{/if}} - - {{#if (eq automation.eventtype "bonus-permanent")}} -
      • - - -
      • -
      • - - -
      • - {{/if}} - - {{#if (eq automation.eventtype "prepare-roll")}} -
      • - - -
      • -
      • - - -
      • -
      • - - -
      • - {{/if}} - - {{/each}} - -
      - -
    • - -
    • -{{/if}} \ No newline at end of file diff --git a/templates/partial-item-description.hbs b/templates/partial-item-description.hbs new file mode 100644 index 0000000..a81fc69 --- /dev/null +++ b/templates/partial-item-description.hbs @@ -0,0 +1,10 @@ +
      +
      + {{editor + enrichedDescription + target="system.description" + button=true + editable=isEditMode + }} +
      +
      \ No newline at end of file diff --git a/templates/partial-item-description.html b/templates/partial-item-description.html deleted file mode 100644 index 541eb68..0000000 --- a/templates/partial-item-description.html +++ /dev/null @@ -1,5 +0,0 @@ -
      -
      - {{editor description target="system.description" button=true owner=owner editable=editable}} -
      -
      diff --git a/templates/partial-item-header.hbs b/templates/partial-item-header.hbs new file mode 100644 index 0000000..6303a9c --- /dev/null +++ b/templates/partial-item-header.hbs @@ -0,0 +1,50 @@ +
      +
      + +
      +

      + +

      +
      +
      + {{#if isEditMode}} + + {{else}} + + {{/if}} + +
      +
      +
      \ No newline at end of file diff --git a/templates/partial-item-header.html b/templates/partial-item-header.html deleted file mode 100644 index 8b4c994..0000000 --- a/templates/partial-item-header.html +++ /dev/null @@ -1,8 +0,0 @@ -
      -
      - -
      -

      -
      -
      -
      diff --git a/templates/partial-item-nav.html b/templates/partial-item-nav.hbs similarity index 100% rename from templates/partial-item-nav.html rename to templates/partial-item-nav.hbs diff --git a/templates/partial-item-prix.html b/templates/partial-item-prix.hbs similarity index 100% rename from templates/partial-item-prix.html rename to templates/partial-item-prix.hbs diff --git a/templates/post-item.html b/templates/post-item.hbs similarity index 100% rename from templates/post-item.html rename to templates/post-item.hbs