From 0a0009d9959cde8826dd71b34967583123b683d2 Mon Sep 17 00:00:00 2001 From: Oskar <118617644+Drillllll@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:13:20 +0200 Subject: [PATCH] 85 poprawki w wygldzie i naprawa bdw map location (#86) * animation partially fixed, details button improved * animation fixed, shake added * added user to route detail and buttons descriptions * user profile view changed * user profile view changed * filter buttons improved --- package-lock.json | 12 ++ package.json | 1 + .../map-location-info-window.component.css | 11 +- .../map-location-info-window.component.html | 2 +- .../map-location-list.component.html | 5 +- .../map-location-list.component.ts | 69 ++++-- .../route-detail/route-detail.component.css | 18 ++ .../route-detail/route-detail.component.html | 5 +- .../route/route-info/route-info.component.css | 23 +- .../route-info/route-info.component.html | 10 +- .../route/route-info/route-info.component.ts | 22 +- .../route/route-list/route-list.component.css | 35 ++- .../route-list/route-list.component.html | 28 ++- .../route/route-list/route-list.component.ts | 14 ++ .../user-profile/user-profile.component.css | 201 ++++++++++++++++++ .../user-profile/user-profile.component.html | 50 ++++- .../user-profile/user-profile.component.ts | 7 +- 17 files changed, 448 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0fc581a..ad5eb71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,6 +18,7 @@ "@angular/platform-browser-dynamic": "^17.3.0", "@angular/router": "^17.3.0", "@types/jwt-decode": "^3.1.0", + "angular-animations": "^0.11.0", "bootstrap": "^3.4.1", "jwt-decode": "^4.0.0", "rxjs": "~7.8.0", @@ -4047,6 +4048,17 @@ "ajv": "^8.8.2" } }, + "node_modules/angular-animations": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/angular-animations/-/angular-animations-0.11.0.tgz", + "integrity": "sha512-P2RuOe+T97bhgGDLtOYK9V45QA5y+kFUxoJfRAua8Ymo0bI5lWyw8oiVmBoEIZUU+nooYoJvQXgVKuZJA7/z3g==", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/animations": ">=6.0.0" + } + }, "node_modules/ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", diff --git a/package.json b/package.json index 0290854..ffabc79 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@angular/platform-browser-dynamic": "^17.3.0", "@angular/router": "^17.3.0", "@types/jwt-decode": "^3.1.0", + "angular-animations": "^0.11.0", "bootstrap": "^3.4.1", "jwt-decode": "^4.0.0", "rxjs": "~7.8.0", diff --git a/src/app/map-location/map-location-info-window/map-location-info-window.component.css b/src/app/map-location/map-location-info-window/map-location-info-window.component.css index 88857a1..2c2d8da 100644 --- a/src/app/map-location/map-location-info-window/map-location-info-window.component.css +++ b/src/app/map-location/map-location-info-window/map-location-info-window.component.css @@ -13,15 +13,20 @@ display: flex; flex-direction: column; justify-content: center; - align-items: center; position: absolute; top: 120px; left: 10px; - background-color: rgba(4, 97, 105, 0.5); + background-color: rgba(4, 97, 105, 0.7); color: white; width: 60px; height: 60px; - font-size: 30px; + font-size: 28px; +} + +.details-button > * { + align-self: center; + margin-top: 0; + margin-bottom: 0; } .details-button:hover { diff --git a/src/app/map-location/map-location-info-window/map-location-info-window.component.html b/src/app/map-location/map-location-info-window/map-location-info-window.component.html index c2486e5..940cd3b 100644 --- a/src/app/map-location/map-location-info-window/map-location-info-window.component.html +++ b/src/app/map-location/map-location-info-window/map-location-info-window.component.html @@ -1,6 +1,6 @@