@woosmap/ui 3.35.0 → 3.39.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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/src/components/Card/Card.js +2 -20
  3. package/src/{styles/website → components/Demo}/MerchantDemo.styl +0 -0
  4. package/src/{styles/website → components/Demo}/skeletondemo.styl +10 -32
  5. package/src/images/products/product-address-sq.png +0 -0
  6. package/src/images/products/product-address.png +0 -0
  7. package/src/images/products/product-distance-sq.png +0 -0
  8. package/src/images/products/product-distance.png +0 -0
  9. package/src/images/products/product-geofencing-sq.png +0 -0
  10. package/src/images/products/product-geofencing.png +0 -0
  11. package/src/images/products/product-geolocation-sq.png +0 -0
  12. package/src/images/products/product-geolocation.png +0 -0
  13. package/src/images/products/product-localities-sq.png +0 -0
  14. package/src/images/products/product-localities.png +0 -0
  15. package/src/images/products/product-map-sq.png +0 -0
  16. package/src/images/products/product-map.png +0 -0
  17. package/src/images/products/product-mapping-sq.png +0 -0
  18. package/src/images/products/product-mapping.png +0 -0
  19. package/src/images/products/product-merchant-sq.png +0 -0
  20. package/src/images/products/product-merchant.png +0 -0
  21. package/src/images/products/product-multisearch-sq.png +0 -0
  22. package/src/images/products/product-multisearch.png +0 -0
  23. package/src/images/products/product-storelocator-sq.png +0 -0
  24. package/src/images/products/product-storelocator.png +0 -0
  25. package/src/images/products/product-stores-sq.png +0 -0
  26. package/src/images/products/product-stores.png +0 -0
  27. package/src/images/products/product-traffic-sq.png +0 -0
  28. package/src/images/products/product-traffic.png +0 -0
  29. package/src/styles/console/button.styl +5 -13
  30. package/src/styles/console/colors.styl +44 -43
  31. package/src/styles/console/fonts.styl +1 -1
  32. package/src/styles/console/mixins.styl +3 -0
  33. package/src/styles/console/tab.styl +52 -1
  34. package/src/styles/console/variables.styl +12 -0
  35. package/src/styles/style-console.styl +0 -4
  36. package/src/styles/style-website.styl +0 -5
  37. package/src/styles/website/button.styl +39 -1
  38. package/src/styles/website/dropdown.styl +7 -6
  39. package/src/styles/website/fonts.styl +1 -1
  40. package/src/styles/website/tab.styl +0 -2
  41. package/src/images/products/product-address-sm.png +0 -0
  42. package/src/images/products/product-distance-sm.png +0 -0
  43. package/src/images/products/product-geolocation-sm.png +0 -0
  44. package/src/images/products/product-localities-sm.png +0 -0
  45. package/src/images/products/product-map-sm.png +0 -0
  46. package/src/images/products/product-merchant-sm.png +0 -0
  47. package/src/images/products/product-stores-sm.png +0 -0
  48. package/src/images/products/product-traffic-sm.png +0 -0
  49. package/src/styles/console/skeletondemo.styl +0 -588
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "3.35.0",
3
+ "version": "3.39.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -20,14 +20,6 @@ import addressImgSq from '../../images/products/product-address-sq.png';
20
20
  import mapImgSq from '../../images/products/product-map-sq.png';
21
21
  import trafficImgSq from '../../images/products/product-traffic-sq.png';
22
22
  import merchantImgSq from '../../images/products/product-merchant-sq.png';
23
- import localitiesImgSm from '../../images/products/product-localities-sm.png';
24
- import geolocationImgSm from '../../images/products/product-geolocation-sm.png';
25
- import storesImgSm from '../../images/products/product-stores-sm.png';
26
- import distanceImgSm from '../../images/products/product-distance-sm.png';
27
- import addressImgSm from '../../images/products/product-address-sm.png';
28
- import mapImgSm from '../../images/products/product-map-sm.png';
29
- import trafficImgSm from '../../images/products/product-traffic-sm.png';
30
- import merchantImgSm from '../../images/products/product-merchant-sm.png';
31
23
 
32
24
  const productImg = {
33
25
  LOCALITIES: localitiesImg,
@@ -49,16 +41,6 @@ const productImgSq = {
49
41
  TRAFFIC: trafficImgSq,
50
42
  MERCHANTS: merchantImgSq,
51
43
  };
52
- const productImgSm = {
53
- LOCALITIES: localitiesImgSm,
54
- GEOLOCATION: geolocationImgSm,
55
- STORES: storesImgSm,
56
- DISTANCE: distanceImgSm,
57
- ADDRESS: addressImgSm,
58
- MAP: mapImgSm,
59
- TRAFFIC: trafficImgSm,
60
- MERCHANTS: merchantImgSm,
61
- };
62
44
 
63
45
  class Header extends Component {
64
46
  render() {
@@ -128,7 +110,7 @@ class Card extends Component {
128
110
  let imgSize = size;
129
111
  switch (imgSize) {
130
112
  case 'normal':
131
- imgSize = productImgSm[product];
113
+ imgSize = productImg[product];
132
114
  break;
133
115
  case 'small':
134
116
  imgSize = productImgSq[product];
@@ -137,7 +119,7 @@ class Card extends Component {
137
119
  imgSize = productImg[product];
138
120
  break;
139
121
  default:
140
- imgSize = productImgSm[product];
122
+ imgSize = productImg[product];
141
123
  }
142
124
  return (
143
125
  <div
@@ -3,6 +3,7 @@
3
3
  fullwh()
4
4
  margin auto
5
5
  color $secondary
6
+ line-height 2.2rem
6
7
  .title
7
8
  font-size $title3
8
9
  pre
@@ -47,6 +48,7 @@
47
48
  height 100%
48
49
  background-color $inputDemoBgColor
49
50
  &__results
51
+ inputFont()
50
52
  width $demofilterWidth
51
53
  display flex
52
54
  flex-direction column
@@ -65,28 +67,17 @@
65
67
  font-weight 400
66
68
  color $textColor
67
69
  padding $demoPadding
68
-
69
70
  background-color $light
70
71
  overflow-y auto
71
72
  &__code
72
- font()
73
+ inputFont()
73
74
  width 100%
74
- &__header
75
- display flex
76
- align-items center
77
- flex-shrink 0
78
- padding 0 2.6rem
79
- height $demoResultHeaders
80
- background-color rgba($logo2, .82)
81
- &__content
82
- padding 2.6rem
83
- background-color #fff
84
- height 100%
85
-
86
75
  &__input-container
87
76
  mbib(.6)
88
77
  &__label
89
- font-weight 500
78
+ inputFont()
79
+ font-size $inputFontSizeDemo
80
+ font-weight 600
90
81
  margin-bottom .6rem
91
82
 
92
83
  input
@@ -184,6 +175,7 @@
184
175
  &-container
185
176
  color $inputDemoBgColor
186
177
  .btn
178
+ padding 0 .8rem
187
179
  &:first-child
188
180
  border-radius 2rem 0 0 2rem
189
181
  &:last-child
@@ -193,11 +185,13 @@
193
185
  background-color $activeColorDark
194
186
  border-color $activeColorDark
195
187
  color $inputDemoBgColor
188
+ &:hover
189
+ background-color $activeColorDark
196
190
  &.language
197
191
  &.transportation
198
192
  mbi(.6)
199
193
  .btn
200
- br(.3)
194
+ border-radius .3rem !important
201
195
  border 0
202
196
  height 2.2rem
203
197
  padding .4rem
@@ -221,22 +215,6 @@
221
215
  padding $demoPadding
222
216
  overflow auto
223
217
  max-height 40rem
224
- .btn
225
- font-size $fontSizeDemo
226
- &--tab
227
- position relative
228
- font-size $fontSizeDemo - .1
229
- color rgba($secondary, .4)
230
- &.active
231
- font-weight 600
232
- color $secondary
233
- &--action
234
- br(2)
235
- inputFont()
236
- padding 0 1rem
237
- font-size $inputFontSizeDemo !important
238
- border .1rem solid $activeColor
239
- color darken($activeColor, 20%)
240
218
  &--address
241
219
  &__formcontainer
242
220
  .input
Binary file
@@ -559,21 +559,13 @@
559
559
  color $secondary
560
560
  background-image url('../../images/texture.png')
561
561
  &--action
562
- br()
562
+ br(2)
563
+ inputFont()
563
564
  trans()
564
- flexBtn()
565
- height auto
566
- font-size 1.1rem
567
- letter-spacing 0.1rem
568
- line-height 1
569
- margin-left auto
570
- background-color $light
571
- border 0.1rem solid $secondary-light
572
565
  padding 0 1rem
573
- height 2.4rem
574
- color $secondary
575
- transition 0.3s all
576
- text-transform uppercase
566
+ font-size $inputFontSizeDemo !important
567
+ border .1rem solid $activeColor
568
+ color darken($activeColor, 20%)
577
569
  &:hover
578
570
  &.copied
579
571
  background-color $success
@@ -1,6 +1,16 @@
1
1
  // Texts & Components
2
2
  $textColor = $secondary
3
3
 
4
+
5
+ $activeColor = #7f98b3
6
+ $activeColorDark = #4c657e
7
+
8
+ //new version of demos
9
+ $inputDemoBgColor = #f6f7f8
10
+ $inputDemoBorderColor = #bcc4d7
11
+ $inputDemoPlaceholderColor = #818ca5
12
+
13
+
4
14
  // Main colors
5
15
 
6
16
  $primary = rgba(85, 134, 255, 1) // 5586F8
@@ -272,56 +282,43 @@ $light1 = rgba(255, 255, 255, .01)
272
282
 
273
283
  // Products
274
284
 
275
- $localitiesDark = rgba(0, 152, 220, 1) // #00b0ff
276
- $localities = rgba(0, 176, 255, 1) // #00B0FF
277
- $localities10 = rgba(0, 176, 255, .1)
285
+ $search = #388aff
286
+ $search10 = rgba($search, .1)
287
+ $searchDark = #0D63DD
278
288
 
279
- $geolocationDark = rgba(1, 175, 73, 1) // #01af49
280
- $geolocation = rgba(0, 200, 83, 1) // #00c853
281
- $geolocation10 = rgba(0, 200, 83, .1)
282
-
283
- $distanceDark = rgba(255, 115, 0, 1) // #FF7300
284
- $distance = rgba(255, 145, 0, 1) // #FF9100
285
- $distance10 = rgba(255, 145, 0, .1)
286
-
287
- $storesDark = rgba(37, 109, 212, 1) // #256dd4
288
- $stores = rgba(56, 138, 255, 1) // #388aff
289
- $stores10 = rgba(56, 138, 255, .1)
290
-
291
- $addressDark = rgba(59, 179, 195, 1) // #38b3c3
292
- $address = rgba(77, 208, 255, 1) // #4dd0ff
293
- $address10 = rgba(77, 208, 255, .1)
289
+ $localities = #009DFF
290
+ $localities10 = rgba($localities, .1)
291
+ $localitiesDark = #0085D8
294
292
 
295
- $mapDark = rgba(134, 106, 96, 1) // #866a60
296
- $map = rgba(161, 136, 127, 1) // #A1887F
297
- $map10 = rgba(161, 136, 127, .1)
293
+ $address = #4AC6F2
294
+ $address10 = rgba($address, .1)
295
+ $addressDark = #0D9ED1
298
296
 
299
- $merchantDark = rgba(81, 107, 119, 1) // #516b77
300
- $merchant = rgba(120, 144, 156, 1) // #78909C
301
- $merchant10 = rgba(120, 144, 156, .1)
297
+ $multiSearch = #688FCE
298
+ $multiSearch10 = rgba($multiSearch, .1)
299
+ $multiSearchDark = #3A68B2
302
300
 
303
- $trafficDark = rgba(2165, 46, 111, 1)// #D82E6F
304
- $traffic = rgba(255, 124, 129, 1) // #ff7c81
305
- $traffic10 = rgba(255, 124, 129, .1)
301
+ $geolocation = #506BDE
302
+ $geolocation10 = rgba($geolocation, .1)
303
+ $geolocationDark = #1F40CC
306
304
 
307
305
 
308
- // Products
306
+ $merchant = #7F8A98
307
+ $merchant10 = rgba($merchant, .1)
308
+ $merchantDark = #4F5D6E
309
309
 
310
- $stores = #388aff
311
- $stores10 = rgba($stores, .1)
312
- $storesDark = #0D63DD
310
+ $storeLocator = #82A1A7
311
+ $storeLocator10 = rgba($storeLocator, .1)
312
+ $storeLocatorDark = #546D72
313
313
 
314
- $localities = #009DFF
315
- $localities10 = rgba($localities, .1)
316
- $localitiesDark = #0085D8
314
+ $geofencing = #939AB1
315
+ $geofencing10 = rgba($geofencing, .1)
316
+ $geofencingDark = #59617C
317
317
 
318
- $geolocation = #506BDE
319
- $geolocation10 = rgba($geolocation, .1)
320
- $geolocationDark = #1F40CC
318
+ $connectors = #A193BC
319
+ $connectors10 = rgba($connectors, .1)
320
+ $connectorsDark = #6C5E88
321
321
 
322
- $address = #4AC6F2
323
- $address10 = rgba($address, .1)
324
- $addressDark = #0D9ED1
325
322
 
326
323
  $distance = #FF8A65
327
324
  $distance10 = rgba($distance, .1)
@@ -331,12 +328,16 @@ $traffic = #FF6565
331
328
  $traffic10 = rgba($traffic, .1)
332
329
  $trafficDark = #E04B4B
333
330
 
331
+
334
332
  $map = #A1887F
335
333
  $map10 = rgba($map, .1)
336
334
  $mapDark = #906455
337
335
 
338
- $merchant = #08A278
339
- $merchant10 = rgba($merchant, .1)
340
- $merchantDark = #008863
336
+ $mapping = #B9715A
337
+ $mapping10 = rgba($mapping, .1)
338
+ $mappingDark = #96503A
341
339
 
342
340
 
341
+ $showcases = #68668E
342
+ $showcases10 = rgba($showcases, .1)
343
+ $showcasesDark = #444177
@@ -1 +1 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
1
+ @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700family=Roboto+Mono:wght@400;600&display=swap');
@@ -25,6 +25,9 @@ br($a = $borderRadius)
25
25
  }
26
26
  border-radius $a
27
27
 
28
+ inputFont()
29
+ font-family $fontFamily2
30
+
28
31
  // Border and shadow style of dropdowns
29
32
  box()
30
33
  br()
@@ -39,9 +39,60 @@
39
39
  .tab__content
40
40
  padding $buttonPadding
41
41
  margin-top $buttonPadding
42
+
43
+
44
+ .demo__code
45
+ $tabPadding = 2rem
46
+ .tab
47
+ height 100%
48
+ pre
49
+ code
50
+ margin 0 !important
51
+ padding 0 !important
52
+ background-color transparent !important
53
+ width 100%
54
+ &__header
55
+ padding 0 $tabPadding
56
+ flex-shrink 0
57
+ display flex
58
+ align-items center
59
+ justify-content space-between
60
+ &__buttons
61
+ display flex
62
+ align-items center
63
+ mbi(3)
64
+ fullw()
65
+ position relative
66
+ li
67
+ min-width 0
68
+ .btn--tab
69
+ height auto
70
+ font-size $fontSizeDemo - .1
71
+ padding 0 .8rem
72
+ &:after
73
+ top 2.7rem
74
+ &__content
75
+ line-height 1.2
76
+ margin 0
77
+ padding 1.6rem
78
+ overflow auto
79
+ max-height 40rem
80
+ &.active
81
+ display flex
82
+ height 100%
42
83
  @media screen and (max-width 720px)
43
84
  .tab
44
85
  &__header
45
86
  &__buttons
46
87
  mbi(0)
47
-
88
+ @media screen and (max-width 670px)
89
+ .demo__code
90
+ .tab
91
+ &__header
92
+ padding 0 1.2rem
93
+ &__buttons
94
+ mbi(1)
95
+ .btn
96
+ font-size 70%
97
+ &__content
98
+ padding $tabPadding - .5
@@ -1,4 +1,6 @@
1
1
  $fontFamily = "Lato", arial, sans-serif
2
+ $fontFamily2 = 'Roboto Mono', monospace
3
+
2
4
  $fontSize = 1.4rem
3
5
  $fontSizeSmall = $fontSize - .2
4
6
  $fontSizeMini = $fontSize - .4
@@ -14,6 +16,16 @@ $title6 = $fontSize
14
16
 
15
17
  $borderRadius = .6rem
16
18
 
19
+
20
+ //new version of demos
21
+ $demofilterWidth = 27.4rem
22
+ $fontSizeDemo = 1.3rem
23
+ $demoPadding = 1.6rem
24
+ $demoBr = .3rem
25
+ $inputFontSizeDemo = 1.1rem
26
+ $inputDemoHeight = 3rem
27
+ $footerDemoHeight = 4rem
28
+
17
29
  // Buttons & Inputs
18
30
 
19
31
  $padding = 1.2rem
@@ -11,10 +11,6 @@
11
11
  @import "./commons/flags.styl"
12
12
  @import "./console/icon.styl"
13
13
 
14
- //demos
15
- @import "./console/MerchantDemo.styl"
16
- @import "./console/skeletondemo.styl"
17
-
18
14
 
19
15
  // Style of all components
20
16
  @import "../components/**/*.styl"
@@ -15,11 +15,6 @@
15
15
  @import "../components/**/*.styl"
16
16
 
17
17
 
18
- //Website style override
19
-
20
- @import "./website/skeletondemo.styl"
21
- @import "./website/MerchantDemo.styl"
22
-
23
18
  @import "./website/button.styl"
24
19
  @import "./website/input.styl"
25
20
  @import "./website/select.styl"
@@ -406,4 +406,42 @@
406
406
  color $secondary
407
407
  &:hover
408
408
  background-color $primary20
409
-
409
+ &--tab
410
+ position relative
411
+ font-size $fontSizeDemo - .1
412
+ color rgba($secondary, .4)
413
+ &:after
414
+ content ''
415
+ display block
416
+ width 0
417
+ height 0.3rem
418
+ background $secondary
419
+ transition width .1s
420
+ position absolute
421
+ top 2.7rem
422
+ left 0
423
+ &:hover
424
+ color $secondary
425
+ &:after
426
+ width 100%
427
+ &.active
428
+ font-weight 600
429
+ color $secondary
430
+ &:after
431
+ width 100%
432
+ &--action
433
+ br(2)
434
+ inputFont()
435
+ trans()
436
+ padding 0 1rem
437
+ font-size $inputFontSizeDemo !important
438
+ border .1rem solid $activeColor
439
+ color darken($activeColor, 20%)
440
+ &:hover
441
+ &.copied
442
+ background-color $success
443
+ border-color $light
444
+ color $light
445
+ &:focus
446
+ background-color $secondary
447
+ color $light
@@ -98,15 +98,16 @@
98
98
  justify-content center
99
99
  &__menu
100
100
  width 100%
101
- max-width $wrapperReducedWidth
101
+ max-width 70rem
102
102
  position relative
103
- left auto !important
104
- right auto !important
105
- top auto !important
106
- bottom auto !important
103
+ left auto
104
+ right auto
105
+ top auto
106
+ bottom auto
107
107
  transform unset !important
108
- margin-top 3rem !important
108
+ margin-top 3rem
109
109
  flex-wrap wrap
110
+ justify-content center
110
111
  &__section
111
112
  flex-shrink 1
112
113
  width 20rem
@@ -1 +1 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;0,500;1,600;1,700;1,900&family=Roboto+Mono&display=swap');
1
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto+Mono:wght@400;600&display=swap');
@@ -8,7 +8,6 @@ $tabPadding = 2rem
8
8
  background-color transparent !important
9
9
  width 100%
10
10
  &__header
11
- background linear-gradient(90deg, $tabHeader 77%, $tabHeader2 100%)
12
11
  padding 0 $tabPadding
13
12
  flex-shrink 0
14
13
  display flex
@@ -23,7 +22,6 @@ $tabPadding = 2rem
23
22
  li
24
23
  min-width 0
25
24
  &__content
26
- background-color $tabContent
27
25
  display none
28
26
  padding $tabPadding + .5
29
27
  line-height 1.2
@@ -1,588 +0,0 @@
1
- // Vars
2
- $mapWidth = 40rem
3
- $mapWidthSmall = 28rem
4
- $mapHeight = 36rem
5
-
6
- .demo
7
- position relative
8
- height 100%
9
- margin-bottom 6rem
10
- .map
11
- height 100%
12
- width 100%
13
- .tab
14
- pre
15
- code
16
- margin 0 !important
17
- padding 2rem!important
18
- background transparent !important
19
- width 100%
20
- &__header__buttons
21
- mbi(1)
22
- .overlay
23
- br(1)
24
- position absolute
25
- top 0
26
- left 0
27
- z-index 10
28
- width 100%
29
- height 100%
30
- background-color $light70
31
- cursor not-allowed
32
- &--localities
33
- &--uk
34
- .tab__content
35
- height 44.2rem
36
- max-height 44.2rem
37
- .overlay
38
- br(1)
39
- position absolute
40
- top 0
41
- left 0
42
- width 100%
43
- height 100%
44
- background-color $light70
45
- cursor not-allowed
46
- &__formcontainer
47
- width 100%
48
- height 100%
49
- position relative
50
- padding 1.6rem 2.6rem 3rem 2.6rem
51
- mbib(2)
52
- &--address
53
- &--localitiesaddress
54
- &__formcontainer
55
- width 100%
56
- height 100%
57
- mbib(2)
58
- position relative
59
- padding 1.6rem 2.6rem 3rem 2.6rem
60
- .tab__content
61
- height 49.1rem!important
62
- max-height 49.1rem!important
63
- .demo__map
64
- height 54rem
65
- width 50rem
66
- &--map
67
- .demo__map
68
- width 55rem
69
- height 55rem
70
-
71
- &__header
72
- padding 0 $contentPadding
73
- margin-left auto
74
- margin-right auto
75
- margin-bottom 4rem
76
- &__title
77
- font-size 34px
78
- font-weight 600
79
- margin-bottom 3rem
80
- mbi(3)
81
- &--mini
82
- font-weight 600
83
- img
84
- display block
85
- &__desc
86
- font-size 2rem
87
- font-weight 400
88
- line-height 3.2rem
89
- margin-bottom 3rem
90
- a
91
- color $primary
92
- font-weight 600
93
- cursor pointer
94
- &__list
95
- margin-left 6rem
96
- li
97
- list-style disc
98
- list-style-position inside
99
- margin-bottom 1rem
100
- &__cost
101
- display block
102
- margin-bottom 1rem
103
- color $dark40
104
- font-size 1.3rem
105
- line-height 1.3
106
- font-weight 400
107
- &__label
108
- font-weight 600
109
- font-size $title2
110
- white-space nowrap
111
- margin-bottom 0
112
- .demo--merchant &
113
- .demo--geolocation &
114
- color $success
115
- flexMiddle()
116
- mbi()
117
- img
118
- width 4rem
119
- &--wide
120
- width 35rem
121
- .demo--merchant &
122
- width 100%
123
- &--filter
124
- white-space nowrap
125
- font-weight 400
126
- font-size $title5
127
- line-height 1.4
128
- margin-bottom 0
129
- &__content
130
- br(1)
131
- display flex
132
- align-items stretch
133
- overflow hidden
134
- border .1rem solid $dark10
135
- &-wrapper
136
- padding 0 $contentPadding
137
- &-header
138
- flexMiddle()
139
- .demo--search &
140
- .demo--distance &
141
- .demo--address &
142
- .demo--localitiesaddress &
143
- margin-bottom 1rem
144
- .demo__input-container
145
- margin-bottom 2rem
146
- .demo--address &
147
- .demo--localitiesaddress &
148
- mbi(4)
149
- flex-wrap nowrap
150
- > :nth-child(2)
151
- width 100%
152
- .demo--localitiesaddress &
153
- .demo__input-container
154
- width 100%
155
- &-footer
156
- &-header
157
- mbi(2)
158
- margin-bottom 3rem
159
- position relative
160
- z-index 20
161
- flex-wrap wrap
162
- flex-shrink 0
163
- &-footer
164
- flexSpread()
165
- margin-bottom 1rem
166
- z-index 15
167
- .demo__input-container
168
- margin-bottom 2rem
169
- .demo--distance &
170
- justify-content flex-start
171
- .demo--search &
172
- margin-bottom 3rem
173
- .demo__input-container
174
- margin-bottom 0rem
175
- .demo--address &
176
- .demo--localitiesaddress &
177
- mbi(4)
178
- :nth-child(2)
179
- .select
180
- min-width 18rem
181
- width 100%
182
- .demo__label--filter
183
- width auto !important
184
- .demo--map &
185
- justify-content flex-start
186
- mbi(4)
187
- .demo__label--filter
188
- font-weight 600
189
-
190
- &__input-container
191
- flexMiddle()
192
- mbi(2)
193
- &--inline
194
- flexMiddle()
195
- mbi(2)
196
- width 100%
197
- &__map
198
- overflow hidden
199
- flex-shrink 0
200
- z-index 1
201
- &--small
202
- width 36%
203
- button
204
- &:focus
205
- box-shadow 0 0 0 .1rem $focus
206
- &__results
207
- background $result
208
- width 26%
209
- flex-shrink 0
210
- max-height $mapHeight
211
- box-shadow 0 0 1rem $dark15
212
- z-index 2
213
- .demo--localities--uk &
214
- width 50rem
215
- max-height unset
216
- .demo--merchant &
217
- mbi(2)
218
- flexMiddle()
219
- width 100%
220
- height 100%
221
- max-height unset
222
- max-width 100%
223
- padding 2rem
224
- background-color transparent
225
- box-shadow none
226
- zoom .8
227
- .demo--address &
228
- .demo--localitiesaddress &
229
- width 34rem
230
- &__header
231
- mbi(2)
232
- textShadow()
233
- display flex
234
- align-items center
235
- padding 0 2rem
236
- height $tabBtnHeight + 1
237
- font-weight 600
238
- color $light
239
- text-transform uppercase
240
- box-shadow 0 0 .6rem $dark15
241
- .demo--localities--uk &
242
- .demo--address &
243
- .demo--localitiesaddress &
244
- display none
245
- .demo--distance &
246
- background $distance
247
- background linear-gradient(90deg, $distance 70%, $distanceDark 100%)
248
- .demo--localities &
249
- background $localities
250
- background linear-gradient(90deg, $localities 70%, $localitiesDark 100%)
251
- .demo--address &
252
- .demo--localitiesaddress &
253
- background $address
254
- background linear-gradient(90deg, $address 70%, $addressDark 100%)
255
- .demo--merchant &
256
- background $merchant
257
- background linear-gradient(90deg, $merchant 70%, $merchantDark 100%)
258
- .demo--geolocation &
259
- background $geolocation
260
- background linear-gradient(90deg, $geolocation 70%, $geolocationDark 100%)
261
- .demo--map &
262
- background $map
263
- background linear-gradient(90deg, $map 70%, $mapDark 100%)
264
- .demo--search &
265
- .demo--stores &
266
- background $stores
267
- background linear-gradient(90deg, $stores 70%, $storesDark 100%)
268
- &__leftcontent
269
- position relative
270
- .demo--merchant &
271
- background-color #454545
272
- &__content
273
- padding 2rem
274
- overflow-y auto
275
- height 100%
276
- min-height 20rem
277
- ul
278
- line-height 1.6
279
- mbib(1)
280
- .demo--localities--uk &
281
- .demo--address &
282
- .demo--localitiesaddress &
283
- padding 0
284
- font-size 1.5rem
285
- mbib(2)
286
- background-color #f3f9fd
287
- .demo--address &
288
- .demo--localitiesaddress &
289
- height auto
290
- .localities-matched
291
- background-color $resultMatch
292
- &__item
293
- &:not(:last-child)
294
- margin-bottom 1.4rem
295
- &__api
296
- overflow hidden
297
- width 38%
298
- flex-grow 1
299
- min-height $mapHeight
300
- background-color $tabContent
301
- box-shadow 0 0 1rem $dark15
302
- z-index 2
303
- min-width 0// To fit to Docs container
304
- .tab
305
- &__header
306
- height $tabBtnHeight + 1
307
- padding 0 2rem
308
- box-shadow 0 0 .6rem $dark15
309
- align-items center
310
- .demo--distance &
311
- background $distance
312
- background linear-gradient(90deg, $distanceDark 0%, $distance 20%)
313
- .demo--localities &
314
- background $localities
315
- background linear-gradient(90deg, $localitiesDark 0%, $localities 20%)
316
- .demo--address &
317
- .demo--localitiesaddress &
318
- background $address
319
- background linear-gradient(90deg, $addressDark 0%, $address 20%)
320
- .demo--merchant &
321
- background $merchant
322
- background linear-gradient(90deg, $merchantDark 0%, $merchant 20%)
323
- .demo--geolocation &
324
- background $geolocation
325
- background linear-gradient(90deg, $geolocationDark 0%, $geolocation 20%)
326
- .demo--map &
327
- background $map
328
- background linear-gradient(90deg, $mapDark 0%, $map 20%)
329
- .demo--search &
330
- .demo--stores &
331
- background $stores
332
- background linear-gradient(90deg, $storesDark 0%, $stores 20%)
333
- &__content
334
- margin-top 0
335
- height 31.2rem
336
- max-height 31.2rem
337
- .demo--merchant &
338
- height 45rem
339
- max-height 45rem
340
- .btn--tab
341
- br(0)
342
- textShadow()
343
- align-items center
344
- height $tabBtnHeight + 1
345
- color $light80
346
- padding 0 1rem
347
- text-transform uppercase
348
- &.active
349
- color $light
350
- &:after
351
- background $light
352
- &__footer
353
- mbib(2)
354
- input[type=text]
355
- .select__control
356
- .asyncselect__control
357
- min-width 22rem
358
- .demo--localities--uk &
359
- min-width 16rem
360
- &__input-container
361
- position relative
362
- .demo--localities--uk &
363
- width 100%
364
- .select
365
- width 100%
366
- // Responsiveness
367
-
368
- @media screen and (max-width 1280px)
369
- .demo
370
- &__header
371
- &__results
372
- &__map
373
- &__api
374
- &__footer
375
- &__input-container
376
- &__label
377
- &__label--filter
378
- .select
379
- .asyncselect-container
380
- width 100% !important
381
- &__map
382
- height 40rem
383
- &__content
384
- flexCol()
385
- align-items center
386
- &-footer
387
- .demo--distance &
388
- .demo--address &
389
- .demo--localitiesaddress &
390
- .demo--map &
391
- margin-bottom 0
392
- .demo
393
- &__label--filter
394
- margin-bottom 0
395
- mbi()
396
- &__input-container
397
- flex-direction row
398
- align-items center
399
- width auto !important
400
- margin-bottom 3rem
401
- .demo--search &
402
- .demo
403
- &__input-container
404
- flex-direction row
405
- align-items center
406
- width auto !important
407
- &__label--filter
408
- margin-bottom 0
409
- &-header
410
- .demo--address &
411
- .demo--localitiesaddress &
412
- flex-wrap wrap
413
- .demo--geolocation &
414
- margin-bottom 2rem
415
- .demo
416
- &__label
417
- margin-bottom 0
418
- .demo--distance &
419
- .demo--search &
420
- .demo
421
- &__input-container
422
- margin-right 0
423
- .demo--map &
424
- .demo
425
- &__input-container
426
- margin-right 0
427
- .demo--localities &
428
- .demo__input-container
429
- &:first-child
430
- margin-bottom 3rem
431
- &__input-container
432
- align-items flex-start
433
- flex-direction column
434
- &__label
435
- margin-right 0 !important
436
- &__label--filter
437
- &__label
438
- margin-bottom 2rem
439
- input[type=text]
440
- .select__control
441
- .asyncselect__control
442
- min-width 100%
443
- &__results
444
- .demo--merchant &
445
- width auto
446
- flex-wrap wrap
447
- align-items flex-start
448
- justify-content center
449
- > :first-child
450
- margin-bottom 2rem
451
-
452
- &__leftcontent
453
- .demo--merchant &
454
- width 100%
455
- flexAxis()
456
- @media screen and (max-width 960px)
457
- .demo.demo--localities
458
- .demo__input-container
459
- margin-right 0
460
-
461
- @media screen and (max-width 720px)
462
- .demo
463
- z-index 1
464
- &__title
465
- font-size 3rem
466
- &__desc
467
- font-size 1.75rem
468
- &__content
469
- &-wrapper
470
- padding 0 1rem
471
- &-footer
472
- flex-direction column
473
- .demo--address &
474
- .demo--localitiesaddress &
475
- .demo--map &
476
- .demo--distance &
477
- flex-direction row
478
- &__results
479
- .demo--merchant &
480
- width 100%
481
- justify-content center
482
- &--localities
483
- &--merchant
484
- .demo__header
485
- display none
486
- &--merchant
487
- .demo__results
488
- zoom 1
489
- &__label
490
- &--wide
491
- white-space normal
492
-
493
- @media screen and (max-width 670px)
494
- .demo
495
- pre
496
- code
497
- .btn--tab
498
- font-size 85%
499
- &__results
500
- font-size 90%
501
- &__label
502
- &__label--filter
503
- font-size 90%
504
- .asyncselect__single-value
505
- input
506
- font-size 80% !important
507
- .demo--merchant &
508
- justify-content center
509
- &.demo--localities
510
- .demo
511
- &__content-header
512
- flex-direction column
513
- &__input-container
514
- margin-right 0
515
- @media screen and (max-width 440px)
516
- .demo
517
- &.demo--distance
518
- &.demo--address
519
- .demo--localitiesaddress &
520
- &.demo--map
521
- .demo__input-container
522
- &:nth-child(3)
523
- flex-direction column
524
- .demo__label--filter
525
- margin 0 0 2rem 0
526
- &.demo--geolocation
527
- .demo__label
528
- font-size 1.6rem
529
- &.demo--distance
530
- &.demo--localities
531
- &.demo--address
532
- .demo--localitiesaddress &
533
- .flag
534
- width 2rem
535
- height 1.4rem
536
- .demo__input-container--inline
537
- flex-direction column
538
- .select
539
- margin 0 0 2rem 0
540
- &.demo--search
541
- .demo
542
- &__content
543
- &-footer
544
- flex-direction row
545
- &__label--filter
546
- margin-bottom 2rem
547
- &__input-container
548
- align-items flex-start
549
- justify-content flex-start
550
- flex-direction column
551
- &.demo--address
552
- &.demo--localitiesaddress
553
- .demo__input-container--inline
554
- .input
555
- margin 0 0 2rem 0
556
- &.demo--localitiesaddress
557
- .demo__input-container
558
- width 100%
559
- &.demo--merchant
560
- .demo__results
561
- padding 2rem 0
562
- &.demo--map
563
- .btn--group-container
564
- .btn
565
- font-size 1.4rem
566
- height 3.6rem
567
- padding 0 .8rem
568
- &__desc
569
- &__list
570
- margin-left 2rem
571
-
572
- @media screen and (max-width 370px)
573
- .demo
574
- &.demo--merchant
575
- .demo
576
- &__label
577
- margin-bottom 0
578
- &__results
579
- padding 0 0 2rem 0
580
- &__leftcontent
581
- background-color transparent
582
- &__content
583
- border 0
584
- @media screen and (max-width 320px)
585
- .demo
586
- .btn--group-container
587
- .btn.btn--small.btn--group
588
- padding 0 .6rem