-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
123 lines (106 loc) · 3.07 KB
/
style.css
File metadata and controls
123 lines (106 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/* === General Body & Font Styles === */
body {
font-family: 'Inter', sans-serif;
margin: 0; /* Reset default margin */
}
/* === Leaflet Map & Control Styles === */
#map {
width: 100%;
height: 100%;
border-radius: 0;
}
/* Ensure Leaflet controls appear above other UI elements */
.leaflet-control-container {
z-index: 10;
}
/* Custom tooltip style for map popups */
.custom-leaflet-tooltip {
background-color: rgba(255, 255, 255, 0.95);
border-radius: 6px;
padding: 8px 12px;
font-size: 12px;
color: #2d3748; /* Tailwind gray-800 */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
border: 1px solid #e2e8f0; /* Tailwind gray-300 */
}
/* === Collapsible Panel Animation === */
.collapsible {
transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out, padding 0.35s ease-in-out, margin 0.35s ease-in-out;
opacity: 1;
overflow: hidden;
}
.collapsed {
max-height: 0 !important; /* !important is used to override inline styles during animation */
opacity: 0;
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-top: 0 !important;
border-width: 0 !important;
}
/* === Loading Indicators & Progress Bars === */
/* Keyframe animation for spinners */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Large loader for the initial data loading modal */
.loader {
border: 5px solid #e5e7eb; /* Tailwind gray-200 */
border-top: 5px solid #4f46e5; /* Tailwind indigo-600 */
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
}
/* Smaller loader for the search status indicator */
.loader-small {
border: 4px solid #e5e7eb;
border-top: 4px solid #4f46e5;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 0.8s linear infinite;
}
/* Progress bar styles */
.progress-bar-container {
width: 100%;
background-color: #e5e7eb; /* Tailwind gray-200 */
border-radius: 0.375rem; /* rounded-md */
overflow: hidden;
height: 1rem; /* h-4 */
}
.progress-bar {
height: 100%;
background-color: #4f46e5; /* Tailwind indigo-600 */
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem; /* text-xs */
line-height: 1rem;
transition: width 0.3s ease-in-out;
border-radius: 0.375rem;
}
/* === Custom Scrollbar === */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #a0aec0; /* Tailwind gray-500 */
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #718096; /* Tailwind gray-600 */
}
/* === UI Interaction Styles === */
/* Style for a path instruction when its map segment is clicked */
.highlighted-instruction {
background-color: #ebf4ff; /* Tailwind blue-100 */
box-shadow: 0 0 0 2px #6366f1; /* Tailwind indigo-500 ring */
transition: background-color 0.3s, box-shadow 0.3s;
}