From 3fcc5dfedf2f5b281f4600e189868316faebd91f Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 20 May 2023 12:36:21 +0200 Subject: [PATCH] feat: ajout recherche dans sidebar Fixes #37 --- components/sidebar-content.php | 4 ++++ scss/components/_input.scss | 6 +++++- style.css | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/components/sidebar-content.php b/components/sidebar-content.php index 1d3e35b..d57c32f 100644 --- a/components/sidebar-content.php +++ b/components/sidebar-content.php @@ -1,3 +1,7 @@ +
+ +
+ diff --git a/scss/components/_input.scss b/scss/components/_input.scss index 34c70a2..a249c90 100644 --- a/scss/components/_input.scss +++ b/scss/components/_input.scss @@ -1,9 +1,13 @@ input, textarea { width: 100%; - background-color: $color-background; + background-color: $color-background-alt; border-radius: $btn-radius; border: 0px solid rgba(0, 0, 0, 0); padding: $lineheight_rel / 4; line-height: $lineheight_rel; + + .card & { + background-color: $color-background; + } } \ No newline at end of file diff --git a/style.css b/style.css index 4933a43..a6d037d 100644 --- a/style.css +++ b/style.css @@ -1704,11 +1704,13 @@ th { input, textarea { width: 100%; - background-color: #FDF7E7; + background-color: #eee8d5; border-radius: 0px; border: 0px solid rgba(0, 0, 0, 0); padding: 0.4em; line-height: 1.6em; } + .card input, .card textarea { + background-color: #FDF7E7; } /* 1. Utils ** All the utilities class of the stylesheet