From add2d214e7b3cbba6d872f912b3a67bbacc9971d Mon Sep 17 00:00:00 2001 From: jalensailin Date: Wed, 16 Jul 2025 15:39:58 -0400 Subject: [PATCH] fix css in dark mode; fix item name displaying as h4 --- css/deltagreen.css | 8 ++++++-- templates/actor/parts/bonds-tab.html | 2 +- templates/actor/parts/gear-tab.html | 14 +++++++------- templates/actor/parts/motivations-tab.html | 12 ++++++------ 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/css/deltagreen.css b/css/deltagreen.css index 30ff2df..43d903a 100644 --- a/css/deltagreen.css +++ b/css/deltagreen.css @@ -43,6 +43,7 @@ .deltagreen section.window-content { scrollbar-color: #215112 #111 !important; padding: 0.5rem; + color: black; } /* Character Sheet Style Options */ @@ -350,6 +351,7 @@ explicitly define a number of rows, rather than columns. */ .deltagreen .tabs [data-action="tab"] { font-weight: bold; + color: inherit; vertical-align: middle !important; line-height: inherit; padding: 5px 10px 0px 10px; @@ -358,7 +360,6 @@ explicitly define a number of rows, rather than columns. */ border: gray; border-width: 1px 1px 0px 1px; border-style: solid; - /*background: rgba(173, 151, 101, 0.3);*/ } .deltagreen .tabs [data-action="tab"].active { @@ -433,9 +434,12 @@ explicitly define a number of rows, rather than columns. */ } .deltagreen .items-list .item-name { - margin: 0; display: flex; align-content: center; + + word-wrap: break-word; + + margin: 0; } .deltagreen .items-list .item-controls { diff --git a/templates/actor/parts/bonds-tab.html b/templates/actor/parts/bonds-tab.html index 8d67641..3ec4d91 100644 --- a/templates/actor/parts/bonds-tab.html +++ b/templates/actor/parts/bonds-tab.html @@ -41,7 +41,7 @@
-

{{item.name}}

+ {{item.name}} {{item.system.relationship}} {{item.system.score}}
diff --git a/templates/actor/parts/gear-tab.html b/templates/actor/parts/gear-tab.html index 01ba2f1..8922308 100644 --- a/templates/actor/parts/gear-tab.html +++ b/templates/actor/parts/gear-tab.html @@ -46,7 +46,7 @@ width="24" height="24" /> -

{{item.name}}

+ {{item.name}}
-

{{item.name}}

+ {{item.name}} {{item.system.protection}} @@ -246,7 +246,7 @@ -

{{item.name}}

+ {{item.name}} -

+ {{#if item.system.revealed }} {{item.name}} {{else}} @@ -332,7 +332,7 @@ ({{item.name}}) {{/if}} {{/if}} -

+
-

+ {{#if item.system.revealed }} {{item.name}} {{else}} @@ -416,7 +416,7 @@ ({{item.name}}) {{/if}} {{/if}} -

+
-

+ {{item.name}} -

+ {{#if item.system.crossedOut }} -

{{item.system.disorder}}

+ {{item.system.disorder}} {{/if}}