From 938acae1a0441d929f56947b054e5ac765713026 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Tue, 9 Jan 2024 16:22:50 +0100 Subject: [PATCH] fix: changed background color for focused choice for greater contrast --- theme/ItaliaTheme/Components/_search.scss | 3 +++ theme/site.scss | 1 + 2 files changed, 4 insertions(+) create mode 100644 theme/ItaliaTheme/Components/_search.scss diff --git a/theme/ItaliaTheme/Components/_search.scss b/theme/ItaliaTheme/Components/_search.scss new file mode 100644 index 000000000..0696eb14e --- /dev/null +++ b/theme/ItaliaTheme/Components/_search.scss @@ -0,0 +1,3 @@ +.search-results-wrapper .ordering-widget .react-select__option--is-focused { + background-color: $primary; +} diff --git a/theme/site.scss b/theme/site.scss index 39eb3063d..7cb9c21c7 100644 --- a/theme/site.scss +++ b/theme/site.scss @@ -111,6 +111,7 @@ @import 'ItaliaTheme/Components/mobileMenu'; @import 'ItaliaTheme/Components/relatedItemInEvidence'; @import 'ItaliaTheme/Components/pageLoader'; +@import 'ItaliaTheme/Components/search'; @import 'ItaliaTheme/Print/all_pages'; @import 'ItaliaTheme/Print/news_items';