style: Change filter button text color to indigo-900

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-10 20:20:20 +08:00
1 parent 483a91ba3e
commit 005d5ffcbe
1 file changed
+8 -8
+8 -8
View File
@@ -6,7 +6,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 bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700"> <button onclick="toggleDropdown('location-filter-dropdown')" class="w-full bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700">
<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>
@@ -23,7 +23,7 @@
<!-- Availability Filter --> <!-- Availability Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700"> <button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700">
<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>
@@ -42,7 +42,7 @@
<!-- Rates Filter --> <!-- Rates Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('rates-filter-dropdown')" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700"> <button onclick="toggleDropdown('rates-filter-dropdown')" class="w-full bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700">
<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>
@@ -60,7 +60,7 @@
<!-- Type of Spaces Filter --> <!-- Type of Spaces Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('spacetype-filter-dropdown')" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700"> <button onclick="toggleDropdown('spacetype-filter-dropdown')" class="w-full bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700">
<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>
@@ -93,7 +93,7 @@
<!-- Pricing Range Filter --> <!-- Pricing Range Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('pricerange-filter-dropdown')" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700"> <button onclick="toggleDropdown('pricerange-filter-dropdown')" class="w-full bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between hover:border hover:border-indigo-700">
<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>
@@ -122,13 +122,13 @@
<!-- Sorting Group --> <!-- Sorting Group -->
<div class="flex gap-4 md:gap-8 items-center"> <div class="flex gap-4 md:gap-8 items-center">
<button class="bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize border border-indigo-700 hover:border hover:border-indigo-700"> <button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize border border-indigo-700 hover:border hover:border-indigo-700">
Relevance Relevance
</button> </button>
<button class="bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize hover:border hover:border-indigo-700"> <button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer capitalize hover:border hover:border-indigo-700">
Newest Newest
</button> </button>
<button class="bg-gray-100 hover:bg-gray-200 text-gray-700 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer inline-flex items-center capitalize lg:border-none hover:border hover:border-indigo-700"> <button class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg focus:outline-none cursor-pointer inline-flex items-center capitalize lg:border-none hover:border hover:border-indigo-700">
Price Price
<span class="inline-flex flex-col items-center justify-center ml-1.5"> <span class="inline-flex flex-col items-center justify-center ml-1.5">
<img alt="Sort price up" class="h-2 w-2" src="assets/svg/icon_price_up.svg"> <img alt="Sort price up" class="h-2 w-2" src="assets/svg/icon_price_up.svg">