MAPG-4 show real position after guess

make workflow better
This commit is contained in:
bence committed 2020-05-19 16:18:12 +02:00
1 parent dc943fa3cb
commit e4c59739dc
3 files changed
+185 -52

No files matched your search

+74 -16
View File
@@ -1,9 +1,53 @@
* {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
p, button {
font-family: 'Roboto', sans-serif;
}
p {
font-weight: 300;
font-size: 12px;
}
.bold {
font-weight: 500;
}
button {
cursor: pointer;
font-size: 15px;
font-weight: 500;
color: #ffffff;
background-color: #5e77aa;
padding: 8px 15px;
border: none;
border-radius: 3px;
}
button:hover, button:focus {
background-color: #29457f;
outline: none;
}
button:disabled {
cursor: no-drop;
color: #dddddd;
background-color: #808080;
opacity: 0.7;
}
#panorama {
height: 100%;
width: 100%;
@@ -18,6 +62,7 @@ html, body {
height: 150px;
opacity: 0.5;
z-index: 2;
visibility: visible;
transition-property: width, height, opacity;
transition-duration: 0.1s;
transition-delay: 0.8s;
@@ -26,7 +71,7 @@ html, body {
#guess:hover {
width: 500px;
height: 350px;
opacity: 1.0;
opacity: 0.95;
transition-delay: 0s;
}
@@ -50,26 +95,39 @@ html, body {
}
#guessButton {
cursor: pointer;
font-size: 14px;
font-weight: bold;
color: #ffffff;
background-color: #5e77aa;
border: none;
border-radius: 3px;
padding: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#guessButton:hover, #guessButton:focus {
background-color: #29457f;
outline: none;
#result {
position: absolute;
top: 50px;
left: 50px;
right: 50px;
bottom: 50px;
opacity: 0.95;
z-index: 2;
visibility: hidden;
background-color: #ffffff;
border-radius: 3px;
}
#guessButton:disabled {
cursor: no-drop;
color: #dddddd;
background-color: #808080;
opacity: 0.7;
#resultMap {
height: 70%;
width: 100%;
}
#resultInfo {
height: 30%;
width: 100%;
padding: 20px;
text-align: center;
box-sizing: border-box;
}
#resultInfo p {
margin-bottom: 20px;
font-size: 24px;
}