make comment search bar color change based on theme

This commit is contained in:
gmnsii 2023-05-31 19:39:18 +02:00
parent ca7ad9f812
commit 38ee0d9428
2 changed files with 5 additions and 1 deletions

View File

@ -552,6 +552,10 @@ select, #search {
border-radius: 5px 0px 0px 5px; border-radius: 5px 0px 0px 5px;
} }
.commentQuery {
background: var(--post);
}
#searchbox { #searchbox {
grid-area: searchbox; grid-area: searchbox;
display: flex; display: flex;

View File

@ -59,7 +59,7 @@
</form> </form>
<!-- SEARCH FORM --> <!-- SEARCH FORM -->
<form id="sort"> <form id="sort">
<input id="search" type="search" name="q" value="{{ comment_query }}" placeholder="Search comments"> <input id="search" class="commentQuery" type="search" name="q" value="{{ comment_query }}" placeholder="Search comments">
<input type="hidden" name="type" value="comment"> <input type="hidden" name="type" value="comment">
</form> </form>
</div> </div>