Inspector now shows info about the elevator!

This commit is contained in:
TheGreyDiamond
2021-05-24 19:15:14 +02:00
parent 384a3fc0ed
commit 1fc78a3b44
5 changed files with 353 additions and 9 deletions

View File

@ -1,19 +1,21 @@
.inspector {
margin: 0px;
background-color: greenyellow;
height: 100vh;
width: 20%;
width: 29%;
float: right;
position: fixed;
right: 0px;
top: 0px;
border: 1px solid rgba(97, 97, 97, 0.486);
border-radius: 2px;
margin: 5px;
}
.map {
margin: 0px;
background-color: red;
height: 100vh;
width: 80%;
width: 70%;
z-index: 1;
/*float: left;*/
}
@ -32,3 +34,144 @@ aside h2 {
font-size: 1.5rem;
line-height: 1.05em;
}
.lds-ripple {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ripple div {
position: absolute;
border: 4px solid #fed;
opacity: 1;
border-radius: 50%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 72px;
height: 72px;
opacity: 0;
}
}
/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
margin-left: 4%;
margin-right: 4%;
}
/* Hide the images by default */
.mySlides {
display: none;
/*margin-left: 10%;*/
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
/*position: absolute;*/
margin: 20px;
margin-top: 100px;
width: auto;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
background-color:#000;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color:#000;
}
/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #000000;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
.elevatorPhoto{
width: auto;
max-height: 50vh;
}