2020-09-23 22:33:23 +00:00
|
|
|
/*
|
|
|
|
Contains tweaks for small screens
|
|
|
|
*/
|
|
|
|
|
|
|
|
.only-on-mobile {
|
2021-01-07 03:50:12 +00:00
|
|
|
display: none !important;
|
2020-11-14 01:54:33 +00:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-09-23 22:33:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 600px), only screen and (max-height: 600px) {
|
|
|
|
|
|
|
|
.only-on-mobile {
|
2021-01-17 20:04:37 +00:00
|
|
|
display: unset !important;
|
2020-11-14 01:54:33 +00:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-09-23 22:33:23 +00:00
|
|
|
}
|
2021-01-17 20:04:37 +00:00
|
|
|
|
2020-09-23 22:33:23 +00:00
|
|
|
.hidden-on-mobile {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#help-button-mobile div {
|
|
|
|
box-shadow: 0 0 10px #0006;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#geolocate-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#centermessage {
|
|
|
|
top: 30%;
|
|
|
|
left: 15%;
|
|
|
|
width: 60%;
|
|
|
|
|
|
|
|
}
|
2021-01-17 20:04:37 +00:00
|
|
|
|
2020-09-23 22:33:23 +00:00
|
|
|
.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;
|
2021-01-17 20:04:37 +00:00
|
|
|
|
2020-09-23 22:33:23 +00:00
|
|
|
position: absolute;
|
|
|
|
z-index: 10000;
|
|
|
|
width: 100vw;
|
2020-11-23 01:55:18 +00:00
|
|
|
height: 100vh;
|
2020-09-23 22:33:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-21 02:38:12 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
.leaflet-control-attribution{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-23 22:33:23 +00:00
|
|
|
@media only screen and (max-width: 600px) {
|
|
|
|
/* Portrait */
|
|
|
|
#userbadge-and-search {
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
|
2020-12-02 20:37:53 +00:00
|
|
|
.userbadge-login {
|
|
|
|
min-width: unset;
|
2020-09-23 22:33:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#userbadge {
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
}
|
2020-11-27 12:39:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|