diff --git a/docs/_config.yml b/docs/_config.yml index 8b379fd4..3c3f6ed4 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,4 +1,4 @@ -title: Fabricate 0.10.18 +title: Fabricate 0.10.19 email: matt@misterpotts.uk description: >- End user documentation for the Foundry Virtual Tabletop (VTT) Module, "Fabricate". diff --git a/package.json b/package.json index 4bab4e0b..5878b560 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fabricate", - "version": "0.10.18", + "version": "0.10.19", "description": "A system-agnostic, flexible crafting module for FoundryVT", "main": "index.js", "type": "module", diff --git a/src/scripts/module.ts b/src/scripts/module.ts index dacf235e..76e5f0dd 100644 --- a/src/scripts/module.ts +++ b/src/scripts/module.ts @@ -134,7 +134,7 @@ Hooks.on("renderActorSheet", async (actorSheet: ActorSheet, html: any) => { const headerButton = { label: "Crafting", tooltip: "Fabricate Crafting", - class: "fab-actor-sheet-header-button", + class: "fab-actor-sheet-header-button header-button", icon: "fas fabricate-icon-logo", onclick: async () => { await fabricateUserInterfaceAPI.renderActorCraftingApp({ @@ -142,7 +142,7 @@ Hooks.on("renderActorSheet", async (actorSheet: ActorSheet, html: any) => { }); } }; - const button = $(`${headerButton.label}`); + const button = $(`${headerButton.label}`); button.on("click", headerButton.onclick); button.insertAfter(title); diff --git a/src/styles/module.less b/src/styles/module.less index 5c6f2e94..26edf80b 100644 --- a/src/styles/module.less +++ b/src/styles/module.less @@ -259,7 +259,6 @@ BEGIN FABRICATE THEME STYLES i.fa-circle-exclamation { color: var(--color-error-bg); position: absolute; - top: 1px; font-size: var(--font-size-20); right: -9px; top: -9px; @@ -1286,6 +1285,26 @@ END COMMON STRUCTURAL STYLES } } +/* +===================================================================== + BEGIN DND5E2 THEME STYLES +===================================================================== +*/ + +.dnd5e2 { + .fab-actor-sheet-header-button { + .fab-button-text { + display: none; + } + } +} + +/* +===================================================================== + END DND5E2 THEME STYLES +===================================================================== + */ + /* ===================================================================== BEGIN FABRICATE CUSTOM WEB FONT STYLES