diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 7ad79ca9..35744a6e 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -4,7 +4,6 @@ $govuk-font-family: open-sans, sans-serif; @import "accessible-autocomplete/dist/accessible-autocomplete.min"; @import "components/buttons"; @import "components/flashes"; -@import "task-list"; .image-border { width: 276px; @@ -30,3 +29,13 @@ $govuk-font-family: open-sans, sans-serif; .govuk-tag { max-width: none; } + +.govuk-list--number ::marker { + font-weight: bold; +} + +.skip-to-content-link { + left: 50%; + position: absolute; + transform: translateY(-100%); +} diff --git a/app/assets/stylesheets/task-list.scss b/app/assets/stylesheets/task-list.scss deleted file mode 100644 index 8cfe82d9..00000000 --- a/app/assets/stylesheets/task-list.scss +++ /dev/null @@ -1,68 +0,0 @@ -/* ========================================================================== - #TASK LIST - ========================================================================== */ - -.moj-task-list { - list-style-type: none; - padding-left: 0; - margin-top: 0; - margin-bottom: 0; - @include govuk-media-query($from: tablet) { - min-width: 550px; - } -} - -.moj-task-list__section { - display: table; - @include govuk-font($size:24, $weight: bold); -} - -.moj-task-list__section-number { - display: table-cell; - - @include govuk-media-query($from: tablet) { - min-width: govuk-spacing(6); - padding-right: 0; - } -} - -.moj-task-list__items { - @include govuk-font($size: 19); - @include govuk-responsive-margin(9, "bottom"); - list-style: none; - padding-left: 0; - @include govuk-media-query($from: tablet) { - padding-left: govuk-spacing(6); - } -} - -.moj-task-list__item { - border-bottom: 1px solid $govuk-border-colour; - margin-bottom: 0 !important; - padding-top: govuk-spacing(2); - padding-bottom: govuk-spacing(2); - @include govuk-clearfix; -} - -.moj-task-list__item:first-child { - border-top: 1px solid $govuk-border-colour; -} - -.moj-task-list__task-name { - display: block; - @include govuk-media-query($from: 450px) { - float: left; - width: 75%; - } -} - -.moj-task-list__task-completed { - margin-top: govuk-spacing(2); - margin-bottom: govuk-spacing(1); - - @include govuk-media-query($from: 450px) { - float: right; - margin-top: 0; - margin-bottom: 0; - } -} diff --git a/app/views/additional_document_validation_requests/edit.html.erb b/app/views/additional_document_validation_requests/edit.html.erb index 014c2456..299a43d1 100644 --- a/app/views/additional_document_validation_requests/edit.html.erb +++ b/app/views/additional_document_validation_requests/edit.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Additional document validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/neighbour_responses/_response.html.erb b/app/views/neighbour_responses/_response.html.erb
index 91c04ede..f204a99c 100644
--- a/app/views/neighbour_responses/_response.html.erb
+++ b/app/views/neighbour_responses/_response.html.erb
@@ -1,3 +1,7 @@
+<% content_for :page_title do %>
+ Share your comments about the work
+<% end %>
+
<%= form.govuk_check_boxes_fieldset :tags, multiple: true, legend: { text: "Share your comments about the proposed work", size: "l" }, hint: { text: "Select the topics you want to comment on. You can attach documents to help the planning officer understand your comments on the next page." } do %>
<%= form.govuk_check_box :tags, :design, label: { text: "Design, size or height of new buildings or extensions" }, checked: response.tags&.include?("design") do %>
<%= form.govuk_text_area :design, label: { text: "We cannot consider comments about loss of view" } %>
diff --git a/app/views/neighbour_responses/_thoughts.html.erb b/app/views/neighbour_responses/_thoughts.html.erb
index 27cc6ba0..5e183cc8 100644
--- a/app/views/neighbour_responses/_thoughts.html.erb
+++ b/app/views/neighbour_responses/_thoughts.html.erb
@@ -1,3 +1,7 @@
+<% content_for :page_title do %>
+ How do you feel about the proposed work?
+<% end %>
+
<%= form.govuk_radio_buttons_fieldset(:summary_tag, legend: { size: "l", text: "How do you feel about the proposed work?" }) do %>
<%= form.govuk_radio_button :summary_tag, 'supportive', label: { text: 'I support the application' } %>
<%= form.govuk_radio_button :summary_tag, 'neutral', label: { text: "I want to make general comments" } %>
diff --git a/app/views/neighbour_responses/new.html.erb b/app/views/neighbour_responses/new.html.erb
index d3d4dfbe..843fad08 100644
--- a/app/views/neighbour_responses/new.html.erb
+++ b/app/views/neighbour_responses/new.html.erb
@@ -1,8 +1,6 @@
-
<%= t(".the_case_officer") %>
-<%= t(".what_you_need") %>
+