2020-09-24 00:33:23 +02:00
|
|
|
/*
|
|
|
|
Contains tweaks for small screens
|
|
|
|
*/
|
|
|
|
|
|
|
|
.only-on-mobile {
|
|
|
|
display: none;
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-09-24 00:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 600px), only screen and (max-height: 600px) {
|
|
|
|
|
|
|
|
.only-on-mobile {
|
|
|
|
display: unset;
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-09-24 00:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden-on-mobile {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#messagesbox {
|
|
|
|
display: none;
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-09-24 00:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#help-button-mobile{
|
|
|
|
display: unset;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
#help-button-mobile div {
|
|
|
|
box-shadow: 0 0 10px #0006;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#geolocate-button {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-11-16 01:59:30 +01:00
|
|
|
|
2020-09-24 00:33:23 +02:00
|
|
|
.leaflet-popup {
|
2020-11-16 01:59:30 +01:00
|
|
|
/* On mobile, the popups are shown as a full-screen element */
|
2020-09-24 00:33:23 +02:00
|
|
|
display: none;
|
2020-11-16 01:59:30 +01:00
|
|
|
visibility: hidden;
|
2020-09-24 00:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
2020-11-14 02:54:33 +01:00
|
|
|
|
2020-09-24 00:33:23 +02:00
|
|
|
position: absolute;
|
|
|
|
z-index: 10000;
|
|
|
|
width: 100vw;
|
2020-11-23 02:55:18 +01:00
|
|
|
height: 100vh;
|
2020-09-24 00:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#welcomeMessage {
|
|
|
|
display: inline-block;
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--background-color);
|
2020-09-24 00:33:23 +02:00
|
|
|
border-radius: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-height: max-content;
|
|
|
|
box-shadow: unset;
|
|
|
|
overflow-y: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
|
|
/* Portrait */
|
|
|
|
#userbadge-and-search {
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
|
2020-12-02 21:37:53 +01:00
|
|
|
.userbadge-login {
|
|
|
|
min-width: unset;
|
|
|
|
width: calc(100vw - 5px);
|
|
|
|
}
|
|
|
|
|
2020-09-24 00:33:23 +02:00
|
|
|
#topleft-tools {
|
|
|
|
padding: 0.2em !important;
|
|
|
|
padding-top: 0.3em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#userbadge {
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
}
|
2020-11-27 13:39:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|