mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-24 18:46:40 +07:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
f53d523389
4 changed files with 25 additions and 7 deletions
2
.env
2
.env
|
@ -1,4 +1,4 @@
|
|||
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_PROFILE = bike
|
||||
|
|
|
@ -34,9 +34,6 @@ http {
|
|||
location / {
|
||||
gzip_static on;
|
||||
try_files $uri @index;
|
||||
}
|
||||
|
||||
location @index {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||
expires -1;
|
||||
try_files /index.html =404;
|
||||
|
|
|
@ -342,12 +342,12 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
fill: darken(white, 30%);
|
||||
background: darken(white, 8%);
|
||||
background: transparentize(white, 0.9);
|
||||
cursor: pointer;
|
||||
transition: background 250ms, transform 500ms;
|
||||
|
||||
&:hover {
|
||||
background: darken(white, 10%);
|
||||
background: transparentize(white, 0.95);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,28 @@
|
|||
}
|
||||
|
||||
.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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue