@proximahq-dev/map 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -25
- package/dist/map-styles.css +255 -255
- package/dist/proxima-map.umd.js +52 -52
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# How to use
|
|
2
|
-
|
|
3
|
-
### Import component style at the top of the page
|
|
4
|
-
|
|
5
|
-
```<link rel="stylesheet" href="https://unpkg.com/@proximahq-dev/map@latest/dist/map-styles.css">```
|
|
6
|
-
|
|
7
|
-
### Import mapbox style at the top of the page
|
|
8
|
-
|
|
9
|
-
```<link rel="stylesheet" href="https://unpkg.com/@proximahq-dev/map@latest/dist/style.css">```
|
|
10
|
-
|
|
11
|
-
### Create a wrapper element to contain the component
|
|
12
|
-
|
|
13
|
-
```<div id="mapContainer" />```
|
|
14
|
-
|
|
15
|
-
### Add a script at the bottom of the body
|
|
16
|
-
|
|
17
|
-
```<script src="https://unpkg.com/@proximahq-dev/map@latest/dist/proxima-map.umd.js"></script>```
|
|
18
|
-
|
|
19
|
-
```flow js
|
|
20
|
-
<script>
|
|
21
|
-
const map = new ProximaMap({
|
|
22
|
-
projectSlug: 'slug (e.g. nikola)',
|
|
23
|
-
});
|
|
24
|
-
map.init("mapContainer");
|
|
25
|
-
</script>;
|
|
1
|
+
# How to use
|
|
2
|
+
|
|
3
|
+
### Import component style at the top of the page
|
|
4
|
+
|
|
5
|
+
```<link rel="stylesheet" href="https://unpkg.com/@proximahq-dev/map@latest/dist/map-styles.css">```
|
|
6
|
+
|
|
7
|
+
### Import mapbox style at the top of the page
|
|
8
|
+
|
|
9
|
+
```<link rel="stylesheet" href="https://unpkg.com/@proximahq-dev/map@latest/dist/style.css">```
|
|
10
|
+
|
|
11
|
+
### Create a wrapper element to contain the component
|
|
12
|
+
|
|
13
|
+
```<div id="mapContainer" />```
|
|
14
|
+
|
|
15
|
+
### Add a script at the bottom of the body
|
|
16
|
+
|
|
17
|
+
```<script src="https://unpkg.com/@proximahq-dev/map@latest/dist/proxima-map.umd.js"></script>```
|
|
18
|
+
|
|
19
|
+
```flow js
|
|
20
|
+
<script>
|
|
21
|
+
const map = new ProximaMap({
|
|
22
|
+
projectSlug: 'slug (e.g. nikola)',
|
|
23
|
+
});
|
|
24
|
+
map.init("mapContainer");
|
|
25
|
+
</script>;
|
|
26
26
|
```
|
package/dist/map-styles.css
CHANGED
|
@@ -1,256 +1,256 @@
|
|
|
1
|
-
/* Containers Base */
|
|
2
|
-
|
|
3
|
-
.prox-main-container {
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-template-columns: repeat(8, 1fr);
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.prox-map-container {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
grid-column: span 6;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.prox-map-locations-container {
|
|
17
|
-
background-color: white;
|
|
18
|
-
grid-column: span 2;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: auto;
|
|
21
|
-
max-height: 100vh;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
padding: 1rem;
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
gap: 2rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.prop-map-locations-wrapper {
|
|
30
|
-
display: flex;
|
|
31
|
-
gap: 0.2rem;
|
|
32
|
-
align-items: center;
|
|
33
|
-
padding-left: 1rem;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
background-color: #eee;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Container Responsive */
|
|
42
|
-
|
|
43
|
-
/* Portrait Tablets */
|
|
44
|
-
@media (max-width: 1024px) {
|
|
45
|
-
.prox-main-container {
|
|
46
|
-
display: grid;
|
|
47
|
-
grid-template-columns: 1fr; /* Single column layout */
|
|
48
|
-
height: 100%;
|
|
49
|
-
position: relative; /* Needed for absolute positioning of children */
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.prox-map-container {
|
|
53
|
-
grid-column: 1; /* Map takes full width */
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: 100%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.prox-map-locations-container {
|
|
59
|
-
position: absolute;
|
|
60
|
-
bottom: 10px;
|
|
61
|
-
left: 10px;
|
|
62
|
-
width: 50%; /* Width of the locations container */
|
|
63
|
-
height: 50%; /* Height of the locations container */
|
|
64
|
-
z-index: 2; /* Ensures it is above the map */
|
|
65
|
-
border: 1px solid #ccc; /* Styling as per your original setup */
|
|
66
|
-
border-radius: 0.25rem; /* Rounded corners */
|
|
67
|
-
box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1); /* Shadow for elevation effect */
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* Mobile Devices */
|
|
72
|
-
@media (max-width: 767px) {
|
|
73
|
-
.prox-main-container {
|
|
74
|
-
display: block; /* Switches to block layout */
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.prox-map-container,
|
|
78
|
-
.prox-map-locations-container {
|
|
79
|
-
width: 100%;
|
|
80
|
-
height: 50%; /* Both containers split the height */
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.prox-map-locations-container {
|
|
84
|
-
position: absolute;
|
|
85
|
-
bottom: 0;
|
|
86
|
-
left: 0;
|
|
87
|
-
z-index: 10;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/* Map and Markers */
|
|
92
|
-
|
|
93
|
-
.prox-map-recenter-button {
|
|
94
|
-
width: 2.5rem;
|
|
95
|
-
height: 2.5rem;
|
|
96
|
-
display: flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
border-radius: 9999px;
|
|
100
|
-
border: transparent;
|
|
101
|
-
background-color: transparent;
|
|
102
|
-
position: absolute;
|
|
103
|
-
bottom: 0;
|
|
104
|
-
left: 1rem;
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
transition: background-color 0.3s;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.prox-map-marker-std {
|
|
110
|
-
height: 2.5rem;
|
|
111
|
-
width: 2.5rem;
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: center;
|
|
115
|
-
border-radius: 9999px;
|
|
116
|
-
background-color: black;
|
|
117
|
-
color: white;
|
|
118
|
-
font-size: 1.125rem;
|
|
119
|
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.prox-map-marker-logo {
|
|
123
|
-
height: 5rem;
|
|
124
|
-
width: 5rem;
|
|
125
|
-
display: flex;
|
|
126
|
-
align-items: center;
|
|
127
|
-
justify-content: center;
|
|
128
|
-
border-radius: 1rem;
|
|
129
|
-
background-color: black;
|
|
130
|
-
color: white;
|
|
131
|
-
font-size: 1.125rem;
|
|
132
|
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.prox-map-org-center-logo {
|
|
136
|
-
width: 100%;
|
|
137
|
-
height: 100%;
|
|
138
|
-
object-fit: contain;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.prox-marker-info-container {
|
|
142
|
-
position: relative;
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
text-align: center;
|
|
147
|
-
width: 20rem;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.prox-marker-text-info {
|
|
151
|
-
position: absolute;
|
|
152
|
-
bottom: 100%;
|
|
153
|
-
width: fit-content;
|
|
154
|
-
margin-bottom: 0.5rem;
|
|
155
|
-
display: flex;
|
|
156
|
-
flex-direction: column;
|
|
157
|
-
align-items: center;
|
|
158
|
-
padding: 0.5rem 1rem;
|
|
159
|
-
border-radius: 0.375rem;
|
|
160
|
-
background-color: black;
|
|
161
|
-
color: white;
|
|
162
|
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.prox-marker-category {
|
|
167
|
-
text-transform: lowercase;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.prox-marker-name {
|
|
171
|
-
font-size: 1.125rem; /* Typically equivalent to Tailwind's 'text-lg' */
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.prox-marker-id {
|
|
175
|
-
display: flex;
|
|
176
|
-
align-items: center;
|
|
177
|
-
justify-content: center;
|
|
178
|
-
height: 3.5rem;
|
|
179
|
-
width: 3.5rem;
|
|
180
|
-
border-radius: 9999px;
|
|
181
|
-
background-color: black;
|
|
182
|
-
color: white;
|
|
183
|
-
font-size: 1.25rem;
|
|
184
|
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
/* Locations Menu */
|
|
189
|
-
|
|
190
|
-
.prox-map-locations-controls {
|
|
191
|
-
display: flex;
|
|
192
|
-
justify-content: start;
|
|
193
|
-
width: 100%;
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.prox-map-locations-filter-select {
|
|
198
|
-
width: 100%;
|
|
199
|
-
font-size: 1rem;
|
|
200
|
-
color: #333;
|
|
201
|
-
cursor: pointer;
|
|
202
|
-
padding: 1rem 0.5rem;
|
|
203
|
-
border-radius: 0.2rem;
|
|
204
|
-
background-color: white;
|
|
205
|
-
border: 1px solid #ccc;
|
|
206
|
-
outline: none;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.prox-map-locations-filter-option {
|
|
210
|
-
color: #333;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.prox-map-locations-list {
|
|
214
|
-
height: 85%;
|
|
215
|
-
overflow-y: auto;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.prox-map-locations-category {
|
|
219
|
-
padding: 0.625rem 0;
|
|
220
|
-
border-bottom: 2px solid #eee;
|
|
221
|
-
transition: background-color 0.3s;
|
|
222
|
-
display: flex;
|
|
223
|
-
align-items: center;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.prox-map-locations-item:hover {
|
|
227
|
-
background-color: #f0f0f0;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.prox-map-locations-item:active {
|
|
231
|
-
background-color: #e0e0e0;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.prox-map-location-item-id {
|
|
235
|
-
font-size: 0.75rem;
|
|
236
|
-
color: #666;
|
|
237
|
-
flex: 0 0 auto;
|
|
238
|
-
margin-right: 1rem;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.prox-map-location-item-details {
|
|
242
|
-
flex: 1 1 auto;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.prox-map-location-item-category {
|
|
246
|
-
font-size: 0.875rem;
|
|
247
|
-
font-style: light;
|
|
248
|
-
color: #333;
|
|
249
|
-
text-transform: capitalize;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.prox-map-location-item-name {
|
|
253
|
-
font-size: 1rem;
|
|
254
|
-
color: black;
|
|
255
|
-
text-transform: capitalize;
|
|
1
|
+
/* Containers Base */
|
|
2
|
+
|
|
3
|
+
.prox-main-container {
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: repeat(8, 1fr);
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.prox-map-container {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
grid-column: span 6;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.prox-map-locations-container {
|
|
17
|
+
background-color: white;
|
|
18
|
+
grid-column: span 2;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: auto;
|
|
21
|
+
max-height: 100vh;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
padding: 1rem;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: 2rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.prop-map-locations-wrapper {
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: 0.2rem;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding-left: 1rem;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: #eee;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Container Responsive */
|
|
42
|
+
|
|
43
|
+
/* Portrait Tablets */
|
|
44
|
+
@media (max-width: 1024px) {
|
|
45
|
+
.prox-main-container {
|
|
46
|
+
display: grid;
|
|
47
|
+
grid-template-columns: 1fr; /* Single column layout */
|
|
48
|
+
height: 100%;
|
|
49
|
+
position: relative; /* Needed for absolute positioning of children */
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.prox-map-container {
|
|
53
|
+
grid-column: 1; /* Map takes full width */
|
|
54
|
+
width: 100%;
|
|
55
|
+
height: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.prox-map-locations-container {
|
|
59
|
+
position: absolute;
|
|
60
|
+
bottom: 10px;
|
|
61
|
+
left: 10px;
|
|
62
|
+
width: 50%; /* Width of the locations container */
|
|
63
|
+
height: 50%; /* Height of the locations container */
|
|
64
|
+
z-index: 2; /* Ensures it is above the map */
|
|
65
|
+
border: 1px solid #ccc; /* Styling as per your original setup */
|
|
66
|
+
border-radius: 0.25rem; /* Rounded corners */
|
|
67
|
+
box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1); /* Shadow for elevation effect */
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Mobile Devices */
|
|
72
|
+
@media (max-width: 767px) {
|
|
73
|
+
.prox-main-container {
|
|
74
|
+
display: block; /* Switches to block layout */
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.prox-map-container,
|
|
78
|
+
.prox-map-locations-container {
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 50%; /* Both containers split the height */
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.prox-map-locations-container {
|
|
84
|
+
position: absolute;
|
|
85
|
+
bottom: 0;
|
|
86
|
+
left: 0;
|
|
87
|
+
z-index: 10;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Map and Markers */
|
|
92
|
+
|
|
93
|
+
.prox-map-recenter-button {
|
|
94
|
+
width: 2.5rem;
|
|
95
|
+
height: 2.5rem;
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
border-radius: 9999px;
|
|
100
|
+
border: transparent;
|
|
101
|
+
background-color: transparent;
|
|
102
|
+
position: absolute;
|
|
103
|
+
bottom: 0;
|
|
104
|
+
left: 1rem;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
transition: background-color 0.3s;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.prox-map-marker-std {
|
|
110
|
+
height: 2.5rem;
|
|
111
|
+
width: 2.5rem;
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
justify-content: center;
|
|
115
|
+
border-radius: 9999px;
|
|
116
|
+
background-color: black;
|
|
117
|
+
color: white;
|
|
118
|
+
font-size: 1.125rem;
|
|
119
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.prox-map-marker-logo {
|
|
123
|
+
height: 5rem;
|
|
124
|
+
width: 5rem;
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
border-radius: 1rem;
|
|
129
|
+
background-color: black;
|
|
130
|
+
color: white;
|
|
131
|
+
font-size: 1.125rem;
|
|
132
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.prox-map-org-center-logo {
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 100%;
|
|
138
|
+
object-fit: contain;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.prox-marker-info-container {
|
|
142
|
+
position: relative;
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
text-align: center;
|
|
147
|
+
width: 20rem;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.prox-marker-text-info {
|
|
151
|
+
position: absolute;
|
|
152
|
+
bottom: 100%;
|
|
153
|
+
width: fit-content;
|
|
154
|
+
margin-bottom: 0.5rem;
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
align-items: center;
|
|
158
|
+
padding: 0.5rem 1rem;
|
|
159
|
+
border-radius: 0.375rem;
|
|
160
|
+
background-color: black;
|
|
161
|
+
color: white;
|
|
162
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.prox-marker-category {
|
|
167
|
+
text-transform: lowercase;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.prox-marker-name {
|
|
171
|
+
font-size: 1.125rem; /* Typically equivalent to Tailwind's 'text-lg' */
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.prox-marker-id {
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
justify-content: center;
|
|
178
|
+
height: 3.5rem;
|
|
179
|
+
width: 3.5rem;
|
|
180
|
+
border-radius: 9999px;
|
|
181
|
+
background-color: black;
|
|
182
|
+
color: white;
|
|
183
|
+
font-size: 1.25rem;
|
|
184
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/* Locations Menu */
|
|
189
|
+
|
|
190
|
+
.prox-map-locations-controls {
|
|
191
|
+
display: flex;
|
|
192
|
+
justify-content: start;
|
|
193
|
+
width: 100%;
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.prox-map-locations-filter-select {
|
|
198
|
+
width: 100%;
|
|
199
|
+
font-size: 1rem;
|
|
200
|
+
color: #333;
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
padding: 1rem 0.5rem;
|
|
203
|
+
border-radius: 0.2rem;
|
|
204
|
+
background-color: white;
|
|
205
|
+
border: 1px solid #ccc;
|
|
206
|
+
outline: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.prox-map-locations-filter-option {
|
|
210
|
+
color: #333;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.prox-map-locations-list {
|
|
214
|
+
height: 85%;
|
|
215
|
+
overflow-y: auto;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.prox-map-locations-category {
|
|
219
|
+
padding: 0.625rem 0;
|
|
220
|
+
border-bottom: 2px solid #eee;
|
|
221
|
+
transition: background-color 0.3s;
|
|
222
|
+
display: flex;
|
|
223
|
+
align-items: center;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.prox-map-locations-item:hover {
|
|
227
|
+
background-color: #f0f0f0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.prox-map-locations-item:active {
|
|
231
|
+
background-color: #e0e0e0;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.prox-map-location-item-id {
|
|
235
|
+
font-size: 0.75rem;
|
|
236
|
+
color: #666;
|
|
237
|
+
flex: 0 0 auto;
|
|
238
|
+
margin-right: 1rem;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.prox-map-location-item-details {
|
|
242
|
+
flex: 1 1 auto;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.prox-map-location-item-category {
|
|
246
|
+
font-size: 0.875rem;
|
|
247
|
+
font-style: light;
|
|
248
|
+
color: #333;
|
|
249
|
+
text-transform: capitalize;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.prox-map-location-item-name {
|
|
253
|
+
font-size: 1rem;
|
|
254
|
+
color: black;
|
|
255
|
+
text-transform: capitalize;
|
|
256
256
|
}
|