aboutsummaryrefslogtreecommitdiff
path: root/src/styles/Pages.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/Pages.css')
-rw-r--r--src/styles/Pages.css116
1 files changed, 116 insertions, 0 deletions
diff --git a/src/styles/Pages.css b/src/styles/Pages.css
index 9bae8a3..a8ff842 100644
--- a/src/styles/Pages.css
+++ b/src/styles/Pages.css
@@ -130,6 +130,11 @@ body {
color: var(--text-color);
}
+.distance-info {
+ font-size: 0.9rem;
+ color: var(--subtitle-color);
+}
+
/* Message styles */
.message {
padding: 1rem;
@@ -160,6 +165,117 @@ body {
height: calc(100vh - 140px);
margin: -16px;
margin-bottom: 1rem;
+ position: relative;
+}
+
+#map {
+ position: absolute;
+ top: 0;
+ bottom: 60px; /* Adjust this value based on your navbar height */
+ left: 0;
+ right: 0;
+ height: calc(100vh - 60px); /* Adjust this value based on your navbar height */
+ overflow: hidden;
+ z-index: 0;
+}
+
+.main-content {
+ position: relative;
+ height: calc(100vh - 60px); /* Adjust this value based on your navbar height */
+ overflow: hidden;
+}
+
+.nav-bar {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 60px; /* Adjust this value based on your navbar height */
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+ z-index: 1;
+}
+
+/* Fullscreen map styles */
+.fullscreen-container {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100vw;
+ height: 100vh;
+ padding: 0;
+ margin: 0;
+ max-width: none;
+ overflow: hidden;
+}
+
+.fullscreen-map {
+ width: 100%;
+ height: 100%;
+}
+
+.fullscreen-loading {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+ width: 100vw;
+ font-size: 1.8rem;
+ font-weight: 600;
+ color: var(--text-color);
+}
+
+/* Map marker and popup styles */
+.stop-marker {
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
+ transition: all 0.2s ease-in-out;
+}
+
+.stop-marker:hover {
+ transform: scale(1.2);
+}
+
+.maplibregl-popup {
+ max-width: 250px;
+}
+
+.maplibregl-popup-content {
+ padding: 12px;
+ border-radius: 8px;
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+}
+
+.popup-line-icons {
+ display: flex;
+ flex-wrap: wrap;
+ margin: 6px 0;
+ gap: 5px;
+}
+
+.popup-line {
+ display: inline-block;
+ background-color: var(--button-background-color);
+ color: white;
+ padding: 2px 6px;
+ margin-right: 4px;
+ border-radius: 4px;
+ font-size: 0.8rem;
+ font-weight: 500;
+}
+
+.popup-link {
+ display: block;
+ margin-top: 8px;
+ color: var(--button-background-color);
+ text-decoration: none;
+ font-weight: 500;
+}
+
+.popup-link:hover {
+ text-decoration: underline;
}
/* Estimates page specific styles */