diff --git a/app/assets/javascripts/copyToClipboard.js b/app/assets/javascripts/copyToClipboard.js index 74dcc207c..89446b7ed 100644 --- a/app/assets/javascripts/copyToClipboard.js +++ b/app/assets/javascripts/copyToClipboard.js @@ -7,19 +7,19 @@ const states = { 'valueVisible': (options) => ` - ${options.valueLabel ? '' + options.thing + ': ' : ''}${options.value} - + ${options.valueLabel ? '' + options.thing + ': ' : ''}${options.value} + ${options.onload ? '' : options.thing + ' returned to page, press button to copy to clipboard'} - `, 'valueCopied': (options) => ` - ${options.thing} Copied to clipboard, press button to show in page + ${options.thing} Copied to clipboard, press button to show in page - ` diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index d41001bb3..40a93a860 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -44,13 +44,13 @@ h1 { h1, h2:not(.get-started-list__heading, .usa-process-list__heading) { margin-top: units(4); - font-weight: bold !important; + font-weight: bold; } h2:not(.get-started-list__heading, .usa-process-list__heading), h3 { - margin-top: units(5) !important; - margin-bottom: units(2) !important; + margin-top: units(5); + margin-bottom: units(2); } } @@ -75,8 +75,10 @@ p, } .show-more-no-border:focus, -.show-more:focus { - box-shadow: none; +.show-more:focus, +.table-field-right-aligned a:active:before, +.table-field-right-aligned a:focus:before { + box-shadow: none !important; } .govuk-checkboxes__label::after { @@ -131,6 +133,7 @@ td.table-empty-message { text-decoration: none !important; } -.sub-content .banner-dangerous h1 { +.sub-content .banner-dangerous h1, +.sub-content h2.user-list-item-heading { margin-top: 0; } diff --git a/app/templates/components/table.html b/app/templates/components/table.html index 3e3e70a3b..91b5a71a6 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -117,16 +117,16 @@ {% macro link_field(text, link) -%} {% call field() %} - {{ text }} + {{ text }} {% endcall %} {%- endmacro %} {% macro edit_field(text, link, permissions=[], suffix=None) -%} {% call field(align='right') %} {% if not permissions or current_user.has_permissions(*permissions) %} - + {{ text }} - {%- if suffix %} {{ suffix }}{% endif -%} + {%- if suffix %} {{ suffix }}{% endif -%} {% endif %} {% endcall %} @@ -159,7 +159,7 @@ ) %} {% if displayed_on_single_line %}{% endif %} {% if notification.status|format_notification_status_as_url(notification.notification_type) %} - + {% endif %} {{ notification.status|format_notification_status(notification.template.template_type) }} {% if notification.status|format_notification_status_as_url(notification.notification_type) %} diff --git a/app/templates/views/dashboard/write-first-messages.html b/app/templates/views/dashboard/write-first-messages.html index 6a72b3e9a..a588d2b40 100644 --- a/app/templates/views/dashboard/write-first-messages.html +++ b/app/templates/views/dashboard/write-first-messages.html @@ -1,7 +1,4 @@

Get started

- -
+ + Create your first template + diff --git a/app/templates/views/service-settings/set-sms.html b/app/templates/views/service-settings/set-sms.html index c6bc8985f..13dd1166a 100644 --- a/app/templates/views/service-settings/set-sms.html +++ b/app/templates/views/service-settings/set-sms.html @@ -14,8 +14,8 @@ {% block maincolumn_content %} -
-
+
+
{{ page_header('Send text messages') }}

You have a free allowance of diff --git a/app/templates/views/service-settings/sms-senders.html b/app/templates/views/service-settings/sms-senders.html index aef2878b9..15895a772 100644 --- a/app/templates/views/service-settings/sms-senders.html +++ b/app/templates/views/service-settings/sms-senders.html @@ -25,22 +25,22 @@ {% endif %} {% for item in current_service.sms_senders_with_hints %}

-
-
+
+

- {{ item.sms_sender }} + {{ item.sms_sender }} {% if item.hint %}   - + {{ item.hint }} {% endif %}

-
+
{% if current_user.has_permissions('manage_service') %} - - Change {{ item.sms_sender }} + + Change {{ item.sms_sender }} {% endif %}