jurassic-park-interface/sass/components/_video-screen.scss
2020-11-10 20:49:32 -06:00

320 lines
6.1 KiB
SCSS

.control-panel__video-screen {
margin-bottom: 10px;
flex: 0 0 48%;
}
#video-screen__tour {
display: flex;
flex: 1;
height: 100%;
justify-content: center;
align-items: center;
flex-direction: column;
}
.video-screen {
background-color: #606971;
display: flex;
align-items: center;
height: 100%;
}
.video-screen__loading-spinner {
width: 4vw;
height: 4vw;
position: relative;
border-radius: 50%;
overflow: hidden;
border: .1vw solid black;
box-sizing: content-box;
}
.video-screen__loading-spinner::before,
.video-screen__loading-spinner::after {
content: "";
position: absolute;
height: 100%;
width: 50%;
top: 0;
}
.video-screen__loading-spinner::before {
left: 0;
animation-name: loadingSpinner;
animation-direction: normal;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.video-screen__loading-spinner::after {
left: 50%;
animation-name: loadingSpinner;
animation-direction: reverse;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.video-screen_loading-spinner__wrapper {
background-color: #40c14c;
border: .15vw solid black;
display: flex;
align-items: center;
justify-content: center;
width: fit-content;
padding: .5vw;
margin-bottom: 2vw;
}
.video-screen__text-wrapper {
background-color: white;
border: .15vw solid black;
padding: .5vw 1vw;
display: flex;
flex-direction: column;
justify-content: center;
}
.video-screen__header {
margin: 0;
font-style: italic;
text-transform: uppercase;
font-size: 1.75vw;
}
.video-screen__hidden {
display: none;
}
#video-screen__vehicle {
flex: 1;
align-items: center;
flex-direction: column;
height: 100%;
justify-content: space-between;
}
.video-screen__vehicle-details__wrapper {
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
}
.video-screen__vehicle-status__wrapper {
display: flex;
width: 100%;
justify-content: space-between;
}
.vehicle-details__white-dot {
border-radius: 50%;
background-color: white;
width: .5vw;
height: .5vw;
}
.video-screen__vehicle-status__wrapper p {
margin: 0;
text-transform: none;
font-size: 1.25vw;
padding: 0.25vw 1vw 0 1vw;
font-weight: 600;
align-items: center;
}
.video-screen__info-text {
font-style: italic;
text-transform: uppercase;
font-weight: bold;
font-size: .875vw;
text-align: center;
margin: 0;
}
@keyframes loadingSpinner {
from {
background: linear-gradient(#000e0d, #000e0d 50%, #f9fb07 50%);
}
to {
background: linear-gradient(#f9fb07, #f9fb07 50%, #000e0d 50%);
}
}
#power-display__inner {
flex-direction: column;
}
.power-screen__button-container {
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 5px;
border-bottom: white solid .1vw;
}
.power-screen__button-container button {
outline-style: none;
}
#push-to-open-button {
border-bottom: 0px;
}
.power-screen__left {
display: flex;
flex: 1;
border-right: white solid .1vw;
flex-direction: column;
}
.power-screen__right {
flex: 1;
border-left: white solid 1px;
}
.power-button__text {
margin: .5vw 0px;
font-size: 1vw;
}
.power-screen__contact-position-container,
.power-screen__stored-energy-container {
text-align: center;
border-bottom: white solid 2px;
}
.power-screen__voltage-switches-container {
display: flex;
justify-content: center;
}
.power-screen__warning-text {
color: white;
margin: 0;
font-size: .70vw;
padding-left: 1vw;
padding-top: .5vw;
}
.power-screen__status-text {
margin: .5vw auto;
font-size: 1vw;
}
#video-screen__power {
flex: 1;
justify-content: center;
height: 100%;
}
#charge-status {
background-color: white;
}
#contact-status {
background-color: #148e42;
color: white;
}
.vehicle-details__detail-container {
display: flex;
justify-content: space-between;
flex: 1;
align-items: center;
margin-bottom: .1vw;
}
.video-screen__vehicle-img__wrapper {
background: url("../../public/images/vehicleGraphic.png");
width: 100%;
height: 100%;
background-size: contain;
background-repeat: no-repeat;
}
.vide-screen__vehicle-details__right {
flex: 1;
background: url("../../public/images/explorerGraphic.png");
width: 100%;
height: 100%;
background-size: contain;
background-repeat: no-repeat;
background-color: #020713;
background-position: center;
border-top: .1vw solid #3B6285;
border-left: .1vw solid #3B6285;
}
.vehicle-details__detail-container .triangle-wrapper {
align-self: end;
}
.video-screen__vehicle-details__left {
display: flex;
flex-direction: column;
margin-right: 1vw;
}
.vehicle-status__active {
margin: 0 .5vw;
background: radial-gradient(circle, #5FC2A6, #2C7C6E, #1B5E60, #023B3A);
width: 1vw;
height: 1vw;
border-radius: 50%;
border: .1vw solid black;
}
.vehicle-status__inactive {
margin: 0 .5vw;
background: radial-gradient(circle, #db817b, #6E5375, #725378, #473959);
width: 1vw;
height: 1vw;
border-radius: 50%;
border: .1vw solid black;
}
.vehicle-status__label {
position: relative;
}
.outer-triangle__right-blue {
width: 0;
height: 0;
border-top: .75vw solid transparent;
border-left: .75vw solid #3B6285;
border-bottom: .75vw solid transparent;
position: absolute;
}
.inner-triangle__right-blue {
width: 0;
height: 0;
border-top: .65vw solid transparent;
border-left: .65vw solid black;
border-bottom: .65vw solid transparent;
position: absolute;
top: 0.1vw;
left: 0;
}
#vehicle-details__tour-vehicle {
width: 23.75vw;
}
.video-screen__vehicle-details__left .vehicle-details__status-text {
margin: 0;
border-top: .1vw solid #3B6285;
border-left: .1vw solid #3B6285;
border-bottom: .1vw solid #3B6285;
font-size: .75vw;
}
.video-screen__vehicle-details__left > div:nth-child(3) > p,
.video-screen__vehicle-details__left > div:nth-child(4) > p {
background: #2F89C6;
}
.video-screen__vehicle-details__left > div:nth-child(3) > div.triangle-wrapper > div.inner-triangle__right-blue,
.video-screen__vehicle-details__left > div:nth-child(4) > div.triangle-wrapper > div.inner-triangle__right-blue {
border-left: 0.65vw solid #2F89C6;
}