diff --git a/package-lock.json b/package-lock.json index 82f789204..75ad21d92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "polylabel": "^2.0.1" }, "devDependencies": { - "@biomejs/biome": "^2.4.13", + "@biomejs/biome": "^2.4.6", "@playwright/test": "^1.57.0", "@types/d3": "^7.4.3", "@types/delaunator": "^5.0.3", @@ -104,9 +104,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT OR Apache-2.0", "optional": true, "os": [ @@ -124,9 +121,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT OR Apache-2.0", "optional": true, "os": [ @@ -144,9 +138,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT OR Apache-2.0", "optional": true, "os": [ @@ -164,9 +155,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT OR Apache-2.0", "optional": true, "os": [ diff --git a/public/index.css b/public/index.css index 0e825c539..d8fe775f6 100644 --- a/public/index.css +++ b/public/index.css @@ -2411,32 +2411,44 @@ svg.button { #tourPromptButton { position: fixed; - bottom: 87px; - right: 26px; - width: 56px; - height: 56px; + bottom: 100px; + right: 36px; + width: 36px; + height: 36px; border-radius: 50%; + background-color: var(--bg-main); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; animation: fadeIn 1s ease-in; - transform: scale(0.65); - opacity: var(--bg-opacity); z-index: 9999; - overflow: hidden; } -#tourPromptButton img { - width: 100%; - height: 100%; - object-fit: cover; +#tourPromptButton button { + all: unset; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; +} + +#tourPromptButton svg path { + fill: #000000; + stroke: none; } #tourPromptButton:hover { - transform: scale(0.7); - opacity: 1; + box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); +} + +#tourPromptButton:hover svg path { + fill: none; + stroke: #000000; + stroke-width: 5; + stroke-linejoin: round; } @media print { @@ -2465,60 +2477,35 @@ svg.button { background: #25252a; } } -.driver-popover { - background-color: #1a1a2e; - border: 1px solid #4a4a6a; - color: #c8c8d0; - font-family: Georgia, serif; +.fmg-tour.driver-popover { border-radius: 4px; } -.driver-popover-title { - color: #e8d5a3; +.fmg-tour .driver-popover-title { font-size: 1.1em; - border-bottom: 1px solid #4a4a6a; + border-bottom: 1px solid; padding-bottom: 0.4em; margin-bottom: 0.5em; } -.driver-popover-description { +.fmg-tour .driver-popover-description { font-size: 0.9em; line-height: 1.5; } -.driver-popover-footer button { - background-color: #3a3a5c; - border: 1px solid #5a5a7a; - color: #c8c8d0; +.fmg-tour .driver-popover-footer button { border-radius: 3px; cursor: pointer; } -.driver-popover-footer button:hover { - background-color: #4a4a6c; +.fmg-tour .driver-popover-footer button:hover { + background-color: #e0e0e0; } -.driver-popover-progress-text { - color: #8a8aaa; +.fmg-tour .driver-popover-progress-text { font-size: 0.8em; } -.driver-popover-arrow-side-left.driver-popover-arrow { - border-left-color: #4a4a6a; -} - -.driver-popover-arrow-side-right.driver-popover-arrow { - border-right-color: #4a4a6a; -} - -.driver-popover-arrow-side-top.driver-popover-arrow { - border-top-color: #4a4a6a; -} - -.driver-popover-arrow-side-bottom.driver-popover-arrow { - border-bottom-color: #4a4a6a; -} - /* Tooltip demo step: hide overlay and restore all pointer events so the map is fully hoverable */ body.tour-free-roam .driver-overlay { opacity: 0 !important; diff --git a/src/index.html b/src/index.html index 11dbf51e0..4eaa912b3 100644 --- a/src/index.html +++ b/src/index.html @@ -8636,7 +8636,11 @@