mapcomplete/css/mobile.css

78 lines
1.3 KiB
CSS
Raw Normal View History

/*
Contains tweaks for small screens
*/
@media only screen and (min-width: 769px) and (min-height: 700px) {
.only-on-mobile {
2021-06-16 21:23:03 +02:00
display: none !important;
}
2021-06-16 21:23:03 +02:00
}
2022-03-10 23:18:40 +01:00
@media only screen and (min-height: 175px) and (min-width: 175px) {
2022-03-10 23:18:40 +01:00
.very-small-screen {
display: none !important;
}
.hidden-on-very-small-screen {
}
}
@media not screen and (min-height: 175px) and (min-width: 175px) {
2022-03-10 23:18:40 +01:00
.very-small-screen {
}
.hidden-on-very-small-screen {
display: none !important;
}
}
@media only screen and (max-width: 768px), only screen and (max-height: 700px) {
2021-06-16 21:23:03 +02:00
.hidden-on-mobile {
display: none !important;
}
#centermessage {
top: 30%;
left: 15%;
width: 60%;
}
.add-popup-all-buttons {
/* Buttons in the 'add new point' have a default of 50vh maxheight which is ugly in the new context*/
max-height: unset !important;
}
#messagesboxmobile {
display: block;
position: absolute;
z-index: 10000;
width: 100vw;
height: 100vh;
}
}
@media only screen and (max-width: 768px) {
#leafletDiv .leaflet-control-attribution {
display: none;
}
2021-06-15 16:18:58 +02:00
.leaflet-popup {
display: none;
}
}