fixed sidebar inquiry resonsive

This commit is contained in:
unknown committed 2020-11-20 10:49:26 +08:00
1 parent cbc28767ed
commit b4f24b2a6a
2 files changed
+328 -14

No files matched your search

+17 -14
View File
@@ -5,7 +5,7 @@
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="#000000" name="theme-color"/>
<link href="" rel="shortcut icon"/>
<link href="" rel="apple-touch-icon" izes="76x76"/>
<link href="" rel="apple-touch-icon" sizes="76x76"/>
<link href="" rel="stylesheet"/>
<link href="styles.css" rel="stylesheet"/>
<title>Crunchy Desk</title>
@@ -549,10 +549,10 @@
<span class="z-40 w-full h-full fixed opacity-75 bg-indigo-800 hidden overflow-hidden"
id="example-collapse-overlay"></span>
<!-- end overlay -->
<!-- card sidebar section -->
<aside class="fixed z-50 w-full h-full flex justify-center sm:absolute lg:fixed lg:right-0 lg:w-full xl:justify-center transform ease-in-out transition-all duration-300 hidden"
<!-- sidebar inquiry section -->
<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-sidebar1">
<div class="h-full mt-0 max-w-lg absolute sm:mt-16 md:mt-32 lg:mt-0 lg:right-0 xxl:mt-20 xxl:right-auto">
<div class="h-full mt-0 max-w-lg absolute sm:mt-16 md:mt-32 lg:mt-0 lg:fixed lg:justify-end xxl:mt-20 xxl:right-auto">
<div class="pb-3 rounded-none md:rounded-lg lg:h-screen lg:rounded-none xxl:rounded-lg xxl:h-auto hover:shadow-xl tracking-wide bg-gray-200">
<div class="relative">
<a href="#">
@@ -594,7 +594,7 @@
<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 class="mr-2 mt-1" src="svg/icon_pin.svg" alt=""
onclick="toggleMap('example-collapse-map')">
onclick="toggleMap('example-collapse-direction')">
Directions
</p>
</a>
@@ -614,8 +614,10 @@
<img alt=""
class="h-65 md:h-66 lg:h-auto xl:h-58 xxl:h-62 w-full object-cover md:rounded-t-lg lg:rounded-none xxl:rounded-t-lg"
src="img/SAMPLE3.jpg ">
<div class="h-65 md:h-66 lg:h-auto xl:h-58 xxl:h-62 w-full object-cover md:rounded-t-lg lg:rounded-none xxl:rounded-t-lg relative hidden"
id="example-collapse-map">
<div class="relative h-65 md:h-66 lg:h-auto xl:h-58 xxl:h-62 w-full object-cover md:rounded-t-lg lg:rounded-none xxl:rounded-t-lg hidden"
id="example-collapse-direction">
<div class="mt-5 h-full w-full object-cover " id="map"></div>
<div class="z-10 absolute py-3 px-3 right-0 bottom-0 bg-indigo-900">
<img alt="" class=""
onclick="toggleSidebar('example-collapse-sidebar');toggleOverlay('example-collapse-overlay')"
@@ -650,7 +652,8 @@
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 rounded-md focus:outline-none" rows="2" >Optional Message</textarea>
</div>
<div class="w-full mt-4 md:mt-5 lg:mt-6 xl:mt-12 xxl:mt-2 mb-3">
<button class="py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 rounded-none border-none focus:outline-none">SEND INQUIRY</button>
<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">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>
@@ -659,12 +662,12 @@
</div>
</div>
</aside>
<!-- end card sidebar section -->
<!--sidebar section-->
<aside class="fixed z-50 w-full h-full flex justify-center sm:absolute lg:fixed lg:right-0 lg:w-full xl:justify-center transform ease-in-out transition-all duration-300 hidden"
<!-- end sidebar inquiry section -->
<!--sidebar post section-->
<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">
<div class="h-full mt-0 max-w-lg absolute sm:mt-16 md:mt-32 lg:mt-0 lg:right-0 xxl:mt-20 xxl:right-auto">
<div class="h-full mt-0 max-w-lg absolute sm:mt-16 md:mt-32 lg:mt-0 lg:fixed lg:justify-end xxl:mt-20 xxl:right-auto">
<div class="pb-3 rounded-none sm:rounded-lg lg:h-screen lg:rounded-none xxl:rounded-lg xxl:h-auto hover:shadow-xl tracking-wide bg-gray-100">
<!--location modal-->
<div class="relative">
@@ -708,7 +711,7 @@
</div>
</div>
</div>
<div class="mt-5 h-60 w-full object-cover " id="map"></div>
<div class="mt-5 h-60 w-full object-cover " id="map4"></div>
<button class="w-full mt-5 py-2 text-lg text-white font-semibold bg-indigo-700 border-none uppercase">
submit
</button>
@@ -1090,7 +1093,7 @@
</div>
</div>
</aside>
<!--end sidebar section-->
<!--end sidebar post section-->
<section class="h-9 md:h-13 xl:h-12 border-b border-gray-200 bg-gray-100 shadow-md">
<div class="container mx-auto pt-2 pb-2 px-4 md:pt-6 md:pb-3 sm:px-16 md:px-10 lg:px-12 xl:pt-5 xl:pb-5 xl:pl-24 xl:pr-20 xxl:px-32">