From 5374914155ba0cae17e246fe37e9f8a1c2e9701b Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Tue, 5 May 2026 17:45:04 +0200 Subject: [PATCH] Change explore tab styles to be more aligned with other reports --- assets/css/app.css | 3 + assets/js/dashboard/extra/exploration.js | 72 ++++++++++-------------- 2 files changed, 33 insertions(+), 42 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 9942d5c075c1..33a1f4faa076 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -165,6 +165,9 @@ --color-gray-825: rgb(35 35 38); --color-gray-850: rgb(34 34 38); + /* Custom indigo shades */ + --color-indigo-150: rgb(212 220 255); + /* Set v3 default ring behavior */ --default-ring-width: 2px; --default-ring-color: var(--color-indigo-500); diff --git a/assets/js/dashboard/extra/exploration.js b/assets/js/dashboard/extra/exploration.js index 70ce106835cd..ce38d9c143eb 100644 --- a/assets/js/dashboard/extra/exploration.js +++ b/assets/js/dashboard/extra/exploration.js @@ -346,28 +346,39 @@ function CandidateCard({ ? selectedConversionRate : Math.round((visitors / stepMaxVisitors) * 100) - const textColour = isDimmed - ? 'text-gray-400 dark:text-gray-500' + const textColor = isDimmed + ? 'text-gray-400 dark:text-gray-500 group-hover:text-gray-600 dark:group-hover:text-gray-400' : 'text-gray-900 dark:text-gray-100' - const subpathColour = isDimmed - ? 'text-gray-400 dark:text-gray-500' + const subpathColor = isDimmed + ? 'text-gray-400 dark:text-gray-500 group-hover:text-gray-500 dark:group-hover:text-gray-400' : 'text-gray-500 dark:text-gray-400' + const barBg = isSelected + ? 'bg-indigo-150 group-hover:bg-indigo-150 dark:bg-indigo-500/50 dark:group-hover:bg-indigo-500/50' + : isDimmed + ? 'bg-indigo-50/80 dark:bg-indigo-500/10 group-hover:bg-indigo-100 dark:group-hover:bg-indigo-500/25' + : 'bg-indigo-50 group-hover:bg-indigo-100 dark:bg-indigo-500/20 dark:group-hover:bg-indigo-500/30' + + const rowBg = isSelected + ? 'bg-gray-100/60 dark:bg-gray-850' + : 'hover:bg-gray-100/60 dark:hover:bg-gray-850' + return (
  • ) @@ -500,7 +488,7 @@ function ExplorationColumn({ return (
    {onDirectionChange ? ( @@ -533,13 +521,13 @@ function ExplorationColumn({
    {loading ? ( -
    +
    ) : listItems.length === 0 ? ( -
    +
    {listItems.map(({ step, visitors }) => (