mapguesser/public/static/css/map_editor.css

107 lines
1.7 KiB
CSS

#metadata {
position: absolute;
top: 50px;
left: 10px;
padding: 10px;
background-color: #eeeeee;
border: solid 1px #555555;
border-radius: 3px;
box-sizing: border-box;
opacity: 0.95;
z-index: 2;
visibility: hidden;
}
#map {
width: 100%;
height: calc(100% - 40px);
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;
top: 50px;
right: 10px;
width: 125px;
z-index: 3;
}
#placeControl {
position: absolute;
right: 10px;
z-index: 3;
width: 100px;
visibility: hidden;
}
#deleteButton {
display: none;
}
@media screen and (max-width: 999px) and (min-height: 600px) {
#metadata {
width: calc(100% - 155px);
}
#map.selected {
height: calc(50% - 20px);
}
#panorama, #noPano {
left: 0;
bottom: 0;
right: 0;
height: calc(50% - 20px);
}
#placeControl {
top: calc(50% + 30px);
}
}
@media screen and (min-width: 1000px), (max-height: 599px) {
#metadata {
width: calc(50% - 20px);
}
#metadata.selected {
top: 95px;
}
#map.selected {
width: 50%;
}
#panorama, #noPano {
top: 40px;
bottom: 0;
right: 0;
width: 50%;
}
#placeControl {
top: 50px;
}
#modified.selected {
right: calc(50% + 10px);
}
#control.selected {
right: calc(50% + 10px);
}
}