From 8b3807da3c87e5458bde2121bea8ba3a6cc565fd Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Fri, 25 Aug 2023 11:49:13 -0400 Subject: [PATCH] Removing the govuk-body class --- app/assets/error_pages/5xx.html | 4 +- .../components/checkboxes/template.njk | 2 +- app/templates/error/401.html | 2 +- app/templates/error/403.html | 2 +- app/templates/error/404.html | 6 +- app/templates/error/410.html | 6 +- app/templates/error/500.html | 6 +- app/templates/org_template.html | 2 +- .../partials/check/message-too-long.html | 2 +- .../check/not-allowed-to-send-to.html | 2 +- .../partials/check/sent-previously.html | 2 +- .../partials/check/too-many-messages.html | 4 +- .../partials/jobs/notifications.html | 2 +- .../partials/notifications/notifications.html | 2 +- .../guidance-formatting-letters.html | 6 +- .../templates/guidance-formatting.html | 6 +- .../templates/guidance-send-a-document.html | 2 +- app/templates/partials/tour.html | 6 +- app/templates/views/email-not-received.html | 2 +- app/templates/views/features.html | 48 ++++---- .../guidance/edit-and-format-messages.html | 30 ++--- app/templates/views/manage-users.html | 4 +- .../views/manage-users/permissions.html | 2 +- .../organizations/organization/index.html | 2 +- .../views/platform-admin/splash-page.html | 2 +- .../service-settings/data-retention.html | 2 +- .../email-reply-to/_verify-updates.html | 2 +- .../service-settings/email_reply_to.html | 2 +- .../views/service-settings/name-local.html | 2 +- .../views/service-settings/name.html | 10 +- .../views/service-settings/sms-senders.html | 2 +- .../views/user-profile/security-keys.html | 4 +- .../views/verification-not-received.html | 2 +- paas-failwhale/index.html | 4 +- .../static_503/stylesheets/main.css | 116 +++++++++--------- .../static_503/stylesheets/print.css | 2 +- .../service_settings/test_service_settings.py | 6 +- tests/app/main/views/test_platform_admin.py | 2 +- tests/app/main/views/test_tour.py | 6 +- tests/javascripts/updateContent.test.js | 2 +- 40 files changed, 159 insertions(+), 159 deletions(-) diff --git a/app/assets/error_pages/5xx.html b/app/assets/error_pages/5xx.html index e2cf9c959..eda259b5d 100644 --- a/app/assets/error_pages/5xx.html +++ b/app/assets/error_pages/5xx.html @@ -72,10 +72,10 @@

Sorry, there is a problem with the service

-

+

Try again later.

-

+

You can check our system status page to see if there are any known issues.
To report a problem, email {% for item in params.items %} diff --git a/app/templates/error/401.html b/app/templates/error/401.html index cf458405d..490852654 100644 --- a/app/templates/error/401.html +++ b/app/templates/error/401.html @@ -4,6 +4,6 @@

You’re not authorised to see this page

-

Sign in to Notify.gov and try again.

+

Sign in to Notify.gov and try again.

{% endblock %} diff --git a/app/templates/error/403.html b/app/templates/error/403.html index 2e7c136f6..be2c12acc 100644 --- a/app/templates/error/403.html +++ b/app/templates/error/403.html @@ -6,7 +6,7 @@

You’re not allowed to see this page

-

+

To check your permissions, speak to a member of your team who can manage settings, team and usage.

diff --git a/app/templates/error/404.html b/app/templates/error/404.html index 1b530a7e2..bb27fc403 100644 --- a/app/templates/error/404.html +++ b/app/templates/error/404.html @@ -6,13 +6,13 @@

Page not found

-

+

If you typed the web address, check it is correct.

-

+

If you pasted the web address, check you copied the entire address.

-

+

If the web address is correct or you selected a link or button, contact us.

diff --git a/app/templates/error/410.html b/app/templates/error/410.html index 1b530a7e2..bb27fc403 100644 --- a/app/templates/error/410.html +++ b/app/templates/error/410.html @@ -6,13 +6,13 @@

Page not found

-

+

If you typed the web address, check it is correct.

-

+

If you pasted the web address, check you copied the entire address.

-

+

If the web address is correct or you selected a link or button, contact us.

diff --git a/app/templates/error/500.html b/app/templates/error/500.html index 63fa1ea18..49645e00a 100644 --- a/app/templates/error/500.html +++ b/app/templates/error/500.html @@ -6,13 +6,13 @@

Sorry, there’s a problem with Notify.gov

-

+

Try again later.

- -

+

To report a problem, please email notify-support@gsa.gov.

diff --git a/app/templates/org_template.html b/app/templates/org_template.html index 2e15a03e6..dd3fbee20 100644 --- a/app/templates/org_template.html +++ b/app/templates/org_template.html @@ -23,7 +23,7 @@ {% block beforeContent %} {% block backLink %}{% endblock %} {% endblock %} -
+
{% block content %} {% include 'flash_messages.html' %} {% block maincolumn_content %}{% endblock %} diff --git a/app/templates/partials/check/message-too-long.html b/app/templates/partials/check/message-too-long.html index aca32f519..35facdffe 100644 --- a/app/templates/partials/check/message-too-long.html +++ b/app/templates/partials/check/message-too-long.html @@ -1,7 +1,7 @@

Message too long

-

+

Text messages cannot be longer than {{ SMS_CHAR_COUNT_LIMIT }} characters. Your message is {{ template.content_count }} characters.

diff --git a/app/templates/partials/check/not-allowed-to-send-to.html b/app/templates/partials/check/not-allowed-to-send-to.html index 87543ec77..ff566a76a 100644 --- a/app/templates/partials/check/not-allowed-to-send-to.html +++ b/app/templates/partials/check/not-allowed-to-send-to.html @@ -6,7 +6,7 @@ {{ 'es' if 'email address' == template_type_label else 's' }} {%- endif %} -

+

In trial mode you can only send to yourself and members of your team

diff --git a/app/templates/partials/check/sent-previously.html b/app/templates/partials/check/sent-previously.html index df861fb2c..0f657e047 100644 --- a/app/templates/partials/check/sent-previously.html +++ b/app/templates/partials/check/sent-previously.html @@ -1,6 +1,6 @@

These messages have already been sent today

-

+

If you need to resend them, rename the file and upload it again.

diff --git a/app/templates/partials/check/too-many-messages.html b/app/templates/partials/check/too-many-messages.html index 855733baf..ef2a87f06 100644 --- a/app/templates/partials/check/too-many-messages.html +++ b/app/templates/partials/check/too-many-messages.html @@ -5,7 +5,7 @@ Daily limit reached {% endif %} -

+

You can only send {{ current_service.message_limit|format_thousands }} messages per day {%- if current_service.trial_mode %} in trial mode @@ -13,7 +13,7 @@ .

{% if original_file_name %} -

+

{% if current_service.message_limit != remaining_messages %} You can still send {{ remaining_messages|format_thousands }} messages today, but {% endif %} diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 84f45a28e..e33e2c342 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -5,7 +5,7 @@

{% if job.scheduled %} -

+

Sending {{ job.template.name }} {{ job.scheduled_for|format_datetime_relative }} diff --git a/app/templates/partials/notifications/notifications.html b/app/templates/partials/notifications/notifications.html index 021a03b4c..0e605eacc 100644 --- a/app/templates/partials/notifications/notifications.html +++ b/app/templates/partials/notifications/notifications.html @@ -16,7 +16,7 @@ field_headings_visible=False ) %} {% call row_heading() %} -

{{ item.to }}

+

{{ item.to }}

{% endcall %} {{ notification_status_field(item) }} {% endcall %} diff --git a/app/templates/partials/templates/guidance-formatting-letters.html b/app/templates/partials/templates/guidance-formatting-letters.html index 6e502bc47..2c948395a 100644 --- a/app/templates/partials/templates/guidance-formatting-letters.html +++ b/app/templates/partials/templates/guidance-formatting-letters.html @@ -1,14 +1,14 @@ {% from "components/components/inset-text/macro.njk" import govukInsetText %}

Formatting

-

+

To put a heading in your template, use a hash:

{{ govukInsetText({ "text": "# This is a heading", "classes": ""}) }} -

+

To make bullet points, use asterisks:

{{ govukInsetText({ @@ -17,7 +17,7 @@ * point 3
", "classes": ""}) }} -

+

To insert a page break, use three asterisks:

{{ govukInsetText({ diff --git a/app/templates/partials/templates/guidance-formatting.html b/app/templates/partials/templates/guidance-formatting.html index 25a87bd3d..afaa38a88 100644 --- a/app/templates/partials/templates/guidance-formatting.html +++ b/app/templates/partials/templates/guidance-formatting.html @@ -28,8 +28,8 @@ To add a horizontal line, use three dashes:

{{ govukInsetText({ - "html": '

First paragraph

-

---

-

Second paragraph

', + "html": '

First paragraph

+

---

+

Second paragraph

', "classes": ""}) }} diff --git a/app/templates/partials/templates/guidance-send-a-document.html b/app/templates/partials/templates/guidance-send-a-document.html index c0f2ab1a4..12d9eae65 100644 --- a/app/templates/partials/templates/guidance-send-a-document.html +++ b/app/templates/partials/templates/guidance-send-a-document.html @@ -3,7 +3,7 @@

Send a document by email

-

+

Use double brackets to add a placeholder field to your template. This will contain a secure link to download the document.

{{ govukInsetText({ diff --git a/app/templates/partials/tour.html b/app/templates/partials/tour.html index acae011f9..1862c7c79 100644 --- a/app/templates/partials/tour.html +++ b/app/templates/partials/tour.html @@ -7,7 +7,7 @@

1.

-

+

Every message is sent from a template

@@ -17,7 +17,7 @@

2.

-

+

The template pulls in the data you provide

@@ -27,7 +27,7 @@

3.

-

+

Notify delivers the message

{% if help == '3' %} diff --git a/app/templates/views/email-not-received.html b/app/templates/views/email-not-received.html index b15e8bdd6..315dc806c 100644 --- a/app/templates/views/email-not-received.html +++ b/app/templates/views/email-not-received.html @@ -25,7 +25,7 @@
  • find a member of your team who has permission to manage settings, team and usage
  • ask them to change the email address for your account
  • -
  • select Resend email link
  • +
  • select Resend email link
diff --git a/app/templates/views/features.html b/app/templates/views/features.html index 1f80b17e3..244334f97 100644 --- a/app/templates/views/features.html +++ b/app/templates/views/features.html @@ -10,39 +10,39 @@ {% block content_column_content %}

Features

-

If you work for the government, you can use Notify.gov to keep your users updated.

-

Notify makes it easy to create, customize, and send text messages.

+

If you work for the government, you can use Notify.gov to keep your users updated.

+

Notify makes it easy to create, customize, and send text messages.

-

You do not need any technical knowledge to use Notify.

+

You do not need any technical knowledge to use Notify.

{% if not current_user.is_authenticated %} -

Create an account for free and try it yourself.

+

Create an account for free and try it yourself.

{% endif %}

Reusable message templates

-

To send a text with Notify, you need to create a reusable message template first.

-

Templates let you send the same thing to lots of people, as often as you need to, without writing a new message each time.

+

To send a text with Notify, you need to create a reusable message template first.

+

Templates let you send the same thing to lots of people, as often as you need to, without writing a new message each time.

Personalized content

-

Notify makes it easy to send personalized messages from a single template.

-

See how to personalize your content.

+

Notify makes it easy to send personalized messages from a single template.

+

See how to personalize your content.

Bulk sending

-

To send a batch of messages at once, upload a list of contact details to Notify. You can also schedule the date and time you want them to be sent.

+

To send a batch of messages at once, upload a list of contact details to Notify. You can also schedule the date and time you want them to be sent.

+

You can integrate the Notify API with your web application or back-office system to send messages automatically.

+

Read our API documentation for more information.

-->

Reporting

-

Notify’s real-time dashboard lets you see the number of messages sent. You can also check the current status of any message to see when it was delivered.

-

Read more about the delivery status of your messages.

+

Notify’s real-time dashboard lets you see the number of messages sent. You can also check the current status of any message to see when it was delivered.

+

Read more about the delivery status of your messages.

Permissions

-

Control which members of your team can see, create, edit, and send messages.

-

Notify lets you:

+

Control which members of your team can see, create, edit, and send messages.

+

Notify lets you:

  • set different permission levels for each team member
  • invite team members who do not have a government email address
  • @@ -50,27 +50,27 @@

Performance

-

Notify commits to sending 95% of text messages within 10 seconds.

+

Notify commits to sending 95% of text messages within 10 seconds.

- + - +

Security

-

Notify protects and manages data to meet the needs of government services.

+

Notify protects and manages data to meet the needs of government services.

Hide sensitive information

-

Notify lets you redact personal information from your messages after they have been sent. This means that only the recipient can see that information.

+

Notify lets you redact personal information from your messages after they have been sent. This means that only the recipient can see that information.

Two-factor authentication

-

Notify uses two-factor authentication (2FA) to keep your account secure. When you sign in, we’ll send a unique one-time code to your phone and ask you to enter it before we let you use your account.

-

Read more about security. +

Notify uses two-factor authentication (2FA) to keep your account secure. When you sign in, we’ll send a unique one-time code to your phone and ask you to enter it before we let you use your account.

+

Read more about security. +

Notify provides 24-hour online support. If you have an emergency outside office hours, we’ll reply within 30 minutes.

+

Find out more about support.

--> {% endblock %} diff --git a/app/templates/views/guidance/edit-and-format-messages.html b/app/templates/views/guidance/edit-and-format-messages.html index 6aeff21dc..5c03d2f8e 100644 --- a/app/templates/views/guidance/edit-and-format-messages.html +++ b/app/templates/views/guidance/edit-and-format-messages.html @@ -9,7 +9,7 @@

Edit and format messages

-

This page explains how to:

+

This page explains how to:

  • format your content
  • add links
  • @@ -19,14 +19,14 @@

    Format your content

    -

    You can see a list of formatting instructions on the edit template page:

    +

    You can see a list of formatting instructions on the edit template page:

    1. Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.
    2. Add a new template or choose an existing template and select Edit.
    - +

    Notify does not allow bold, italics, subheadings, underlined text or different fonts. This is because they can make it harder for users to read what you’ve written.

    --> -

    When composing a text message, write URLs in full and Notify will convert them into links for you.

    +

    When composing a text message, write URLs in full and Notify will convert them into links for you.

    -

    You cannot convert text into a link.

    +

    You cannot convert text into a link.

    -

    We do not recommend using a third-party link shortening service because:

    +

    We do not recommend using a third-party link shortening service because:

    • your users cannot see where the link will take them
    • @@ -52,11 +52,11 @@

      Personalize your content

      -

      To personalize the content of your messages, add a placeholder to the template.

      +

      To personalize the content of your messages, add a placeholder to the template.

      -

      Placeholders are filled in with details, like a name or reference number, each time you send a message.

      +

      Placeholders are filled in with details, like a name or reference number, each time you send a message.

      -

      To add a placeholder to the template:

      +

      To add a placeholder to the template:

      1. Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.
      2. @@ -65,18 +65,18 @@
      3. Select Save.
      -

      When you send a message you can either:

      +

      When you send a message you can either:

      • manually fill in the placeholders yourself
      • upload a list of personal details and let Notify do it for you
      -

      If you upload a list, the column names need to match the placeholders in your template.

      +

      If you upload a list, the column names need to match the placeholders in your template.

      Add optional content

      -

      To add optional content to your messages:

      +

      To add optional content to your messages:

      1. Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.
      2. @@ -85,13 +85,13 @@
      3. Select Save.
      -

      For each person you send this message to, specify ‘yes’ or ‘no’ to show or hide this content. You can either:

      +

      For each person you send this message to, specify ‘yes’ or ‘no’ to show or hide this content. You can either:

      • do this yourself
      • upload a list of personal details and let Notify do it for you
      -

      If you upload a list, the column names need to match the optional content in your template.

      +

      If you upload a list, the column names need to match the optional content in your template.

      {% endblock %} diff --git a/app/templates/views/manage-users.html b/app/templates/views/manage-users.html index 16f9d9813..54ba8bbe1 100644 --- a/app/templates/views/manage-users.html +++ b/app/templates/views/manage-users.html @@ -51,7 +51,7 @@
    {# only show if the service has folders #} {% if current_service.all_template_folders %} -

    +

    {% set folder_count = user.template_folders_for_service(current_service) | length %} {% if folder_count == 0 %} @@ -64,7 +64,7 @@

    {% endif %} {% if current_service.has_permission('email_auth') %} -

    +

    Signs in with {{ user.auth_type | format_auth_type(with_indefinite_article=True) }}

    diff --git a/app/templates/views/manage-users/permissions.html b/app/templates/views/manage-users/permissions.html index 1075adb71..968f3c157 100644 --- a/app/templates/views/manage-users/permissions.html +++ b/app/templates/views/manage-users/permissions.html @@ -5,7 +5,7 @@ {% if form.folder_permissions.all_template_folders %} {{ form.folder_permissions }} {% elif user and user.platform_admin %} -

    +

    Platform admin users can access all template folders.

    {% endif %} diff --git a/app/templates/views/organizations/organization/index.html b/app/templates/views/organizations/organization/index.html index 657dc1606..477b85f96 100644 --- a/app/templates/views/organizations/organization/index.html +++ b/app/templates/views/organizations/organization/index.html @@ -87,7 +87,7 @@ {% endfor %}
    {% if not services %} -

    +

    {{ current_org.name }} has no live services on Notify.gov

    diff --git a/app/templates/views/platform-admin/splash-page.html b/app/templates/views/platform-admin/splash-page.html index 0dcee97ca..0bf8d3718 100644 --- a/app/templates/views/platform-admin/splash-page.html +++ b/app/templates/views/platform-admin/splash-page.html @@ -10,7 +10,7 @@ Summary -

    +

    Load summary

    diff --git a/app/templates/views/service-settings/data-retention.html b/app/templates/views/service-settings/data-retention.html index 36502c9b2..5b1177167 100644 --- a/app/templates/views/service-settings/data-retention.html +++ b/app/templates/views/service-settings/data-retention.html @@ -31,7 +31,7 @@ {% if not current_service.data_retention %}
    -

    You have not added any data retention

    +

    You have not added any data retention

    {% else %} diff --git a/app/templates/views/service-settings/email-reply-to/_verify-updates.html b/app/templates/views/service-settings/email-reply-to/_verify-updates.html index 164296313..235df08c6 100644 --- a/app/templates/views/service-settings/email-reply-to/_verify-updates.html +++ b/app/templates/views/service-settings/email-reply-to/_verify-updates.html @@ -12,7 +12,7 @@ This can take a minute

    -

    +

    Refresh

    {% elif verification_status == "success" %} diff --git a/app/templates/views/service-settings/email_reply_to.html b/app/templates/views/service-settings/email_reply_to.html index b87d5fa96..b6fb5d312 100644 --- a/app/templates/views/service-settings/email_reply_to.html +++ b/app/templates/views/service-settings/email_reply_to.html @@ -20,7 +20,7 @@
    {% if not current_service.email_reply_to_addresses %}
    -

    You have not added any reply-to email addresses yet

    +

    You have not added any reply-to email addresses yet

    {% endif %} {% for item in current_service.email_reply_to_addresses %} diff --git a/app/templates/views/service-settings/name-local.html b/app/templates/views/service-settings/name-local.html index a83b89a90..7c97b18e0 100644 --- a/app/templates/views/service-settings/name-local.html +++ b/app/templates/views/service-settings/name-local.html @@ -16,7 +16,7 @@ {{ page_header('Change your service name') }} -

    Your service name should tell users what the message is about as well as who it’s from. For example:

    +

    Your service name should tell users what the message is about as well as who it’s from. For example:

    • School admissions - {{ current_service.organization.name or current_user.default_organization.name }}
    • Electoral services - {{ current_service.organization.name or current_user.default_organization.name }}
    • diff --git a/app/templates/views/service-settings/name.html b/app/templates/views/service-settings/name.html index 9fa90b7b6..2180ca016 100644 --- a/app/templates/views/service-settings/name.html +++ b/app/templates/views/service-settings/name.html @@ -18,20 +18,20 @@ {{ page_header('Change your service name') }} -

      Your service name should tell users what the message is about as well as who it’s from.

      +

      Your service name should tell users what the message is about as well as who it’s from.

      -

      You should only use an acronym or initialism if your users are already familiar with it.

      +

      You should only use an acronym or initialism if your users are already familiar with it.

      {% if current_service.prefix_sms %} -

      Users will see your service name at the start of every text message

      +

      Users will see your service name at the start of every text message

      {% else %} -

      Users will see your service name as your email sender name.

      +

      Users will see your service name as your email sender name.

      {% endif %}
      -

      The service name you enter here will appear at the beginning of each text message, unless you turn off this off in Settings > Start text message with service name. +

      The service name you enter here will appear at the beginning of each text message, unless you turn off this off in Settings > Start text message with service name. {% call form_wrapper() %} diff --git a/app/templates/views/service-settings/sms-senders.html b/app/templates/views/service-settings/sms-senders.html index 38a421104..31bd1fc99 100644 --- a/app/templates/views/service-settings/sms-senders.html +++ b/app/templates/views/service-settings/sms-senders.html @@ -20,7 +20,7 @@

      {% if not current_service.sms_senders %}
      -

      You have not added any text message senders yet

      +

      You have not added any text message senders yet

      {% endif %} {% for item in current_service.sms_senders_with_hints %} diff --git a/app/templates/views/user-profile/security-keys.html b/app/templates/views/user-profile/security-keys.html index 8dbb3c1c3..31882323b 100644 --- a/app/templates/views/user-profile/security-keys.html +++ b/app/templates/views/user-profile/security-keys.html @@ -75,8 +75,8 @@ {% for credential in credentials %} {% call row() %} {% call field() %} -
      {{ credential.name }}
      -
      Registered {{ credential.created_at|format_delta }}
      +
      {{ credential.name }}
      +
      Registered {{ credential.created_at|format_delta }}
      {% endcall %} {{ edit_field('Manage', url_for('.user_profile_manage_security_key', key_id=credential.id)) }} {% endcall %} diff --git a/app/templates/views/verification-not-received.html b/app/templates/views/verification-not-received.html index 9a6e1c62b..7553a154d 100644 --- a/app/templates/views/verification-not-received.html +++ b/app/templates/views/verification-not-received.html @@ -25,7 +25,7 @@
      • find a member of your team who has permission to manage settings, team and usage
      • ask them to change the mobile number for your account
      • -
      • select Resend security code
      • +
      • select Resend security code
    diff --git a/paas-failwhale/index.html b/paas-failwhale/index.html index 0989f0f0c..3e95da3a9 100644 --- a/paas-failwhale/index.html +++ b/paas-failwhale/index.html @@ -86,10 +86,10 @@

    Sorry, the service is unavailable

    -

    +

    We’re performing some essential updates. Notify will be back shortly.

    -

    +

    Please check the status page for updates.

    diff --git a/paas-failwhale/static_503/stylesheets/main.css b/paas-failwhale/static_503/stylesheets/main.css index 829668016..92ac258b8 100644 --- a/paas-failwhale/static_503/stylesheets/main.css +++ b/paas-failwhale/static_503/stylesheets/main.css @@ -2209,8 +2209,8 @@ a:focus { } } -.govuk-body-l, -.govuk-body-lead { +.usa-body-l, +.usa-body-lead { color: #0b0c0c; font-family: "nta", Arial, sans-serif; -webkit-font-smoothing: antialiased; @@ -2225,24 +2225,24 @@ a:focus { @media print { - .govuk-body-l, - .govuk-body-lead { + .usa-body-l, + .usa-body-lead { color: #000 } } @media print { - .govuk-body-l, - .govuk-body-lead { + .usa-body-l, + .usa-body-lead { font-family: sans-serif } } @media (min-width: 40.0625em) { - .govuk-body-l, - .govuk-body-lead { + .usa-body-l, + .usa-body-lead { font-size: 24px; font-size: 1.5rem; line-height: 1.25 @@ -2251,8 +2251,8 @@ a:focus { @media print { - .govuk-body-l, - .govuk-body-lead { + .usa-body-l, + .usa-body-lead { font-size: 18pt; line-height: 1.15 } @@ -2260,14 +2260,14 @@ a:focus { @media (min-width: 40.0625em) { - .govuk-body-l, - .govuk-body-lead { + .usa-body-l, + .usa-body-lead { margin-bottom: 30px } } -.govuk-body-m, -.govuk-body { +.usa-body-m, +.usa-body { color: #0b0c0c; font-family: "nta", Arial, sans-serif; -webkit-font-smoothing: antialiased; @@ -2282,24 +2282,24 @@ a:focus { @media print { - .govuk-body-m, - .govuk-body { + .usa-body-m, + .usa-body { color: #000 } } @media print { - .govuk-body-m, - .govuk-body { + .usa-body-m, + .usa-body { font-family: sans-serif } } @media (min-width: 40.0625em) { - .govuk-body-m, - .govuk-body { + .usa-body-m, + .usa-body { font-size: 19px; font-size: 1.1875rem; line-height: 1.31579 @@ -2308,8 +2308,8 @@ a:focus { @media print { - .govuk-body-m, - .govuk-body { + .usa-body-m, + .usa-body { font-size: 14pt; line-height: 1.15 } @@ -2317,13 +2317,13 @@ a:focus { @media (min-width: 40.0625em) { - .govuk-body-m, - .govuk-body { + .usa-body-m, + .usa-body { margin-bottom: 20px } } -.govuk-body-s { +.usa-body-s { color: #0b0c0c; font-family: "nta", Arial, sans-serif; -webkit-font-smoothing: antialiased; @@ -2337,19 +2337,19 @@ a:focus { } @media print { - .govuk-body-s { + .usa-body-s { color: #000 } } @media print { - .govuk-body-s { + .usa-body-s { font-family: sans-serif } } @media (min-width: 40.0625em) { - .govuk-body-s { + .usa-body-s { font-size: 16px; font-size: 1rem; line-height: 1.25 @@ -2357,19 +2357,19 @@ a:focus { } @media print { - .govuk-body-s { + .usa-body-s { font-size: 14pt; line-height: 1.2 } } @media (min-width: 40.0625em) { - .govuk-body-s { + .usa-body-s { margin-bottom: 20px } } -.govuk-body-xs { +.usa-body-xs { color: #0b0c0c; font-family: "nta", Arial, sans-serif; -webkit-font-smoothing: antialiased; @@ -2383,19 +2383,19 @@ a:focus { } @media print { - .govuk-body-xs { + .usa-body-xs { color: #000 } } @media print { - .govuk-body-xs { + .usa-body-xs { font-family: sans-serif } } @media (min-width: 40.0625em) { - .govuk-body-xs { + .usa-body-xs { font-size: 14px; font-size: .875rem; line-height: 1.42857 @@ -2403,68 +2403,68 @@ a:focus { } @media print { - .govuk-body-xs { + .usa-body-xs { font-size: 12pt; line-height: 1.2 } } @media (min-width: 40.0625em) { - .govuk-body-xs { + .usa-body-xs { margin-bottom: 20px } } -.govuk-body-l+.govuk-heading-l, -.govuk-body-lead+.govuk-heading-l { +.usa-body-l+.govuk-heading-l, +.usa-body-lead+.govuk-heading-l { padding-top: 5px } @media (min-width: 40.0625em) { - .govuk-body-l+.govuk-heading-l, - .govuk-body-lead+.govuk-heading-l { + .usa-body-l+.govuk-heading-l, + .usa-body-lead+.govuk-heading-l { padding-top: 10px } } -.govuk-body-m+.govuk-heading-l, -.govuk-body+.govuk-heading-l, -.govuk-body-s+.govuk-heading-l, +.usa-body-m+.govuk-heading-l, +.usa-body+.govuk-heading-l, +.usa-body-s+.govuk-heading-l, .govuk-list+.govuk-heading-l { padding-top: 15px } @media (min-width: 40.0625em) { - .govuk-body-m+.govuk-heading-l, - .govuk-body+.govuk-heading-l, - .govuk-body-s+.govuk-heading-l, + .usa-body-m+.govuk-heading-l, + .usa-body+.govuk-heading-l, + .usa-body-s+.govuk-heading-l, .govuk-list+.govuk-heading-l { padding-top: 20px } } -.govuk-body-m+.govuk-heading-m, -.govuk-body+.govuk-heading-m, -.govuk-body-s+.govuk-heading-m, +.usa-body-m+.govuk-heading-m, +.usa-body+.govuk-heading-m, +.usa-body-s+.govuk-heading-m, .govuk-list+.govuk-heading-m, -.govuk-body-m+.govuk-heading-s, -.govuk-body+.govuk-heading-s, -.govuk-body-s+.govuk-heading-s, +.usa-body-m+.govuk-heading-s, +.usa-body+.govuk-heading-s, +.usa-body-s+.govuk-heading-s, .govuk-list+.govuk-heading-s { padding-top: 5px } @media (min-width: 40.0625em) { - .govuk-body-m+.govuk-heading-m, - .govuk-body+.govuk-heading-m, - .govuk-body-s+.govuk-heading-m, + .usa-body-m+.govuk-heading-m, + .usa-body+.govuk-heading-m, + .usa-body-s+.govuk-heading-m, .govuk-list+.govuk-heading-m, - .govuk-body-m+.govuk-heading-s, - .govuk-body+.govuk-heading-s, - .govuk-body-s+.govuk-heading-s, + .usa-body-m+.govuk-heading-s, + .usa-body+.govuk-heading-s, + .usa-body-s+.govuk-heading-s, .govuk-list+.govuk-heading-s { padding-top: 10px } diff --git a/paas-failwhale/static_503/stylesheets/print.css b/paas-failwhale/static_503/stylesheets/print.css index d4d9d49f7..92e12605c 100644 --- a/paas-failwhale/static_503/stylesheets/print.css +++ b/paas-failwhale/static_503/stylesheets/print.css @@ -1 +1 @@ -.govuk-link{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */@font-face{font-family:"nta";src:url("/static_503/fonts/light-2c037cf7e1-v1.eot");src:url("/static_503/fonts/light-2c037cf7e1-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/light-f38ad40456-v1.woff2") format("woff2"),url("/static_503/fonts/light-458f8ea81c-v1.woff") format("woff");font-weight:normal;font-style:normal;font-display:fallback}@font-face{font-family:"nta";src:url("/static_503/fonts/bold-fb2676462a-v1.eot");src:url("/static_503/fonts/bold-fb2676462a-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/bold-a2452cb66f-v1.woff2") format("woff2"),url("/static_503/fonts/bold-f38c792ac2-v1.woff") format("woff");font-weight:bold;font-style:normal;font-display:fallback}@font-face{font-family:"ntatabularnumbers";src:url("/static_503/fonts/light-tabular-498ea8ffe2-v1.eot");src:url("/static_503/fonts/light-tabular-498ea8ffe2-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/light-tabular-851b10ccdd-v1.woff2") format("woff2"),url("/static_503/fonts/light-tabular-62cc6f0a28-v1.woff") format("woff");font-weight:normal;font-style:normal;font-display:fallback}@font-face{font-family:"ntatabularnumbers";src:url("/static_503/fonts/bold-tabular-357fdfbcc3-v1.eot");src:url("/static_503/fonts/bold-tabular-357fdfbcc3-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/bold-tabular-b89238d840-v1.woff2") format("woff2"),url("/static_503/fonts/bold-tabular-784c21afb8-v1.woff") format("woff");font-weight:bold;font-style:normal;font-display:fallback}@media print{.govuk-link{font-family:sans-serif}}.govuk-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-link:link{color:#005ea5}.govuk-link:visited{color:#4c2c92}.govuk-link:hover{color:#2b8cc4}.govuk-link:active{color:#2b8cc4}.govuk-link:focus{color:#0b0c0c}@media print{.govuk-link[href^="/"]::after,.govuk-link[href^="http://"]::after,.govuk-link[href^="https://"]::after{content:" (" attr(href) ")";font-size:90%;word-wrap:break-word}}.govuk-link--muted:link,.govuk-link--muted:visited,.govuk-link--muted:hover,.govuk-link--muted:active{color:#6f777b}.govuk-link--muted:focus{color:#0b0c0c}.govuk-link--text-colour:link,.govuk-link--text-colour:visited,.govuk-link--text-colour:hover,.govuk-link--text-colour:active,.govuk-link--text-colour:focus{color:#0b0c0c}@media print{.govuk-link--text-colour:link,.govuk-link--text-colour:visited,.govuk-link--text-colour:hover,.govuk-link--text-colour:active,.govuk-link--text-colour:focus{color:#000}}.govuk-link--no-visited-state:link{color:#005ea5}.govuk-link--no-visited-state:visited{color:#005ea5}.govuk-link--no-visited-state:hover{color:#2b8cc4}.govuk-link--no-visited-state:active{color:#2b8cc4}.govuk-link--no-visited-state:focus{color:#0b0c0c}.govuk-list{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-top:0;margin-bottom:15px;padding-left:0;list-style-type:none}@media print{.govuk-list{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-list{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-list{font-size:14pt;line-height:1.15}}@media print{.govuk-list{color:#000}}@media (min-width: 40.0625em){.govuk-list{margin-bottom:20px}}.govuk-list .govuk-list{margin-top:10px}.govuk-list>li{margin-bottom:5px}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-list--bullet>li,.govuk-list--number>li{margin-bottom:0}@media (min-width: 40.0625em){.govuk-list--bullet>li,.govuk-list--number>li{margin-bottom:5px}}.govuk-template{background-color:#dee0e2;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}@media screen{.govuk-template{overflow-y:scroll}}.govuk-template__body{margin:0;background-color:#fff}.govuk-heading-xl{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;display:block;margin-top:0;margin-bottom:30px}@media print{.govuk-heading-xl{color:#000}}@media print{.govuk-heading-xl{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-heading-xl{font-size:32pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-heading-xl{margin-bottom:50px}}.govuk-heading-l{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;display:block;margin-top:0;margin-bottom:20px}@media print{.govuk-heading-l{color:#000}}@media print{.govuk-heading-l{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-heading-l{font-size:24pt;line-height:1.05}}@media (min-width: 40.0625em){.govuk-heading-l{margin-bottom:30px}}.govuk-heading-m{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-m{color:#000}}@media print{.govuk-heading-m{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-heading-m{font-size:18pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-heading-m{margin-bottom:20px}}.govuk-heading-s{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-s{color:#000}}@media print{.govuk-heading-s{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-heading-s{font-size:14pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-heading-s{margin-bottom:20px}}.govuk-caption-xl{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-xl{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-caption-xl{font-size:27px;font-size:1.6875rem;line-height:1.11111}}@media print{.govuk-caption-xl{font-size:18pt;line-height:1.15}}.govuk-caption-l{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-l{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-caption-l{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-caption-l{font-size:18pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-caption-l{margin-bottom:0}}.govuk-caption-m{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;color:#6f777b}@media print{.govuk-caption-m{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-caption-m{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-caption-m{font-size:14pt;line-height:1.15}}.govuk-body-l,.govuk-body-lead{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-top:0;margin-bottom:20px}@media print{.govuk-body-l,.govuk-body-lead{color:#000}}@media print{.govuk-body-l,.govuk-body-lead{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-body-l,.govuk-body-lead{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-body-l,.govuk-body-lead{font-size:18pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-body-l,.govuk-body-lead{margin-bottom:30px}}.govuk-body-m,.govuk-body{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.govuk-body-m,.govuk-body{color:#000}}@media print{.govuk-body-m,.govuk-body{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-body-m,.govuk-body{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-body-m,.govuk-body{font-size:14pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-body-m,.govuk-body{margin-bottom:20px}}.govuk-body-s{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;margin-top:0;margin-bottom:15px}@media print{.govuk-body-s{color:#000}}@media print{.govuk-body-s{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-body-s{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.govuk-body-s{font-size:14pt;line-height:1.2}}@media (min-width: 40.0625em){.govuk-body-s{margin-bottom:20px}}.govuk-body-xs{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.govuk-body-xs{color:#000}}@media print{.govuk-body-xs{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-body-xs{font-size:14px;font-size:.875rem;line-height:1.42857}}@media print{.govuk-body-xs{font-size:12pt;line-height:1.2}}@media (min-width: 40.0625em){.govuk-body-xs{margin-bottom:20px}}.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:5px}@media (min-width: 40.0625em){.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:10px}}.govuk-body-m+.govuk-heading-l,.govuk-body+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px}@media (min-width: 40.0625em){.govuk-body-m+.govuk-heading-l,.govuk-body+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:20px}}.govuk-body-m+.govuk-heading-m,.govuk-body+.govuk-heading-m,.govuk-body-s+.govuk-heading-m,.govuk-list+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body+.govuk-heading-s,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-s{padding-top:5px}@media (min-width: 40.0625em){.govuk-body-m+.govuk-heading-m,.govuk-body+.govuk-heading-m,.govuk-body-s+.govuk-heading-m,.govuk-list+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body+.govuk-heading-s,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-s{padding-top:10px}}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px;margin-bottom:30px}@media (min-width: 40.0625em){.govuk-section-break--xl{margin-top:50px}}@media (min-width: 40.0625em){.govuk-section-break--xl{margin-bottom:50px}}.govuk-section-break--l{margin-top:20px;margin-bottom:20px}@media (min-width: 40.0625em){.govuk-section-break--l{margin-top:30px}}@media (min-width: 40.0625em){.govuk-section-break--l{margin-bottom:30px}}.govuk-section-break--m{margin-top:15px;margin-bottom:15px}@media (min-width: 40.0625em){.govuk-section-break--m{margin-top:20px}}@media (min-width: 40.0625em){.govuk-section-break--m{margin-bottom:20px}}.govuk-section-break--visible{border-bottom:1px solid #bfc1c3}.govuk-form-group{margin-bottom:20px}.govuk-form-group:after{content:"";display:block;clear:both}@media (min-width: 40.0625em){.govuk-form-group{margin-bottom:30px}}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #b10e1e}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-row:after{content:"";display:block;clear:both}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-one-quarter{width:25%;float:left}}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-one-third{width:33.3333%;float:left}}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-one-half{width:50%;float:left}}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-two-thirds{width:66.6666%;float:left}}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-three-quarters{width:75%;float:left}}.govuk-grid-column-full{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-full{width:100%;float:left}}.govuk-grid-column-one-quarter-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-one-quarter-from-desktop{width:25%;float:left}}.govuk-grid-column-one-third-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-one-third-from-desktop{width:33.3333%;float:left}}.govuk-grid-column-one-half-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-one-half-from-desktop{width:50%;float:left}}.govuk-grid-column-two-thirds-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-two-thirds-from-desktop{width:66.6666%;float:left}}.govuk-grid-column-three-quarters-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-three-quarters-from-desktop{width:75%;float:left}}.govuk-grid-column-full-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-full-from-desktop{width:100%;float:left}}.govuk-main-wrapper{display:block;padding-top:20px;padding-bottom:20px}@media (min-width: 40.0625em){.govuk-main-wrapper{padding-top:40px;padding-bottom:40px}}.govuk-main-wrapper--l{padding-top:30px}@media (min-width: 40.0625em){.govuk-main-wrapper--l{padding-top:50px}}.govuk-width-container{max-width:960px;margin:0 15px}@supports (margin: max(calc(0px))){.govuk-width-container{margin-right:max(15px, calc(15px + env(safe-area-inset-right)));margin-left:max(15px, calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container{margin:0 30px}@supports (margin: max(calc(0px))){.govuk-width-container{margin-right:max(30px, calc(15px + env(safe-area-inset-right)));margin-left:max(30px, calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container{margin:0 auto}@supports (margin: max(calc(0px))){.govuk-width-container{margin:0 auto}}}*{background:transparent;color:black;text-shadow:none;filter:none;-ms-filter:none}body{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;margin:0;padding:0;width:100%}@media print{body{font-family:sans-serif}}@media (min-width: 40.0625em){body{font-size:14px;font-size:.875rem;line-height:1.42857}}@media print{body{font-size:12pt;line-height:1.2}}a,a:visited{word-wrap:break-word}a[href^="/"]:after,a[href^="http://"]:after,a[href^="https://"]:after{content:" (" attr(href) ")";font-size:90%}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}img{max-width:100% !important}select{background:white}.govuk-header .govuk-header__logo{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;text-rendering:optimizeLegibility}@media print{.govuk-header .govuk-header__logo{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-header .govuk-header__logo{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-header .govuk-header__logo{font-size:14pt;line-height:1.15}}.govuk-header .govuk-header__logo a,.govuk-header .govuk-header__logo a:visited{text-decoration:none}.govuk-header .govuk-header__logo a:after{content:""}.govuk-header .govuk-header__logo svg{width:45px;height:40px;position:relative;top:-3px;vertical-align:bottom}.usa-sr-only,.usa-sr-only-focusable,.notify-cookie-message,.govuk-skip-link,.usa-footer{display:none !important} +.govuk-link{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */@font-face{font-family:"nta";src:url("/static_503/fonts/light-2c037cf7e1-v1.eot");src:url("/static_503/fonts/light-2c037cf7e1-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/light-f38ad40456-v1.woff2") format("woff2"),url("/static_503/fonts/light-458f8ea81c-v1.woff") format("woff");font-weight:normal;font-style:normal;font-display:fallback}@font-face{font-family:"nta";src:url("/static_503/fonts/bold-fb2676462a-v1.eot");src:url("/static_503/fonts/bold-fb2676462a-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/bold-a2452cb66f-v1.woff2") format("woff2"),url("/static_503/fonts/bold-f38c792ac2-v1.woff") format("woff");font-weight:bold;font-style:normal;font-display:fallback}@font-face{font-family:"ntatabularnumbers";src:url("/static_503/fonts/light-tabular-498ea8ffe2-v1.eot");src:url("/static_503/fonts/light-tabular-498ea8ffe2-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/light-tabular-851b10ccdd-v1.woff2") format("woff2"),url("/static_503/fonts/light-tabular-62cc6f0a28-v1.woff") format("woff");font-weight:normal;font-style:normal;font-display:fallback}@font-face{font-family:"ntatabularnumbers";src:url("/static_503/fonts/bold-tabular-357fdfbcc3-v1.eot");src:url("/static_503/fonts/bold-tabular-357fdfbcc3-v1.eot?#iefix") format("embedded-opentype"),url("/static_503/fonts/bold-tabular-b89238d840-v1.woff2") format("woff2"),url("/static_503/fonts/bold-tabular-784c21afb8-v1.woff") format("woff");font-weight:bold;font-style:normal;font-display:fallback}@media print{.govuk-link{font-family:sans-serif}}.govuk-link:focus{outline:3px solid #ffbf47;outline-offset:0;background-color:#ffbf47}.govuk-link:link{color:#005ea5}.govuk-link:visited{color:#4c2c92}.govuk-link:hover{color:#2b8cc4}.govuk-link:active{color:#2b8cc4}.govuk-link:focus{color:#0b0c0c}@media print{.govuk-link[href^="/"]::after,.govuk-link[href^="http://"]::after,.govuk-link[href^="https://"]::after{content:" (" attr(href) ")";font-size:90%;word-wrap:break-word}}.govuk-link--muted:link,.govuk-link--muted:visited,.govuk-link--muted:hover,.govuk-link--muted:active{color:#6f777b}.govuk-link--muted:focus{color:#0b0c0c}.govuk-link--text-colour:link,.govuk-link--text-colour:visited,.govuk-link--text-colour:hover,.govuk-link--text-colour:active,.govuk-link--text-colour:focus{color:#0b0c0c}@media print{.govuk-link--text-colour:link,.govuk-link--text-colour:visited,.govuk-link--text-colour:hover,.govuk-link--text-colour:active,.govuk-link--text-colour:focus{color:#000}}.govuk-link--no-visited-state:link{color:#005ea5}.govuk-link--no-visited-state:visited{color:#005ea5}.govuk-link--no-visited-state:hover{color:#2b8cc4}.govuk-link--no-visited-state:active{color:#2b8cc4}.govuk-link--no-visited-state:focus{color:#0b0c0c}.govuk-list{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;color:#0b0c0c;margin-top:0;margin-bottom:15px;padding-left:0;list-style-type:none}@media print{.govuk-list{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-list{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-list{font-size:14pt;line-height:1.15}}@media print{.govuk-list{color:#000}}@media (min-width: 40.0625em){.govuk-list{margin-bottom:20px}}.govuk-list .govuk-list{margin-top:10px}.govuk-list>li{margin-bottom:5px}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-list--bullet>li,.govuk-list--number>li{margin-bottom:0}@media (min-width: 40.0625em){.govuk-list--bullet>li,.govuk-list--number>li{margin-bottom:5px}}.govuk-template{background-color:#dee0e2;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}@media screen{.govuk-template{overflow-y:scroll}}.govuk-template__body{margin:0;background-color:#fff}.govuk-heading-xl{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:32px;font-size:2rem;line-height:1.09375;display:block;margin-top:0;margin-bottom:30px}@media print{.govuk-heading-xl{color:#000}}@media print{.govuk-heading-xl{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-xl{font-size:48px;font-size:3rem;line-height:1.04167}}@media print{.govuk-heading-xl{font-size:32pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-heading-xl{margin-bottom:50px}}.govuk-heading-l{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:24px;font-size:1.5rem;line-height:1.04167;display:block;margin-top:0;margin-bottom:20px}@media print{.govuk-heading-l{color:#000}}@media print{.govuk-heading-l{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-l{font-size:36px;font-size:2.25rem;line-height:1.11111}}@media print{.govuk-heading-l{font-size:24pt;line-height:1.05}}@media (min-width: 40.0625em){.govuk-heading-l{margin-bottom:30px}}.govuk-heading-m{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-m{color:#000}}@media print{.govuk-heading-m{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-m{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-heading-m{font-size:18pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-heading-m{margin-bottom:20px}}.govuk-heading-s{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;font-size:16px;font-size:1rem;line-height:1.25;display:block;margin-top:0;margin-bottom:15px}@media print{.govuk-heading-s{color:#000}}@media print{.govuk-heading-s{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-heading-s{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-heading-s{font-size:14pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-heading-s{margin-bottom:20px}}.govuk-caption-xl{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-xl{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-caption-xl{font-size:27px;font-size:1.6875rem;line-height:1.11111}}@media print{.govuk-caption-xl{font-size:18pt;line-height:1.15}}.govuk-caption-l{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;display:block;margin-bottom:5px;color:#6f777b}@media print{.govuk-caption-l{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-caption-l{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.govuk-caption-l{font-size:18pt;line-height:1.15}}@media (min-width: 40.0625em){.govuk-caption-l{margin-bottom:0}}.govuk-caption-m{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;display:block;color:#6f777b}@media print{.govuk-caption-m{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-caption-m{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-caption-m{font-size:14pt;line-height:1.15}}.usa-body-l,.usa-body-lead{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:18px;font-size:1.125rem;line-height:1.11111;margin-top:0;margin-bottom:20px}@media print{.usa-body-l,.usa-body-lead{color:#000}}@media print{.usa-body-l,.usa-body-lead{font-family:sans-serif}}@media (min-width: 40.0625em){.usa-body-l,.usa-body-lead{font-size:24px;font-size:1.5rem;line-height:1.25}}@media print{.usa-body-l,.usa-body-lead{font-size:18pt;line-height:1.15}}@media (min-width: 40.0625em){.usa-body-l,.usa-body-lead{margin-bottom:30px}}.usa-body-m,.usa-body{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.usa-body-m,.usa-body{color:#000}}@media print{.usa-body-m,.usa-body{font-family:sans-serif}}@media (min-width: 40.0625em){.usa-body-m,.usa-body{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.usa-body-m,.usa-body{font-size:14pt;line-height:1.15}}@media (min-width: 40.0625em){.usa-body-m,.usa-body{margin-bottom:20px}}.usa-body-s{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.14286;margin-top:0;margin-bottom:15px}@media print{.usa-body-s{color:#000}}@media print{.usa-body-s{font-family:sans-serif}}@media (min-width: 40.0625em){.usa-body-s{font-size:16px;font-size:1rem;line-height:1.25}}@media print{.usa-body-s{font-size:14pt;line-height:1.2}}@media (min-width: 40.0625em){.usa-body-s{margin-bottom:20px}}.usa-body-xs{color:#0b0c0c;font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;margin-top:0;margin-bottom:15px}@media print{.usa-body-xs{color:#000}}@media print{.usa-body-xs{font-family:sans-serif}}@media (min-width: 40.0625em){.usa-body-xs{font-size:14px;font-size:.875rem;line-height:1.42857}}@media print{.usa-body-xs{font-size:12pt;line-height:1.2}}@media (min-width: 40.0625em){.usa-body-xs{margin-bottom:20px}}.usa-body-l+.govuk-heading-l,.usa-body-lead+.govuk-heading-l{padding-top:5px}@media (min-width: 40.0625em){.usa-body-l+.govuk-heading-l,.usa-body-lead+.govuk-heading-l{padding-top:10px}}.usa-body-m+.govuk-heading-l,.usa-body+.govuk-heading-l,.usa-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px}@media (min-width: 40.0625em){.usa-body-m+.govuk-heading-l,.usa-body+.govuk-heading-l,.usa-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:20px}}.usa-body-m+.govuk-heading-m,.usa-body+.govuk-heading-m,.usa-body-s+.govuk-heading-m,.govuk-list+.govuk-heading-m,.usa-body-m+.govuk-heading-s,.usa-body+.govuk-heading-s,.usa-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-s{padding-top:5px}@media (min-width: 40.0625em){.usa-body-m+.govuk-heading-m,.usa-body+.govuk-heading-m,.usa-body-s+.govuk-heading-m,.govuk-list+.govuk-heading-m,.usa-body-m+.govuk-heading-s,.usa-body+.govuk-heading-s,.usa-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-s{padding-top:10px}}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px;margin-bottom:30px}@media (min-width: 40.0625em){.govuk-section-break--xl{margin-top:50px}}@media (min-width: 40.0625em){.govuk-section-break--xl{margin-bottom:50px}}.govuk-section-break--l{margin-top:20px;margin-bottom:20px}@media (min-width: 40.0625em){.govuk-section-break--l{margin-top:30px}}@media (min-width: 40.0625em){.govuk-section-break--l{margin-bottom:30px}}.govuk-section-break--m{margin-top:15px;margin-bottom:15px}@media (min-width: 40.0625em){.govuk-section-break--m{margin-top:20px}}@media (min-width: 40.0625em){.govuk-section-break--m{margin-bottom:20px}}.govuk-section-break--visible{border-bottom:1px solid #bfc1c3}.govuk-form-group{margin-bottom:20px}.govuk-form-group:after{content:"";display:block;clear:both}@media (min-width: 40.0625em){.govuk-form-group{margin-bottom:30px}}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #b10e1e}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-row:after{content:"";display:block;clear:both}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-one-quarter{width:25%;float:left}}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-one-third{width:33.3333%;float:left}}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-one-half{width:50%;float:left}}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-two-thirds{width:66.6666%;float:left}}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-three-quarters{width:75%;float:left}}.govuk-grid-column-full{box-sizing:border-box;width:100%;padding:0 15px}@media (min-width: 40.0625em){.govuk-grid-column-full{width:100%;float:left}}.govuk-grid-column-one-quarter-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-one-quarter-from-desktop{width:25%;float:left}}.govuk-grid-column-one-third-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-one-third-from-desktop{width:33.3333%;float:left}}.govuk-grid-column-one-half-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-one-half-from-desktop{width:50%;float:left}}.govuk-grid-column-two-thirds-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-two-thirds-from-desktop{width:66.6666%;float:left}}.govuk-grid-column-three-quarters-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-three-quarters-from-desktop{width:75%;float:left}}.govuk-grid-column-full-from-desktop{box-sizing:border-box;padding:0 15px}@media (min-width: 48.0625em){.govuk-grid-column-full-from-desktop{width:100%;float:left}}.govuk-main-wrapper{display:block;padding-top:20px;padding-bottom:20px}@media (min-width: 40.0625em){.govuk-main-wrapper{padding-top:40px;padding-bottom:40px}}.govuk-main-wrapper--l{padding-top:30px}@media (min-width: 40.0625em){.govuk-main-wrapper--l{padding-top:50px}}.govuk-width-container{max-width:960px;margin:0 15px}@supports (margin: max(calc(0px))){.govuk-width-container{margin-right:max(15px, calc(15px + env(safe-area-inset-right)));margin-left:max(15px, calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container{margin:0 30px}@supports (margin: max(calc(0px))){.govuk-width-container{margin-right:max(30px, calc(15px + env(safe-area-inset-right)));margin-left:max(30px, calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container{margin:0 auto}@supports (margin: max(calc(0px))){.govuk-width-container{margin:0 auto}}}*{background:transparent;color:black;text-shadow:none;filter:none;-ms-filter:none}body{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:12px;font-size:.75rem;line-height:1.25;margin:0;padding:0;width:100%}@media print{body{font-family:sans-serif}}@media (min-width: 40.0625em){body{font-size:14px;font-size:.875rem;line-height:1.42857}}@media print{body{font-size:12pt;line-height:1.2}}a,a:visited{word-wrap:break-word}a[href^="/"]:after,a[href^="http://"]:after,a[href^="https://"]:after{content:" (" attr(href) ")";font-size:90%}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}img{max-width:100% !important}select{background:white}.govuk-header .govuk-header__logo{font-family:"nta",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25;text-rendering:optimizeLegibility}@media print{.govuk-header .govuk-header__logo{font-family:sans-serif}}@media (min-width: 40.0625em){.govuk-header .govuk-header__logo{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.govuk-header .govuk-header__logo{font-size:14pt;line-height:1.15}}.govuk-header .govuk-header__logo a,.govuk-header .govuk-header__logo a:visited{text-decoration:none}.govuk-header .govuk-header__logo a:after{content:""}.govuk-header .govuk-header__logo svg{width:45px;height:40px;position:relative;top:-3px;vertical-align:bottom}.usa-sr-only,.usa-sr-only-focusable,.notify-cookie-message,.govuk-skip-link,.usa-footer{display:none !important} diff --git a/tests/app/main/views/service_settings/test_service_settings.py b/tests/app/main/views/service_settings/test_service_settings.py index a9444bf89..93e2394b8 100644 --- a/tests/app/main/views/service_settings/test_service_settings.py +++ b/tests/app/main/views/service_settings/test_service_settings.py @@ -248,7 +248,7 @@ def test_should_show_service_name( assert page.find('h1').text == 'Change your service name' assert page.find('input', attrs={"type": "text"})['value'] == 'service one' assert page.select_one( - 'main .govuk-body' + 'main .usa-body' ).text == 'Your service name should tell users what the message is about as well as who it’s from.' assert "The service name you enter here will appear at the beginning of each text message, unless" in page.text @@ -269,7 +269,7 @@ def test_should_show_different_change_service_name_page_for_local_services( page = client_request.get('main.service_name_change', service_id=SERVICE_ONE_ID) assert page.find('h1').text == 'Change your service name' assert page.find('input', attrs={"type": "text"})['value'] == 'service one' - assert page.select_one('main .govuk-body').text.strip() == ( + assert page.select_one('main .usa-body').text.strip() == ( 'Your service name should tell users what the message is about as well as who it’s from. For example:' ) # when no organization on the service object, default org for the user is used for hint @@ -305,7 +305,7 @@ def test_should_show_service_name_with_no_prefixing( page = client_request.get('main.service_name_change', service_id=SERVICE_ONE_ID) assert page.find('h1').text == 'Change your service name' assert page.select_one( - 'main .govuk-body' + 'main .usa-body' ).text == 'Your service name should tell users what the message is about as well as who it’s from.' diff --git a/tests/app/main/views/test_platform_admin.py b/tests/app/main/views/test_platform_admin.py index 5f3dca407..55cbd7ee3 100644 --- a/tests/app/main/views/test_platform_admin.py +++ b/tests/app/main/views/test_platform_admin.py @@ -534,7 +534,7 @@ def test_platform_admin_splash_doesnt_talk_to_api( page = client_request.get('main.platform_admin_splash_page') - assert page.select_one('main .govuk-body a')['href'] == url_for( + assert page.select_one('main .usa-body a')['href'] == url_for( 'main.platform_admin', ) diff --git a/tests/app/main/views/test_tour.py b/tests/app/main/views/test_tour.py index 1a9fe11ef..62fa6219c 100644 --- a/tests/app/main/views/test_tour.py +++ b/tests/app/main/views/test_tour.py @@ -24,7 +24,7 @@ def test_should_200_for_tour_start( 'Try sending yourself this example' ) selected_hint = page.select('.banner-tour .grid-row')[0] - selected_hint_text = normalize_spaces(selected_hint.select(".govuk-body")[0].text) + selected_hint_text = normalize_spaces(selected_hint.select(".usa-body")[0].text) assert "greyed-out-step" not in selected_hint["class"] assert selected_hint_text == 'Every message is sent from a template' @@ -147,7 +147,7 @@ def test_should_200_for_get_tour_step( 'Try sending yourself this example' ) selected_hint = page.select('.banner-tour .grid-row')[1] - selected_hint_text = normalize_spaces(selected_hint.select(".govuk-body")[0].text) + selected_hint_text = normalize_spaces(selected_hint.select(".usa-body")[0].text) assert "greyed-out-step" not in selected_hint["class"] assert selected_hint_text == 'The template pulls in the data you provide' @@ -547,7 +547,7 @@ def test_should_200_for_check_tour_notification( 'Try sending yourself this example' ) selected_hint = page.select('.banner-tour .grid-row')[1] - selected_hint_text = normalize_spaces(selected_hint.select(".govuk-body")[0].text) + selected_hint_text = normalize_spaces(selected_hint.select(".usa-body")[0].text) assert "greyed-out-step" not in selected_hint["class"] assert selected_hint_text == 'The template pulls in the data you provide' diff --git a/tests/javascripts/updateContent.test.js b/tests/javascripts/updateContent.test.js index 9c7cff087..4732325c9 100644 --- a/tests/javascripts/updateContent.test.js +++ b/tests/javascripts/updateContent.test.js @@ -302,7 +302,7 @@ describe('Update content', () => {
    -

    +

    ${content.status}