You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
2.4 KiB
129 lines
2.4 KiB
$button-color: rgb(147, 146, 146);
|
|
$main-color: rgb(240, 141, 25);
|
|
|
|
*{
|
|
margin:0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Roboto-Regular";
|
|
}
|
|
|
|
main{
|
|
position: relative;
|
|
height: 100vh;
|
|
|
|
#errorbar{
|
|
position: absolute;
|
|
top:0;
|
|
width: 100%;
|
|
padding: 0.4em;
|
|
background-color: rgba(232, 9, 9, 0.4);
|
|
border: 4px solid rgba(232, 9, 9, 0.8);
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-size: 1.8em;
|
|
z-index: 1;
|
|
transform: translateY(-100%);
|
|
transition: transform 1s;
|
|
&.active{
|
|
transform: translateY(0%);
|
|
}
|
|
}
|
|
|
|
.canvas{
|
|
background-color: lightgrey;
|
|
position: relative;
|
|
height: 100%;
|
|
|
|
.background{
|
|
position: absolute;
|
|
top:0;
|
|
left:0;
|
|
background-color: rgba(0,0,0,0.5);
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
input{
|
|
position: absolute;
|
|
border: none;
|
|
padding: 0.6em 1em;
|
|
width: 200px;
|
|
font-size: 1.2em;
|
|
text-align: center;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
}
|
|
}
|
|
|
|
nav, footer{
|
|
display: flex;
|
|
position: absolute;
|
|
top: 1em;
|
|
left: 1em;
|
|
opacity: 0.9;
|
|
|
|
button{
|
|
display: block;
|
|
background-color: $button-color;
|
|
border: none;
|
|
border-radius: 1em;
|
|
padding: 1em 1em;
|
|
min-width: 8em;
|
|
margin: 0.4em;
|
|
color: black;
|
|
border: solid 2px darken($button-color, 50);
|
|
box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
&::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
&:hover{
|
|
background-color: lighten($button-color, 10);
|
|
border-color: darken($button-color, 100);
|
|
cursor: pointer;
|
|
}
|
|
&.active{
|
|
background-color: $main-color;
|
|
}
|
|
h1{
|
|
text-align: center;
|
|
font-size: 1.4em;
|
|
font-weight: normal;
|
|
|
|
white-space: nowrap
|
|
}
|
|
img{
|
|
display: block;
|
|
margin: 0 auto 0.5em auto;
|
|
width: 2em;
|
|
}
|
|
}
|
|
}
|
|
footer{
|
|
top: auto;
|
|
left: auto;
|
|
bottom: 1em;
|
|
right: 1em;
|
|
left: 1em;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
#infobar{
|
|
position: absolute;
|
|
bottom:0;
|
|
left: 0;
|
|
width: 50%;
|
|
padding: 0.4em;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
font-weight: bold;
|
|
font-size: 1.8em;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
transition: opacity 1s;
|
|
&.active{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|