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

ZD-601647 Custom branding for NHS Greater Manchester #1320

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/custom/nhs-greater-manchester.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions sass/custom/nhs-greater-manchester.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
$govuk-font-family: -apple-system,BlinkMacSystemFont,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; // Override font as so not to use New Transport
@import "application";

// CUSTOM BRANDING
// Use the variables below to control the style
// Make sure banner colours meet minimum colour contrast levels

$custom-banner-colour: #005eb8;
$custom-banner-border-colour: #ffffff;
$custom-text-colour: #ffffff;
$logo-image-height: 2em;

.custom-branding {
@if $logo-image-height != null {
.custom-branding-image {
max-height: $logo-image-height;

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
width: 100%;
}
}
}

.govuk-header {
background-color: $custom-banner-colour;
}

.govuk-header__link{
&:link,
&:visited {
color: $custom-text-colour;
}
}

.govuk-header__link--homepage {
&:hover,
&:active {
border-bottom: none;
margin-bottom: 0;
}
}

.govuk-header__service-name {
color: $custom-text-colour;
}

.govuk-header__container {
border-bottom-color: $custom-banner-border-colour;
}

@include govuk-media-query($from: tablet) {
.govuk-header__content {
width: 66%;
vertical-align: bottom;
margin-bottom: 7px;
}
}

.govuk-button {
padding: 7px 15px 6px;
padding: .368421053em .842105263em .315789474em;
}
}
Loading