Files
notifications-admin/app/assets/stylesheets/govuk-frontend/overrides.scss
Chris Hill-Scott 559c400e84 Add override from future GOV.UK Frontend version
We need to duplicate it until we upgrade.
2021-04-13 15:43:03 +01:00

61 lines
1.5 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Overrides for certain GOV.UK Frontend styles to make its components match this application's design
// Additional padding-bottom override, following the GOV.UK Frontend spacing scale:
// https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale
.govuk-\!-padding-bottom-12 {
padding-bottom: 70px;
@include govuk-media-query($from: tablet) {
padding-bottom: 90px;
}
}
.govuk-footer__navigation {
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap
}
.govuk-footer__section {
-webkit-flex-basis: 200px;
-ms-flex-preferred-size: 200px;
flex-basis: 100%;
}
@include govuk-media-query($from: tablet) {
.govuk-footer__navigation {
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap
}
.govuk-footer__section {
-webkit-flex-basis: 200px;
-ms-flex-preferred-size: 200px;
flex-basis: 200px;
}
}
// Make column headings smaller to prevent wrapping
.govuk-footer__heading {
@include govuk-font($size: 19, $weight: bold);
}
.govuk-button {
margin-bottom: 0px;
}
// Allow legends that contain the h1 to go full width
.govuk-fieldset__legend.govuk-grid-column-full {
// $class parameter is deprecated but needed for v2 of GOVUK Frontend. Remove for v3 & above
@include govuk-grid-column(full, $class: false);
}
// Add override from future version of GOV.UK Frontend
// Todo: remove this once weve upgraded past v3.11.0
.govuk-\!-display-none {
display: none !important;
}