refactor: Simplify inquiry modal and action buttons
This commit is contained in:
1 parent
55959d99e9
commit
e20b5b8850
2 files changed
+16
-63
No files matched your search
@@ -1,65 +1,15 @@
|
||||
<!-- sidebar inquiry section -->
|
||||
<aside class="overscroll-none overflow-x-hidden overflow-y-auto fixed inset-0 w-screen z-50 outline-none focus:outline-none justify-center items-center hidden"
|
||||
<aside class="fixed inset-0 w-screen z-50 outline-none focus:outline-none justify-center items-center hidden"
|
||||
id="inquiry-modal">
|
||||
<div class="relative w-auto mt-12.2 mb-11 mx-auto max-w-lg sm:mt-18 md:mt-46 lg:mt-16 lg:mb-0 lg:bg-white lg:w-full lg:max-w-lg lg:fixed lg:flex lg:justify-end lg:right-0 lg:top-0 lg:bottom-0 xxl:mb-11 xxl:block xxl:absolute xxl:inset-0 xxl:bg-transparent xxl:mt-36">
|
||||
<!--content-->
|
||||
<div class="xxl:mb-11 border-0 rounded-lg relative flex flex-col w-full outline-none focus:outline-none">
|
||||
<div class="relative">
|
||||
<a href="#">
|
||||
<div class="flex absolute h-10 ml-4 mt-4 px-4 py-2 text-md md:mt-3 md:text-md lg:text-md lg:h-10 lg:mt-4 xl:h-10 xl:text-md bg-indigo-700 text-white font-light md:tracking-normal font-sans">
|
||||
P 1,299 / month
|
||||
<div class="tooltip">
|
||||
<img alt=""
|
||||
class=" flex absolute top-0 right-0 h-10 px-3 p-2 pt-2 -mr-10 bg-white text-xs"
|
||||
src="assets/svg/icon_call.svg">
|
||||
<div class="relative tooltip-text flex absolute top-0 right-0 px-3 py-3 bg-white rounded-md -mr-24 mt-14">
|
||||
<svg class="absolute text-white -mt-3 h-6 w-9/12 top-0" viewBox="0 0 255 255" x="0px"
|
||||
xml:space="preserve" y="0px"><polygon class="fill-current" points="0,127.5 255,127 127.5,0"/></svg>
|
||||
<img alt="" src="assets/svg/icon_phone.svg">
|
||||
<p class="ml-1 text-gray-600">0912345678</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex absolute h-10 w-auto mt-4 md:mt-3 lg:mt-4 right-0 top-0">
|
||||
<div class="pr-4 pl-3 mx-2 flex bg-indigo-900">
|
||||
<img alt="" class="flex" src="assets/svg/icon_back.svg">
|
||||
<div class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700">
|
||||
<img alt="" class="w-6 h-6" src="assets/svg/icon_close.svg">
|
||||
</div>
|
||||
<div class="pl-4 pr-3 ml-2 mr-4 md:mr-1 flex bg-indigo-900">
|
||||
<img alt="" class="flex" src="assets/svg/icon_next.svg">
|
||||
</div>
|
||||
<div class="px-4 py-1 flex hidden md:py-3 sm:block text-gray-500">
|
||||
<img alt="" class="flex" onclick="toggleSidebar('inquiry-modal');toggleOverlay('collapse-overlay')"
|
||||
src="assets/svg/icon_close.svg">
|
||||
</div>
|
||||
</div>
|
||||
<div class="absolute h-11 w-10 flex justify-center right-0 bottom-0 bg-indigo-900">
|
||||
<img alt="" class="w-6"
|
||||
onclick="toggleNavbar('collapse-tool-tip20')"
|
||||
src="assets/svg/icon_ellipsis.svg">
|
||||
</div>
|
||||
|
||||
<div class="absolute right-0 bottom-0 bg-indigo-900 hidden rounded-lg -mb-16 font-sans"
|
||||
id="collapse-tool-tip20">
|
||||
<a class="flex px-4 py-2" href="#">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" onclick="toggleMap('example-collapse-direction')"
|
||||
src="assets/svg/icon_pin.svg">
|
||||
Directions
|
||||
</p>
|
||||
</a>
|
||||
<a class="flex px-4 py-2" href="#">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" src="assets/svg/icon_link.svg">
|
||||
Copy link
|
||||
</p>
|
||||
</a>
|
||||
<a class="flex px-4 py-2">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" src="assets/svg/icon_report.svg">
|
||||
Report this
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
<img alt=""
|
||||
class="h-63 md:h-66 lg:h-58 xl:h-58 xxl:h-62 w-full object-cover sm:rounded-t-lg lg:rounded-none xxl:rounded-t-lg"
|
||||
@@ -76,14 +26,13 @@
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="h-auto px-4 pt-2 sm:h-full md:pt-1 md:px-7 lg:pt-2 lg:h-80 lg:px-7 xl:h-auto rounded-b-lg overflow-y-auto overscroll-none">
|
||||
<div class="bg-white h-auto px-4 pt-2 sm:h-full md:pt-1 md:px-7 lg:pt-2 lg:h-80 lg:px-7 xl:h-auto rounded-b-lg">
|
||||
<div class="flex justify-between">
|
||||
<a href="#">
|
||||
<p class="font-bold w-64 md:w-3/4 text-lg leading-6 md:leading-7 tracking-wide break-words">
|
||||
Cozy
|
||||
coworking space in the heart of the south</p>
|
||||
</a>
|
||||
<img alt="" class="-mt-4 ml-6 lg:ml-0 lg:-mt-5 lg:mr-3 xl:mr-3 xxl:mr-1" src="assets/svg/icon_heart.svg">
|
||||
</div>
|
||||
<div class=" flex justify-between">
|
||||
<p class="flex w-9/12 md:w-3/5 mt-1 sm:mt-0 lg:mt-1 text-xs text-gray-600 capitalize font-sans tracking-normal break-words">
|
||||
@@ -96,18 +45,21 @@
|
||||
<!-- Action Buttons -->
|
||||
<div class="flex flex-wrap gap-4 items-center my-4">
|
||||
<div class="relative flex flex-row gap-4">
|
||||
<button class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-indigo-700">
|
||||
<div class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700">
|
||||
<img alt="" class="w-6 h-6" src="assets/svg/icon_call.svg">
|
||||
</div>
|
||||
<div class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700">
|
||||
<img alt="" class="w-6 h-6" src="assets/svg/icon_pin.svg">
|
||||
</button>
|
||||
<button class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-indigo-700">
|
||||
</div>
|
||||
<div class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700">
|
||||
<img alt="" class="w-6 h-6" src="assets/svg/icon_link.svg">
|
||||
</button>
|
||||
<button class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-indigo-700">
|
||||
</div>
|
||||
<div class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700">
|
||||
<img alt="" class="w-6 h-6" src="assets/svg/icon_report.svg">
|
||||
</button>
|
||||
<button class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-indigo-700">
|
||||
</div>
|
||||
<div class="w-14 h-14 bg-gray-100 text-indigo-700 font-semibold rounded-full inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700">
|
||||
<img alt="" class="w-6 h-6" src="assets/svg/icon_heart.svg">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ module.exports = {
|
||||
'base': '10px',
|
||||
'sm': '5px',
|
||||
'xs': '3px',
|
||||
'full': '9999px',
|
||||
},
|
||||
spacing: {
|
||||
px: '1px',
|
||||
|
||||
Reference in new issue
Block a user