feat: ajout recherche dans sidebar

Fixes #37
This commit is contained in:
Kazhnuz Klappsthul 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/categories.php'); ?>
<?php include(TEMPLATEPATH . '/components/sidebar/tags.php'); ?>

View File

@ -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;
}
}

View File

@ -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