From 931d1de5b173b2777785e13bcaf7439bc240c6a5 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Fri, 13 Jan 2023 10:53:34 +0100 Subject: [PATCH] lille-metropole-2022: refactor links cells rendering (#73376) --- static/lille-metropole-2022/_custom.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/static/lille-metropole-2022/_custom.scss b/static/lille-metropole-2022/_custom.scss index 3427896a..cd92ee8b 100644 --- a/static/lille-metropole-2022/_custom.scss +++ b/static/lille-metropole-2022/_custom.scss @@ -229,7 +229,8 @@ div.cell { } } &.wcs-forms-of-category-cell, &.link-list-cell { - border: 2px solid $font-color; + background: transparent; + border: 0; &.foldable { h2:first-child { padding-top: 1.25rem; @@ -251,6 +252,8 @@ div.cell { align-items: baseline; flex-wrap: wrap; padding: 5px 2px 0 2px; + border: 2px solid $font-color; + background: $cell-background; > * { flex: 0 0 100%; } @@ -263,11 +266,11 @@ div.cell { position: relative; z-index: 1; } - } - &:hover { - border-color: $primary-color; - box-shadow: inset 0px 0px 0px 2px $primary-color; - transition: box-shadow 0.2s ease-in-out; + &:hover { + border-color: $primary-color; + box-shadow: inset 0px 0px 0px 2px $primary-color; + transition: box-shadow 0.2s ease-in-out; + } } h2:first-child { flex: 1 0 50%;