added changes sidebar
This commit is contained in:
1 parent
2ac53c55a4
commit
fb930c35cf
1 file changed
+20
-8
+20
-8
@@ -25,7 +25,8 @@
|
|||||||
.map-overlay {
|
.map-overlay {
|
||||||
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 200px;
|
width: auto;
|
||||||
|
height: auto;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@@ -536,9 +537,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<main>
|
<main>
|
||||||
|
<!-- overlay -->
|
||||||
<span class="z-30 w-full h-full absolute opacity-75 bg-indigo-800 hidden"
|
<span class="z-30 w-full h-full absolute opacity-75 bg-indigo-800 hidden"
|
||||||
id="example-collapse-overlay"></span>
|
id="example-collapse-overlay"></span>
|
||||||
<section class="sticky z-50 top-0 flex justify-center xl:justify-center">
|
<!-- card sidebar section -->
|
||||||
|
<section class="sticky z-50 top-0 flex justify-center xl:justify-center hidden" id="example-collapse-sidebar">
|
||||||
<div class="mt-0 max-w-lg absolute sm:mt-16 md:mt-32 lg:mt-0 lg:right-0 xxl:mt-32 xxl:right-auto">
|
<div class="mt-0 max-w-lg absolute sm:mt-16 md:mt-32 lg:mt-0 lg:right-0 xxl:mt-32 xxl:right-auto">
|
||||||
<div class="pb-3 rounded-none md:rounded-lg lg:rounded-none xxl:rounded-lg hover:shadow-xl tracking-wide bg-gray-200">
|
<div class="pb-3 rounded-none md:rounded-lg lg:rounded-none xxl:rounded-lg hover:shadow-xl tracking-wide bg-gray-200">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
@@ -562,7 +565,7 @@
|
|||||||
<img class="flex" src="svg/icon_next.svg" alt="">
|
<img class="flex" src="svg/icon_next.svg" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="px-4 py-1 flex hidden md:py-3 md:block text-gray-500">
|
<div class="px-4 py-1 flex hidden md:py-3 md:block text-gray-500">
|
||||||
<img class="flex" src="svg/icon_close.svg" alt="">
|
<img class="flex" src="svg/icon_close.svg" alt="" onclick="toggleSidebar('example-collapse-sidebar');toggleOverlay('example-collapse-overlay')">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute py-4 px-3 md:pb-4 md:pt-4 md:px-2 xxl:px-3 right-0 bottom-0 bg-indigo-900">
|
<div class="absolute py-4 px-3 md:pb-4 md:pt-4 md:px-2 xxl:px-3 right-0 bottom-0 bg-indigo-900">
|
||||||
@@ -592,7 +595,12 @@
|
|||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<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 ">
|
<!-- <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" id="map">
|
||||||
|
<div class=" absolute pl-4 pr-3 ml-2 mr-4 md:mr-1 flex bg-indigo-900">
|
||||||
|
<img class="flex" src="svg/icon_next.svg" alt="">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-3 mt-2 md:px-7 md:mt-1 lg:px-7 xl:mt-2 xxl:mt-4">
|
<div class="px-3 mt-2 md:px-7 md:mt-1 lg:px-7 xl:mt-2 xxl:mt-4">
|
||||||
@@ -646,7 +654,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -704,7 +711,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<img alt="" class="h-full w-full object-cover" src="img/img2.jpg">
|
<img alt="" class="h-full w-full object-cover cursor-pointer" src="img/img2.jpg" onclick="toggleSidebar('example-collapse-sidebar');toggleOverlay('example-collapse-overlay')">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
|
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
|
||||||
@@ -773,7 +780,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<img alt=" " class="h-full w-full object-cover " src="img/SAMPLE7.jpg ">
|
<img alt=" " class="h-full w-full object-cover cursor-pointer" src="img/SAMPLE7.jpg ">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
|
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
|
||||||
@@ -1061,7 +1068,7 @@
|
|||||||
<img alt=""
|
<img alt=""
|
||||||
class="absolute py-4 px-3 md:pb-3 md:pt-4 md:px-2 right-0 bottom-0 bg-indigo-900"
|
class="absolute py-4 px-3 md:pb-3 md:pt-4 md:px-2 right-0 bottom-0 bg-indigo-900"
|
||||||
src="svg/icon_ellipsis.svg">
|
src="svg/icon_ellipsis.svg">
|
||||||
<div class="h-full w-full object-cover " id="map"></div>
|
<div class="h-full w-full object-cover " id="map1"></div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
|
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
|
||||||
@@ -1105,6 +1112,11 @@
|
|||||||
document.getElementById(collapseID).classList.toggle("block");
|
document.getElementById(collapseID).classList.toggle("block");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function toggleSidebar(collapseID) {
|
||||||
|
document.getElementById(collapseID).classList.toggle("hidden");
|
||||||
|
document.getElementById(collapseID).classList.toggle("block");
|
||||||
|
}
|
||||||
|
|
||||||
function toggleDropdown(collapseID) {
|
function toggleDropdown(collapseID) {
|
||||||
document.getElementById(collapseID).classList.toggle("hidden");
|
document.getElementById(collapseID).classList.toggle("hidden");
|
||||||
document.getElementById(collapseID).classList.toggle("block");
|
document.getElementById(collapseID).classList.toggle("block");
|
||||||
|
|||||||
Reference in new issue
Block a user