From b05bed9a00edab0a9343d62fbaaa0aa9905ad7ed Mon Sep 17 00:00:00 2001 From: dbroqua Date: Mon, 7 Mar 2022 16:35:28 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20la=20visibilit=C3=A9?= =?UTF-8?q?=20des=20=C3=A9l=C3=A9ments=20d'une=20liste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/list.scss | 8 +++++++- views/pages/mon-compte/ma-collection/index.ejs | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sass/list.scss b/sass/list.scss index 7c479ff..4f2b124 100644 --- a/sass/list.scss +++ b/sass/list.scss @@ -14,6 +14,12 @@ @include respond-to("medium-up") { border-left: 1px solid var(--border-color); + &:nth-child(4n), + &:nth-child(4n-1) + { + background-color: var(--default-color); + } + &:first-child, &:nth-child(2) { border-top: 1px solid var(--border-color); @@ -26,7 +32,7 @@ } &:hover { - background-color: var(--default-color); + background-color: var(--border-color); } } diff --git a/views/pages/mon-compte/ma-collection/index.ejs b/views/pages/mon-compte/ma-collection/index.ejs index 4f401b7..970d584 100644 --- a/views/pages/mon-compte/ma-collection/index.ejs +++ b/views/pages/mon-compte/ma-collection/index.ejs @@ -44,7 +44,7 @@
-