mod-build 4.0.10 → 4.0.11

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 (106) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/package.json +1 -1
  3. package/src/scripts/default/rage-clicking.js +7 -0
  4. package/public/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +0 -2
  5. package/public/resources/scripts/abandonment/abandonment.min.js +0 -2
  6. package/public/resources/scripts/callrail/callrail-5c7c537f04af468600cf.min.js +0 -2
  7. package/public/resources/scripts/callrail/callrail.min.js +0 -2
  8. package/public/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +0 -2
  9. package/public/resources/scripts/footer/footer-component.min.js +0 -2
  10. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js +0 -2
  11. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js.map +0 -1
  12. package/public/resources/scripts/helpers/isZipCodeValid.min.js +0 -2
  13. package/public/resources/scripts/helpers/isZipCodeValid.min.js.map +0 -1
  14. package/public/resources/scripts/jornaya.hbs +0 -35
  15. package/public/resources/scripts/jornaya.html +0 -35
  16. package/public/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +0 -2
  17. package/public/resources/scripts/mod-alytics/modalytics.min.js +0 -2
  18. package/public/resources/scripts/mod-form/form/homeowner-62292fdc874b2d2f5c82.min.js +0 -2
  19. package/public/resources/scripts/mod-form/form/homeowner.min.js +0 -2
  20. package/public/resources/scripts/mod-utils/modutils-15069d7b728a555fb3f7.min.js +0 -2
  21. package/public/resources/scripts/mod-utils/modutils.min.js +0 -2
  22. package/public/resources/scripts/trusted-form.hbs +0 -38
  23. package/public/resources/scripts/trusted-form.html +0 -38
  24. package/public/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +0 -1
  25. package/public/resources/styles/components/abandonment/abandonment.min.css +0 -1
  26. package/public/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +0 -1
  27. package/public/resources/styles/components/footer/mod-footer.min.css +0 -1
  28. package/public/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +0 -1
  29. package/public/resources/styles/components/footer/qs-footer.min.css +0 -1
  30. package/src/accessible-components/button/_button.scss +0 -319
  31. package/src/accessible-components/button/back-button.html +0 -8
  32. package/src/accessible-components/button/button.html +0 -17
  33. package/src/accessible-components/carousel/_carousel.scss +0 -112
  34. package/src/accessible-components/carousel/carousel.html +0 -25
  35. package/src/accessible-components/carousel/carousel.js +0 -3426
  36. package/src/accessible-components/carousel/carousel.js.map +0 -1
  37. package/src/accessible-components/carousel/carousel.min.js +0 -6
  38. package/src/accessible-components/carousel/carousel.min.js.map +0 -1
  39. package/src/accessible-components/checkbox/_checkbox.scss +0 -153
  40. package/src/accessible-components/checkbox/checkbox-group.html +0 -18
  41. package/src/accessible-components/checkbox/checkbox.html +0 -8
  42. package/src/accessible-components/expand-collapse/_expand-collapse.scss +0 -129
  43. package/src/accessible-components/expand-collapse/expand-collapse.html +0 -14
  44. package/src/accessible-components/expand-collapse/expand-collapse.js +0 -52
  45. package/src/accessible-components/expand-collapse/expand-collapse.min.js +0 -2
  46. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +0 -1
  47. package/src/accessible-components/featured-block/_featured-block.scss +0 -221
  48. package/src/accessible-components/featured-block/featured-block.html +0 -54
  49. package/src/accessible-components/foot-assets/foot-assets.html +0 -112
  50. package/src/accessible-components/footer/footer.html +0 -2
  51. package/src/accessible-components/gtm-body/gtm-body.html +0 -4
  52. package/src/accessible-components/head/head.html +0 -187
  53. package/src/accessible-components/header/_header.scss +0 -289
  54. package/src/accessible-components/header/header.html +0 -66
  55. package/src/accessible-components/hero/_hero.scss +0 -405
  56. package/src/accessible-components/hero/hero.html +0 -53
  57. package/src/accessible-components/how-it-works/_how-it-works.scss +0 -217
  58. package/src/accessible-components/how-it-works/how-it-works-carousel.html +0 -12
  59. package/src/accessible-components/how-it-works/how-it-works-static.html +0 -12
  60. package/src/accessible-components/how-it-works/how-it-works.html +0 -14
  61. package/src/accessible-components/information/_information.scss +0 -96
  62. package/src/accessible-components/information/information.html +0 -32
  63. package/src/accessible-components/input/_input.scss +0 -204
  64. package/src/accessible-components/input/input.html +0 -22
  65. package/src/accessible-components/input/textarea.html +0 -9
  66. package/src/accessible-components/partners/_partners.scss +0 -234
  67. package/src/accessible-components/partners/partners.html +0 -56
  68. package/src/accessible-components/picture/picture.html +0 -19
  69. package/src/accessible-components/preloader/_preloader.scss +0 -61
  70. package/src/accessible-components/preloader/preloader.html +0 -23
  71. package/src/accessible-components/progress-bar/_progress-bar.scss +0 -140
  72. package/src/accessible-components/progress-bar/progress-bar.html +0 -21
  73. package/src/accessible-components/progress-bar/progress-bar.js +0 -37
  74. package/src/accessible-components/progress-bar/progress-bar.min.js +0 -2
  75. package/src/accessible-components/progress-bar/progress-bar.min.js.map +0 -1
  76. package/src/accessible-components/radio-button/_radio-button.scss +0 -586
  77. package/src/accessible-components/radio-button/radio-button.html +0 -33
  78. package/src/accessible-components/reviews/_reviews.scss +0 -180
  79. package/src/accessible-components/reviews/reviews-carousel.html +0 -12
  80. package/src/accessible-components/reviews/reviews-static.html +0 -12
  81. package/src/accessible-components/reviews/reviews.html +0 -37
  82. package/src/accessible-components/select/_select.scss +0 -87
  83. package/src/accessible-components/select/select.html +0 -10
  84. package/src/accessible-components/steps/_steps.scss +0 -640
  85. package/src/accessible-components/steps/defaultFormFieldConfig.json +0 -109
  86. package/src/accessible-components/steps/step-fields.html +0 -38
  87. package/src/accessible-components/steps/steps.html +0 -168
  88. package/src/accessible-components/tcpa/_tcpa.scss +0 -49
  89. package/src/accessible-components/tcpa/tcpa.html +0 -9
  90. package/src/accessible-components/tile/_tile.scss +0 -117
  91. package/src/accessible-components/tile/tile.html +0 -14
  92. package/src/accessible-components/value-props/_value-props.scss +0 -102
  93. package/src/accessible-components/value-props/value-props.html +0 -17
  94. package/src/accessible-components/zip-control/_zip-control.scss +0 -79
  95. package/src/accessible-components/zip-control/zip-control.html +0 -10
  96. package/src/resources/data/tcpa.json +0 -4
  97. package/src/resources/templates/modals/about/index.hbs +0 -9
  98. package/src/resources/templates/modals/about/index.html +0 -9
  99. package/src/resources/templates/modals/contact-us/index.hbs +0 -348
  100. package/src/resources/templates/modals/contact-us/index.html +0 -348
  101. package/src/resources/templates/modals/faq/index.hbs +0 -9
  102. package/src/resources/templates/modals/faq/index.html +0 -9
  103. package/src/resources/templates/modals/privacy/index.hbs +0 -236
  104. package/src/resources/templates/modals/privacy/index.html +0 -236
  105. package/src/resources/templates/modals/terms/index.hbs +0 -166
  106. package/src/resources/templates/modals/terms/index.html +0 -166
@@ -1,405 +0,0 @@
1
- $hero-min-height: 0 !default;
2
- $hero-padding: 30px 0 !default;
3
- $hero-padding-tablet: 50px 0 70px !default;
4
- $hero-padding-desktop: 70px 0 !default;
5
- $hero-position: relative !default;
6
- $hero-transition: padding 300ms ease-in-out, min-height 300ms ease-in-out !default;
7
-
8
- $hero-background-background-color: transparent !default;
9
- $hero-background-height: 100% !default;
10
- $hero-background-height-desktop: $hero-background-height !default;
11
- $hero-background-max-height: 100% !default;
12
- $hero-background-left: 0 !default;
13
- $hero-background-left-desktop: $hero-background-left !default;
14
- $hero-background-overflow: hidden !default;
15
- $hero-background-position: absolute !default;
16
- $hero-background-top: unset !default;
17
- $hero-background-bottom: 0 !default;
18
- $hero-background-top-desktop: $hero-background-top !default;
19
- $hero-background-bottom-desktop: $hero-background-bottom !default;
20
- $hero-background-width: 100% !default;
21
- $hero-background-z-index: -1 !default;
22
-
23
- $hero-background-image-height: 100% !default;
24
- $hero-background-image-max-width: 100% !default;
25
- $hero-background-image-object-fit: cover !default;
26
- $hero-background-image-object-position: top !default;
27
- $hero-background-image-object-fit-desktop: $hero-background-image-object-fit !default;
28
- $hero-background-image-object-position-desktop: $hero-background-image-object-position !default;
29
- $hero-background-image-width: 100% !default;
30
-
31
- $hero-overlay-background: linear-gradient(180deg, rgba($color-charcoal9,.6) 10%, rgba($color-white,1) 35%) !default;
32
- $hero-overlay-background-desktop: rgba($color-charcoal9,.6) !default;
33
- $hero-overlay-display: block !default;
34
- $hero-overlay-display-desktop: $hero-overlay-display !default;
35
- $hero-overlay-height: 100% !default;
36
- $hero-overlay-height-desktop: $hero-overlay-height !default;
37
- $hero-overlay-left: 0 !default;
38
- $hero-overlay-overflow: hidden !default;
39
- $hero-overlay-position: absolute !default;
40
- $hero-overlay-top: unset !default;
41
- $hero-overlay-bottom: 0 !default;
42
- $hero-overlay-width: 100% !default;
43
- $hero-overlay-z-index: 0 !default;
44
-
45
- $hero-wrapper-align-items: center !default;
46
- $hero-wrapper-align-items-desktop: center !default;
47
- $hero-wrapper-display: flex !default;
48
- $hero-wrapper-flex-direction: column !default;
49
- $hero-wrapper-flex-direction-desktop: row !default;
50
- $hero-wrapper-justify-content-desktop: initial !default;
51
- $hero-wrapper-padding: 0 !default;
52
- $hero-wrapper-padding-desktop: $hero-wrapper-padding !default;
53
- $hero-wrapper-padding-xl: $hero-wrapper-padding !default;
54
- $hero-wrapper-position: relative !default;
55
- $hero-wrapper-width: 100% !default;
56
- $hero-wrapper-z-index: 1 !default;
57
-
58
- $hero-content-background-color: $color-white !default;
59
- $hero-content-background-color-desktop: $hero-content-background-color !default;
60
- $hero-content-border-radius: 0 !default;
61
- $hero-content-box-shadow: 0 10px 20px 0 rgba($color-black, .08) !default;
62
- $hero-content-max-width: 100% !default;
63
- $hero-content-max-width-tablet: 445px !default;
64
- $hero-content-max-width-desktop: $hero-content-max-width-tablet !default;
65
- $hero-content-padding: 0 !default;
66
- $hero-content-width: 100% !default;
67
-
68
- $hero-header-color: $color-white !default;
69
- $hero-header-min-width: unset !default;
70
- $hero-header-min-width-desktop: unset !default;
71
- $hero-header-text-align: center !default;
72
- $hero-header-text-align-tablet: $hero-header-text-align !default;
73
- $hero-header-text-align-desktop: $hero-header-text-align-tablet !default;
74
- $hero-header-container-padding: 0 15px !default;
75
- $hero-header-container-padding-xl: 0 30px !default;
76
-
77
- $hero-title-font-family: inherit !default;
78
- $hero-title-font-size: 1.5rem !default;
79
- $hero-title-font-size-desktop: 2.125rem !default;
80
- $hero-title-font-size-xl: 2.625rem !default;
81
- $hero-title-font-weight: 400 !default;
82
- $hero-title-letter-spacing: 0 !default;
83
- $hero-title-line-height: 1.25 !default;
84
- $hero-title-line-height-desktop: $hero-title-line-height !default;
85
- $hero-title-margin: 0 0 35px !default;
86
- $hero-title-margin-desktop: 0 0 25px !default;
87
- $hero-title-max-width-desktop: 100% !default;
88
- $hero-title-text-transform: none !default;
89
-
90
- $hero-subtitle-font-size: 1rem !default;
91
- $hero-subtitle-font-size-desktop: 1.125rem !default;
92
- $hero-subtitle-font-weight: 400 !default;
93
- $hero-subtitle-letter-spacing: 0 !default;
94
- $hero-subtitle-line-height: 1.35 !default;
95
- $hero-subtitle-margin: 0 auto 25px !default;
96
- $hero-subtitle-max-width-desktop: 100% !default;
97
- $hero-subtitle-text-transform: none !default;
98
-
99
- $hero-bbb-height: auto !default;
100
- $hero-bbb-margin: 0 auto 15px !default;
101
- $hero-bbb-width: 90px !default;
102
-
103
- // Form In Progress Styles
104
- $hero-inprogress-padding: 0 !default;
105
- $hero-inprogress-container-padding: 0 !default;
106
- // (Mobile)
107
- $hero-inprogress-border-top: 1px solid $color-charcoal1 !default;
108
- $hero-inprogress-background-color: $color-white !default;
109
- $hero-inprogress-mobile-display: none !default;
110
- $hero-inprogress-content-background-color: transparent !default;
111
- $hero-inprogress-content-box-shadow: none !default;
112
- $hero-inprogress-min-height: calc(100vh - 210px) !default;
113
- // (Desktop)
114
- $hero-inprogress-border-bottom-desktop: 1px solid $color-charcoal1 !default;
115
- $hero-inprogress-border-top-desktop: 3px solid $color-charcoal1 !default;
116
- $hero-inprogress-container-width: 100% !default;
117
- $hero-inprogress-header-max-width: 660px !default;
118
- $hero-inprogress-header-margin-left: auto !default;
119
- $hero-inprogress-header-padding: 70px 0 70px 25px !default;
120
- $hero-inprogress-header-min-width: unset !default;
121
- $hero-inprogress-header-width: 70% !default;
122
- $hero-inprogress-wrapper-min-height: 615px !default;
123
- $hero-inprogress-content-background-color-desktop: $color-white !default;
124
- $hero-inprogress-content-max-width: 100% !default;
125
- $hero-inprogress-content-min-height: inherit !default;
126
- $hero-inprogress-content-min-width: 400px !default;
127
- $hero-inprogress-content-padding: 0 0 30px !default;
128
- $hero-inprogress-content-width: 30% !default;
129
- $hero-inprogress-form-max-width: 445px !default;
130
- // (XL Desktop)
131
- $hero-inprogress-content-padding-xl: $hero-inprogress-content-padding !default;
132
- $hero-inprogress-header-max-width-xl: 710px !default;
133
- $hero-inprogress-header-width-xl: 60% !default;
134
- $hero-inprogress-content-width-xl: 40% !default;
135
-
136
- .hero {
137
- min-height: $hero-min-height;
138
- padding: $hero-padding;
139
- position: $hero-position;
140
- transition: $hero-transition;
141
-
142
- &__background {
143
- background: $hero-background-background-color;
144
- bottom: $hero-background-bottom;
145
- height: $hero-background-height;
146
- left: $hero-background-left;
147
- overflow: $hero-background-overflow;
148
- position: $hero-background-position;
149
- top: $hero-background-top;
150
- width: $hero-background-width;
151
- z-index: $hero-background-z-index;
152
- }
153
-
154
- &__background-image {
155
- height: $hero-background-image-height;
156
- max-width: $hero-background-image-max-width;
157
- object-fit: $hero-background-image-object-fit;
158
- object-position: $hero-background-image-object-position;
159
- width: $hero-background-image-width;
160
- }
161
-
162
- &__background-overlay {
163
- background: $hero-overlay-background;
164
- bottom: $hero-overlay-bottom;
165
- display: $hero-overlay-display;
166
- height: $hero-overlay-height;
167
- left: $hero-overlay-left;
168
- overflow: $hero-overlay-overflow;
169
- position: $hero-overlay-position;
170
- top: $hero-overlay-top;
171
- width: $hero-overlay-width;
172
- z-index: $hero-overlay-z-index;
173
- }
174
-
175
- &__wrapper {
176
- align-items: $hero-wrapper-align-items;
177
- display: $hero-wrapper-display;
178
- flex-direction: $hero-wrapper-flex-direction;
179
- padding: $hero-wrapper-padding;
180
- position: $hero-wrapper-position;
181
- width: $hero-wrapper-width;
182
- z-index: $hero-wrapper-z-index;
183
- }
184
-
185
- &__content {
186
- background-color: $hero-content-background-color;
187
- border-radius: $hero-content-border-radius;
188
- box-shadow: $hero-content-box-shadow;
189
- max-width: $hero-content-max-width;
190
- padding: $hero-content-padding;
191
- width: $hero-content-width;
192
- }
193
-
194
- &__header {
195
- color: $hero-header-color;
196
- min-width: $hero-header-min-width;
197
- text-align: $hero-header-text-align;
198
- }
199
-
200
- &__header-container {
201
- padding: $hero-header-container-padding;
202
- }
203
-
204
- &__title {
205
- font-family: $hero-title-font-family;
206
- font-size: $hero-title-font-size;
207
- font-weight: $hero-title-font-weight;
208
- letter-spacing: $hero-title-letter-spacing;
209
- line-height: $hero-title-line-height;
210
- margin: $hero-title-margin;
211
- text-transform: $hero-title-text-transform;
212
- }
213
-
214
- &__subtitle {
215
- font-size: $hero-subtitle-font-size;
216
- font-weight: $hero-subtitle-font-weight;
217
- letter-spacing: $hero-subtitle-letter-spacing;
218
- line-height: $hero-subtitle-line-height;
219
- margin: $hero-subtitle-margin;
220
- text-transform: $hero-subtitle-text-transform;
221
- }
222
-
223
- &__bbb {
224
- height: $hero-bbb-height;
225
- margin: $hero-bbb-margin;
226
- width: $hero-bbb-width;
227
- }
228
- }
229
-
230
- @include breakpoint-md {
231
- .hero {
232
- padding: $hero-padding-tablet;
233
-
234
- &__background {
235
- bottom: $hero-background-bottom-desktop;
236
- height: $hero-background-height-desktop;
237
- left: $hero-background-left-desktop;
238
- max-height: $hero-background-max-height;
239
- top: $hero-background-top-desktop;
240
- }
241
-
242
- &__background-image {
243
- object-fit: $hero-background-image-object-fit-desktop;
244
- object-position: $hero-background-image-object-position-desktop;
245
- }
246
-
247
- &__background-overlay {
248
- background: $hero-overlay-background-desktop;
249
- display: $hero-overlay-display-desktop;
250
- height: $hero-overlay-height-desktop;
251
- }
252
-
253
- &__content {
254
- background-color: $hero-content-background-color-desktop;
255
- max-width: $hero-content-max-width-tablet;
256
- }
257
-
258
- &__header {
259
- text-align: $hero-header-text-align-tablet;
260
- }
261
-
262
- &__title {
263
- font-size: $hero-title-font-size-desktop;
264
- line-height: $hero-title-line-height;
265
- margin: $hero-title-margin-desktop;
266
- max-width: $hero-title-max-width-desktop;
267
- }
268
-
269
- &__subtitle {
270
- font-size: $hero-subtitle-font-size-desktop;
271
- max-width: $hero-subtitle-max-width-desktop;
272
- }
273
- }
274
-
275
- .form-in-progress {
276
- .hero {
277
- border-bottom: $hero-inprogress-border-bottom-desktop;
278
- border-top: $hero-inprogress-border-top-desktop;
279
- }
280
- }
281
- }
282
-
283
- @include breakpoint-lg {
284
- .hero {
285
- padding: $hero-padding-desktop;
286
-
287
- &__wrapper {
288
- align-items: $hero-wrapper-align-items-desktop;
289
- flex-direction: $hero-wrapper-flex-direction-desktop;
290
- justify-content: $hero-wrapper-justify-content-desktop;
291
- padding: $hero-wrapper-padding-desktop;
292
- }
293
-
294
- &__header {
295
- min-width: $hero-header-min-width-desktop;
296
- text-align: $hero-header-text-align-desktop;
297
- }
298
-
299
- &__content {
300
- max-width: $hero-content-max-width-desktop;
301
- }
302
- }
303
-
304
- .form-in-progress {
305
- .hero {
306
- padding: $hero-inprogress-padding;
307
-
308
- &__container {
309
- padding: $hero-inprogress-container-padding;
310
- width: $hero-inprogress-container-width;
311
- }
312
-
313
- &__header {
314
- padding: $hero-inprogress-header-padding;
315
- min-width: $hero-inprogress-header-min-width;
316
- width: $hero-inprogress-header-width;
317
- }
318
-
319
- &__header-container,
320
- .value-props {
321
- margin-left: $hero-inprogress-header-margin-left;
322
- max-width: $hero-inprogress-header-max-width;
323
- }
324
-
325
- &__content {
326
- background-color: $hero-inprogress-content-background-color-desktop;
327
- max-width: $hero-inprogress-content-max-width;
328
- min-height: $hero-inprogress-content-min-height;
329
- min-width: $hero-inprogress-content-min-width;
330
- padding: $hero-inprogress-content-padding;
331
- width: $hero-inprogress-content-width;
332
-
333
- form {
334
- max-width: $hero-inprogress-form-max-width;
335
- }
336
- }
337
-
338
- &__wrapper {
339
- min-height: $hero-inprogress-wrapper-min-height;
340
- }
341
- }
342
- }
343
- }
344
-
345
- @include breakpoint-xl {
346
- .hero {
347
- &__title {
348
- font-size: $hero-title-font-size-xl;
349
- }
350
-
351
- &__header-container {
352
- padding: $hero-header-container-padding-xl;
353
- }
354
-
355
- &__wrapper {
356
- padding: $hero-wrapper-padding-xl;
357
- }
358
- }
359
-
360
- .form-in-progress {
361
- .hero {
362
- &__header {
363
- width: $hero-inprogress-header-width-xl;
364
- }
365
-
366
- &__header-container,
367
- .value-props {
368
- max-width: $hero-inprogress-header-max-width-xl;
369
- }
370
-
371
- &__content {
372
- padding: $hero-inprogress-content-padding-xl;
373
- width: $hero-inprogress-content-width-xl;
374
- }
375
- }
376
- }
377
- }
378
-
379
- @include breakpoint-phone {
380
- .form-in-progress {
381
- .hero {
382
- background-color: $hero-inprogress-background-color;
383
- border-top: $hero-inprogress-border-top;
384
- min-height: $hero-inprogress-min-height;
385
- padding: $hero-inprogress-padding;
386
-
387
- &__container {
388
- padding: $hero-inprogress-container-padding;
389
- }
390
-
391
- &__content,
392
- .form {
393
- background: $hero-inprogress-content-background-color;
394
- box-shadow: $hero-inprogress-content-box-shadow;
395
- }
396
-
397
- &__background,
398
- &__background-overlay,
399
- &__header {
400
- display: $hero-inprogress-mobile-display;
401
- }
402
- }
403
- }
404
-
405
- }
@@ -1,53 +0,0 @@
1
- <section class="hero{{#if this.hero.attributes.class}} {{this.hero.attributes.class}}{{/if}}" {{{addAttributes this.hero 'class'}}}>
2
- {{#if this.hero.background}}
3
- {{#if this.hero.background.picture}}
4
- {{ fileInclude 'src/accessible-components/picture/picture.html'
5
- picture = this.hero.background.picture
6
- class = 'hero__background'
7
- }}
8
- {{else}}
9
- <div class="hero__background"></div>
10
- {{/if}}
11
- {{#if this.hero.background.additionalbackground.picture}}
12
- {{ fileInclude 'src/accessible-components/picture/picture.html'
13
- picture = this.hero.background.additionalbackground.picture
14
- }}
15
- {{/if}}
16
- {{#xif "this.hero.background.includeOverlay === true"}}
17
- <div class="hero__background-overlay"></div>
18
- {{/xif}}
19
- {{/if}}
20
- <div class="hero__container container">
21
- <div class="hero__wrapper">
22
- <div class="hero__header">
23
- <div class="hero__header-container">
24
- {{#if this.hero.title}}
25
- <h1 class="hero__title{{#if this.hero.title.attributes.class}} {{this.hero.title.attributes.class}}{{/if}}" {{{addAttributes this.hero.title 'class'}}} data-theme-template="title">
26
- {{#if this.hero.title.mobileText}}
27
- <span class="visible-sm-down">{{{this.hero.title.mobileText}}}</span>
28
- {{/if}}
29
- <span {{#if this.hero.title.mobileText}}class="hidden visible-md-up"{{/if}}>{{{this.hero.title.text}}}</span>
30
- </h1>
31
- {{/if}}
32
- {{#if this.hero.subtitle.text}}
33
- <p class="hero__subtitle{{#if this.hero.subtitle.attributes.class}} {{this.hero.subtitle.attributes.class}}{{/if}}" {{{addAttributes this.hero.subtitle 'class'}}} data-theme-template="subtitle">
34
- {{{this.hero.subtitle.text}}}
35
- </p>
36
- {{/if}}
37
- </div>
38
- {{#this.hero.valueProps}}
39
- {{ fileInclude 'src/accessible-components/value-props/value-props.html'
40
- props = this
41
- }}
42
- {{/this.hero.valueProps}}
43
- </div>
44
- {{#if this.hero.formTemplateInclude}}
45
- <div class="hero__content">
46
- {{fileInclude this.hero.formTemplateInclude
47
- form = this
48
- }}
49
- </div>
50
- {{/if}}
51
- </div>
52
- </div>
53
- </section>
@@ -1,217 +0,0 @@
1
- $hiw-background: $color-white !default;
2
- $hiw-border-bottom: 0 !default;
3
- $hiw-padding: 40px 0 !default;
4
- $hiw-padding-tablet: 60px 0 !default;
5
- $hiw-padding-desktop: 80px 0 !default;
6
- $hiw-text-align: center !default;
7
-
8
- $hiw-title-color: $color-charcoal8 !default;
9
- $hiw-title-font-size: 1.375rem !default;
10
- $hiw-title-font-size-desktop: 1.5rem !default;
11
- $hiw-title-font-weight: 700 !default;
12
- $hiw-title-line-height: 1.25 !default;
13
- $hiw-title-margin: 0 0 35px !default;
14
-
15
- $hiw-content-max-width: 320px !default;
16
- $hiw-content-width: 90% !default;
17
- $hiw-content-max-width-desktop: 100% !default;
18
- $hiw-content-width-desktop: 80% !default;
19
- $hiw-content-text-align: center !default;
20
-
21
- $hiw-wrapper-align-items: center !default;
22
- $hiw-wrapper-align-items-desktop: center !default;
23
- $hiw-wrapper-flex-direction: row !default;
24
- $hiw-wrapper-flex-direction-desktop: column !default;
25
-
26
- $hiw-card-divider: 2px dashed $color-charcoal1 !default;
27
- $hiw-card-divider-height: 22px !default;
28
- $hiw-card-divider-position-left: 29px !default;
29
- $hiw-card-divider-position-top: -30px !default;
30
- $hiw-card-divider-height-desktop: 100% !default;
31
- $hiw-card-divider-position-left-desktop: 0 !default;
32
- $hiw-card-divider-position-top-desktop: -20% !default;
33
- $hiw-card-divider-transform: rotate(90deg) !default;
34
-
35
- $hiw-card-wrapper-margin: auto !default;
36
- $hiw-card-wrapper-max-width: 260px !default;
37
-
38
- $hiw-card-margin-bottom: 0 !default;
39
- $hiw-card-text-align: center !default;
40
- $hiw-card-text-align-desktop: $hiw-card-text-align !default;
41
- $hiw-block-card-text-align: left !default;
42
- $hiw-block-card-text-align-desktop: center !default;
43
- $hiw-block-card-margin-bottom: 30px !default;
44
-
45
- $hiw-card-icon-height: 100px !default;
46
- $hiw-card-icon-width: $hiw-card-icon-height !default;
47
- $hiw-block-card-icon-height: 60px !default;
48
- $hiw-block-card-icon-width: $hiw-block-card-icon-height !default;
49
-
50
- $hiw-card-title-color: $color-charcoal8 !default;
51
- $hiw-card-title-font-size: 1rem !default;
52
- $hiw-card-title-font-weight: bold !default;
53
- $hiw-card-title-line-height: 1.25 !default;
54
- $hiw-card-title-margin: 15px 0 !default;
55
-
56
- $hiw-card-desc-color: $color-charcoal8 !default;
57
- $hiw-card-desc-font-size: 1rem !default;
58
- $hiw-card-desc-font-size-desktop: 1.125rem !default;
59
- $hiw-card-desc-line-height: 1.35 !default;
60
- $hiw-card-desc-margin: 15px 0 0 !default;
61
- $hiw-card-desc-margin-desktop: $hiw-card-desc-margin !default;
62
- $hiw-block-card-desc-margin: 0 0 0 10px !default;
63
- $hiw-block-card-desc-margin-desktop: 15px auto 0 !default;
64
-
65
- .hiw-card {
66
- margin-bottom: $hiw-card-margin-bottom;
67
- text-align: $hiw-card-text-align;
68
-
69
- &__wrapper {
70
- margin: $hiw-card-wrapper-margin;
71
- max-width: $hiw-card-wrapper-max-width;
72
- }
73
-
74
- &__icon {
75
- height: $hiw-card-icon-height;
76
- width: $hiw-card-icon-width;
77
- }
78
-
79
- &__title {
80
- color: $hiw-card-title-color;
81
- font-size: $hiw-card-title-font-size;
82
- font-weight: $hiw-card-title-font-weight;
83
- line-height: $hiw-card-title-line-height;
84
- margin: $hiw-card-title-margin;
85
- }
86
-
87
- &__description {
88
- color: $hiw-card-desc-color;
89
- font-size: $hiw-card-desc-font-size;
90
- line-height: $hiw-card-desc-line-height;
91
- margin: $hiw-card-desc-margin;
92
- }
93
- }
94
-
95
- .hiw-block,
96
- .hiw-carousel {
97
- background: $hiw-background;
98
- border-bottom: $hiw-border-bottom;
99
- padding: $hiw-padding;
100
- text-align: $hiw-text-align;
101
-
102
- &__title {
103
- color: $hiw-title-color;
104
- font-size: $hiw-title-font-size;
105
- font-weight: $hiw-title-font-weight;
106
- line-height: $hiw-title-line-height;
107
- margin: $hiw-title-margin;
108
- }
109
- }
110
-
111
- .hiw-block {
112
- &__content {
113
- display: block;
114
- margin: 0 auto;
115
- max-width: $hiw-content-max-width;
116
- text-align: $hiw-content-text-align;
117
- width: $hiw-content-width;
118
-
119
- .hiw-card {
120
- flex: 1;
121
- margin-bottom: $hiw-block-card-margin-bottom;
122
- position: relative;
123
- text-align: $hiw-block-card-text-align;
124
-
125
- &__wrapper {
126
- align-items: $hiw-wrapper-align-items;
127
- display: flex;
128
- flex-direction: $hiw-wrapper-flex-direction;
129
- max-width: 100%;
130
- }
131
-
132
- &__icon {
133
- height: $hiw-block-card-icon-height;
134
- min-height: $hiw-block-card-icon-height;
135
- min-width: $hiw-block-card-icon-width;
136
- width: $hiw-block-card-icon-width;
137
- }
138
-
139
- &__description {
140
- margin: $hiw-block-card-desc-margin;
141
- }
142
-
143
- ~ .hiw-card {
144
- &:before{
145
- border-left: $hiw-card-divider;
146
- content: '';
147
- height: $hiw-card-divider-height;
148
- left: $hiw-card-divider-position-left;
149
- position: absolute;
150
- top: $hiw-card-divider-position-top;
151
- width: 1px;
152
- }
153
- }
154
- }
155
- }
156
- }
157
-
158
- @include breakpoint-md {
159
- .hiw-block,
160
- .hiw-carousel {
161
- padding: $hiw-padding-tablet;
162
-
163
- &__title {
164
- font-size: $hiw-title-font-size-desktop;
165
- }
166
- }
167
-
168
- .hiw-block {
169
- &__content {
170
- align-items: center;
171
- display: flex;
172
- max-width: $hiw-content-max-width-desktop;
173
-
174
- .hiw-card {
175
- text-align: $hiw-block-card-text-align-desktop;
176
-
177
- &__wrapper {
178
- align-items: $hiw-wrapper-align-items-desktop;
179
- flex-direction: $hiw-wrapper-flex-direction-desktop;
180
- }
181
-
182
- &__description {
183
- margin: $hiw-block-card-desc-margin-desktop;
184
- }
185
-
186
- ~ .hiw-card {
187
- &:before {
188
- height: $hiw-card-divider-height-desktop;
189
- left: $hiw-card-divider-position-left-desktop;
190
- top: $hiw-card-divider-position-top-desktop;
191
- transform: $hiw-card-divider-transform;
192
- }
193
- }
194
- }
195
- }
196
- }
197
-
198
- .hiw-card {
199
- &__description {
200
- font-size: $hiw-card-desc-font-size-desktop;
201
- margin: $hiw-card-desc-margin-desktop;
202
- }
203
- }
204
- }
205
-
206
- @include breakpoint-lg {
207
- .hiw-block,
208
- .hiw-carousel {
209
- padding: $hiw-padding-desktop;
210
- }
211
-
212
- .hiw-block {
213
- &__content {
214
- width: $hiw-content-width-desktop;
215
- }
216
- }
217
- }
@@ -1,12 +0,0 @@
1
- <section class="hiw-carousel{{#xif 'this.hiwBlock.attributes && this.hiwBlock.attributes.class'}} {{this.hiwBlock.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock 'class'}}}>
2
- <div class="hiw-carousel__container container">
3
- {{#if this.hiwBlock.title}}
4
- <h2 class="hiw-carousel__title{{#xif 'this.hiwBlock.title.attributes && this.hiwBlock.title.attributes.class'}} {{this.hiwBlock.title.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock.title 'class'}}}>{{{this.hiwBlock.title.text}}}</h2>
5
- {{/if}}
6
- {{#hiwBlock}}
7
- {{ fileInclude 'src/accessible-components/carousel/carousel.html'
8
- carousel = this
9
- }}
10
- {{/hiwBlock}}
11
- </div>
12
- </section>
@@ -1,12 +0,0 @@
1
- <section class="hiw-block{{#xif 'this.hiwBlock.attributes && this.hiwBlock.attributes.class'}} {{this.hiwBlock.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock 'class'}}}>
2
- <div class="hiw-block__container container">
3
- {{#if this.hiwBlock.title}}
4
- <h2 class="hiw-block__title{{#xif 'this.hiwBlock.title.attributes && this.hiwBlock.title.attributes.class'}} {{this.hiwBlock.title.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock.title 'class'}}}>{{{this.hiwBlock.title.text}}}</h2>
5
- {{/if}}
6
- <ul class="hiw-block__content">
7
- {{ fileInclude 'src/accessible-components/how-it-works/how-it-works.html'
8
- items = this.hiwBlock.items
9
- }}
10
- </ul>
11
- </div>
12
- </section>