mapguesser/public/static/css/map_editor.css

81 lines
1.3 KiB
CSS

#map {
width: 100%;
height: calc(100% - 50px);
z-index: 1;
}
.leaflet-container {
cursor: crosshair;
}
#panorama {
position: absolute;
z-index: 1;
visibility: hidden;
}
#noPano {
display: flex;
position: absolute;
z-index: 2;
visibility: hidden;
background: #cccccc;
}
#noPano>p {
margin: auto;
}
#control {
position: absolute;
width: 125px;
z-index: 3;
}
#placeControl {
position: absolute;
z-index: 3;
width: 100px;
visibility: hidden;
}
@media screen and (max-width: 999px) and (min-height: 600px) {
#map.selected {
height: calc(50% - 25px);
}
#panorama, #noPano {
left: 0;
bottom: 0;
right: 0;
height: calc(50% - 25px);
}
#control {
right: 10px;
top: 60px;
}
#placeControl {
right: 10px;
top: calc(50% + 35px);
}
}
@media screen and (min-width: 1000px), (max-height: 599px) {
#map.selected {
width: 50%;
}
#panorama, #noPano {
top: 50px;
bottom: 0;
right: 0;
width: 50%;
}
#control, #placeControl {
right: 10px;
top: 60px;
}
#control.selected {
right: calc(50% + 10px);
top: 60px;
}
}