diff --git a/Dockerfile b/Dockerfile index 7c2c708..9620cf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ WORKDIR /app COPY frontend ./frontend COPY backend ./backend # Install wasm-pack -RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh +# Install wasm-pack via cargo (fallback for network issues) +RUN cargo install wasm-pack WORKDIR /app/frontend # Build frontend RUN wasm-pack build --target web --out-name wasm --out-dir ../backend/static diff --git a/frontend/index.html b/frontend/index.html index 6fff079..920cc2f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -573,6 +573,51 @@ 0 0 4px rgba(255, 255, 255, 0.9); } + /* Road type based sizing - larger roads get larger fonts */ + .label-street-motorway { + font-size: 13px; + font-weight: 600; + color: #444; + } + + .label-street-primary { + font-size: 12px; + font-weight: 600; + color: #555; + } + + .label-street-secondary { + font-size: 11px; + font-weight: 500; + color: #5e5e63; + } + + .label-street-tertiary { + font-size: 10px; + font-weight: 500; + } + + .label-street-residential { + font-size: 9px; + font-weight: 400; + color: #7e7e83; + } + + /* One-way direction arrows */ + .oneway-arrow { + position: absolute; + font-size: 18px; + font-weight: bold; + color: rgba(100, 100, 100, 0.5); + pointer-events: none; + text-shadow: none; + z-index: 5; + } + + [data-theme="dark"] .oneway-arrow { + color: rgba(180, 180, 180, 0.5); + } + /* Apple Maps-style POI labels */ .label-poi { font-size: 11px; @@ -1279,7 +1324,7 @@