From 10a9cedc8f04cca9d0b18050db27ae8a3fbb6708 Mon Sep 17 00:00:00 2001 From: lscambo13 Date: Sun, 14 Jan 2024 02:30:08 +0530 Subject: [PATCH] new: Revamped autocomplete UX/UI on search bar features: -smooth animations/transitions -tab to auto-completion -theme-aware -search bar position aware new: All outlines are accent colored now new: We now blur background automatically when autocomplete suggestions are shown dev: Prevent case-sensitive suggestions by converting all to lowercase dev: Prevent autocomplete suggestions from causing excessive layout shifts dev: Do not tab-select search button dev: Rewritten some code to be more readable --- index.html | 19 +++-- index.js | 13 +++- js_modules/load_preferences.js | 27 ++++--- js_modules/search.js | 127 ++++++++++++++++++++++----------- style.css | 55 +++++++++----- 5 files changed, 154 insertions(+), 87 deletions(-) diff --git a/index.html b/index.html index 38cb135..434b1ec 100644 --- a/index.html +++ b/index.html @@ -17,8 +17,8 @@ }); } --> - - + + Search • Casa Mia @@ -29,10 +29,10 @@ rel="stylesheet" /> - - - + href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css?v=1703602562289"> + + + @@ -64,16 +64,15 @@

Welcome