From ed7d34ff66804f8f71a43ab8a08a629c330a9259 Mon Sep 17 00:00:00 2001 From: Luke Parrott Date: Wed, 18 Dec 2024 16:49:21 -0600 Subject: [PATCH 1/5] First pass at SLDS+ updates --- .../BGE_ConfigurationWizard.css | 2 +- .../BGE_DonationSelector.css | 4 +-- .../default/aura/CRLP_Rollup/CRLP_Rollup.css | 2 +- .../aura/HH_AddressMgr/HH_AddressMgr.css | 2 +- .../aura/HH_ContactCard/HH_ContactCard.css | 2 +- .../aura/HH_Container/HH_Container.css | 4 +-- .../RD2_EnablementDelegate.css | 8 ++--- .../RD2_EnablementDelegateSimple.css | 4 +-- .../lwc/bdiFieldMappings/bdiFieldMappings.css | 14 ++++----- .../bdiObjectMappings/bdiObjectMappings.css | 18 ++++++------ .../geDonationMatchingOpportunityCard.css | 29 ++++++++++--------- .../geDonationMatchingPaymentCard.css | 25 ++++++++-------- .../lwc/geFormRenderer/geFormRenderer.css | 8 ++--- .../lwc/geFormRenderer/geFormRenderer.html | 8 ++--- .../geFormWidgetTokenizeCard.css | 12 ++++---- .../geGatewaySelectWidget.css | 4 +-- .../default/lwc/geListView/geListView.css | 12 ++++---- .../lwc/geModalPrompt/geModalPrompt.css | 2 +- .../geModalRecurringDonation.css | 2 +- .../geRecurringGiftInfo.css | 2 +- .../geTemplateBuilderFormField.css | 6 ++-- .../geTemplateBuilderFormSection.css | 16 +++++----- .../geTemplateBuilderFormSection.html | 6 ++-- .../geTemplateBuilderWidget.css | 4 +-- .../default/lwc/geTemplates/geTemplates.css | 8 ++--- .../lwc/givingSummary/givingSummary.css | 4 +-- .../gsAccordionSection/gsAccordionSection.css | 4 +-- .../gsApplicationStatus.css | 20 ++++++------- .../lwc/gsChecklistItem/gsChecklistItem.css | 28 +++++++++--------- .../lwc/gsChecklistSetup/gsChecklistSetup.css | 2 +- .../default/lwc/gsResources/gsResources.css | 8 ++--- .../lwc/gsVideoHeader/gsVideoHeader.css | 8 ++--- .../default/lwc/gseuHeader/gseuHeader.css | 8 ++--- .../lwc/rd2ChangeEntry/rd2ChangeEntry.css | 2 +- .../rd2ElevateCreditCardForm.css | 12 ++++---- .../rd2ElevateInformation.html | 4 +-- .../default/lwc/rd2EntryForm/rd2EntryForm.css | 6 ++-- .../rd2RecurringDonation.css | 2 +- .../relationshipsNavigator.css | 10 +++---- .../relationshipsTreeGrid.html | 2 +- .../lwc/utilAlertBanner/utilAlertBanner.html | 2 +- .../main/default/lwc/utilCard/utilCard.css | 2 +- .../utilSearchableCombobox.css | 10 +++---- .../default/lwc/utilStencil/utilStencil.css | 8 ++--- 44 files changed, 174 insertions(+), 172 deletions(-) diff --git a/force-app/main/default/aura/BGE_ConfigurationWizard/BGE_ConfigurationWizard.css b/force-app/main/default/aura/BGE_ConfigurationWizard/BGE_ConfigurationWizard.css index 4840b5eb87d..5c709fec3cf 100644 --- a/force-app/main/default/aura/BGE_ConfigurationWizard/BGE_ConfigurationWizard.css +++ b/force-app/main/default/aura/BGE_ConfigurationWizard/BGE_ConfigurationWizard.css @@ -1,5 +1,5 @@ .THIS.slds-tabs_card { - background: white; + background: var(--slds-g-color-disabled-container-1, white); } /*link-like behaviors*/ diff --git a/force-app/main/default/aura/BGE_DonationSelector/BGE_DonationSelector.css b/force-app/main/default/aura/BGE_DonationSelector/BGE_DonationSelector.css index 75dfc4db4a5..40433fb3782 100644 --- a/force-app/main/default/aura/BGE_DonationSelector/BGE_DonationSelector.css +++ b/force-app/main/default/aura/BGE_DonationSelector/BGE_DonationSelector.css @@ -16,12 +16,12 @@ /*color for selected card border*/ .THIS .selectedDonationCard { - border: 2px solid rgb(21, 137, 238); + border: var(--slds-g-radius-border-1, 2px) solid var(--slds-g-color-brand-base-60, rgb(21, 137, 238)); } /*shade selected check icon*/ .THIS .selectedCheckmark > lightning-primitive-icon > svg { - fill: rgb(21, 137, 238); + fill: var(--slds-g-color-accent-1, rgb(21, 137, 238)); } /*prevent card header from truncating long opp or payment names*/ diff --git a/force-app/main/default/aura/CRLP_Rollup/CRLP_Rollup.css b/force-app/main/default/aura/CRLP_Rollup/CRLP_Rollup.css index e11d518de0a..a6d40e2d748 100644 --- a/force-app/main/default/aura/CRLP_Rollup/CRLP_Rollup.css +++ b/force-app/main/default/aura/CRLP_Rollup/CRLP_Rollup.css @@ -4,7 +4,7 @@ /*margin is for view mode indentation*/ .THIS .slds-form-element__label{ margin-left: .5rem; - font-size: 13px; + font-size: var(--slds-g-font-size-base, 13px); } .THIS .slds-form-element__icon{ margin-left: .2rem; diff --git a/force-app/main/default/aura/HH_AddressMgr/HH_AddressMgr.css b/force-app/main/default/aura/HH_AddressMgr/HH_AddressMgr.css index 66475669ccd..971fc0c6b80 100644 --- a/force-app/main/default/aura/HH_AddressMgr/HH_AddressMgr.css +++ b/force-app/main/default/aura/HH_AddressMgr/HH_AddressMgr.css @@ -1,5 +1,5 @@ .THIS li.selected { - background-color: token(colorBackgroundRowSelected); + background-color: var(--slds-s-table-row-color-background-selected, token(colorBackgroundRowSelected)); } .THIS .slds-modal__container { diff --git a/force-app/main/default/aura/HH_ContactCard/HH_ContactCard.css b/force-app/main/default/aura/HH_ContactCard/HH_ContactCard.css index 7e759f55f40..14b3b02cf73 100644 --- a/force-app/main/default/aura/HH_ContactCard/HH_ContactCard.css +++ b/force-app/main/default/aura/HH_ContactCard/HH_ContactCard.css @@ -1,4 +1,4 @@ .THIS .removeBtn:hover, .THIS .removeBtn:focus, .THIS .removeBtn.is-selected { background: none; - border: 0; + border: none; } \ No newline at end of file diff --git a/force-app/main/default/aura/HH_Container/HH_Container.css b/force-app/main/default/aura/HH_Container/HH_Container.css index fa16635cbd1..4f0944afca6 100644 --- a/force-app/main/default/aura/HH_Container/HH_Container.css +++ b/force-app/main/default/aura/HH_Container/HH_Container.css @@ -9,6 +9,6 @@ .THIS .required { padding-left: 2px; - color: red; - font-weight: 700; + color: var(--slds-g-color-error-base-50, red); + font-weight: bold; } \ No newline at end of file diff --git a/force-app/main/default/aura/RD2_EnablementDelegate/RD2_EnablementDelegate.css b/force-app/main/default/aura/RD2_EnablementDelegate/RD2_EnablementDelegate.css index 495c398613c..0178036c8f9 100644 --- a/force-app/main/default/aura/RD2_EnablementDelegate/RD2_EnablementDelegate.css +++ b/force-app/main/default/aura/RD2_EnablementDelegate/RD2_EnablementDelegate.css @@ -5,15 +5,15 @@ } .THIS .disabledEdit { pointer-events: none; - color: #706e6b; + color: var(--slds-g-color-on-surface-1, #706e6b); cursor: default; } .THIS .styleButton:disabled { - color: #706e6b; + color: var(--slds-g-color-on-surface-1, #706e6b); } .THIS .activeIcon svg { - fill: #006dcc; + fill: var(--slds-g-color-accent-2, #006dcc); } .THIS .successIcon svg { - fill: rgb(94, 180, 255); + fill: var(--slds-g-color-brand-base-70, rgb(94, 180, 255)); } \ No newline at end of file diff --git a/force-app/main/default/aura/RD2_EnablementDelegateSimple/RD2_EnablementDelegateSimple.css b/force-app/main/default/aura/RD2_EnablementDelegateSimple/RD2_EnablementDelegateSimple.css index 0b5e96543aa..140fc2d657a 100755 --- a/force-app/main/default/aura/RD2_EnablementDelegateSimple/RD2_EnablementDelegateSimple.css +++ b/force-app/main/default/aura/RD2_EnablementDelegateSimple/RD2_EnablementDelegateSimple.css @@ -5,9 +5,9 @@ } .THIS .disabledEdit { pointer-events: none; - color: #706e6b; + color: var(--slds-g-color-on-surface-1, #706e6b); cursor: default; } .THIS .activeIcon svg { - fill: #006dcc; + fill: var(--slds-g-color-accent-2, #006dcc); } \ No newline at end of file diff --git a/force-app/main/default/lwc/bdiFieldMappings/bdiFieldMappings.css b/force-app/main/default/lwc/bdiFieldMappings/bdiFieldMappings.css index 33b9adce5d6..9d55336c53f 100644 --- a/force-app/main/default/lwc/bdiFieldMappings/bdiFieldMappings.css +++ b/force-app/main/default/lwc/bdiFieldMappings/bdiFieldMappings.css @@ -1,29 +1,29 @@ .slds-text-heading_medium_extension, .slds-text-heading_small_extension { - font-weight: 400; + font-weight: normal; font-family: "Salesforce Sans"; } .slds-text_extension { - color: #080707; + color: var(--slds-g-color-on-success-2, #080707); font-family: "Salesforce Sans"; - font-size: 13px; + font-size: var(--slds-g-font-size-base, 13px); line-height: 20px; } .table-header { - color: #080707; + color: var(--slds-g-color-on-success-2, #080707); font-family: "Salesforce Sans"; - font-size: 14px; + font-size: var(--slds-g-font-scale-1, 14px); line-height: 21px; } .table-header_source { - border-bottom: 2px solid black; + border-bottom: var(--slds-g-radius-border-1, 2px) solid var(--slds-g-color-neutral-base-10, black); margin-right: 4rem; } .table-header_target { - border-bottom: 2px solid black; + border-bottom: var(--slds-g-radius-border-1, 2px) solid var(--slds-g-color-neutral-base-10, black); margin-left: 1.75rem; margin-right: 3rem; } \ No newline at end of file diff --git a/force-app/main/default/lwc/bdiObjectMappings/bdiObjectMappings.css b/force-app/main/default/lwc/bdiObjectMappings/bdiObjectMappings.css index fbc09ad8950..ea727387271 100644 --- a/force-app/main/default/lwc/bdiObjectMappings/bdiObjectMappings.css +++ b/force-app/main/default/lwc/bdiObjectMappings/bdiObjectMappings.css @@ -1,28 +1,28 @@ .slds-button_extension-back { height: 40px; - color: #006DCC; + color: var(--slds-g-color-accent-2, #006DCC); font-family: "Salesforce Sans"; - font-size: 13px; + font-size: var(--slds-g-font-size-base, 13px); line-height: 40px; - font-weight: 300; + font-weight: normal; } .slds-text-heading_medium_extension, .slds-text-heading_small_extension { - font-weight: 400; + font-weight: normal; font-family: "Salesforce Sans"; } .slds-text_extension { - color: #080707; + color: var(--slds-g-color-on-success-2, #080707); font-family: "Salesforce Sans"; - font-size: 13px; + font-size: var(--slds-g-font-size-base, 13px); line-height: 20px; } .table-header { - color: #080707; + color: var(--slds-g-color-on-success-2, #080707); font-family: "Salesforce Sans"; - font-size: 14px; + font-size: var(--slds-g-font-scale-1, 14px); line-height: 21px; } @@ -31,7 +31,7 @@ } .table-no-field-mappings { - background-color: rgb(250, 250, 249); + background-color: var(--slds-g-color-disabled-container-1, rgb(250, 250, 249)); } .custom-col { diff --git a/force-app/main/default/lwc/geDonationMatchingOpportunityCard/geDonationMatchingOpportunityCard.css b/force-app/main/default/lwc/geDonationMatchingOpportunityCard/geDonationMatchingOpportunityCard.css index 6220e0e9cdf..90e148d659e 100644 --- a/force-app/main/default/lwc/geDonationMatchingOpportunityCard/geDonationMatchingOpportunityCard.css +++ b/force-app/main/default/lwc/geDonationMatchingOpportunityCard/geDonationMatchingOpportunityCard.css @@ -5,11 +5,12 @@ padding: 0; background: transparent; background-clip: border-box; - border: 1px solid transparent; - border-radius: .25rem; + border: var(--slds-g-sizing-border-1, 1px) solid transparent; + border-radius: var(--slds-g-radius-border-2, .25rem); line-height: 1.875rem; text-decoration: none; - color: var(--lwc-brandAccessible, rgb(0, 112, 210)); + color: var(--slds-g-color-accent-container-1, var(--lwc-brandAccessible, rgb(0, 112, 210))); + appearance: none; -webkit-appearance: none; white-space: normal; -webkit-user-select: none; @@ -19,8 +20,8 @@ } .slds-button:hover { - background-color: rgb(244, 246, 249); - color: var(--lwc-brandAccessibleActive, rgb(0, 95, 178)); + background-color: var(--slds-g-color-surface-2, rgb(244, 246, 249)); + color: var(--slds-g-color-accent-container-2, var(--lwc-brandAccessibleActive, rgb(0, 95, 178))); } .slds-button_neutral { @@ -29,30 +30,30 @@ text-align: center; vertical-align: middle; justify-content: center; - border: 1px solid var(--lwc-colorBorder, rgb(221, 219, 218)); + border: var(--slds-g-sizing-border-1, 1px) solid var(--slds-g-color-border-1, var(--lwc-colorBorder, rgb(221, 219, 218))); transition: border .15s linear; - border-color: var(--lwc-colorBorder, rgb(221, 219, 218)); - background-color: var(--lwc-colorBackgroundAlt, rgb(255, 255, 255)); + border-color: var(--slds-g-color-border-1, var(--lwc-colorBorder, rgb(221, 219, 218))); + background-color: var(--slds-g-color-surface-container-1, var(--lwc-colorBackgroundAlt, rgb(255, 255, 255))); } .slds-button_extension { width: 100%; padding: 0; margin: 0; - border-radius: 0; + border-radius: none; padding-top: 0.25rem; padding-bottom: 0.25rem; border: none; - border-radius: 0.25rem; + border-radius: var(--slds-g-radius-border-2, 0.25rem); } .slds-border_extension-bottom { - border-bottom: 1px solid var(--lwc-colorBorder, rgb(221, 219, 218)); - border-radius: 0; + border-bottom: var(--slds-g-sizing-border-1, 1px) solid var(--slds-g-color-border-1, var(--lwc-colorBorder, rgb(221, 219, 218))); + border-radius: none; } .slds-button:disabled { - background-color: var(--lwc-colorBackgroundAlt, rgb(255, 255, 255)); - color: rgb(221, 219, 218); + background-color: var(--slds-g-color-surface-container-1, var(--lwc-colorBackgroundAlt, rgb(255, 255, 255))); + color: var(--slds-g-color-neutral-base-90, rgb(221, 219, 218)); cursor: default; } \ No newline at end of file diff --git a/force-app/main/default/lwc/geDonationMatchingPaymentCard/geDonationMatchingPaymentCard.css b/force-app/main/default/lwc/geDonationMatchingPaymentCard/geDonationMatchingPaymentCard.css index d1229461ffa..5065384b2e9 100644 --- a/force-app/main/default/lwc/geDonationMatchingPaymentCard/geDonationMatchingPaymentCard.css +++ b/force-app/main/default/lwc/geDonationMatchingPaymentCard/geDonationMatchingPaymentCard.css @@ -5,12 +5,13 @@ padding: 0; background: transparent; background-clip: border-box; - border: 1px solid transparent; - border-radius: .25rem; + border: var(--slds-g-sizing-border-1, 1px) solid transparent; + border-radius: var(--slds-g-radius-border-2, .25rem); line-height: 1.875rem; text-decoration: none; - color: var(--lwc-brandAccessible, rgb(0, 112, 210)); + color: var(--slds-g-color-accent-container-1, var(--lwc-brandAccessible, rgb(0, 112, 210))); white-space: normal; + appearance: none; -webkit-appearance: none; -webkit-user-select: none; -moz-user-select: none; @@ -19,8 +20,8 @@ } .slds-button:hover { - background-color: rgb(244, 246, 249); - color: var(--lwc-brandAccessibleActive, rgb(0, 95, 178)); + background-color: var(--slds-g-color-surface-2, rgb(244, 246, 249)); + color: var(--slds-g-color-accent-container-2, var(--lwc-brandAccessibleActive, rgb(0, 95, 178))); } .slds-button_neutral { @@ -29,24 +30,24 @@ text-align: center; vertical-align: middle; justify-content: center; - border: 1px solid var(--lwc-colorBorder, rgb(221, 219, 218)); + border: var(--slds-g-sizing-border-1, 1px) solid var(--slds-g-color-border-1, var(--lwc-colorBorder, rgb(221, 219, 218))); transition: border .15s linear; - border-color: var(--lwc-colorBorder, rgb(221, 219, 218)); - background-color: var(--lwc-colorBackgroundAlt, rgb(255, 255, 255)); + border-color: var(--slds-g-color-border-1, var(--lwc-colorBorder, rgb(221, 219, 218))); + background-color: var(--slds-g-color-surface-container-1, var(--lwc-colorBackgroundAlt, rgb(255, 255, 255))); } .slds-button_extension { width: 100%; padding: 0; margin: 0; - border-radius: 0; + border-radius: none; padding-top: 0.25rem; padding-bottom: 0.25rem; border: none; - border-radius: 0.25rem; + border-radius: var(--slds-g-radius-border-2, 0.25rem); } .slds-border_extension-bottom { - border-bottom: 1px solid var(--lwc-colorBorder, rgb(221, 219, 218)); - border-radius: 0; + border-bottom: var(--slds-g-sizing-border-1, 1px) solid var(--slds-g-color-border-1, var(--lwc-colorBorder, rgb(221, 219, 218))); + border-radius: none; } \ No newline at end of file diff --git a/force-app/main/default/lwc/geFormRenderer/geFormRenderer.css b/force-app/main/default/lwc/geFormRenderer/geFormRenderer.css index 9bd7e7c26cb..785179fa378 100644 --- a/force-app/main/default/lwc/geFormRenderer/geFormRenderer.css +++ b/force-app/main/default/lwc/geFormRenderer/geFormRenderer.css @@ -40,12 +40,12 @@ p.critical-error-text { } .payment-warn { - --sds-c-alert-image-background: none; - --sds-c-alert-color-background: transparent; - --sds-c-alert-text-color: var(--lwc-colorTextDefault); + background: none; + background-color: transparent; + color: var(--slds-g-color-on-surface-3, var(--lwc-colorTextDefault)); justify-content: start; } .payment-warn h2 { - font-weight: 400; + font-weight: normal; } \ No newline at end of file diff --git a/force-app/main/default/lwc/geFormRenderer/geFormRenderer.html b/force-app/main/default/lwc/geFormRenderer/geFormRenderer.html index 31c724a3fe1..87a7d0718b6 100644 --- a/force-app/main/default/lwc/geFormRenderer/geFormRenderer.html +++ b/force-app/main/default/lwc/geFormRenderer/geFormRenderer.html @@ -158,9 +158,9 @@