From 4768130564a829c297ca1eaec603abea937f70bd Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Mon, 15 Nov 2021 12:34:00 +0000 Subject: [PATCH] Use the correct blue --- .../styles/_application-custom.scss | 24 +++++++++++++++++++ app/javascript/styles/_task-list.scss | 5 ---- app/javascript/styles/application.scss | 4 +++- app/views/case_logs/_log_list.html.erb | 2 +- app/views/case_logs/edit.html.erb | 2 +- 5 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 app/javascript/styles/_application-custom.scss diff --git a/app/javascript/styles/_application-custom.scss b/app/javascript/styles/_application-custom.scss new file mode 100644 index 000000000..d6f363cf5 --- /dev/null +++ b/app/javascript/styles/_application-custom.scss @@ -0,0 +1,24 @@ +.a:link, +.govuk-link:link { + color: #1d70b8; +} + +.a:visited +.govuk-link:visited { + color: #4c2c92;; +} + +.a:focus +.govuk-link:focus { + color: #0b0c0c; +} + +.a:hover +.govuk-link:hover { + color: #0b0c0c; +} + +// turbo-frame { +// display: block; +// border: 1px solid blue +// } diff --git a/app/javascript/styles/_task-list.scss b/app/javascript/styles/_task-list.scss index 755836e3f..603a6d55c 100644 --- a/app/javascript/styles/_task-list.scss +++ b/app/javascript/styles/_task-list.scss @@ -81,11 +81,6 @@ } } -// turbo-frame { -// display: block; -// border: 1px solid blue -// } - .app-task-list__item:target, .tasklist_item_highlight{ background-color: $govuk-focus-colour; diff --git a/app/javascript/styles/application.scss b/app/javascript/styles/application.scss index 4caf03bda..f08bf72d5 100644 --- a/app/javascript/styles/application.scss +++ b/app/javascript/styles/application.scss @@ -11,4 +11,6 @@ $govuk-image-url-function: frontend-image-url; @import "~govuk-frontend/govuk/all"; -@import '_task-list' +@import '_task-list'; + +@import '_application-custom'; diff --git a/app/views/case_logs/_log_list.html.erb b/app/views/case_logs/_log_list.html.erb index 3edfabe06..c0f856f09 100644 --- a/app/views/case_logs/_log_list.html.erb +++ b/app/views/case_logs/_log_list.html.erb @@ -12,7 +12,7 @@ <% case_logs.map do |log| %> - <%= link_to log.id, case_log_path(log) %> + <%= link_to log.id, case_log_path(log), class: "govuk-link" %> <%= log.property_postcode %> diff --git a/app/views/case_logs/edit.html.erb b/app/views/case_logs/edit.html.erb index 83d442cb9..349cc6914 100644 --- a/app/views/case_logs/edit.html.erb +++ b/app/views/case_logs/edit.html.erb @@ -9,7 +9,7 @@

You've completed <%= get_subsections_count(@form, @case_log, :completed) %> of <%= get_subsections_count(@form, @case_log, :all) %> sections.

<% next_incomplete_section=get_next_incomplete_section(@form, @case_log) %> - >