diff --git a/CHANGELOG.md b/CHANGELOG.md index 696861b21..76d291e09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -98,9 +98,13 @@ This project (not yet) adheres to [Semantic Versioning](https://semver.org/spec/ - Module pages: adapt layout to the new project detail grid styling; remove previous/next module cluster navigation. - Accounts: adjust login/signup button styles +- Logo: updated a+ logo. +- Footer: copyright year updated to 2026. +- Donation banner: same colour on all pages. ### Fixed +- Landing page: statistics tiles now wander automatically; two columns on tablet. - Embedded YouTube videos: set referrer policy to `strict-origin-when-cross-origin` so cross-origin embeds send the site origin. - Project insights: keep counters in sync when contributions are deleted, soft-deleted, or removed by cascade (comments, ratings, poll answers, etc.); exclude archived proposals and hidden live questions. - Dashboard forms: align radio button options with text inputs and select fields. diff --git a/adhocracy-plus/assets/images/adhocracy-short.svg b/adhocracy-plus/assets/images/adhocracy-short.svg index 959b7a519..011ee3eb9 100644 --- a/adhocracy-plus/assets/images/adhocracy-short.svg +++ b/adhocracy-plus/assets/images/adhocracy-short.svg @@ -1,12 +1,12 @@ - - - - - + + + + + - - + + diff --git a/adhocracy-plus/assets/images/logo.png b/adhocracy-plus/assets/images/logo.png index 7fa591fc9..8998ded9a 100644 Binary files a/adhocracy-plus/assets/images/logo.png and b/adhocracy-plus/assets/images/logo.png differ diff --git a/adhocracy-plus/assets/images/logo.svg b/adhocracy-plus/assets/images/logo.svg index ed700a985..0cb201cac 100644 --- a/adhocracy-plus/assets/images/logo.svg +++ b/adhocracy-plus/assets/images/logo.svg @@ -1,16 +1,13 @@ - - - - a+ logo wide - Created with Sketch. - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + diff --git a/adhocracy-plus/assets/scss/components/landing_page_statistics.scss b/adhocracy-plus/assets/scss/components/landing_page_statistics.scss index a44114e65..e3780e329 100644 --- a/adhocracy-plus/assets/scss/components/landing_page_statistics.scss +++ b/adhocracy-plus/assets/scss/components/landing_page_statistics.scss @@ -49,16 +49,9 @@ $lp-blue: blue; margin-top: -20px; // Pull it up under the fade position: relative; z-index: 1; - cursor: pointer; - transition: all 0.3s ease; } } -.lp-statistics__stats-scroller.active { - overflow-y: auto; - cursor: default; -} - .lp-statistics__stats-scroller-column { display: flex; flex-direction: column; @@ -66,6 +59,12 @@ $lp-blue: blue; will-change: transform; } +.lp-statistics__stats-scroller-column__copy { + display: flex; + flex-direction: column; + gap: 2em; +} + .lp-statistics__stat { color: $black; background-color: $lp-green; @@ -218,4 +217,38 @@ $lp-blue: blue; min-height: 300px; margin: 0; } -} \ No newline at end of file +} + +// Tablet/iPad: two columns instead of four +@media ($breakpoint <= width <= 1024px) { + .lp-statistics { + padding-left: 2rem; + padding-right: 2rem; + } + + .desktop-view { + display: grid; + } + + .mobile-view { + display: none; + } + + .lp-statistics__stats-scroller { + width: 90%; + margin: 0 auto; + padding: 1em; + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .lp-statistics__stats-scroller-column[data-direction="down"] { + margin-top: -200px; + } +} + +// Reduced motion: show a single static copy, no duplicated content +@media (prefers-reduced-motion: reduce) { + .lp-statistics__stats-scroller-column__copy[aria-hidden="true"] { + display: none; + } +} diff --git a/adhocracy-plus/templates/500.html b/adhocracy-plus/templates/500.html index e8b66c442..9be301126 100644 --- a/adhocracy-plus/templates/500.html +++ b/adhocracy-plus/templates/500.html @@ -27,25 +27,21 @@ {# djlint:on #} - + viewBox="0 0 212 52" + fill="none" + xmlns="http://www.w3.org/2000/svg"> adhocracy+ - Created with Sketch. - - - - - - - - + + + + + - - - adhocracy+ + + + diff --git a/adhocracy-plus/templates/base.html b/adhocracy-plus/templates/base.html index 48ccb63f1..181b93444 100644 --- a/adhocracy-plus/templates/base.html +++ b/adhocracy-plus/templates/base.html @@ -95,7 +95,7 @@ {% if not ORGANISATION.is_supporting %} {% if settings.a4_candy_cms_settings.ImportantPages.donate_link %}
- + {% blocktranslate with platformname=settings.a4_candy_cms_settings.OrganisationSettings.platform_name %}{{ platformname }} is funded by donations.{% endblocktranslate %}
diff --git a/adhocracy-plus/templates/footer.html b/adhocracy-plus/templates/footer.html index 1e30d66ba..22b444755 100644 --- a/adhocracy-plus/templates/footer.html +++ b/adhocracy-plus/templates/footer.html @@ -6,7 +6,7 @@