jurassic-park-interface/sass/components/_video-screen.scss

298 lines
5.7 KiB
SCSS
Raw Normal View History

.control-panel__video-screen {
2020-06-04 16:49:02 +00:00
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 {
2020-09-03 20:05:47 +00:00
width: 4vw;
height: 4vw;
position: relative;
border-radius: 50%;
overflow: hidden;
2020-09-03 20:05:47 +00:00
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;
2020-09-03 20:05:47 +00:00
border: .15vw solid black;
display: flex;
align-items: center;
justify-content: center;
width: fit-content;
2020-09-03 20:05:47 +00:00
padding: .5vw;
margin-bottom: 2vw;
}
2020-06-01 18:50:36 +00:00
.video-screen__text-wrapper {
background-color: white;
2020-09-03 20:05:47 +00:00
border: .15vw solid black;
padding: .5vw 1vw;
2020-06-04 16:49:02 +00:00
display: flex;
flex-direction: column;
justify-content: center;
2020-06-01 18:50:36 +00:00
}
.video-screen__header {
margin: 0;
font-style: italic;
text-transform: uppercase;
2020-09-03 20:05:47 +00:00
font-size: 1.75vw;
2020-06-01 18:50:36 +00:00
}
.video-screen__hidden {
display: none;
}
#video-screen__vehicle {
2020-09-07 19:51:16 +00:00
flex: 1;
align-items: center;
flex-direction: column;
2020-09-08 21:11:23 +00:00
height: 100%;
justify-content: space-between;
}
.video-screen__vehicle-details__wrapper {
display: flex;
flex-direction: row;
width: 100%;
2020-09-09 01:51:15 +00:00
align-items: center;
2020-09-07 19:51:16 +00:00
}
.video-screen__vehicle-status__wrapper {
display: flex;
2020-09-08 21:11:23 +00:00
width: 100%;
justify-content: space-between;
}
.video-screen__vehicle-status__wrapper p {
margin: 0;
text-transform: none;
font-size: 1.25vw;
padding: 0.25vw 1vw 0 1vw;
2020-09-08 21:11:23 +00:00
font-weight: 600;
}
.video-screen__info-text {
2020-06-01 18:50:36 +00:00
font-style: italic;
text-transform: uppercase;
font-weight: bold;
2020-09-03 20:05:47 +00:00
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;
2020-09-07 19:19:41 +00:00
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;
2020-09-07 19:19:41 +00:00
border-right: white solid .1vw;
flex-direction: column;
}
.power-screen__right {
flex: 1;
border-left: white solid 1px;
}
.power-button__text {
2020-09-07 19:19:41 +00:00
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;
2020-09-07 19:19:41 +00:00
font-size: .75vw;
padding-left: 1vw;
padding-top: .5vw;
}
.power-screen__status-text {
2020-09-07 19:19:41 +00:00
margin: .5vw auto;
font-size: 1vw;
}
#video-screen__power {
flex: 1;
justify-content: center;
2020-09-07 19:19:41 +00:00
height: 100%;
}
#charge-status {
background-color: white;
}
#contact-status {
background-color: #148e42;
color: white;
}
2020-09-08 21:11:23 +00:00
.vehicle-details__detail-container {
display: flex;
justify-content: space-between;
flex: 1;
2020-09-09 01:51:15 +00:00
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;
2020-09-09 01:51:15 +00:00
}
.vehicle-details__detail-container .triangle-wrapper {
align-self: end;
2020-09-08 21:11:23 +00:00
}
.video-screen__vehicle-details__left {
display: flex;
flex-direction: column;
}
.vehicle-status__active {
2020-09-09 01:51:15 +00:00
margin: 0 1vw;
background: radial-gradient(circle, #5FC2A6, #2C7C6E, #1B5E60, #023B3A);
width: 1vw;
height: 1vw;
border-radius: 50%;
border: .1vw solid black;
}
.vehicle-status__inactive {
margin: 0 1vw;
background: radial-gradient(circle, #db817b, #6E5375, #725378, #473959);
width: 1vw;
height: 1vw;
border-radius: 50%;
border: .1vw solid black;
2020-09-08 21:11:23 +00:00
}
.vehicle-status__label {
position: relative;
}
.outer-triangle__right-blue {
width: 0;
height: 0;
2020-09-09 01:51:15 +00:00
border-top: .75vw solid transparent;
border-left: .75vw solid #3B6285;
border-bottom: .75vw solid transparent;
2020-09-08 21:11:23 +00:00
position: absolute;
}
.inner-triangle__right-blue {
width: 0;
height: 0;
2020-09-09 01:51:15 +00:00
border-top: .65vw solid transparent;
border-left: .65vw solid black;
border-bottom: .65vw solid transparent;
2020-09-08 21:11:23 +00:00
position: absolute;
top: 0.1vw;
left: 0;
}
#vehicle-details__tour-vehicle {
width: 23.75vw;
}
2020-09-09 01:51:15 +00:00
.video-screen__vehicle-details__left .vehicle-details__status-text {
2020-09-08 21:11:23 +00:00
margin: 0;
border-top: .1vw solid #3B6285;
border-left: .1vw solid #3B6285;
2020-09-09 01:51:15 +00:00
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;
}