From b6e8d3b7ec9fee807f5b9772da48488a57141927 Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Wed, 10 Sep 2025 21:54:28 +0100 Subject: [PATCH] refactor: enhance ProjectBudgetEstimate component layout, improve budget estimation calculations, and update CSS for better visual consistency and dark mode support --- assets/css/main.css | 14 +- components/ProjectBudgetEstimate.vue | 510 ++++++++++++++++++--------- pages/budget.vue | 2 +- pages/project-budget.vue | 166 +++++---- pages/resources.vue | 61 +--- pages/templates/tech-charter.vue | 107 +++--- 6 files changed, 502 insertions(+), 358 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index d4193c0..00bea93 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -6,6 +6,7 @@ @theme static { --font-body: "Ubuntu", "Inter", sans-serif; --font-mono: "Ubuntu Mono", monospace; + --font-display: "Inter", sans-serif; } html, @@ -289,22 +290,9 @@ html.dark .item-selected::after { z-index: 1; } -/* Text background for better readability on selected items */ -.item-label-bg { - @apply bg-white/85 dark:bg-neutral-950/85 rounded; -} -.item-label-bg.selected { - @apply bg-white/95 dark:bg-neutral-950/95; -} -.item-text-bg { - @apply bg-white/90 dark:bg-neutral-950/90; -} -.item-text-bg.selected { - @apply bg-white/95 dark:bg-neutral-950/95; -} /* ========================= BUTTON STYLING diff --git a/components/ProjectBudgetEstimate.vue b/components/ProjectBudgetEstimate.vue index db39e41..26b2541 100644 --- a/components/ProjectBudgetEstimate.vue +++ b/components/ProjectBudgetEstimate.vue @@ -1,154 +1,276 @@