286 lines
4.8 KiB
CSS
286 lines
4.8 KiB
CSS
#panorama {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
#panoCover {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-color: #000000;
|
|
opacity: 0.5;
|
|
z-index: 3;
|
|
}
|
|
|
|
#guess {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
right: 20px;
|
|
z-index: 2;
|
|
}
|
|
|
|
#guess.result {
|
|
z-index: 4;
|
|
}
|
|
|
|
#guess>#continueButtonContainer {
|
|
display: none;
|
|
}
|
|
|
|
#guess.result>#closeGuessButtonContainer, #guess.result>#guessButtonContainer {
|
|
display: none;
|
|
}
|
|
|
|
#guess.result>#continueButtonContainer {
|
|
display: block;
|
|
}
|
|
|
|
#map {
|
|
width: 100%;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#guess.result>#map {
|
|
height: calc(100% - 170px);
|
|
}
|
|
|
|
#resultInfo {
|
|
margin-top: 5px;
|
|
width: 100%;
|
|
height: 120px;
|
|
padding: 5px 20px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
background-color: #ffffff;
|
|
border-radius: 3px;
|
|
display: none;
|
|
}
|
|
|
|
#guess.result>#resultInfo {
|
|
display: block;
|
|
}
|
|
|
|
#resultInfo>div {
|
|
width: 100%;
|
|
height: 33.33%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#resultInfo p {
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|
|
|
|
#distanceInfo>p:nth-child(2), #distanceInfo>p:nth-child(3), #scoreInfo>p:nth-child(2) {
|
|
display: none;
|
|
}
|
|
|
|
#scoreBarBase {
|
|
height: 24px;
|
|
margin: 0 auto;
|
|
background-color: #eeeeee;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#scoreBar {
|
|
width: 0;
|
|
height: 100%;
|
|
border-radius: 3px;
|
|
transition-property: width;
|
|
transition-duration: 2.0s;
|
|
}
|
|
|
|
#showSummaryButton, #startNewGameButton {
|
|
display: none;
|
|
}
|
|
|
|
#startMultiGameButton {
|
|
display: none;
|
|
}
|
|
|
|
#players > p {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#countdown {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
padding: 0 8px;
|
|
background-color: #eeeeee;
|
|
border: solid 1px #555555;
|
|
border-radius: 3px;
|
|
opacity: 0.95;
|
|
z-index: 5;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#countdown.yellow {
|
|
background-color: #f7c789;
|
|
border: solid 1px #e8a349;
|
|
}
|
|
|
|
#countdown.red {
|
|
background-color: #f7a5a5;
|
|
border: solid 1px #aa5e5e;
|
|
}
|
|
|
|
#countdown p {
|
|
font-size: 16px;
|
|
line-height: inherit;
|
|
}
|
|
|
|
#countdown.yellow p {
|
|
color: #9c4308;
|
|
}
|
|
|
|
#countdown.red p {
|
|
color: #701919;
|
|
}
|
|
|
|
#navigation {
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
#navigation .navigationItem {
|
|
margin-top: 10px;
|
|
opacity: 70%;
|
|
}
|
|
#navigation .navigationItem:hover {
|
|
opacity: 100%;
|
|
}
|
|
#navigation span {
|
|
position: absolute;
|
|
}
|
|
#navigation .circleBackground {
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 50%;
|
|
}
|
|
#navigation .navigationIcon {
|
|
width: 75%;
|
|
height: 75%;
|
|
margin: auto;
|
|
margin-top: 50%;
|
|
transform: translateY(-50%);
|
|
-ms-transform: translateY(-50%);
|
|
}
|
|
|
|
@media screen and (max-width: 599px) {
|
|
#mapName {
|
|
display: none;
|
|
}
|
|
#showGuessButtonContainer {
|
|
position: absolute;
|
|
left: 60px;
|
|
bottom: 30px;
|
|
right: 60px;
|
|
z-index: 2;
|
|
}
|
|
#guess {
|
|
top: 10px;
|
|
left: 20px;
|
|
opacity: 0.95;
|
|
visibility: hidden;
|
|
}
|
|
#map {
|
|
height: calc(100% - 90px);
|
|
}
|
|
#scoreBarBase {
|
|
width: 100%;
|
|
}
|
|
#navigation {
|
|
bottom: 25px;
|
|
left: 10px;
|
|
width: 45px;
|
|
}
|
|
#navigation .navigationItem {
|
|
height: 45px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
#showGuessButtonContainer {
|
|
display: none;
|
|
}
|
|
#guess {
|
|
width: 500px;
|
|
height: 375px;
|
|
opacity: 0.95;
|
|
}
|
|
#guess.adapt {
|
|
top: initial;
|
|
width: 250px;
|
|
height: 200px;
|
|
opacity: 0.5;
|
|
transition-property: width, height, opacity;
|
|
transition-duration: 0.1s;
|
|
transition-delay: 0.8s;
|
|
}
|
|
#guess.adapt:hover {
|
|
width: 500px;
|
|
height: 375px;
|
|
opacity: 0.95;
|
|
transition-delay: 0s;
|
|
}
|
|
#closeGuessButtonContainer {
|
|
display: none;
|
|
}
|
|
#map {
|
|
height: calc(100% - 45px);
|
|
}
|
|
#guess.result {
|
|
width: initial;
|
|
height: initial;
|
|
top: 10px;
|
|
left: 50px;
|
|
right: 50px;
|
|
bottom: 50px;
|
|
}
|
|
#scoreBarBase {
|
|
width: 60%;
|
|
}
|
|
#navigation {
|
|
bottom: 50px;
|
|
left: 20px;
|
|
width: 60px;
|
|
}
|
|
#navigation .navigationItem {
|
|
height: 60px;
|
|
}
|
|
@media screen and (max-height: 424px) {
|
|
#guess {
|
|
top: 10px;
|
|
height: initial;
|
|
}
|
|
#guess.adapt:hover {
|
|
top: 10px;
|
|
height: initial;
|
|
}
|
|
#guess.result {
|
|
left: 20px;
|
|
right: 20px;
|
|
bottom: 30px;
|
|
}
|
|
#navigation {
|
|
bottom: 30px;
|
|
left: 10px;
|
|
width: 45px;
|
|
}
|
|
#navigation .navigationItem {
|
|
height: 45px;
|
|
}
|
|
}
|
|
}
|