-
Notifications
You must be signed in to change notification settings - Fork 35
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 #2321 from alphagov/publish-the-signon-privacy-notice
Publish /privacy-notice page
- Loading branch information
Showing
8 changed files
with
376 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.app-c-contact-details { | ||
@include govuk-font($size: 19); | ||
@include govuk-text-colour; | ||
padding-left: govuk-spacing(3); | ||
// Margin top intended to collapse | ||
// This adds an additional 10px to the paragraph above | ||
@include govuk-responsive-margin(6, "top"); | ||
@include govuk-responsive-margin(6, "bottom"); | ||
|
||
clear: both; | ||
|
||
border-left: 1px solid $govuk-border-colour; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="app-c-contact-details"> | ||
<% if defined? text %> | ||
<%= text %> | ||
<% elsif block_given? %> | ||
<%= yield %> | ||
<% end %> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Contact Details | ||
description: Use the contact details component to differentiate a line or block of contact details from the surrounding content. | ||
body: | | ||
Optional markdown providing further detail about the component | ||
accessibility_criteria: | | ||
All text must have a contrast ratio higher than 4.5:1 against the background colour to meet [WCAG AA](https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast) | ||
examples: | ||
default: | ||
data: | ||
text: "contact@info.gov.uk" | ||
|
||
with_block: | ||
description: | | ||
Note that the component applies no formatting to the contents passed to it. There are guidelines covering the use of various types of contact details in [the Style guide](https://www.gov.uk/guidance/style-guide/a-to-z-of-gov-uk-style). | ||
data: | ||
block: | | ||
Address Line 1 | ||
<br> | ||
Address Line 2 |
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
Oops, something went wrong.