From a0c8011ef25054f7955080f0d7e5269b358ad093 Mon Sep 17 00:00:00 2001 From: Greg Barnes Date: Tue, 8 Oct 2024 18:15:59 +0100 Subject: [PATCH] Adds two hardcoded search results with styling, alters publisher search SVG colour --- front_end/images/icon-search-black.svg | 2 +- front_end/stylesheets/helpers.scss | 12 ++++ front_end/stylesheets/search.scss | 22 +++++++ orp/orp_search/templates/orp.html | 79 ++++++++++++++++++++++++-- 4 files changed, 109 insertions(+), 6 deletions(-) diff --git a/front_end/images/icon-search-black.svg b/front_end/images/icon-search-black.svg index a6fb95a..6f3844d 100644 --- a/front_end/images/icon-search-black.svg +++ b/front_end/images/icon-search-black.svg @@ -1 +1 @@ - + diff --git a/front_end/stylesheets/helpers.scss b/front_end/stylesheets/helpers.scss index a0c3189..7672887 100644 --- a/front_end/stylesheets/helpers.scss +++ b/front_end/stylesheets/helpers.scss @@ -15,3 +15,15 @@ .orp-flex--space-between { justify-content: space-between; } + +.orp-secondary-text-colour { + color: govuk-colour("dark-grey"); +} + +.orp-link-text-decoration-none { + text-decoration: none; + + &:hover { + text-decoration: underline; + } +} diff --git a/front_end/stylesheets/search.scss b/front_end/stylesheets/search.scss index 0c31c25..e1fa7d9 100644 --- a/front_end/stylesheets/search.scss +++ b/front_end/stylesheets/search.scss @@ -56,3 +56,25 @@ } } } + +.orp-search-results { + + .orp-topics-list { + display: flex; + flex-wrap: wrap; + margin: 0; + padding: 0; + list-style: none; + + li { + padding-right: 10px; + margin-right: 10px; + margin-bottom: 10px; + border-right: 1px solid govuk-colour("dark-grey"); + } + + li:last-child { + border-right: none; + } + } +} diff --git a/orp/orp_search/templates/orp.html b/orp/orp_search/templates/orp.html index b465f98..8c0f013 100644 --- a/orp/orp_search/templates/orp.html +++ b/orp/orp_search/templates/orp.html @@ -48,7 +48,6 @@

Find laws and regulations f -
@@ -189,8 +188,8 @@

-

4,123 documents

-

+

4,123 documents

+

Clear all filters

@@ -212,7 +211,7 @@


-
+

-
+
+ +
+ + +
+ Guidance +

+ + Introduction to asbestos safety + +

+

+ Guidance on complying with the law on asbestos safety including detection, management, controls and + training. +

+

+ Published by: Health and Safety Executive +

+

+ Last updated: 24 January 2024 +

+
    +
  • + COSHH +
  • +
  • + Substances hazardous to health +
  • +
  • + Code of practice +
  • +
+
+ +
+ +
+ Guidance +

+ + Waste and Mining Operations Installations Water Discharge and Groundwater Activities Medium + +

+

+ The Environment Agency consults the public on certain applications for: waste and mining waste + operations installations water discharge +

+

+ Published by: Environment Agency +

+

+ Last updated: 30 December 2023 +

+
    +
  • + Mining +
  • +
  • + Groundwater +
  • +
  • + Waste +
  • +
+
+ +
+ +
+ {% if results %}