audio-vis/raw/scss/_gui.scss

108 lines
1.6 KiB
SCSS
Raw Normal View History

2020-04-07 21:44:46 +02:00
#c {
width: 100%;
height: 100%;
}
group {
display: block;
padding-bottom: 10px;
user-select: none;
}
group-label {
display: block;
border-bottom: 1px solid #fff;
font-size: 21px;
font-weight: 500;
user-select: none;
}
group-input {
display: flex;
align-items: center;
margin-top: 5px;
user-select: none;
label {
padding-right: 10px;
user-select: none;
width: 150px;
}
input {
flex-grow: 1;
user-select: none;
max-width: 150px;
}
button {
border: 1px solid #dcdcdc;
background-color: transparent;
color: #fff;
margin-left: 5px;
}
}
.closed {
transform: translateX(-350px);
transition: all .5s;
}
.top-menu-left {
display: flex;
div {
position: relative;
}
}
.loading-screen {
z-index: 100;
background-color: #000;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
span {
font-family: monospace;
font-size: 4vw;
z-index: 2;
}
loader {
position: absolute;
top: calc(6vw + 10px);
left: 0;
right: 0;
bottom: 0;
margin: auto;
display: block;
width: 30vw;
height: 6px;
transform: scaleX(0);
transform-origin: left;
background-color: #006ea8;
animation: loadingBar 2s infinite;
&.delay {
background-color: rgba(0, 110, 168, 0.24);
filter: blur(1px);
animation-delay: .05s;
}
}
}
@keyframes loadingBar {
0%, 100% {
transform: scaleX(0) scaleY(0);
}
50% {
transform: scaleX(1) scaleY(1);
transform-origin: left;
}
51%, 100% {
transform-origin: right;
}
}