mapguesser/public/static/css/mapguesser.css
2020-05-19 16:18:12 +02:00

134 lines
1.9 KiB
CSS

* {
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%;
z-index: 1;
}
#guess {
position: absolute;
right: 20px;
bottom: 20px;
width: 250px;
height: 150px;
opacity: 0.5;
z-index: 2;
visibility: visible;
transition-property: width, height, opacity;
transition-duration: 0.1s;
transition-delay: 0.8s;
}
#guess:hover {
width: 500px;
height: 350px;
opacity: 0.95;
transition-delay: 0s;
}
#guess #guessMap {
height: 115px;
width: 100%;
transition-property: height;
transition-duration: 0.1s;
transition-delay: 0.8s;
border-radius: 3px;
}
#guess:hover #guessMap {
height: 315px;
transition-delay: 0s;
}
#guessButtonContainer {
margin-top: 5px;
height: 30px;
}
#guessButton {
padding: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#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;
}
#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;
}