- Add handler functions for event listeners - Change agreement step to wait for interaction - Remove listeners after each step - Add steps object
183 lines
No EOL
2.5 KiB
SCSS
183 lines
No EOL
2.5 KiB
SCSS
@use "sass:map";
|
|
|
|
@import "demo_config";
|
|
@import "hippie-style/hippie";
|
|
|
|
$z-indexes: (
|
|
"default": 0,
|
|
"content-bottom": 1,
|
|
"content-low": 2,
|
|
"content-med": 3,
|
|
"content-high": 4,
|
|
"content-top": 10,
|
|
"modal-low": 11,
|
|
"modal-med": 12,
|
|
"modal-high": 13,
|
|
"toast": 100
|
|
);
|
|
|
|
.op_show {
|
|
transition: $transition_show;
|
|
}
|
|
|
|
.op_hide {
|
|
transition: $transition_hide;
|
|
}
|
|
|
|
.html_ui {
|
|
height: 100%;
|
|
|
|
body {
|
|
position: relative;
|
|
min-height: 100%;
|
|
background-color: black;
|
|
}
|
|
}
|
|
|
|
#loader {
|
|
@extend %full_parent;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: white;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 50%;
|
|
}
|
|
|
|
#wrap {
|
|
flex: 1;
|
|
background-color: $color_back_basic;
|
|
}
|
|
|
|
#progress {
|
|
width: 0%;
|
|
height: 100%;
|
|
background-color: black;
|
|
}
|
|
|
|
#status,
|
|
#spinner {
|
|
@extend %basic;
|
|
|
|
display: flex;
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-inline: $space_half;
|
|
padding-block: calc($space_half - 1px) $space_half;
|
|
line-height: $line_basic;
|
|
text-align: center;
|
|
}
|
|
|
|
#status {
|
|
width: 4em;
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
|
|
#spinner {
|
|
width: 2.5em;
|
|
background-color: $color_back_basic;
|
|
color: black;
|
|
|
|
span {
|
|
animation: rotate 1s linear infinite;
|
|
}
|
|
}
|
|
|
|
@keyframes rotate {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
#intro {
|
|
@extend %full_parent;
|
|
|
|
z-index: map.get($z-indexes, "content-top");
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: black;
|
|
pointer-events: none;
|
|
|
|
h1,
|
|
p,
|
|
li {
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.brand {
|
|
text-align: center;
|
|
|
|
img {
|
|
display: inline-block;
|
|
width: 128px;
|
|
height: 128px;
|
|
background-color: white;
|
|
}
|
|
|
|
*+h1 {
|
|
margin-top: $space_small;
|
|
margin-bottom: $space_large;
|
|
}
|
|
}
|
|
|
|
.tech-stack {
|
|
display: flex;
|
|
padding-left: 0;
|
|
|
|
li {
|
|
list-style: none;
|
|
padding-inline: $space_double;
|
|
}
|
|
}
|
|
|
|
#agreement {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
background-color: $color_back_basic;
|
|
}
|
|
|
|
.toast {
|
|
z-index: map.get($z-indexes, "toast");
|
|
position: fixed;
|
|
right: $space_half;
|
|
bottom: $space_double;
|
|
|
|
p {
|
|
color: white;
|
|
}
|
|
|
|
kbd {
|
|
border-color: $color_brighter;
|
|
color: $color_back_io;
|
|
}
|
|
}
|
|
|
|
.hello {
|
|
flex: 0 1 auto;
|
|
padding: 1em 2em;
|
|
background-color: rgba(black, .25);
|
|
}
|
|
|
|
@import "modules/ui/new_module";
|
|
@import "modules/ui/settings_module";
|
|
@import "modules/ui/drag_module"; |