From 785aa8341e99230879cbd3396881caee682da528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Wed, 21 Apr 2021 13:52:57 +0200 Subject: [PATCH] Add score card legends --- content/themes/ldc/partials/score-card.php | 66 ++++++++++++---------- content/themes/ldc/style.css | 6 ++ 2 files changed, 42 insertions(+), 30 deletions(-) diff --git a/content/themes/ldc/partials/score-card.php b/content/themes/ldc/partials/score-card.php index 1d47c1a2..ae91381b 100644 --- a/content/themes/ldc/partials/score-card.php +++ b/content/themes/ldc/partials/score-card.php @@ -2,39 +2,39 @@ global $tp; global $mob; -if(empty($score_card)) { +if (empty($score_card)) { $score_card = get_field('score_card'); } ?> - +
- +

- + - +

- +
- - + +
- +
Marque
@@ -46,18 +46,18 @@ if(empty($score_card)) {
- +
Marque
- +
- +
@@ -67,23 +67,22 @@ if(empty($score_card)) {
- +
- +

-
- +
+
@@ -91,16 +90,21 @@ if(empty($score_card)) {
+ +
+ +
+
- +
- + $item) : ?>
@@ -110,16 +114,15 @@ if(empty($score_card)) {

- +
-
- +
+
@@ -127,9 +130,14 @@ if(empty($score_card)) {
+ +
+ +
+
- +
@@ -138,11 +146,9 @@ if(empty($score_card)) {
+ + + \ No newline at end of file diff --git a/content/themes/ldc/style.css b/content/themes/ldc/style.css index 46806d9b..bc60abd3 100644 --- a/content/themes/ldc/style.css +++ b/content/themes/ldc/style.css @@ -3186,6 +3186,12 @@ body .pgntn-page-pagination-block .page-numbers.current { align-items: center; padding: 10px 30px 0; } + +.characteristic-row.characteristic-desc { + font-style: italic; + color: rgba(0, 0, 0, 0.6); +} + .store-card-item__characteristics .percents-wrapper { display: flex; background-size: 100% 100%;