style: Remove hover:outline styles from buttons in nav_filter.liquid

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-12 21:57:55 +08:00
1 parent 9742b3b8ca
commit d1f474e8b4
1 file changed
+10 -10
+10 -10
View File
@@ -4,7 +4,7 @@
<!-- Mobile Filter Trigger --> <!-- Mobile Filter Trigger -->
<div class="sm:hidden flex justify-between items-center"> <div class="sm:hidden flex justify-between items-center">
<span class="text-base font-semibold text-gray-800 font-heading">Filters & Sort</span> <span class="text-base font-semibold text-gray-800 font-heading">Filters & Sort</span>
<button id="open-mobile-filters-btn" class="bg-green-300 text-green-900 font-semibold py-2 px-4 rounded-base text-sm inline-flex items-center font-heading text-base hover:outline hover:outline-2 hover:outline-green-900"> <button id="open-mobile-filters-btn" class="bg-green-300 text-green-900 font-semibold py-2 px-4 rounded-base text-sm inline-flex items-center font-heading text-base ">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor"> <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" /> <path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
</svg> </svg>
@@ -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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
<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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
<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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
<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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
<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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
<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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
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-1 border-transparent hover:border-green-900 font-heading text-base hover:outline hover:outline-2 hover:outline-green-900"> <button class="bg-gray-100 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 ">
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 hover:outline hover:outline-2 hover:outline-green-900"> <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 ">
<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>
@@ -329,7 +329,7 @@
<!-- Drawer Footer --> <!-- Drawer Footer -->
<div class="p-4 border-t border-gray-200 flex justify-between items-center sticky bottom-0 bg-white"> <div class="p-4 border-t border-gray-200 flex justify-between items-center sticky bottom-0 bg-white">
<button id="reset-mobile-filters-btn" class="text-green-900 font-semibold py-2 px-4 rounded-base text-sm border border-green-900 hover:border-green-900 font-heading text-base">Clear All</button> <button id="reset-mobile-filters-btn" class="text-green-900 font-semibold py-2 px-4 rounded-base text-sm border border-green-900 hover:border-green-900 font-heading text-base">Clear All</button>
<button id="apply-mobile-filters-btn" class="bg-green-300 text-green-900 font-semibold py-2 px-6 rounded-base text-sm font-heading text-base hover:outline hover:outline-2 hover:outline-green-900">Apply Filters</button> <button id="apply-mobile-filters-btn" class="bg-green-300 text-green-900 font-semibold py-2 px-6 rounded-base text-sm font-heading text-base ">Apply Filters</button>
</div> </div>
</div> </div>
<!-- Overlay for mobile drawer --> <!-- Overlay for mobile drawer -->