Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor together West/North Northamptonshire cobrands #4872

Closed
wants to merge 14 commits into from

Conversation

davea
Copy link
Member

@davea davea commented Mar 11, 2024

  • Cobrand modules
  • Tests
  • Templates
  • Stylesheets

For #4157

Copy link

codecov bot commented Mar 11, 2024

Codecov Report

Attention: Patch coverage is 62.35294% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 82.64%. Comparing base (73214fa) to head (b86ba22).
Report is 8 commits behind head on north-northants-setup.

❗ Current head b86ba22 differs from pull request most recent head 893e9cd. Consider uploading reports for the commit 893e9cd to get more accurate results

Files Patch % Lines
perllib/FixMyStreet/Roles/CobrandNorthants.pm 55.10% 19 Missing and 3 partials ⚠️
perllib/FixMyStreet/Cobrand/NorthNorthants.pm 72.22% 5 Missing ⚠️
perllib/FixMyStreet/Cobrand/WestNorthants.pm 72.22% 5 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##           north-northants-setup    #4872      +/-   ##
=========================================================
- Coverage                  82.70%   82.64%   -0.06%     
=========================================================
  Files                        388      391       +3     
  Lines                      30495    30580      +85     
  Branches                    4823     4832       +9     
=========================================================
+ Hits                       25222    25274      +52     
- Misses                      3821     3851      +30     
- Partials                    1452     1455       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

lucascumsille and others added 14 commits April 2, 2024 09:50
This element will now behave like the `.btn` element in terms of styling. This way we don't need to worry about contrast and we can still use the branding of each cobrand.
This has been added after header elements and before any focusable map elements, that way the user doesn't need to go through the map links and compass to be able to go to skip the map.
Element #front-main has been changed from `div` to a `main`` element. This should improve the semantic and accessibility for this page.
Element #front-main has been changed from `div` to a `main`` element. This should improve the semantic and accessibility for this page.
Could probably benefit from some factoring together with West Northants,
but seems a decent enough start.
This really obscures the logo on this cobrand.

Setting opacity to 0 seemed the best way to make it disappear
without flickering, which happened with visibility: hidden, display: none,
left: -99999px, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants