added navbar

This commit is contained in:
unknown committed 2020-10-19 04:12:02 +08:00
1 parent 972cab01ad
commit aac3238418
1 file changed
+66 -29
+66 -29
View File
@@ -78,10 +78,9 @@
[slider] {
position: relative;
height: 14px;
border-radius: 10px;
text-align: left;
margin: 45px 0 10px 0;
margin: 13px 0 10px 0;
}
[slider] > div {
@@ -94,18 +93,18 @@
[slider] > div > [inverse-left] {
position: absolute;
left: 0;
height: 14px;
height: 8px;
border-radius: 10px;
background-color: #CCC;
background-color: #150c2b;
margin: 0 7px;
}
[slider] > div > [inverse-right] {
position: absolute;
right: 0;
height: 14px;
height: 8px;
border-radius: 10px;
background-color: #CCC;
background-color: #150c2b;
margin: 0 7px;
}
@@ -114,7 +113,7 @@
left: 0;
height: 14px;
border-radius: 14px;
background-color: #1ABC9C;
background-color: #32ffa8;
}
[slider] > div > [thumb] {
@@ -127,7 +126,7 @@
margin-left: -11px;
cursor: pointer;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
background-color: #FFF;
background-color: #7643ea;
border-radius: 50%;
outline: none;
}
@@ -213,15 +212,14 @@
[slider] > div > [sign] {
opacity: 0;
position: absolute;
margin-left: -11px;
margin-left: -17px;
top: -39px;
z-index: 3;
background-color: #1ABC9C;
color: #fff;
width: 28px;
background-color: #32ffa8;
color: #1A202C;
width: 40px;
height: 28px;
border-radius: 28px;
-webkit-border-radius: 28px;
content: '';
align-items: center;
-webkit-justify-content: center;
justify-content: center;
@@ -234,11 +232,11 @@
left: 0;
border-radius: 16px;
top: 19px;
border-left: 14px solid transparent;
border-right: 14px solid transparent;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top-width: 16px;
border-top-style: solid;
border-top-color: #1ABC9C;
border-top-color: #32ffa8;
}
[slider] > div > [sign] > span {
@@ -270,6 +268,40 @@
<button type="submit" class="absolute right-0 top-0 mt-2 sm:mt-3 md:mt-3 mr-2">
<img class="text-indigo-700 h-5 w-5" src="svg/icon_search.svg" alt="">
</button>
<!-- <div class="z-10 origin-top-right absolute w-full pt-2">-->
<!-- <div class="bg-white rounded-lg py-1">-->
<!-- <a href="#"-->
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
<!-- </svg>-->
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
<!-- <a href="#"-->
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
<!-- </svg>-->
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
<!-- <a href="#"-->
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
<!-- </svg>-->
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
<!-- <a href="#"-->
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
<!-- </svg>-->
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
<!-- <a href="#"-->
<!-- class="flex items-center px-2 text-md leading-5 hover:bg-green-300 text-gray-900 hover:text-white focus:outline-none">-->
<!-- <svg class="h-7 w-5 mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">-->
<!-- <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" />-->
<!-- </svg>-->
<!-- Incub8 Space, Bacoor, Kawit, Cavite</a>-->
<!-- </div>-->
<!-- </div>-->
</li>
</ul>
<ul class="flex flex-row ml-auto hidden sm:block">
@@ -377,36 +409,41 @@
<p class="font-extrabold text-gray-700">TYPE</p>
<div class="flex">
<span class="mr-4">
<a class="flex text-gray-700 pb-4"><img class="mr-2" src="svg/icon_checkbox_checked.svg" alt="">Coworking</a>
<a class="flex text-gray-700"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg" alt="">Event Space</a>
<a class="flex text-gray-700 pb-4"><img class="mr-2" src="svg/icon_checkbox_checked.svg"
alt="">Coworking</a>
<a class="flex text-gray-700"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
alt="">Event Space</a>
</span>
<span class="mr-4">
<a class="flex text-gray-700 pb-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg" alt="">Office Space</a>
<a class="flex text-gray-700"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg" alt="">Virtual Space</a>
<a class="flex text-gray-700 pb-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
alt="">Office Space</a>
<a class="flex text-gray-700"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
alt="">Virtual Space</a>
</span>
<span>
<a class="flex text-gray-700 mr-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg" alt="">Meeting Room</a>
<a class="flex text-gray-700 mr-4"><img class="mr-2" src="svg/icon_checkbox_unchecked.svg"
alt="">Meeting Room</a>
</span>
</div>
</div>
<div class="col-span-2">
<div class="col-span-1">
<p class="font-extrabold text-gray-700">PRICE</p>
<div slider id="slider-distance">
<div>
<div inverse-left style="width:70%;"></div>
<div inverse-right style="width:70%;"></div>
<div class="border border-gray-500" inverse-left style="width:70%;"></div>
<div class="border border-gray-500" inverse-right style="width:70%;"></div>
<div range style="left:30%;right:40%;"></div>
<span thumb style="left:30%;"></span>
<span thumb style="left:60%;"></span>
<div sign style="left:30%;">
<span id="value">30</span>
<span id="value">P300</span>
</div>
<div sign style="left:60%;">
<span id="value">60</span>
<span id="value">P600</span>
</div>
</div>
<input type="range" tabindex="0" value="30" max="100" min="0" step="1" oninput="
<input type="range" tabindex="0" value="300" max="1000" min="0" step="1" oninput="
this.value=Math.min(this.value,this.parentNode.childNodes[5].value-1);
var value=(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.value)-(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.min);
var children = this.parentNode.childNodes[1].childNodes;
@@ -415,7 +452,7 @@
children[7].style.left=value+'%';children[11].style.left=value+'%';
children[11].childNodes[1].innerHTML=this.value;"/>
<input type="range" tabindex="0" value="60" max="100" min="0" step="1" oninput="
<input type="range" tabindex="0" value="600" max="1000" min="0" step="1" oninput="
this.value=Math.max(this.value,this.parentNode.childNodes[3].value-(-1));
var value=(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.value)-(100/(parseInt(this.max)-parseInt(this.min)))*parseInt(this.min);
var children = this.parentNode.childNodes[1].childNodes;