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

Add deprecation message #608

Merged
merged 1 commit into from
Jun 11, 2018
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
From the end of June 2018, GDS will stop maintaining the code and guidance in GOV.UK Elements.
===============

You will be able to get all of the GOV.UK styles, components and patterns in the GOV.UK Design System.

GOV.UK Elements will still be available in case you are already using it, but GDS will only make serious bug fixes and security patches.


GOV.UK elements ·
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Greenkeeper badge](https://badges.greenkeeper.io/alphagov/govuk_elements.svg)](https://greenkeeper.io/)
Expand Down
5 changes: 5 additions & 0 deletions app/views/includes/deprecation_message.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="notification-summary">
<h2 class="heading-medium no-top-margin">From the end of June 2018, GDS will stop maintaining the code and guidance in GOV.UK Elements.</h2>
<p>You will be able to get all of the GOV.UK styles, components and patterns in the GOV.UK Design System.</p>
<p>GOV.UK Elements will still be available in case you are already using it, but GDS will only make serious bug fixes and security patches.</p>
</div>
1 change: 1 addition & 0 deletions app/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
{% block content %}
<div class="site-wrapper">
{% include "includes/breadcrumb.html" %}
{% include "includes/deprecation_message.html" %}
{% block main_content %}{% endblock %}
</div>
{% endblock %}
Expand Down
19 changes: 19 additions & 0 deletions assets/sass/elements-documentation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,25 @@ main > .heading-xlarge {
margin-top: 0;
}

// deprecation notice
.notification-summary {
border: 4px solid $govuk-blue;

margin-top: $gutter-half;
margin-bottom: $gutter-half;

padding: $gutter-half 10px;

@include media(tablet) {
border: 5px solid $govuk-blue;

margin-top: $gutter;
margin-bottom: $gutter;

padding: $gutter-two-thirds $gutter-half $gutter-half;
}
}

// Example boxes
// ==========================================================================

Expand Down