From cd1e0b336fdeff7fe5ab7e617c915e81c6f21145 Mon Sep 17 00:00:00 2001 From: b-uwe <61052367+b-uwe@users.noreply.github.com> Date: Wed, 20 Mar 2024 19:52:21 +0100 Subject: [PATCH] Distributors (#31966) * Introducing regions for distributors in CSS and JS * Using regions for Green * Using regions for Yellow * Using regions for SkyConnect * Sorting Asia and America correctly * Distributor Updates * Fix CSS issue --- sass/custom/_landingpage.scss | 12 + source/green/index.html | 689 +++++++++++++++++--------------- source/green/script.js | 15 + source/skyconnect/index.html | 719 +++++++++++++++++++--------------- source/yellow/index.html | 346 +++++++++------- 5 files changed, 1006 insertions(+), 775 deletions(-) diff --git a/sass/custom/_landingpage.scss b/sass/custom/_landingpage.scss index 1d15ac7a700..387a933e319 100644 --- a/sass/custom/_landingpage.scss +++ b/sass/custom/_landingpage.scss @@ -831,6 +831,18 @@ $ha__primary_color: #03a9f4; } .distributors { + details { + width: 100%; + justify-content: space-between; + padding: 16px 24px; + color: #222222; + margin: auto; + + summary.region { + display: list-item; + } + } + a { text-decoration: none; diff --git a/source/green/index.html b/source/green/index.html index 6c7745bd104..595498a5abc 100644 --- a/source/green/index.html +++ b/source/green/index.html @@ -2308,339 +2308,408 @@ frontpage_image: /images/frontpage/green-frontpage.png