style: update card colors and hover effect
This commit is contained in:
1 parent
92cfca7b55
commit
691ee263ef
1 file changed
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
<div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-white shadow-[0px_4px_30px_rgba(0,0,0,0.08)]">
|
<div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-white shadow-[0px_4px_30px_rgba(0,0,0,0.08)]">
|
||||||
<div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64">
|
<div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64">
|
||||||
<a>
|
<a>
|
||||||
<div class="rounded-card flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter rounded-md">
|
<div class="rounded-card flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-green-300 text-indigo-900 tracking-tighter rounded-md">
|
||||||
<p>{{ listing.price }}</p>
|
<p>{{ listing.price }}</p>
|
||||||
</div>
|
</div>
|
||||||
<img alt="" class="h-full w-full object-cover cursor-pointer rounded-tl-card rounded-tr-card" onclick="toggleSidebar('inquiry-modal');toggleOverlay('collapse-overlay')" src="{{ listing.image }}">
|
<img alt="" class="h-full w-full object-cover cursor-pointer rounded-tl-card rounded-tr-card" onclick="toggleSidebar('inquiry-modal');toggleOverlay('collapse-overlay')" src="{{ listing.image }}">
|
||||||
<div class="absolute bottom-2 right-2 w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer" title="Add to Favorites">
|
<div class="absolute bottom-2 right-2 w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:green-300 border-2 border-transparent cursor-pointer" title="Add to Favorites">
|
||||||
<img src="assets/svg/icon_like.svg" class="w-5 h-5" alt="Like">
|
<img src="assets/svg/icon_like.svg" class="w-5 h-5" alt="Like">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in new issue
Block a user