From 1a39e97117c04e3c4d2a671a846ca5226309f256 Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Fri, 27 Feb 2026 10:57:19 +0100 Subject: [PATCH 1/5] [T3011] FIX: gifts & donations page + minor footer change - FIX: made donation item on donation page clickable, while keeping the download payment option separate - FIX: added padding and uniform border radius to donation item - FIX: added minimal padding to donation details icons - FIX: tweaked colors (in the aim of adding more contrast) to gift packages in the gift basket - FIX: icons in the themed button are now centered both vertically and horizontally - FIX: aligned the icons in the footer --- .../static/src/css/my2_donation_item.css | 3 +- .../components/my2_donation_item.xml | 145 +++++++++--------- .../templates/pages/my2_donation_details.xml | 4 +- .../templates/pages/my2_gift_package.xml | 14 +- .../components/buttons/ThemedButton.xml | 4 +- theme_compassion_2025/views/footer.xml | 2 +- 6 files changed, 85 insertions(+), 87 deletions(-) diff --git a/my_compassion/static/src/css/my2_donation_item.css b/my_compassion/static/src/css/my2_donation_item.css index 64ee9a5c8..cc53d1a14 100644 --- a/my_compassion/static/src/css/my2_donation_item.css +++ b/my_compassion/static/src/css/my2_donation_item.css @@ -1,5 +1,4 @@ .donation-item-container { - border-left: 5px solid; container-type: inline-size; container-name: donation-item-container; font-size: 18px; @@ -16,6 +15,8 @@ .donation-item-container .action-button { cursor: pointer; + position: relative; + z-index: 1; } .donation-item-container .action-button:hover span { diff --git a/my_compassion/templates/components/my2_donation_item.xml b/my_compassion/templates/components/my2_donation_item.xml index c53cd7f49..274371c28 100644 --- a/my_compassion/templates/components/my2_donation_item.xml +++ b/my_compassion/templates/components/my2_donation_item.xml @@ -37,16 +37,25 @@ diff --git a/my_compassion/templates/pages/my2_donation_details.xml b/my_compassion/templates/pages/my2_donation_details.xml index b7bff7a43..1b905961c 100644 --- a/my_compassion/templates/pages/my2_donation_details.xml +++ b/my_compassion/templates/pages/my2_donation_details.xml @@ -48,7 +48,7 @@
The reality...
- +
@@ -58,7 +58,7 @@
With your help we can...
- +
diff --git a/my_compassion/templates/pages/my2_gift_package.xml b/my_compassion/templates/pages/my2_gift_package.xml index bdcdc3427..67dbbd458 100644 --- a/my_compassion/templates/pages/my2_gift_package.xml +++ b/my_compassion/templates/pages/my2_gift_package.xml @@ -29,9 +29,9 @@ - - - + + + Edit Details
-
Total amount
-
+
Total amount
+
diff --git a/theme_compassion_2025/templates/components/buttons/ThemedButton.xml b/theme_compassion_2025/templates/components/buttons/ThemedButton.xml index fbe7a4a59..707e10d55 100644 --- a/theme_compassion_2025/templates/components/buttons/ThemedButton.xml +++ b/theme_compassion_2025/templates/components/buttons/ThemedButton.xml @@ -36,7 +36,9 @@