From adf252cf46c7752ddb9b731eb0b0e49d3f5b6df0 Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Fri, 20 Feb 2026 15:41:13 +0100 Subject: [PATCH 01/11] [T3011] FIX: Home page UI improvements - FIX: increased the size of the MyCompassion text - FIX: the vignettes now scale properly between mobile and desktop - FIX: removed small hard-to-view icons from call to action buttons - FIX: changed new letter button from low-green to low-blue (to match vignette and main action button color) - FIX: changed give text and icon color to pure-white --- my_compassion/static/src/css/my2_dashboard.css | 11 +++++++++++ .../templates/pages/my2_dashboard.xml | 18 ++++-------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/my_compassion/static/src/css/my2_dashboard.css b/my_compassion/static/src/css/my2_dashboard.css index b314bc067..7a0cdd4a9 100644 --- a/my_compassion/static/src/css/my2_dashboard.css +++ b/my_compassion/static/src/css/my2_dashboard.css @@ -18,6 +18,7 @@ .dashboard-banner h1 { font-family: "NeighbourSans Medium"; + font-size: 2rem; } .dashboard-grid button, @@ -25,3 +26,13 @@ margin-top: 1.5rem; width: 100%; } + +@media screen and (max-width: 639px) { + .grid-item-container { + min-width: min(100%, 300px); + } + + .grid-item-container div.pl-3 { + padding-left: 0!important + } +} diff --git a/my_compassion/templates/pages/my2_dashboard.xml b/my_compassion/templates/pages/my2_dashboard.xml index 7405e1aea..772a5adaa 100644 --- a/my_compassion/templates/pages/my2_dashboard.xml +++ b/my_compassion/templates/pages/my2_dashboard.xml @@ -16,7 +16,7 @@ Page: My Compassion 2 Dashboard Page @@ -86,10 +86,8 @@ Page: My Compassion 2 Dashboard Page A new letter has arrived! - - - - + + Write to Your sponsored child - - @@ -115,9 +111,7 @@ Page: My Compassion 2 Dashboard Page See my terminated sponsorships - - @@ -131,7 +125,7 @@ Page: My Compassion 2 Dashboard Page Give - + @@ -140,9 +134,7 @@ Page: My Compassion 2 Dashboard Page My donations - - @@ -166,9 +158,7 @@ Page: My Compassion 2 Dashboard Page Translate a letter - - From 957417a3b844789fcb5d97128a96ced2e4e6dcfb Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Fri, 20 Feb 2026 16:05:50 +0100 Subject: [PATCH 02/11] [T3011] FIX: my children page - FIX: changed bg color to low-eggshell - FIX: increased size of pending indicator (was too small and difficult to read) - FIX: added max-size to cards with auto margin - FIX: added padding to parent container --- my_compassion/static/src/css/my2_children_card.css | 13 +++++++++++++ .../templates/components/my2_children_card.xml | 4 ++-- my_compassion/templates/pages/my2_children.xml | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/my_compassion/static/src/css/my2_children_card.css b/my_compassion/static/src/css/my2_children_card.css index 03c45a8a4..d011b4e35 100644 --- a/my_compassion/static/src/css/my2_children_card.css +++ b/my_compassion/static/src/css/my2_children_card.css @@ -9,3 +9,16 @@ object-fit: cover; object-position: 50% 0; } + +.children-card { + max-width: 400px; + margin: 0 auto; +} + +.children-card > div { + border-radius: 25px; +} + +.children-card .pending { + font-size: 1.2rem; +} \ No newline at end of file diff --git a/my_compassion/templates/components/my2_children_card.xml b/my_compassion/templates/components/my2_children_card.xml index a2f9dbe45..4225d8147 100644 --- a/my_compassion/templates/components/my2_children_card.xml +++ b/my_compassion/templates/components/my2_children_card.xml @@ -20,7 +20,7 @@
-
+
-
+
-
+
From 755670e15b5e4415ef688e5d29a490d419f61c6c Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Fri, 20 Feb 2026 17:24:39 +0100 Subject: [PATCH 03/11] [T3011] FIX: timeline improvements - FIX: increased icon size - FIX: removed margin from gift price - FIX: changed date color and increased its size - FIX: changed birthday and start sponsorship icon colors --- .../static/src/css/child_profile_timeline.css | 20 +++++++++++++++---- .../my2_sponsor_child_timeline_batch.xml | 6 +++--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/my_compassion/static/src/css/child_profile_timeline.css b/my_compassion/static/src/css/child_profile_timeline.css index 7a122085a..ed6635701 100644 --- a/my_compassion/static/src/css/child_profile_timeline.css +++ b/my_compassion/static/src/css/child_profile_timeline.css @@ -90,14 +90,15 @@ align-items: center; -ms-flex-negative: 0; flex-shrink: 0; - width: 40px; - height: 40px; + width: 50px; + height: 50px; + margin-left: -5px; border-radius: 50%; box-shadow: 0 0 0 4px hsl(0, 0%, 100%), inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05); } .cd-timeline__img .pictogram { - width: 45px; - height: 45px; + width: 55px; + height: 55px; } @media (min-width: 64rem) { .cd-timeline__img { @@ -126,6 +127,11 @@ padding: 1.25em; box-shadow: 0 3px 0 hsl(205, 38%, 89%); } + +.cd-timeline__content > p.text-muted { + margin-bottom: 0; +} + .cd-timeline__content::before { content: ""; position: absolute; @@ -164,6 +170,12 @@ border-left-color: hsl(0, 0%, 100%); } } + +.cd-timeline__date { + color: #11265e; + font-size: 16px; +} + @media (min-width: 64rem) { .cd-timeline__date { position: absolute; diff --git a/my_compassion/templates/components/my2_sponsor_child_timeline_batch.xml b/my_compassion/templates/components/my2_sponsor_child_timeline_batch.xml index d106498e3..1e04db69a 100644 --- a/my_compassion/templates/components/my2_sponsor_child_timeline_batch.xml +++ b/my_compassion/templates/components/my2_sponsor_child_timeline_batch.xml @@ -26,7 +26,7 @@
-
+
@@ -120,8 +120,8 @@
-
- +
+