From 178f19c538268ed73600f6f83992a254e96b1ba1 Mon Sep 17 00:00:00 2001 From: Dorako Date: Mon, 27 Jun 2022 17:22:19 +0200 Subject: [PATCH] v1.3.25 --- CHANGELOG.md | 4 ++++ module.json | 4 ++-- scripts/dorako-ui.js | 6 ------ styles/chat-dark.css | 4 ++-- styles/dorako-ui.css | 5 +++++ styles/pc-sheet-dark.css | 20 +++++++++++--------- 6 files changed, 24 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6066843..4458b46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.3.25 + +Fixed offset in the new ability score manager. + # 1.3.24 Fixed timestamps not updating. Fixed images failing to load on foundry instances with a route prefix. Minor update to dark mode sheets courtesy of @Vesselchuck. diff --git a/module.json b/module.json index fefc9ca..5771e82 100644 --- a/module.json +++ b/module.json @@ -4,12 +4,12 @@ "description": "Overhauls the Foundry UI and several modules.", "url": "https://github.com/Dorako/pf2e-dorako-ui", "author": "Dorako", - "version": "1.3.24", + "version": "1.3.25", "minimumCoreVersion": "9", "compatibleCoreVersion": "9", "system": ["pf2e"], "scripts": ["scripts/dorako-ui.js"], "templates": ["templates/*"], - "download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.24.zip", + "download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.25.zip", "manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json" } diff --git a/scripts/dorako-ui.js b/scripts/dorako-ui.js index 2cc4cfc..972171d 100644 --- a/scripts/dorako-ui.js +++ b/scripts/dorako-ui.js @@ -254,12 +254,6 @@ Hooks.once("init", async function () { } } - console.log({ speaker }); - console.log(speaker.token); - console.log(combatantImg); - console.log(actorImg); - console.log(tokenImg); - return combatantImg || actorImg || tokenImg; }); diff --git a/styles/chat-dark.css b/styles/chat-dark.css index 2c86876..a973e19 100644 --- a/styles/chat-dark.css +++ b/styles/chat-dark.css @@ -36,9 +36,9 @@ gap: 3px; } -.chat-message .table-draw .table-results .table-result img.result-image { +/* .chat-message .table-draw .table-results .table-result img.result-image { filter: var(--filter-dark); -} +} */ .token-link, .dmgBtn-container button { diff --git a/styles/dorako-ui.css b/styles/dorako-ui.css index 7be9080..8c2f5da 100644 --- a/styles/dorako-ui.css +++ b/styles/dorako-ui.css @@ -212,4 +212,9 @@ img { ::placeholder { text-shadow: none !important; +} + +.ability-builder-popup .window-content .background-stripes { + padding: 0px; + padding-left: 6px; } \ No newline at end of file diff --git a/styles/pc-sheet-dark.css b/styles/pc-sheet-dark.css index 67260bd..53dae2a 100644 --- a/styles/pc-sheet-dark.css +++ b/styles/pc-sheet-dark.css @@ -5,7 +5,7 @@ } .actor.sheet.character .window-content .crb-style { - background: url(/systems/pf2e/assets/sheet/header.webp), var(--sheet-dark); + background: url(../img/header.webp), var(--sheet-dark); background-repeat: repeat-x, no-repeat; background-size: auto, cover; } @@ -13,7 +13,7 @@ .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.character .character-details .alignment { background-color: var(--primary); background-image: none; - box-shadow: 0 0 0 1px #918c88,0 0 0 2px #e1d8cf,0 0 0 3px #a98f39,inset 0 0 8px rgba(0,0,0,.5),0 0 8px #000; + box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, .5), 0 0 8px #000; height: 22px; margin: 13px -13px 0 3px; padding-top: 1px; @@ -45,7 +45,7 @@ .actor.sheet.character .crb-style .tab.spellcasting .spell-tradition, .actor.sheet.character .crb-style .sheet-body .sheet-content .inventory .item .item-controls .item-control.item-toggle-invest, .actor.sheet.character .crb-style .tab.pfs .reputations, -.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.crafting .craftingEntry-list.directory-list.item-list .crafting-entry.item-container .directory-list.item-list.formula-list .formula-level-header.formula-header .level-name h3, +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.crafting .craftingEntry-list.directory-list.item-list .crafting-entry.item-container .directory-list.item-list.formula-list .formula-level-header.formula-header .level-name h3, .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.feats .item.feat-item .item-name .item-placeholder, .actor.sheet .crb-style .sheet-body .sheet-content ol.spell-list .spellbook-empty h4, .actor.sheet .crb-style .sheet-body .sheet-content ol.spell-list .spellbook-empty h4:hover, @@ -124,7 +124,7 @@ .actor.sheet.character .crb-style .sheet-body .sheet-content .character-abilities .ability-scores .ability .details-input { border-radius: 0; - box-shadow: 0 0 0 1px var(--tertiary),0 0 0 2px #9f725b,inset 0 0 4px rgba(0,0,0,.5); + box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, .5); } .actor.sheet.character .crb-style .sheet-body .sheet-content .pc_gender .details-label, @@ -207,7 +207,7 @@ .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.crafting .known-formulas .formula-list .formula-item:nth-child(odd), .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.crafting .known-formulas .formula-list .formula-level-header:nth-child(odd), .spellcasting-entry.sheet ol.spell-list>li:nth-child(odd) { - background-color: rgba(120,100,82,.3); + background-color: rgba(120, 100, 82, .3); } .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography input { @@ -232,7 +232,7 @@ } .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory .inventory-list ol.item-list li.item.temporary-item { - background-color: rgba(0,5,255,.2); + background-color: rgba(0, 5, 255, .2); } .actor.sheet.character .crb-style .sheet-body .sheet-content .spell-list .item .item-summary .item-buttons button { @@ -351,7 +351,7 @@ } .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels ol.actions-list.strikes-list li.strike button:not(:disabled), -.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions select[name=ammo-used]{ +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions select[name=ammo-used] { border-radius: 3px; border: none; box-shadow: var(--glassy); @@ -477,12 +477,12 @@ a.inline-roll, .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels ol.actions-list li.action, .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.effects .effects-list .item { - border-image: linear-gradient(90deg,var(--tertiary-dark),var(--tertiary-dark)) 1 repeat; + border-image: linear-gradient(90deg, var(--tertiary-dark), var(--tertiary-dark)) 1 repeat; } .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions.actions-pane.active .actions-container .actions-tabs-wrapper .actions-panel .actions-list.item-list.directory-list.skill-action-list .item.action.expandable.ready .item-name .item-image.variant-strike, .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions.actions-pane.active .actions-container .actions-tabs-wrapper .actions-panel .actions-list.item-list.directory-list:not(.skill-action-list, .strikes-list) .item.action .item-name.rollable .item-image { - box-shadow: 0 0 0 1px var(--tertiary),0 0 0 2px #9f725b,inset 0 0 4px rgba(0,0,0,.5); + box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, .5); height: 32px; width: 32px; } @@ -554,9 +554,11 @@ a.inline-roll, .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory.item-container .item-name .xdy-pf2e-workbench-rarity-uncommon:hover { text-shadow: 1px 0 0 var(--nethys-uncommon), -1px 0 0 var(--nethys-uncommon), 0 1px 0 var(--nethys-uncommon), 0 -1px 0 var(--nethys-uncommon), 1px 1px var(--nethys-uncommon), -1px -1px 0 var(--nethys-uncommon), 1px -1px 0 var(--nethys-uncommon), -1px 1px 0 var(--nethys-uncommon); } + .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory.item-container .item-name .xdy-pf2e-workbench-rarity-rare:hover { text-shadow: 1px 0 0 var(--nethys-rare), -1px 0 0 var(--nethys-rare), 0 1px 0 var(--nethys-rare), 0 -1px 0 var(--nethys-rare), 1px 1px var(--nethys-rare), -1px -1px 0 var(--nethys-rare), 1px -1px 0 var(--nethys-rare), -1px 1px 0 var(--nethys-rare); } + .actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory.item-container .item-name .xdy-pf2e-workbench-rarity-unique:hover { text-shadow: 1px 0 0 var(--nethys-unique), -1px 0 0 var(--nethys-unique), 0 1px 0 var(--nethys-unique), 0 -1px 0 var(--nethys-unique), 1px 1px var(--nethys-unique), -1px -1px 0 var(--nethys-unique), 1px -1px 0 var(--nethys-unique), -1px 1px 0 var(--nethys-unique); }