481 lines
8.9 KiB
SCSS
481 lines
8.9 KiB
SCSS
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
main {
|
|
max-height: 100%;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
button {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
'Open Sans', 'Helvetica Neue', sans-serif;
|
|
font-size: 16px;
|
|
|
|
padding: 6px 15px;
|
|
background-color: transparent;
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
max-width: 180px;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
label {
|
|
font-weight: bold;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
input[type='text'],
|
|
input[type='number'] {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
font-size: 18px;
|
|
padding: 8px 12px;
|
|
outline: 0;
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
select {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
font-size: 18px;
|
|
padding: 8px 12px;
|
|
outline: 0;
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
textarea {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 25px;
|
|
min-height: 8rem;
|
|
font-size: 18px;
|
|
padding: 8px 12px;
|
|
outline: 0;
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.ui {
|
|
position: absolute;
|
|
bottom: 40px;
|
|
left: 40px;
|
|
right: 40px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
|
|
#companion {
|
|
position: relative;
|
|
z-index: 10;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#companion-shape {
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
#companion-await-indicator {
|
|
height: 40px;
|
|
width: 40px;
|
|
position: absolute;
|
|
right: 0;
|
|
}
|
|
|
|
#companion-mouth {
|
|
position: absolute;
|
|
z-index: 2;
|
|
bottom: 16%;
|
|
left: calc(50% - 15px);
|
|
width: 30px;
|
|
height: 15px;
|
|
border: solid 3px #590c13;
|
|
border-color: #590c13 transparent transparent transparent;
|
|
border-radius: 70%/15px 15px 0 0;
|
|
transform: rotate(180deg);
|
|
opacity: 0;
|
|
}
|
|
|
|
#companion-eye {
|
|
height: 20px;
|
|
width: 20px;
|
|
top: 20%;
|
|
left: calc(50% - 10px);
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background-color: #ebeef2;
|
|
|
|
#companion-pupil {
|
|
height: 5px;
|
|
width: 5px;
|
|
top: 50%;
|
|
left: calc(50% - 4px);
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background-color: #0d0d0d;
|
|
}
|
|
}
|
|
}
|
|
|
|
#message {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 10;
|
|
right: 60px;
|
|
bottom: 50px;
|
|
margin-right: 100px;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
background-color: white;
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
|
|
flex-direction: column;
|
|
min-width: 70%;
|
|
|
|
#message-text {
|
|
margin-bottom: 25px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
#message-input {
|
|
margin-bottom: 25px;
|
|
font-size: 16px;
|
|
padding: 6px 10px;
|
|
border-radius: 5px;
|
|
border: 2px solid #b0b7bf;
|
|
min-height: 100px;
|
|
}
|
|
|
|
#message-confirm {
|
|
align-self: flex-end;
|
|
padding: 6px 15px;
|
|
background-color: transparent;
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
max-width: 180px;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: -10px;
|
|
bottom: 10px;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 14px solid transparent;
|
|
border-bottom: 14px solid transparent;
|
|
border-left: 14px solid white;
|
|
}
|
|
}
|
|
|
|
#score {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
align-items: flex-end;
|
|
color: #b0b7bf;
|
|
font-size: 32px;
|
|
|
|
#score-found {
|
|
font-size: 60px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#score-divider {
|
|
font-size: 42px;
|
|
align-self: flex-end;
|
|
}
|
|
}
|
|
|
|
#info-message {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 10;
|
|
top: 50%;
|
|
left: 50%;
|
|
min-width: 60%;
|
|
max-width: 90%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: #fff;
|
|
padding: 2.5rem 4rem;
|
|
border-radius: 15px;
|
|
--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
|
|
var(--tw-shadow);
|
|
|
|
#info-message-contents {
|
|
#info-message-contents-text {
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
h4 {
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-weight: bold;
|
|
color: #b0b7bf;
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
|
|
#info-message-contents-version {
|
|
h3 {
|
|
display: inline-block;
|
|
margin: 1rem 0 0 0;
|
|
padding: 0.4rem 0.6rem;
|
|
background-color: #4e4e4e;
|
|
color: #fff;
|
|
border-radius: 10px;
|
|
font-size: 30px;
|
|
letter-spacing: 2px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
#info-message-contents-commits {
|
|
.info-message-contents-commit {
|
|
background-color: #d0d5d9;
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
div {
|
|
span {
|
|
font-size: 14px;
|
|
color: #4e4e4e;
|
|
}
|
|
|
|
a {
|
|
color: #0d0d0d;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#info-message-header {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin-bottom: 25px;
|
|
|
|
#info-message-img {
|
|
display: none;
|
|
height: 100px;
|
|
width: 100px;
|
|
border-radius: 50%;
|
|
margin-right: 1.5rem;
|
|
}
|
|
|
|
#info-message-header-text {
|
|
#info-message-subheadline {
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-weight: bold;
|
|
color: #b0b7bf;
|
|
margin: 0;
|
|
}
|
|
#info-message-headline {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
#info-message-link {
|
|
display: none;
|
|
min-width: 20%;
|
|
padding: 6px 15px;
|
|
background-color: transparent;
|
|
border: 2px solid black;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
color: black;
|
|
text-align: center;
|
|
margin-top: 50px;
|
|
float: right;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
#info-message-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
height: 25px;
|
|
width: 25px;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
#intro {
|
|
background-color: white;
|
|
position: fixed;
|
|
z-index: 10;
|
|
top: 50%;
|
|
left: 50%;
|
|
min-width: 60%;
|
|
max-width: 90%;
|
|
max-height: 90%;
|
|
overflow-y: auto;
|
|
transform: translate(-50%, -50%);
|
|
background-color: #fff;
|
|
padding: 2.5rem 4rem;
|
|
border-radius: 15px;
|
|
--tw-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
|
|
var(--tw-shadow);
|
|
|
|
#intro-step1 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
h3 {
|
|
margin: 0.6rem 0 0rem 0;
|
|
}
|
|
|
|
p {
|
|
margin: 0.6rem 0 1rem;
|
|
}
|
|
|
|
#intro-disclaimer {
|
|
background-color: #ffedd5;
|
|
color: #7c2d12;
|
|
padding: 4px 20px;
|
|
border-radius: 5px;
|
|
border-left: 7px solid #7c2d12;
|
|
margin-top: 15px;
|
|
}
|
|
}
|
|
|
|
#intro-step2 {
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#intro-step3 {
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#intro-step4 {
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#intro-step5 {
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#intro-step6 {
|
|
display: none;
|
|
flex-direction: column;
|
|
|
|
label {
|
|
margin-top: 60px;
|
|
}
|
|
}
|
|
|
|
#intro-step7 {
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#intro-button {
|
|
float: right;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
#intro-error {
|
|
display: none;
|
|
margin-top: 25px;
|
|
background-color: #fecaca;
|
|
color: #7f1d1d;
|
|
padding: 8px 20px;
|
|
border-radius: 5px;
|
|
border-left: 7px solid #7f1d1d;
|
|
margin-top: 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#backdrop {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 3;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
#comp-backdrop {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 3;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
#intro-backdrop {
|
|
display: block;
|
|
position: fixed;
|
|
z-index: 3;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
}
|