diff --git a/CHANGELOG.md b/CHANGELOG.md index 613cdf8..1b9cbf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - CI check `npm run lint:mocks` (wired into `.github/workflows/verify_build.yml`) fails the build if a prototype HTML file under `docs/public/projects/` doesn't reference the shared banner; allowlist supported for deliberate exceptions (currently `deltag-aarhus`) - Migrated all eight prototypes (opkraevningsoverblik, salary-negotiation, climate-nudging × 3, agentic-orchestration, book-aarhus, deltag-aarhus-timeline, wcag-contrast-checker) onto the shared component, removing six per-prototype banner copies +### Fixed +- Mock button (`Åbn prototypen`) hover state — text now stays white against the brand background instead of inheriting the default link color, which made the label nearly invisible + ### Added — Opkrævningsoverblik BBR-beregner - New "Beregner" tab in the Opkrævningsoverblik prototype that calculates four BBR-driven municipal fees: rottebekæmpelse (with the >250 m² rate split), renovation, skorstensfejer, and ejendomsskat (grundskyld) - Editable mock-BBR data (grundareal, grundværdi, bygninger med type/m²/ildsteder) per test user with per-field reset and live recalculation diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index f81f974..9a78e75 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -34,7 +34,8 @@ margin-bottom: 8px; } -.mock-button { +.mock-button, +.vp-doc a.mock-button { display: inline-block; padding: 8px 16px; border: 1px solid var(--vp-c-brand-1); @@ -45,9 +46,11 @@ transition: background-color 0.2s, color 0.2s; } -.mock-button:hover { +.mock-button:hover, +.vp-doc a.mock-button:hover { background-color: var(--vp-c-brand-1); color: #fff; + text-decoration: none; } .VPFeature .VPImage {