mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Merge pull request #3205 from alphagov/more-fixes-for-move-to-govuk-frontend
More fixes for move to govuk frontend
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
@import 'settings/typography-font-families';
|
||||||
|
|
||||||
// needed for IE10 desktop snap mode: http://menacingcloud.com/?c=cssViewportOrMetaTag
|
// needed for IE10 desktop snap mode: http://menacingcloud.com/?c=cssViewportOrMetaTag
|
||||||
@-ms-viewport {
|
@-ms-viewport {
|
||||||
width: device-width;
|
width: device-width;
|
||||||
@@ -88,3 +90,10 @@ button:focus {
|
|||||||
outline: 3px solid $focus-colour;
|
outline: 3px solid $focus-colour;
|
||||||
outline-offset: 0;
|
outline-offset: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// To be removed when all buttons follow the GOV.UK Frontend conventions
|
||||||
|
// - https://design-system.service.gov.uk/components/button/
|
||||||
|
|
||||||
|
button {
|
||||||
|
font-family: $govuk-font-family-nta;
|
||||||
|
}
|
||||||
|
|||||||
@@ -11,14 +11,6 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// The GOV.UK Frontend header component wraps content that is `position: relative`
|
|
||||||
// This changes its z-index position, putting it above the `<main>` section
|
|
||||||
// We need the `<main>` section to be above it, like the default order, to hide the theme colour
|
|
||||||
// bar on full-width pages
|
|
||||||
.govuk-main-wrapper {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Additional padding-bottom override, following the GOV.UK Frontend spacing scale:
|
// Additional padding-bottom override, following the GOV.UK Frontend spacing scale:
|
||||||
// https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale
|
// https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale
|
||||||
.govuk-\!-padding-bottom-12 {
|
.govuk-\!-padding-bottom-12 {
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
&-intro {
|
&-intro {
|
||||||
|
|
||||||
|
// The GOV.UK Frontend header component wraps content that is `position: relative`
|
||||||
|
// This changes its z-index position, putting it above the `<main>` section in the stacking order
|
||||||
|
// We need the `<main>` section to be above it, like the default order, so when we apply the
|
||||||
|
// negative margin-top it overlaps the theme bar at the bottom of the header
|
||||||
|
position: relative;
|
||||||
margin: -10px 0 $gutter * 1.5 0;
|
margin: -10px 0 $gutter * 1.5 0;
|
||||||
padding: 0 0 $gutter * 2 0;
|
padding: 0 0 $gutter * 2 0;
|
||||||
background: $govuk-blue;
|
background: $govuk-blue;
|
||||||
|
|||||||
@@ -145,6 +145,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ notify_footer({
|
{{ notify_footer({
|
||||||
|
"classes": "js-footer",
|
||||||
"navigation": [
|
"navigation": [
|
||||||
{
|
{
|
||||||
"columns": 1,
|
"columns": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user