2020-05-19 16:18:12 +02:00
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
font-size: 100%;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
2020-05-17 19:29:06 +02:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
p, button {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-weight: 300;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bold {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
cursor: pointer;
|
2020-05-21 01:58:47 +02:00
|
|
|
font-size: 16px;
|
2020-05-19 16:18:12 +02:00
|
|
|
font-weight: 500;
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: #5e77aa;
|
2020-05-21 01:58:47 +02:00
|
|
|
padding: 0 15px;
|
|
|
|
height: 35px;
|
2020-05-19 16:18:12 +02:00
|
|
|
border: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2020-05-21 01:58:47 +02:00
|
|
|
button:enabled:hover, button:enabled:focus {
|
2020-05-19 16:18:12 +02:00
|
|
|
background-color: #29457f;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:disabled {
|
|
|
|
cursor: no-drop;
|
|
|
|
color: #dddddd;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2020-05-21 01:58:47 +02:00
|
|
|
button.block {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.gray {
|
|
|
|
background-color: #808080;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.gray:hover, button.gray:focus {
|
|
|
|
background-color: #555555;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.buttonContainer {
|
|
|
|
height: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.buttonContainer.top {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.buttonContainer.bottom {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2020-05-20 15:54:09 +02:00
|
|
|
#loading {
|
|
|
|
position: absolute;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
margin-top: -20px;
|
|
|
|
margin-left: -20px;
|
2020-05-21 01:58:47 +02:00
|
|
|
z-index: 3;
|
2020-05-20 15:54:09 +02:00
|
|
|
}
|
|
|
|
|
2020-05-17 19:29:06 +02:00
|
|
|
#panorama {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guess {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 20px;
|
2020-05-21 01:58:47 +02:00
|
|
|
right: 20px;
|
2020-05-17 19:29:06 +02:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2020-05-21 01:58:47 +02:00
|
|
|
#guessMap {
|
2020-05-17 19:29:06 +02:00
|
|
|
width: 100%;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
#result {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0.95;
|
|
|
|
z-index: 2;
|
|
|
|
visibility: hidden;
|
|
|
|
background-color: #ffffff;
|
|
|
|
border-radius: 3px;
|
2020-05-17 19:29:06 +02:00
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
#resultMap {
|
|
|
|
height: 70%;
|
|
|
|
width: 100%;
|
2020-05-21 12:18:17 +02:00
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
2020-05-19 16:18:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#resultInfo {
|
|
|
|
height: 30%;
|
|
|
|
width: 100%;
|
2020-05-20 01:07:01 +02:00
|
|
|
padding: 10px 20px;
|
2020-05-19 16:18:12 +02:00
|
|
|
text-align: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2020-05-20 01:07:01 +02:00
|
|
|
#resultInfo > div {
|
|
|
|
height: 25%;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:18:12 +02:00
|
|
|
#resultInfo p {
|
|
|
|
font-size: 24px;
|
2020-05-17 19:29:06 +02:00
|
|
|
}
|
2020-05-20 01:07:01 +02:00
|
|
|
|
|
|
|
#scoreBarBase {
|
2020-05-21 01:58:47 +02:00
|
|
|
height: 24px;
|
2020-05-20 01:07:01 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
background-color: #eeeeee;
|
2020-05-21 02:26:36 +02:00
|
|
|
border-radius: 3px;
|
2020-05-20 01:07:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#scoreBar {
|
|
|
|
height: 100%;
|
2020-05-20 15:00:11 +02:00
|
|
|
width: 0;
|
2020-05-21 01:58:47 +02:00
|
|
|
border-radius: 3px;
|
2020-05-20 01:07:01 +02:00
|
|
|
transition-property: width;
|
2020-05-20 15:54:09 +02:00
|
|
|
transition-duration: 2.0s;
|
2020-05-20 01:07:01 +02:00
|
|
|
}
|
2020-05-21 01:58:47 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 599px) {
|
|
|
|
button {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#showGuessButtonContainer {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
bottom: 20px;
|
|
|
|
right: 20px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guess {
|
|
|
|
left: 20px;
|
|
|
|
top: 20px;
|
|
|
|
opacity: 0.95;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guessMap {
|
|
|
|
height: calc(100% - 80px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#result {
|
|
|
|
top: 20px;
|
|
|
|
left: 20px;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#scoreBarBase {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 600px) {
|
|
|
|
#showGuessButtonContainer {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guess {
|
2020-05-21 03:24:09 +02:00
|
|
|
width: 500px;
|
|
|
|
height: 350px;
|
|
|
|
opacity: 0.95;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guess.adapt {
|
|
|
|
top: initial;
|
2020-05-21 01:58:47 +02:00
|
|
|
width: 250px;
|
2020-05-21 03:24:09 +02:00
|
|
|
height: 175px;
|
2020-05-21 01:58:47 +02:00
|
|
|
opacity: 0.5;
|
|
|
|
transition-property: width, height, opacity;
|
|
|
|
transition-duration: 0.1s;
|
|
|
|
transition-delay: 0.8s;
|
|
|
|
}
|
|
|
|
|
2020-05-21 03:24:09 +02:00
|
|
|
#guess.adapt:hover {
|
2020-05-21 01:58:47 +02:00
|
|
|
width: 500px;
|
|
|
|
height: 350px;
|
|
|
|
opacity: 0.95;
|
|
|
|
transition-delay: 0s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#closeGuessButtonContainer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guessMap {
|
|
|
|
height: calc(100% - 40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#result {
|
|
|
|
top: 50px;
|
|
|
|
left: 50px;
|
|
|
|
right: 50px;
|
|
|
|
bottom: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#scoreBarBase {
|
|
|
|
width: 60%;
|
|
|
|
}
|
2020-05-21 03:24:09 +02:00
|
|
|
|
|
|
|
@media screen and (max-height: 389px) {
|
|
|
|
#guess {
|
|
|
|
top: 20px;
|
|
|
|
height: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
#guess.adapt:hover {
|
|
|
|
top: 20px;
|
|
|
|
height: initial;
|
|
|
|
}
|
|
|
|
}
|
2020-05-21 01:58:47 +02:00
|
|
|
}
|