This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #539 from alphagov/revert-518-update-to-govuk-fron…
…tend-3-0 Revert "Update to GOV.UK Frontend v3"
- Loading branch information
Showing
39 changed files
with
1,421 additions
and
452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
.app-full-width { | ||
#global-header-bar { // scss-lint:disable IdSelector | ||
.full-width { | ||
// We're overriding static, we have to use IDs. | ||
// scss-lint:disable IdSelector | ||
#wrapper { | ||
margin: 0; | ||
width: auto; | ||
max-width: 100%; | ||
} | ||
|
||
#global-header-bar { | ||
display: none; | ||
} | ||
} | ||
|
||
.app-\!-full-width-override { | ||
margin: auto !important; | ||
max-width: none !important; | ||
.govuk-beta-label { | ||
border-bottom: none; | ||
} | ||
|
||
.full-page-width-wrapper, | ||
#wrapper .report-a-problem-toggle-wrapper, | ||
#wrapper .report-a-problem-container { | ||
@extend %site-width-container; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
.app-c-change-history__change-note { | ||
color: $govuk-secondary-text-colour; | ||
.change-history { | ||
margin-top: 30px; | ||
width: 66%; | ||
|
||
&__latest-change { | ||
|
||
dt { | ||
@include core-19; | ||
} | ||
|
||
dd { | ||
@include bold-24; | ||
margin-bottom: 10px; | ||
} | ||
} | ||
|
||
&__summary { | ||
@include core-16; | ||
color: $grey-1; | ||
} | ||
|
||
&__past { | ||
|
||
time { | ||
@include bold-19; | ||
} | ||
|
||
li { | ||
list-style: none; | ||
margin-bottom: 10px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.app-c-community-contact { | ||
.community-contact { | ||
@include gutter-vertical-margins; | ||
@include media(tablet) { | ||
text-align: right; | ||
padding-top: govuk-spacing(8); | ||
padding-top: $gutter-half; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,57 @@ | ||
.app-c-hero { | ||
background-color: $govuk-brand-colour; | ||
color: govuk-colour("white"); | ||
margin-bottom: govuk-spacing(3); | ||
position: relative; | ||
top: -1px; | ||
.hero { | ||
background-color: $govuk-blue; | ||
color: $white; | ||
|
||
margin-bottom: $gutter-half; | ||
|
||
@include media(tablet) { | ||
margin-bottom: govuk-spacing(6); | ||
margin-bottom: $gutter; | ||
} | ||
|
||
a:link, | ||
a:visited { | ||
@include govuk-typography-weight-bold; | ||
font-weight: bold; | ||
color: $white; | ||
} | ||
} | ||
|
||
.app-c-hero-lead { | ||
line-height: 1.35; | ||
} | ||
a:hover, | ||
a:active { | ||
color: $light-blue-25; | ||
} | ||
|
||
&__content { | ||
$border-top-width: 10px; | ||
|
||
@extend %site-width-container; | ||
|
||
padding: ($gutter-half + $border-top-width) 0 $gutter-half; | ||
|
||
@include media(tablet) { | ||
padding: ($gutter + $border-top-width) 0 $gutter; | ||
} | ||
} | ||
|
||
.app-c-hero__heading--inverse, | ||
.app-c-hero__body--inverse { | ||
color: govuk-colour("white"); | ||
&__title { | ||
@include core-48; | ||
margin-bottom: $gutter; | ||
font-weight: bold; | ||
} | ||
|
||
&__description { | ||
@include core-24; | ||
} | ||
|
||
&__feedback-link { | ||
@include core-16; | ||
line-height: 1.25; | ||
margin-top: $gutter; | ||
|
||
@include media(tablet) { | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
&__search { | ||
margin-bottom: $gutter-half; | ||
} | ||
} |
Oops, something went wrong.