From 619783663f6ae062cb1e2504c0702011e8f3ad4f Mon Sep 17 00:00:00 2001 From: moanos Date: Tue, 6 Aug 2024 16:19:51 +0200 Subject: [PATCH] feat: use card form for search --- .../static/fellchensammlung/css/styles.css | 11 ++++++++++- .../templates/fellchensammlung/search.html | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/fellchensammlung/static/fellchensammlung/css/styles.css b/src/fellchensammlung/static/fellchensammlung/css/styles.css index 68415b8..56fb876 100644 --- a/src/fellchensammlung/static/fellchensammlung/css/styles.css +++ b/src/fellchensammlung/static/fellchensammlung/css/styles.css @@ -115,7 +115,6 @@ select, .button { border: none; border-radius: 4px; opacity: 1; - background-color: var(--secondary-light-one); } .header-right select.option { @@ -550,4 +549,14 @@ textarea { .info { border: rgba(17, 58, 224, 0.51) 4px solid; +} + +.form-search { + select, input { + background-color: var(--primary-light-one); + color: var(--text-one); + border-radius: 3px; + border: none; + } + } \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/search.html b/src/fellchensammlung/templates/fellchensammlung/search.html index 0cd2626..6bcdaea 100644 --- a/src/fellchensammlung/templates/fellchensammlung/search.html +++ b/src/fellchensammlung/templates/fellchensammlung/search.html @@ -2,12 +2,12 @@ {% load i18n %} {% block content %} -
+ {% csrf_token %} {{ search_form.as_p }} - +
{% include "fellchensammlung/lists/list-adoption-notices.html" %} {% endblock %} \ No newline at end of file