From 40a29081bfe6a6a69ffa16f502927e3b73a5ef40 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Tue, 2 Jun 2026 08:59:59 -0400 Subject: [PATCH] fix(fusion_portal): readable gradient for Start-a-Visit tile (live westin 19.0.2.10.1) Inline tile gradient (no !important) was overridden by the theme .card rule, rendering near-white with invisible white text. Dedicated .portal-visit-card class (blue->indigo, distinct from the green New Assessment tile). Co-Authored-By: Claude Opus 4.8 (1M context) --- fusion_portal/__manifest__.py | 2 +- fusion_portal/static/src/css/portal_style.css | 36 +++++++++++++++++++ fusion_portal/views/portal_templates.xml | 4 +-- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/fusion_portal/__manifest__.py b/fusion_portal/__manifest__.py index d87fcb75..198f0e57 100644 --- a/fusion_portal/__manifest__.py +++ b/fusion_portal/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'Fusion Authorizer & Sales Portal', - 'version': '19.0.2.10.0', + 'version': '19.0.2.10.1', 'category': 'Sales/Portal', 'summary': 'Portal for Authorizers (OTs) and Sales Reps with Assessment Forms', 'description': """ diff --git a/fusion_portal/static/src/css/portal_style.css b/fusion_portal/static/src/css/portal_style.css index 01c40e35..b3f14fd1 100644 --- a/fusion_portal/static/src/css/portal_style.css +++ b/fusion_portal/static/src/css/portal_style.css @@ -448,6 +448,42 @@ font-size: 1.25rem; } +/* Start a Visit Card on Portal Home (distinct blue->indigo so it differs from + the green New Assessment tile). Mirrors .portal-new-assessment-card. */ +.portal-visit-card { + background: linear-gradient(135deg, #2e7aad 0%, #4338ca 100%) !important; + transition: transform 0.2s ease, box-shadow 0.2s ease; +} + +.portal-visit-card:hover { + transform: translateY(-5px); + box-shadow: 0 10px 30px rgba(67, 56, 202, 0.3) !important; +} + +.portal-visit-card .card-body { + background: transparent !important; +} + +.portal-visit-card h5, +.portal-visit-card small { + color: #fff !important; +} + +.portal-visit-card .icon-circle { + width: 50px; + height: 50px; + background: rgba(255,255,255,0.25) !important; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; +} + +.portal-visit-card .icon-circle i { + color: #fff !important; + font-size: 1.25rem; +} + /* Authorizer Portal Card on Portal Home */ .portal-authorizer-card { background: var(--fc-portal-gradient, linear-gradient(135deg, #5ba848 0%, #3a8fb7 60%, #2e7aad 100%)) !important; diff --git a/fusion_portal/views/portal_templates.xml b/fusion_portal/views/portal_templates.xml index 7d92664f..ba1fee7b 100644 --- a/fusion_portal/views/portal_templates.xml +++ b/fusion_portal/views/portal_templates.xml @@ -53,8 +53,8 @@