style: Add visible border to filter action buttons in nav_filter.liquid

This commit is contained in:
Kerby Martino (aider) committed 2025-05-12 22:09:22 +08:00
1 parent 405553ed67
commit 9bafb42932
1 file changed
+8 -8
+8 -8
View File
@@ -18,7 +18,7 @@
<div class="flex flex-wrap gap-4 items-center"> <div class="flex flex-wrap gap-4 items-center">
<!-- Geolocation Filter --> <!-- Geolocation Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('location-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-green-900 font-heading text-base "> <button onclick="toggleDropdown('location-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border border-gray-300 hover:border-green-900 font-heading text-base ">
<span>Location</span> <span>Location</span>
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
</button> </button>
@@ -49,7 +49,7 @@
<!-- Availability Filter --> <!-- Availability Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-green-900 font-heading text-base "> <button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border border-gray-300 hover:border-green-900 font-heading text-base ">
<span>Availability</span> <span>Availability</span>
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
</button> </button>
@@ -73,7 +73,7 @@
<!-- Rates Filter --> <!-- Rates Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('rates-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-green-900 font-heading text-base "> <button onclick="toggleDropdown('rates-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border border-gray-300 hover:border-green-900 font-heading text-base ">
<span>Rates</span> <span>Rates</span>
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
</button> </button>
@@ -91,7 +91,7 @@
<!-- Type of Spaces Filter --> <!-- Type of Spaces Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('spacetype-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-green-900 font-heading text-base "> <button onclick="toggleDropdown('spacetype-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border border-gray-300 hover:border-green-900 font-heading text-base ">
<span>Space Type</span> <span>Space Type</span>
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
</button> </button>
@@ -124,7 +124,7 @@
<!-- Pricing Range Filter --> <!-- Pricing Range Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('pricerange-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-green-900 font-heading text-base "> <button onclick="toggleDropdown('pricerange-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border border-gray-300 hover:border-green-900 font-heading text-base ">
<span>Price Range</span> <span>Price Range</span>
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
</button> </button>
@@ -164,14 +164,14 @@
<!-- Sorting Group --> <!-- Sorting Group -->
<div class="flex gap-4 items-center"> <div class="flex gap-4 items-center">
<button class="bg-gray-500 text-green-900 font-semibold py-2 px-4 rounded-base focus:outline-none cursor-pointer capitalize border-1 border-green-900 hover:border-green-900 font-heading text-base "> <button class="bg-gray-500 text-green-900 font-semibold py-2 px-4 rounded-base focus:outline-none cursor-pointer capitalize border border-green-900 hover:border-green-900 font-heading text-base ">
Relevance Relevance
</button> </button>
<button class="bg-gray-100 text-green-900 font-semibold py-2 px-4 rounded-base focus:outline-none cursor-pointer capitalize border-2 border-transparent hover:border-green-900 font-heading text-base "> <button class="bg-gray-100 text-green-900 font-semibold py-2 px-4 rounded-base focus:outline-none cursor-pointer capitalize border border-gray-300 hover:border-green-900 font-heading text-base ">
Newest Newest
</button> </button>
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('price-sort-dropdown')" class="bg-gray-100 text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border-2 border-transparent hover:border-green-900 capitalize font-heading text-base "> <button onclick="toggleDropdown('price-sort-dropdown')" class="bg-gray-100 text-green-900 font-semibold py-2 px-4 rounded-base inline-flex items-center justify-between border border-gray-300 hover:border-green-900 capitalize font-heading text-base ">
<span>Price</span> <span>Price</span>
<svg class="fill-current h-4 w-4 ml-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg> <svg class="fill-current h-4 w-4 ml-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
</button> </button>