Skip to content

Commit

Permalink
Merge pull request #608 from alphagov/add-deprecation-message
Browse files Browse the repository at this point in the history
Add deprecation message
  • Loading branch information
Jani Kraner authored Jun 11, 2018
2 parents 62d68f1 + 8683f29 commit 04d1686
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
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

0 comments on commit 04d1686

Please sign in to comment.