feat: ajout recherche dans sidebar

Fixes #37
This commit is contained in:
Kazhnuz 2023-05-20 12:36:21 +02:00
parent 0b3132d2bc
commit 3fcc5dfedf
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,7 @@
<div class="mb-1 d-none d-block-sm bg-light-2">
<?php include(TEMPLATEPATH . '/components/searchform.php'); ?>
</div>
<?php include(TEMPLATEPATH . '/components/sidebar/last-articles.php'); ?> <?php include(TEMPLATEPATH . '/components/sidebar/last-articles.php'); ?>
<?php include(TEMPLATEPATH . '/components/sidebar/categories.php'); ?> <?php include(TEMPLATEPATH . '/components/sidebar/categories.php'); ?>
<?php include(TEMPLATEPATH . '/components/sidebar/tags.php'); ?> <?php include(TEMPLATEPATH . '/components/sidebar/tags.php'); ?>

View file

@ -1,9 +1,13 @@
input, input,
textarea { textarea {
width: 100%; width: 100%;
background-color: $color-background; background-color: $color-background-alt;
border-radius: $btn-radius; border-radius: $btn-radius;
border: 0px solid rgba(0, 0, 0, 0); border: 0px solid rgba(0, 0, 0, 0);
padding: $lineheight_rel / 4; padding: $lineheight_rel / 4;
line-height: $lineheight_rel; line-height: $lineheight_rel;
.card & {
background-color: $color-background;
}
} }

View file

@ -1704,11 +1704,13 @@ th {
input, input,
textarea { textarea {
width: 100%; width: 100%;
background-color: #FDF7E7; background-color: #eee8d5;
border-radius: 0px; border-radius: 0px;
border: 0px solid rgba(0, 0, 0, 0); border: 0px solid rgba(0, 0, 0, 0);
padding: 0.4em; padding: 0.4em;
line-height: 1.6em; } line-height: 1.6em; }
.card input, .card textarea {
background-color: #FDF7E7; }
/* 1. Utils /* 1. Utils
** All the utilities class of the stylesheet ** All the utilities class of the stylesheet