mirror of
https://github.com/Max-Stevenson/jurassic-park-interface.git
synced 2024-09-16 01:54:35 +00:00
86 lines
1.7 KiB
SCSS
86 lines
1.7 KiB
SCSS
.control-panel__video-screen {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.video-screen {
|
|
background-color: #606971;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 50px 20px;
|
|
}
|
|
|
|
.video-screen__loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
position: relative;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.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: 2px solid black;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: fit-content;
|
|
padding: 5px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.video-screen__text-wrapper {
|
|
background-color: white;
|
|
border: 2px solid black;
|
|
padding: 5px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.video-screen__header {
|
|
margin: 0;
|
|
font-style: italic;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.video-screen__info-text {
|
|
font-style: italic;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
}
|
|
|
|
@keyframes loadingSpinner {
|
|
from {
|
|
background: linear-gradient(#000e0d, #000e0d 50%, #f9fb07 50%);
|
|
}
|
|
to {
|
|
background: linear-gradient(#f9fb07, #f9fb07 50%, #000e0d 50%);
|
|
}
|
|
} |