From 99926f67382950f9b5d267a3f5aafa74aefd4bd5 Mon Sep 17 00:00:00 2001 From: piszosta Date: Thu, 20 Mar 2025 20:31:32 +0100 Subject: [PATCH] adjustments and new functionality for TAG Related List --- .../lwc/tagRelatedList/tagRelatedList.css | 26 +++++- .../lwc/tagRelatedList/tagRelatedList.html | 32 +++++-- .../lwc/tagRelatedList/tagRelatedList.js | 91 +++++++++++++++---- .../tagRelatedList/tagRelatedList.js-meta.xml | 8 ++ 4 files changed, 129 insertions(+), 28 deletions(-) diff --git a/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.css b/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.css index 3f088bc5..93a1d5f8 100644 --- a/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.css +++ b/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.css @@ -2,7 +2,7 @@ display: flex; align-items: center; justify-content: space-between; - padding: 0.25rem 0.5rem; + padding: 0.25rem 1rem; } .chevronIcon { @@ -36,3 +36,27 @@ height: 2rem; padding: 0 0.5rem; } + +/* Inactive row styling: light grey background and grey text */ +.inactiveRow { + background-color: #f4f6f9 !important; + color: #7e7e7e !important; +} + +/* Also force text inside inactive rows to appear grey */ +.inactiveRow .slds-truncate { + color: #7e7e7e; +} + +.slds-table thead tr > th:first-child, +.slds-table tbody tr > td:first-child { + padding-left: 1rem !important; +} + +.slds-popover_medium .slds-popover__header { + background-color: #f3f2f2; /* Slight grey for the header */ + border-bottom: 1px solid #dddbda; +} +.slds-popover_medium .slds-popover__body { + padding: 1rem; +} \ No newline at end of file diff --git a/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.html b/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.html index 02136241..e2c964cc 100644 --- a/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.html +++ b/force-app/components/relatedList/lwc/tagRelatedList/tagRelatedList.html @@ -42,9 +42,8 @@

{cardTitle}