fixing post sidebar

This commit is contained in:
unknown committed 2020-11-23 13:45:09 +08:00
1 parent 972b666dfd
commit 22a9726572
1 file changed
+248 -2
+248 -2
View File
@@ -670,6 +670,254 @@
</aside>
<!-- end sidebar inquiry section -->
<!--sidebar post section-->
<div class="">
<div>
</div>
<div class="max-w-lg md:block md:fixed md:top-0 md:bottom-0 md:right-0 md:overflow-y-auto md:flex-row md:flex-no-wrap md:overflow-hidden lg:w-full shadow-xl bg-white flex flex-wrap items-center relative z-10 py-4 px-6">
<div class="md:flex-col md:items-stretch md:min-h-full md:flex-no-wrap px-0 flex flex-wrap items-center w-full mx-auto">
<div class="w-full bg-gray-100 overflow-y-auto lg:h-full lg:overflow-y-auto sm:rounded-b-lg overscroll-none" id="tabs-id">
<div class="flex flex-col">
<!--sidebar tab-->
<ul class="flex flex-wrap">
<li class="w-1/3">
<a class="w-full h-10 text-center inline-block border-l border-t rounded-t py-2 px-4"
onclick="changeAtiveTab(event,'tab-description')">Description</a>
</li>
<li class=" w-1/3">
<a class="w-full h-10 text-center bg-white inline-block py-2 px-4 "
onclick="changeAtiveTab(event,'tab-availability')">Availability</a>
</li>
<li class="w-1/3">
<a class="w-full h-10 text-sm md:text-base text-center bg-white inline-block py-2 px-4 overflow-y-auto"
onclick="changeAtiveTab(event,'tab-contact')">Contact Info</a>
</li>
</ul>
<!--end sidebar tab-->
<div class="tab-content tab-space">
<!-- post space description section-->
<div class="mt-8 px-3 md:mt-3 lg:mt-4 lg:px-7 xxl:mt-6 block" id="tab-description">
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text"
placeholder="Title">
</div>
<div class="relative w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<button class="relative w-full py-2 pl-3 text-left text-gray-500 bg-white rounded-lg focus:outline-none appearance-none"
onclick="toggleDropdown('example-collapse-dropdown10')">
Categories
<img alt="" class=" absolute top-0 right-0 m-4" src="svg/icon_dropdown.svg">
</button>
<div class="z-10 -mt-2 origin-top-right absolute w-full hidden"
id="example-collapse-dropdown10">
<div class="bg-white rounded-lg py-3 -mt-10">
<div class="px-2 w-full">
<input class="w-full h-12 px-2 focus:outline-none border border-gray-400 rounded-lg"
type="text" placeholder="type something here">
</div>
<div class="sm:h-64 md:h-56 lg:h-auto overflow-y-scroll lg:overflow-auto shadow-md">
<div class="px-3">
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Option
1</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Option
1</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Option
1</a>
</div>
</div>
</div>
</div>
</div>
<div class="relative w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<button class="relative w-full py-2 pl-3 text-left text-gray-500 bg-white rounded-lg focus:outline-none appearance-none"
onclick="toggleDropdown('example-collapse-location')">
Location
<img alt="" class=" absolute top-0 right-0 m-4" src="svg/icon_dropdown.svg">
</button>
</div>
<div class="relative flex mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<div class="relative flex w-full">
<button class="relative w-full mr-2 md:mr-1 lg:mr-2 xxl:mr-1 py-2 pl-3 text-left text-gray-500 bg-white rounded-lg focus:outline-none appearance-none"
onclick="toggleDropdown('example-collapse-dropdown13')">
Price
<img alt="" class=" absolute top-0 right-0 m-4" src="svg/icon_dropdown.svg">
</button>
<div class="z-10 sm:h-64 md:h-auto origin-top-right absolute w-full shadow-md hidden"
id="example-collapse-dropdown13">
<div class="bg-white rounded-lg py-3 sm:h-64 md:h-56 lg:h-auto overflow-y-scroll lg:overflow-auto">
<div class="pt-1 px-3">
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">
Option 1</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">
Option 1</a>
</div>
</div>
</div>
</div>
<div class="relative flex w-full">
<button class="relative w-full py-2 pl-3 text-left text-gray-500 bg-white rounded-lg focus:outline-none appearance-none"
onclick="toggleDropdown('example-collapse-dropdown14')">
Hourly
<img alt="" class=" absolute top-0 right-0 m-4" src="svg/icon_dropdown.svg">
</button>
<div class="z-10 h-56 sm:h-64 md:h-auto origin-top-right absolute w-full shadow-md overflow-y-auto hidden"
id="example-collapse-dropdown14">
<div class="bg-white rounded-lg py-3 sm:h-64 md:h-56 overflow-y-scroll lg:overflow-auto">
<p class="pl-3 font-extrabold">Availability</p>
<div class="pt-1 px-3">
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Open
Now</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Open
Always</a>
</div>
<p class="pl-3 font-extrabold">By Hour</p>
<div class="px-3">
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">1
Hour from now
</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">2
Hour from now
</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">3
Hour from now</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">4
Hour from now</a>
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">5
Hour from now</a>
</div>
</div>
</div>
</div>
</div>
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 rounded-md focus:outline-none"
rows="4">Description</textarea>
</div>
<div class="w-full mt-4 md:mt-5 xxl:mt-2 mb-3">
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 rounded-none border-none focus:outline-none">
<img class="animate-spin absolute left-0 ml-4 h-4" src="svg/icon_spinner.svg"
alt="">SUBMIT
</button>
<p class="mt-1 text-xs xl:text-sm text-gray-600 font-thin tracking-tight">By Submitting
your agree to the
<b>Terms and Conditions</b></p>
</div>
</div>
<!-- end post space description section-->
<!-- post space Availability section-->
<div class="mt-3 px-3 md:px-7 md:mt-3 lg:mt-4 lg:px-7 xxl:mt-6 hidden" id="tab-availability">
<div class="flex w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center rounded-l-lg focus:outline-none uppercase">
sun
</button>
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center focus:outline-none uppercase">
mon
</button>
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center focus:outline-none uppercase">
tue
</button>
<button class="py-2 px-3 w-full h-10 bg-indigo-900 text-white text-sm text-center focus:outline-none uppercase">
wed
</button>
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center focus:outline-none uppercase">
thu
</button>
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center focus:outline-none uppercase">
fri
</button>
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center rounded-r-lg focus:outline-none uppercase">
sat
</button>
</div>
<div class="flex mt-4 md:mt-3 lg:mt-6 xxl:mt-6">
<button class="relative w-full mr-2 mb-2 md:mr-1 lg:mr-2 xxl:mr-1 py-2 pl-3 bg-white rounded-lg focus:outline-none appearance-none"
onclick="toggleDropdown('example-collapse-dropdown1')">
12:00 AM
</button>
<button class="relative w-full py-2 pl-3 text-white bg-indigo-900 rounded-t-lg focus:outline-none appearance-none"
onclick="toggleDropdown('example-collapse-dropdown1')">
12:00 AM
</button>
</div>
<div class="grid grid-cols-3 gap-x-2 w-full px-8 py-4 rounded-lg rounded-tr-none bg-indigo-900">
<ul class="flex-col w-full text-center">
<li class="w-full pb-3 text-white border-b-2 border-white">10</li>
<li class="w-full pt-3 pb-3 text-white border-b-2 border-white">11</li>
<li class="w-full pt-3 pb-3 text-white">12</li>
</ul>
<ul class="flex-col w-full text-center">
<li class="w-full pb-3 text-white border-b-2 border-white">14</li>
<li class="w-full pt-3 pb-3 text-white border-b-2 border-white">15</li>
<li class="w-full pt-3 pb-3 text-white">16</li>
</ul>
<ul class="flex-col w-full text-center">
<li class="w-full pb-3 text-white border-b-2 border-white">PM</li>
<li class="w-full pt-3 pb-3 text-white border-b-2 border-white">AM</li>
<li class="w-full pt-3 pb-3 text-white">PM</li>
</ul>
<div class="mt-1 w-full col-span-3">
<button class="py-2 w-full text-white text-xl tracking-widest font-bold bg-indigo-700 uppercase">set</button>
</div>
</div>
<div class="w-full mt-4 md:mt-14 lg:mt-10 xxl:mt-2 mb-3">
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 rounded-none border-none focus:outline-none">
<img class="animate-spin absolute left-0 ml-4 h-4" src="svg/icon_spinner.svg"
alt="">SUBMIT
</button>
<p class="mt-1 text-xs xl:text-sm text-gray-600 font-thin tracking-tight">By Submitting
your agree to the
<b>Terms and Conditions</b></p>
</div>
</div>
<!-- end post space Availability section-->
<!-- post space contact info section-->
<div class="mt-8 px-3 md:mt-3 lg:mt-8 lg:px-7 xxl:mt-6 hidden" id="tab-contact">
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text"
placeholder="Name of Coworking Space">
</div>
<div class="flex mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<input class="mr-2 md:mr-1 lg:mr-2 xxl:mr-1 w-full px-3 py-2 rounded-md focus:outline-none"
type="text" placeholder="First Name">
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text"
placeholder="Last Name">
</div>
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text"
placeholder="Contact Number">
</div>
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 rounded-md focus:outline-none"
rows="4">Email Address</textarea>
</div>
<div class="w-full mt-4 md:mt-5 xxl:mt-2 mb-3">
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 rounded-none border-none focus:outline-none uppercase">
<img class="animate-spin absolute left-0 ml-4 h-4" src="svg/icon_spinner.svg"
alt="">Send Inquiry
</button>
<p class="mt-1 text-xs xl:text-sm text-gray-600 font-thin tracking-tight">By Submitting
your agree to the
<b>Terms and Conditions</b></p>
</div>
</div>
<!-- end post space contact info section-->
</div>
</div>
</div>
</div>
</div>
</div>
<aside class="fixed z-50 w-full h-full flex justify-center sm:absolute lg:fixed lg:justify-end lg:w-full xxl:absolute xxl:justify-center transform ease-in-out transition-all duration-300 hidden"
id="example-collapse-sidebar2">
@@ -1075,8 +1323,6 @@
<!-- end post space contact info section-->
</div>
</div>
</div>
</div>
</div>