Update all links to use GOVUK Frontend style

Includes:
- turning off :visited styles to match existing
  design
- swapping heading classes used to make links bold
  for the GOVUK Frontend bold override class
- adding visually hidden text to some links to
  make them work when isolated from their context

We may need to revisit whether some links, such as
those for documentation and features, may benefit
from having some indication that their target has
been visited.
This commit is contained in:
Tom Byers
2019-12-06 07:53:46 +00:00
parent f0c4dd9c99
commit ee9f348ce4
122 changed files with 270 additions and 264 deletions

View File

@@ -4,6 +4,6 @@
<div class="grid-row">
<div class="column-two-thirds">
<h1>Youre not authorised to see this page</h1>
<p><a href="{{ url_for('.sign_in' )}}">Sign in</a> to GOV.UK Notify and try again.</p>
<p><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.sign_in' )}}">Sign in</a> to GOV.UK Notify and try again.</p>
</div>
{% endblock %}

View File

@@ -13,7 +13,7 @@
If you pasted the web address, check you copied the entire address.
</p>
<p>
If the web address is correct or you selected a link or button, <a href="{{ url_for('main.support') }}">contact us</a>.
If the web address is correct or you selected a link or button, <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.support') }}">contact us</a>.
</p>
</div>
</div>

View File

@@ -13,7 +13,7 @@
If you pasted the web address, check you copied the entire address.
</p>
<p>
If the web address is correct or you selected a link or button, <a href="{{ url_for('main.support') }}">contact us</a>.
If the web address is correct or you selected a link or button, <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.support') }}">contact us</a>.
</p>
</div>
</div>

View File

@@ -12,7 +12,7 @@
Files must be smaller than 5 MB.
</p>
<p>
<a href="javascript: history.go(-1)">Go back and try again.</a>
<a class="govuk-link govuk-link--no-visited-state" href="javascript: history.go(-1)">Go back and try again.</a>
</p>
</div>
</div>

View File

@@ -10,10 +10,10 @@
Try again later.
</p>
<p>
You can check our <a href="https://status.notifications.service.gov.uk">system status</a> page to see if there are any known issues.
You can check our <a class="govuk-link govuk-link--no-visited-state" href="https://status.notifications.service.gov.uk">system status</a> page to see if there are any known issues.
</p>
<p>
To report a problem, email <a href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>
To report a problem, email <a class="govuk-link govuk-link--no-visited-state" href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>
</p>
</div>
</div>