From 47fa4ff232d726068386083e75da549689b35f43 Mon Sep 17 00:00:00 2001 From: Jeremy McDermott Date: Tue, 8 Aug 2023 14:52:24 -0300 Subject: [PATCH] NBNP-397 Facets visual makeover --- .../newspapers_lib_unb_ca/src/scss/_facets.scss | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/custom/themes/newspapers_lib_unb_ca/src/scss/_facets.scss b/custom/themes/newspapers_lib_unb_ca/src/scss/_facets.scss index 1064e16e..0eb521eb 100644 --- a/custom/themes/newspapers_lib_unb_ca/src/scss/_facets.scss +++ b/custom/themes/newspapers_lib_unb_ca/src/scss/_facets.scss @@ -13,12 +13,15 @@ ul { display: flex; flex-direction: column; + margin-bottom: 0; padding-left: .35rem; } .facet-item { + align-items: flex-start; display: flex; flex-wrap: nowrap; + font-size: initial; margin-bottom: .65rem; input[type="checkbox"], @@ -29,13 +32,18 @@ .facet-item__count { color: $gray-600; - font-size: .85rem; + letter-spacing: 1px; } } input[type="checkbox"] { - margin-right: .35rem; - transform: scale(1.25); + margin-right: 0.5rem; + margin-top: 0.1rem; + transform: scale(1.33); + + &:focus-visible { + outline-color: #0075ff; + } } } }