From 17164dfe85a112b9ed6573772215f151fedacb80 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 9 Nov 2022 20:16:24 +0800 Subject: [PATCH 1/8] #184 fuzzy filter on packages --- src/layouts/partials/package-grid.html | 83 +++++++++++++++++++-- src/layouts/partials/package-thumbnail.html | 2 +- 2 files changed, 79 insertions(+), 6 deletions(-) diff --git a/src/layouts/partials/package-grid.html b/src/layouts/partials/package-grid.html index decb6a2..8503904 100644 --- a/src/layouts/partials/package-grid.html +++ b/src/layouts/partials/package-grid.html @@ -5,9 +5,12 @@
-
+

packages

- {{- partial "sort-dropdown.html" -}} +

There are already plenty of packages available through tea. As the communi’tea builds the library, contributions will live here. We use Stable Diffusion to generate the artwork for each package using their title and code for input. That’s the power of Open Source.

@@ -89,7 +92,29 @@ border: 0px; overflow: hidden; } + + #searchBar { + display: flex; + } + #searchBar .sorting-container { + min-width: 260px; + } + #searchBar input { + min-width: 260px; + height: 60px; + padding: 5px 10px; + background-color: #1a1a1a !important; + color: #949494; + outline: none; + border: 2px solid #949494; + border-radius: 0px; + } + #searchBar input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ + color: white; + opacity: 1; /* Firefox */ + } + + - + @@ -146,19 +145,6 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+ rdt('track', 'ViewContent'); - - + \ No newline at end of file