Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Fedor Katurov 2021-10-18 15:38:16 +07:00
commit f53d523389
4 changed files with 25 additions and 7 deletions

2
.env
View file

@ -1,4 +1,4 @@
REACT_APP_PUBLIC_PATH = https://localhost:3000/ REACT_APP_PUBLIC_PATH = https://localhost:3000/
REACT_APP_API_ADDR = https://backend.alpha-map.vault48.org/ REACT_APP_API_ADDR = https://backend.map.vault48.org
REACT_APP_OSRM_URL = https://vault48.org:5001/route/v1 REACT_APP_OSRM_URL = https://vault48.org:5001/route/v1
REACT_APP_OSRM_PROFILE = bike REACT_APP_OSRM_PROFILE = bike

View file

@ -34,9 +34,6 @@ http {
location / { location / {
gzip_static on; gzip_static on;
try_files $uri @index; try_files $uri @index;
}
location @index {
add_header Cache-Control "no-store, no-cache, must-revalidate"; add_header Cache-Control "no-store, no-cache, must-revalidate";
expires -1; expires -1;
try_files /index.html =404; try_files /index.html =404;

View file

@ -342,12 +342,12 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
fill: darken(white, 30%); fill: darken(white, 30%);
background: darken(white, 8%); background: transparentize(white, 0.9);
cursor: pointer; cursor: pointer;
transition: background 250ms, transform 500ms; transition: background 250ms, transform 500ms;
&:hover { &:hover {
background: darken(white, 10%); background: transparentize(white, 0.95);
} }
} }

View file

@ -12,7 +12,28 @@
} }
.leaflet-control-zoom { .leaflet-control-zoom {
display: none; width: 32px;
opacity: 0.5;
transition: opacity 0.1s;
&:hover {
opacity: 1;
}
}
a.leaflet-control-zoom-in, a.leaflet-control-zoom-out {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
&:hover {
width: 32px;
height: 32px;
display: flex;
opacity: 1;
}
} }
.leaflet-touch .leaflet-bar a { .leaflet-touch .leaflet-bar a {