diff --git a/css/deltagreen.css b/css/deltagreen.css index 9ff0fbc..7c9be38 100644 --- a/css/deltagreen.css +++ b/css/deltagreen.css @@ -773,7 +773,7 @@ div.horizontal-bar-section-divider { border-radius: 3px 3px 3px 3px; } -div.horizontal-bar-section-divider.contains-hide-button { +div.horizontal-bar-section-divider.skills-header { display: grid; grid-template-columns: repeat(3, 1fr); justify-content: center; @@ -789,7 +789,7 @@ div.horizontal-bar-section-divider.contains-hide-button { border-radius: 3px 3px 3px 3px; } -.horizontal-bar-section-divider .contains-hide-button-title { +.horizontal-bar-section-divider .skills-header-title { grid-column: 2; } @@ -1270,11 +1270,6 @@ body:not(.no-theme) #interface:not(.theme-light) #action-bar .slot.full:hover { font-size: 12px; } -[data-tooltip] { - position: relative; - cursor: pointer; -} - .strike { text-decoration: line-through; } diff --git a/templates/actor/partials/custom-skills-partial.html b/templates/actor/partials/custom-skills-partial.html index 695faca..4d01753 100644 --- a/templates/actor/partials/custom-skills-partial.html +++ b/templates/actor/partials/custom-skills-partial.html @@ -12,7 +12,7 @@ {{localize 'DG.SpecialTraining.Dialog.CreateSpecialTraining'}} - {{#if_eq actorType "agent" }} + {{#if_eq actor.type "agent" }} {{localize 'DG.Skills.ApplySkillImprovements'}} diff --git a/templates/actor/parts/physical-tab.html b/templates/actor/parts/physical-tab.html index 14b5f09..8ab839f 100644 --- a/templates/actor/parts/physical-tab.html +++ b/templates/actor/parts/physical-tab.html @@ -3,7 +3,7 @@ data-group="primary" data-tab="physical"> - {{> "systems/deltagreen/templates/actor/partials/attributes-grid-partial.html" actorType="agent"}} + {{> "systems/deltagreen/templates/actor/partials/attributes-grid-partial.html"}}
diff --git a/templates/actor/parts/skills-tab.html b/templates/actor/parts/skills-tab.html index 720dcdb..b5f82e9 100644 --- a/templates/actor/parts/skills-tab.html +++ b/templates/actor/parts/skills-tab.html @@ -1,9 +1,19 @@
-
- {{localize "DG.Sheet.BlockHeaders.SkillsAndTraining"}} + +
{{#each actor.system.sortedSkills as |skill key| }}
@@ -16,73 +26,28 @@ {{localizeWithFallback (concat "DG.Skills." skill.key) skill.label }} - {{#if_eq skill.key 'ritual' }} - {{#if (keepSanityPrivate) }} - - - {{/if}} - {{#unless (keepSanityPrivate)}} - - - {{/unless}} - {{/if_eq}} - {{#if_not_eq skill.key 'ritual' }} - + + + {{#if (eq ../actor.type "agent") }} - {{/if_not_eq}} + {{disabled skill.cannotBeImprovedByFailure }} /> + {{/if}}
{{/each}}
+ {{!-- Custom Skills and Special Training --}} -
- {{> "systems/deltagreen/templates/actor/partials/custom-skills-partial.html" actorType="agent"}} -
+
{{> "systems/deltagreen/templates/actor/partials/custom-skills-partial.html" }}