@woosmap/ui 4.77.0 → 4.79.0
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/package.json
CHANGED
|
@@ -218,15 +218,18 @@ storesOverlay.setMap(map);
|
|
|
218
218
|
if (colorStyle) {
|
|
219
219
|
styles.push(colorStyle);
|
|
220
220
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
221
|
+
if(!this.map ) {
|
|
222
|
+
this.map = new window.woosmap.map.Map(MapHTMLElement, {
|
|
223
|
+
styles,
|
|
224
|
+
center: {
|
|
225
|
+
lat: 51.51,
|
|
226
|
+
lng: -0.12,
|
|
227
|
+
},
|
|
228
|
+
zoom: 14,
|
|
229
|
+
});
|
|
230
|
+
} else {
|
|
231
|
+
this.map._style.setMapStyle(styles);
|
|
232
|
+
}
|
|
230
233
|
|
|
231
234
|
if (hasStores) {
|
|
232
235
|
this.storesOverlay.setMap(this.map);
|
|
@@ -242,10 +242,9 @@
|
|
|
242
242
|
border .1rem solid $dark10
|
|
243
243
|
box-shadow 0 1.5rem 3rem $dark10
|
|
244
244
|
.title
|
|
245
|
-
font-size $title5
|
|
245
|
+
font-size $title5 !important
|
|
246
246
|
font-weight 500
|
|
247
|
-
line-height $title6 * 1.4
|
|
248
|
-
height 9.55rem
|
|
247
|
+
line-height $title6 * 1.4 !important
|
|
249
248
|
margin-bottom 2rem
|
|
250
249
|
-webkit-line-clamp 4
|
|
251
250
|
.wcard
|
|
@@ -327,8 +326,8 @@
|
|
|
327
326
|
opacity .2
|
|
328
327
|
.title
|
|
329
328
|
trans()
|
|
330
|
-
font-size $title5
|
|
331
|
-
line-height $title5 * 1.3
|
|
329
|
+
font-size $title5 !important
|
|
330
|
+
line-height $title5 * 1.3 !important
|
|
332
331
|
margin-bottom 1rem
|
|
333
332
|
display flex
|
|
334
333
|
align-items center
|
|
@@ -376,28 +375,29 @@
|
|
|
376
375
|
margin 0 0 6rem 0
|
|
377
376
|
|
|
378
377
|
@media screen and (max-width 768px)
|
|
379
|
-
.wcard
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
378
|
+
.wcard
|
|
379
|
+
&--featured
|
|
380
|
+
flex-direction column
|
|
381
|
+
.title
|
|
382
|
+
font-size $title5 !important
|
|
383
|
+
line-height $title5 * 1.3 !important
|
|
384
|
+
.wcard
|
|
385
|
+
&__header
|
|
386
|
+
height 22rem
|
|
387
|
+
max-width 100%
|
|
388
|
+
&__content
|
|
389
|
+
height auto
|
|
390
|
+
border-top 3rem solid $logo6
|
|
391
|
+
border-left 0
|
|
392
|
+
padding 2.3rem
|
|
393
|
+
&--small
|
|
394
|
+
width auto
|
|
395
|
+
max-width unset
|
|
396
|
+
margin 0 0 5rem 0
|
|
397
|
+
&--testimonial
|
|
398
|
+
width 100%
|
|
395
399
|
|
|
396
400
|
@media screen and (max-width 580px)
|
|
397
|
-
.wcard--small
|
|
398
|
-
width auto
|
|
399
|
-
max-width unset
|
|
400
|
-
margin 0 0 5rem 0
|
|
401
401
|
.wcard--demo
|
|
402
402
|
&.wcard--small
|
|
403
403
|
width auto
|