mod-build 4.0.0 → 4.0.1-beta.2
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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/scripts/default/index.js +9 -0
- package/src/scripts/default/update-link-paths.js +7 -13
- package/src/scripts/default/use-dynamic-gtm.js +4 -5
- package/src/scripts/plugins.js +109 -0
- package/src/scripts/utils.js +12 -52
- package/tasks/serve.js +1 -1
- package/vite.config.js +3 -51
- package/src/accessible-components/button/_button.scss +0 -308
- package/src/accessible-components/button/back-button.html +0 -8
- package/src/accessible-components/button/button.html +0 -17
- package/src/accessible-components/carousel/_carousel.scss +0 -112
- package/src/accessible-components/carousel/carousel.html +0 -25
- package/src/accessible-components/carousel/carousel.js +0 -3426
- package/src/accessible-components/carousel/carousel.js.map +0 -1
- package/src/accessible-components/carousel/carousel.min.js +0 -6
- package/src/accessible-components/carousel/carousel.min.js.map +0 -1
- package/src/accessible-components/checkbox/_checkbox.scss +0 -153
- package/src/accessible-components/checkbox/checkbox-group.html +0 -18
- package/src/accessible-components/checkbox/checkbox.html +0 -8
- package/src/accessible-components/expand-collapse/_expand-collapse.scss +0 -129
- package/src/accessible-components/expand-collapse/expand-collapse.html +0 -14
- package/src/accessible-components/expand-collapse/expand-collapse.js +0 -52
- package/src/accessible-components/expand-collapse/expand-collapse.min.js +0 -2
- package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +0 -1
- package/src/accessible-components/featured-block/_featured-block.scss +0 -221
- package/src/accessible-components/featured-block/featured-block.html +0 -54
- package/src/accessible-components/foot-assets/foot-assets.html +0 -112
- package/src/accessible-components/footer/footer.html +0 -2
- package/src/accessible-components/gtm-body/gtm-body.html +0 -4
- package/src/accessible-components/head/head.html +0 -187
- package/src/accessible-components/header/_header.scss +0 -287
- package/src/accessible-components/header/header.html +0 -66
- package/src/accessible-components/hero/_hero.scss +0 -405
- package/src/accessible-components/hero/hero.html +0 -53
- package/src/accessible-components/how-it-works/_how-it-works.scss +0 -217
- package/src/accessible-components/how-it-works/how-it-works-carousel.html +0 -12
- package/src/accessible-components/how-it-works/how-it-works-static.html +0 -12
- package/src/accessible-components/how-it-works/how-it-works.html +0 -14
- package/src/accessible-components/information/_information.scss +0 -96
- package/src/accessible-components/information/information.html +0 -32
- package/src/accessible-components/input/_input.scss +0 -204
- package/src/accessible-components/input/input.html +0 -22
- package/src/accessible-components/input/textarea.html +0 -9
- package/src/accessible-components/partners/_partners.scss +0 -234
- package/src/accessible-components/partners/partners.html +0 -56
- package/src/accessible-components/picture/picture.html +0 -19
- package/src/accessible-components/preloader/_preloader.scss +0 -61
- package/src/accessible-components/preloader/preloader.html +0 -23
- package/src/accessible-components/progress-bar/_progress-bar.scss +0 -140
- package/src/accessible-components/progress-bar/progress-bar.html +0 -21
- package/src/accessible-components/progress-bar/progress-bar.js +0 -37
- package/src/accessible-components/progress-bar/progress-bar.min.js +0 -2
- package/src/accessible-components/progress-bar/progress-bar.min.js.map +0 -1
- package/src/accessible-components/radio-button/_radio-button.scss +0 -586
- package/src/accessible-components/radio-button/radio-button.html +0 -33
- package/src/accessible-components/reviews/_reviews.scss +0 -175
- package/src/accessible-components/reviews/reviews-carousel.html +0 -12
- package/src/accessible-components/reviews/reviews-static.html +0 -12
- package/src/accessible-components/reviews/reviews.html +0 -37
- package/src/accessible-components/select/_select.scss +0 -69
- package/src/accessible-components/select/select.html +0 -10
- package/src/accessible-components/steps/_steps.scss +0 -636
- package/src/accessible-components/steps/defaultFormFieldConfig.json +0 -109
- package/src/accessible-components/steps/step-fields.html +0 -38
- package/src/accessible-components/steps/steps.html +0 -160
- package/src/accessible-components/tcpa/_tcpa.scss +0 -49
- package/src/accessible-components/tcpa/tcpa.html +0 -9
- package/src/accessible-components/tile/_tile.scss +0 -117
- package/src/accessible-components/tile/tile.html +0 -14
- package/src/accessible-components/value-props/_value-props.scss +0 -102
- package/src/accessible-components/value-props/value-props.html +0 -17
- package/src/accessible-components/zip-control/_zip-control.scss +0 -79
- package/src/accessible-components/zip-control/zip-control.html +0 -10
- package/src/resources/data/tcpa.json +0 -3
- package/src/resources/scripts/abandonment/abandonment-e099a424bf17408f1db2.min.js +0 -2
- package/src/resources/scripts/abandonment/abandonment.min.js +0 -2
- package/src/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +0 -2
- package/src/resources/scripts/footer/footer-component.min.js +0 -2
- package/src/resources/scripts/helpers/initNumericOnlyFields.min.js +0 -2
- package/src/resources/scripts/helpers/initNumericOnlyFields.min.js.map +0 -1
- package/src/resources/scripts/helpers/isZipCodeValid.min.js +0 -2
- package/src/resources/scripts/helpers/isZipCodeValid.min.js.map +0 -1
- package/src/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +0 -2
- package/src/resources/scripts/mod-alytics/modalytics.min.js +0 -2
- package/src/resources/scripts/mod-form/form/homeowner-f395431201f7a6e56690.min.js +0 -2
- package/src/resources/scripts/mod-form/form/homeowner.min.js +0 -2
- package/src/resources/scripts/mod-utils/modutils-a08fecfbb83afad1a9f8.min.js +0 -2
- package/src/resources/scripts/mod-utils/modutils.min.js +0 -2
- package/src/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +0 -1
- package/src/resources/styles/components/abandonment/abandonment.min.css +0 -1
- package/src/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +0 -1
- package/src/resources/styles/components/footer/mod-footer.min.css +0 -1
- package/src/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +0 -1
- package/src/resources/styles/components/footer/qs-footer.min.css +0 -1
- package/src/resources/templates/modals/about/index.hbs +0 -9
- package/src/resources/templates/modals/about/index.html +0 -9
- package/src/resources/templates/modals/contact-us/index.hbs +0 -348
- package/src/resources/templates/modals/contact-us/index.html +0 -348
- package/src/resources/templates/modals/faq/index.hbs +0 -9
- package/src/resources/templates/modals/faq/index.html +0 -9
- package/src/resources/templates/modals/privacy/index.hbs +0 -236
- package/src/resources/templates/modals/privacy/index.html +0 -236
- package/src/resources/templates/modals/terms/index.hbs +0 -166
- package/src/resources/templates/modals/terms/index.html +0 -166
- package/src/shared-components/card-button/_card-button.scss +0 -49
- package/src/shared-components/card-button/card-button.html +0 -9
- package/src/shared-components/carousel/_carousel.scss +0 -106
- package/src/shared-components/carousel/carousel.html +0 -22
- package/src/shared-components/carousel/carousel.js +0 -3427
- package/src/shared-components/carousel/carousel.js.map +0 -1
- package/src/shared-components/carousel/carousel.min.js +0 -6
- package/src/shared-components/carousel/carousel.min.js.map +0 -1
- package/src/shared-components/carousel/carousel.min.min.js +0 -6
- package/src/shared-components/carousel/carousel.min.min.js.map +0 -1
- package/src/shared-components/checkbox/_checkbox.scss +0 -104
- package/src/shared-components/checkbox/checkbox.html +0 -6
- package/src/shared-components/expand-collapse/_expand-collapse.scss +0 -93
- package/src/shared-components/expand-collapse/expand-collapse.html +0 -8
- package/src/shared-components/expand-collapse/expand-collapse.js +0 -40
- package/src/shared-components/expand-collapse/expand-collapse.min.js +0 -2
- package/src/shared-components/expand-collapse/expand-collapse.min.js.map +0 -1
- package/src/shared-components/featured-block/_featured-block.scss +0 -185
- package/src/shared-components/featured-block/featured-block.html +0 -62
- package/src/shared-components/foot-assets/foot-assets.html +0 -107
- package/src/shared-components/form-tcpa/form-tcpa.html +0 -12
- package/src/shared-components/gtm-body/gtm-body.html +0 -4
- package/src/shared-components/head/head.html +0 -192
- package/src/shared-components/header/_header.scss +0 -200
- package/src/shared-components/header/header.html +0 -71
- package/src/shared-components/hero/_hero.scss +0 -253
- package/src/shared-components/hero/hero.html +0 -126
- package/src/shared-components/how-it-works/_how-it-works.scss +0 -138
- package/src/shared-components/how-it-works/how-it-works.html +0 -19
- package/src/shared-components/input/_input.scss +0 -229
- package/src/shared-components/input/input.html +0 -30
- package/src/shared-components/preloader/_preloader.scss +0 -61
- package/src/shared-components/preloader/preloader.html +0 -49
- package/src/shared-components/progress-bar/_progress-bar.scss +0 -105
- package/src/shared-components/progress-bar/progress-bar.html +0 -20
- package/src/shared-components/progress-bar/progress-bar.js +0 -25
- package/src/shared-components/progress-bar/progress-bar.min.js +0 -2
- package/src/shared-components/progress-bar/progress-bar.min.js.map +0 -1
- package/src/shared-components/radio-button/_radio-button.scss +0 -554
- package/src/shared-components/radio-button/radio-button.html +0 -25
- package/src/shared-components/reviews/_reviews.scss +0 -79
- package/src/shared-components/reviews/reviews.html +0 -27
- package/src/shared-components/select/_select.scss +0 -61
- package/src/shared-components/select/select.html +0 -8
- package/src/shared-components/steps/_steps.scss +0 -334
- package/src/shared-components/steps/defaultFormFieldConfig.json +0 -64
- package/src/shared-components/steps/step-fields.html +0 -36
- package/src/shared-components/steps/steps.html +0 -131
- package/src/shared-components/textarea/_textarea.scss +0 -96
- package/src/shared-components/textarea/textarea.html +0 -13
- package/src/shared-components/theme-toggle/_theme-toggle.scss +0 -68
- package/src/shared-components/theme-toggle/theme-toggle.html +0 -34
- package/src/shared-components/tile/_tile.scss +0 -117
- package/src/shared-components/tile/tile.html +0 -27
- package/src/shared-components/value-props/_value-props.scss +0 -98
- package/src/shared-components/value-props/value-props.html +0 -17
- package/src/shared-components/zip-control/_zip-control.scss +0 -42
- package/src/shared-components/zip-control/zip-control.html +0 -21
- package/src/temp/scripts/maxmind-geoip2.js +0 -104
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
$select-bg-color: transparent !default;
|
|
2
|
-
$select-border: 1px solid $color-charcoal1 !default;
|
|
3
|
-
$select-border-raius: 4px !default;
|
|
4
|
-
$select-box-shadow: inset 2px 1px 2px 0 rgba($color-black, .08), inset -2px 0px 2px 0 rgba($color-black, .08) !default;
|
|
5
|
-
$select-font-size: 16px !default;
|
|
6
|
-
$select-line-height: 1.1875 !default;
|
|
7
|
-
$select-margin: 0 0 15px !default;
|
|
8
|
-
$select-padding: 14px 15px 13px !default;
|
|
9
|
-
$select-text-color: $color-charcoal5 !default;
|
|
10
|
-
$select-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
|
|
11
|
-
|
|
12
|
-
$select-focus-border: 1px solid $color-charcoal2 !default;
|
|
13
|
-
$select-focus-box-shadow: none !default;
|
|
14
|
-
|
|
15
|
-
$select-option-bg-color: $color-white !default;
|
|
16
|
-
$select-option-color: $color-charcoal5 !default;
|
|
17
|
-
|
|
18
|
-
$select-arrow-position-right: 15px !default;
|
|
19
|
-
$select-arrow-position-top: calc(50% - 7px) !default;
|
|
20
|
-
$select-arrow-color: $select-text-color !default;
|
|
21
|
-
|
|
22
|
-
.select-wrapper {
|
|
23
|
-
color: $select-text-color;
|
|
24
|
-
margin: $select-margin;
|
|
25
|
-
position: relative;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.select {
|
|
29
|
-
appearance: none;
|
|
30
|
-
background: $select-bg-color;
|
|
31
|
-
border: $select-border;
|
|
32
|
-
border-radius: $select-border-raius;
|
|
33
|
-
box-shadow: $select-box-shadow;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
font-size: $select-font-size;
|
|
36
|
-
line-height: $select-line-height;
|
|
37
|
-
margin: 0;
|
|
38
|
-
padding: $select-padding;
|
|
39
|
-
position: relative;
|
|
40
|
-
transition: $select-transition;
|
|
41
|
-
width: 100%;
|
|
42
|
-
|
|
43
|
-
&:focus {
|
|
44
|
-
border: $select-focus-border;
|
|
45
|
-
box-shadow: $select-focus-box-shadow;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
option {
|
|
49
|
-
background: $select-option-bg-color;
|
|
50
|
-
color: $select-option-color;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.select-caret {
|
|
54
|
-
color: $select-arrow-color;
|
|
55
|
-
margin-top: 0;
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
position: absolute;
|
|
58
|
-
right: $select-arrow-position-right;
|
|
59
|
-
top: $select-arrow-position-top;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<div class="select-wrapper{{#if this.field.class}} this.field.class{{/if}}">
|
|
2
|
-
<select class="select" name="{{this.field.name}}" id="{{#if this.field.id}}{{this.field.id}}{{else}}{{this.field.name}}{{/if}}" data-required="nonempty">
|
|
3
|
-
{{#each this.field.options}}
|
|
4
|
-
<option value="{{this.value}}">{{this.text}}</option>
|
|
5
|
-
{{/each}}
|
|
6
|
-
</select>
|
|
7
|
-
<span class="select-caret icon icon-caret-down"></span>
|
|
8
|
-
</div>
|
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
$step-supertitle-bg-color: $color-blue5 !default;
|
|
2
|
-
$step-supertitle-color: $color-white !default;
|
|
3
|
-
$step-supertitle-font-size: 22px !default;
|
|
4
|
-
$step-supertitle-font-size-mobile: 18px !default;
|
|
5
|
-
$step-supertitle-font-weight: 300 !default;
|
|
6
|
-
$step-supertitle-line-height: 1.36 !default;
|
|
7
|
-
$step-supertitle-padding: 20px !default;
|
|
8
|
-
$step-supertitle-padding-mobile: 15px !default;
|
|
9
|
-
|
|
10
|
-
$step-title-container-bg-color: transparent !default;
|
|
11
|
-
$step-title-container-margin: 0 !default;
|
|
12
|
-
$step-title-container-padding: 0 20px !default;
|
|
13
|
-
$step-title-container-text-align: center !default;
|
|
14
|
-
|
|
15
|
-
$step-title-color: $color-blue5 !default;
|
|
16
|
-
$step-title-font-size: 22px !default;
|
|
17
|
-
$step-title-font-size-mobile: $step-title-font-size !default;
|
|
18
|
-
$step-title-font-weight: bold !default;
|
|
19
|
-
$step-title-line-height: 1.55 !default;
|
|
20
|
-
$step-title-margin: 0 !default;
|
|
21
|
-
|
|
22
|
-
$step-subtitle-color: $color-charcoal5 !default;
|
|
23
|
-
$step-subtitle-font-size: 16px !default;
|
|
24
|
-
$step-subtitle-font-size-mobile: $step-subtitle-font-size !default;
|
|
25
|
-
$step-subtitle-font-weight: normal !default;
|
|
26
|
-
$step-subtitle-line-height: $step-title-line-height !default;
|
|
27
|
-
$step-subtitle-margin: 5px 0 25px !default;
|
|
28
|
-
|
|
29
|
-
$step-subtitle-list-color: $color-white !default;
|
|
30
|
-
$step-subtitle-list-font-size: 14px !default;
|
|
31
|
-
$step-subtitle-list-font-weight: normal !default;
|
|
32
|
-
$step-subtitle-list-icon: '\e920' !default;
|
|
33
|
-
$step-subtitle-list-icon-margin: 0 10px 0 0 !default;
|
|
34
|
-
$step-subtitle-list-line-height: 1.29 !default;
|
|
35
|
-
$step-subtitle-list-margin: 0 !default;
|
|
36
|
-
|
|
37
|
-
$step-overview-border: 1px solid $color-charcoal1 !default;
|
|
38
|
-
$step-overview-color: $color-charcoal5 !default;
|
|
39
|
-
$step-overview-font-size: 13px !default;
|
|
40
|
-
$step-overview-letter-spacing: .1px !default;
|
|
41
|
-
$step-overview-line-height: 1.38 !default;
|
|
42
|
-
$step-overview-margin: 0 auto 20px !default;
|
|
43
|
-
$step-overview-padding: 8px 0 !default;
|
|
44
|
-
$step-overview-text-align: center !default;
|
|
45
|
-
|
|
46
|
-
$step-overview-number-background: $step-overview-color !default;
|
|
47
|
-
$step-overview-number-color: $color-white !default;
|
|
48
|
-
$step-overview-number-font-size: 14px !default;
|
|
49
|
-
$step-overview-number-font-weight: 700 !default;
|
|
50
|
-
$step-overview-number-height: 22px !default;
|
|
51
|
-
$step-overview-number-line-height: $step-overview-number-height !default;
|
|
52
|
-
$step-overview-number-margin-right: 5px !default;
|
|
53
|
-
$step-overview-number-width: $step-overview-number-height !default;
|
|
54
|
-
|
|
55
|
-
$form-group-margin: 0 !default;
|
|
56
|
-
$form-group-label-color: $color-charcoal5 !default;
|
|
57
|
-
$form-group-label-font-size: 17px !default;
|
|
58
|
-
$form-group-label-font-weight: normal !default;
|
|
59
|
-
$form-group-label-margin: 10px 0 15px !default;
|
|
60
|
-
|
|
61
|
-
$form-group-label-in-input-cursor: text !default;
|
|
62
|
-
$form-group-label-in-input-top-position: 18px !default;
|
|
63
|
-
$form-group-label-in-input-left-position: 15px !default;
|
|
64
|
-
$form-group-label-in-input-z-index: -1 !default;
|
|
65
|
-
|
|
66
|
-
$label-tool-tip-cursor: help !default;
|
|
67
|
-
$label-tool-tip-bg-color: $color-charcoal5 !default;
|
|
68
|
-
$label-tool-tip-border-radius: 6px !default;
|
|
69
|
-
$label-tool-tip-color: $color-white !default;
|
|
70
|
-
$label-tool-tip-font-size: 14px !default;
|
|
71
|
-
$label-tool-tip-line-height: 1.2 !default;
|
|
72
|
-
$label-tool-tip-margin-left: 15px !default;
|
|
73
|
-
$label-tool-tip-padding: 15px !default;
|
|
74
|
-
$label-tool-tip-width: 280px !default;
|
|
75
|
-
$label-tool-tip-z-index: 10 !default;
|
|
76
|
-
$label-tool-tip-arrow-margin: -5px 0 0 -5px !default;
|
|
77
|
-
$label-tool-tip-arrow-size: 10px !default;
|
|
78
|
-
|
|
79
|
-
$form-group-error-message-color: $color-red5 !default;
|
|
80
|
-
$form-group-error-message-font-size: 14px !default;
|
|
81
|
-
$form-group-error-message-margin: -10px 0 10px 2px !default;
|
|
82
|
-
|
|
83
|
-
$form-group-city-state-color: $color-charcoal4 !default;
|
|
84
|
-
$form-group-city-state-font-size: 13px !default;
|
|
85
|
-
$form-group-city-state-font-weight: bold !default;
|
|
86
|
-
$form-group-city-state-margin: -10px 0 0 !default;
|
|
87
|
-
$form-group-city-state-padding: 0 2px 0 0 !default;
|
|
88
|
-
$form-group-city-state-text-align: right !default;
|
|
89
|
-
|
|
90
|
-
$form-group-note-color: #8a8a8a !default;
|
|
91
|
-
$form-group-note-font-size: 11px !default;
|
|
92
|
-
$form-group-note-font-style: italic !default;
|
|
93
|
-
$form-group-note-margin: -7px 0 0 !default;
|
|
94
|
-
|
|
95
|
-
.step {
|
|
96
|
-
flex: 0 0 100%;
|
|
97
|
-
|
|
98
|
-
&__supertitle {
|
|
99
|
-
background-color: $step-supertitle-bg-color;
|
|
100
|
-
color: $step-supertitle-color;
|
|
101
|
-
font-size: $step-supertitle-font-size-mobile;
|
|
102
|
-
font-weight: $step-supertitle-font-weight;
|
|
103
|
-
line-height: $step-supertitle-line-height;
|
|
104
|
-
padding: $step-supertitle-padding-mobile;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&__title-container {
|
|
108
|
-
background-color: $step-title-container-bg-color;
|
|
109
|
-
margin: $step-title-container-margin;
|
|
110
|
-
padding: $step-title-container-padding;
|
|
111
|
-
text-align: $step-title-container-text-align;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&__title {
|
|
115
|
-
color: $step-title-color;
|
|
116
|
-
font-size: $step-title-font-size-mobile;
|
|
117
|
-
font-weight: $step-title-font-weight;
|
|
118
|
-
line-height: $step-title-line-height;
|
|
119
|
-
margin: $step-title-margin;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&__subtitle {
|
|
123
|
-
color: $step-subtitle-color;
|
|
124
|
-
font-size: $step-subtitle-font-size-mobile;
|
|
125
|
-
font-weight: $step-subtitle-font-weight;
|
|
126
|
-
line-height: $step-subtitle-line-height;
|
|
127
|
-
margin: $step-subtitle-margin;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&__subtitle-list {
|
|
131
|
-
list-style: none;
|
|
132
|
-
margin: $step-subtitle-list-margin;
|
|
133
|
-
padding-left: 0;
|
|
134
|
-
|
|
135
|
-
li {
|
|
136
|
-
color: $step-subtitle-list-color;
|
|
137
|
-
font-size: $step-subtitle-list-font-size;
|
|
138
|
-
font-weight: $step-subtitle-list-font-weight;
|
|
139
|
-
line-height: $step-subtitle-list-line-height;
|
|
140
|
-
|
|
141
|
-
&:before {
|
|
142
|
-
content: $step-subtitle-list-icon;
|
|
143
|
-
display: inline-block;
|
|
144
|
-
font-family: modicons-fill;
|
|
145
|
-
font-style: normal;
|
|
146
|
-
font-variant: normal;
|
|
147
|
-
font-weight: 400;
|
|
148
|
-
line-height: 1;
|
|
149
|
-
margin: $step-subtitle-list-icon-margin;
|
|
150
|
-
text-transform: none;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&__overview {
|
|
156
|
-
border-bottom: $step-overview-border;
|
|
157
|
-
border-top: $step-overview-border;
|
|
158
|
-
color: $step-overview-color;
|
|
159
|
-
font-size: $step-overview-font-size;
|
|
160
|
-
letter-spacing: $step-overview-letter-spacing;
|
|
161
|
-
line-height: $step-overview-line-height;
|
|
162
|
-
margin: $step-overview-margin;
|
|
163
|
-
padding: $step-overview-padding;
|
|
164
|
-
text-align: $step-overview-text-align;
|
|
165
|
-
|
|
166
|
-
span {
|
|
167
|
-
padding: 0;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&__overview-number {
|
|
172
|
-
background: $step-overview-number-background;
|
|
173
|
-
border-radius: 100%;
|
|
174
|
-
color: $step-overview-number-color;
|
|
175
|
-
display: inline-block;
|
|
176
|
-
font-size: $step-overview-number-font-size;
|
|
177
|
-
font-weight: $step-overview-number-font-weight;
|
|
178
|
-
height: $step-overview-number-height;
|
|
179
|
-
line-height: $step-overview-number-line-height;
|
|
180
|
-
margin-right: $step-overview-number-margin-right;
|
|
181
|
-
text-align: center;
|
|
182
|
-
width: $step-overview-number-width;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.form-group {
|
|
187
|
-
margin: $form-group-margin;
|
|
188
|
-
|
|
189
|
-
&__label {
|
|
190
|
-
color: $form-group-label-color;
|
|
191
|
-
font-size: $form-group-label-font-size;
|
|
192
|
-
font-weight: $form-group-label-font-weight;
|
|
193
|
-
margin: $form-group-label-margin;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&__label-input {
|
|
197
|
-
color: $form-group-label-color;
|
|
198
|
-
cursor: $form-group-label-in-input-cursor;
|
|
199
|
-
font-size: $form-group-label-font-size;
|
|
200
|
-
font-weight: $form-group-label-font-weight;
|
|
201
|
-
left: $form-group-label-in-input-left-position;
|
|
202
|
-
position: absolute;
|
|
203
|
-
top: $form-group-label-in-input-top-position;
|
|
204
|
-
transition: color 200ms ease, font-size 200ms ease;
|
|
205
|
-
user-select: none;
|
|
206
|
-
z-index: $form-group-label-in-input-z-index;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
&__error-message {
|
|
210
|
-
color: $form-group-error-message-color;
|
|
211
|
-
font-size: $form-group-error-message-font-size;
|
|
212
|
-
display: none;
|
|
213
|
-
margin: $form-group-error-message-margin;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&__city-state {
|
|
217
|
-
color: $form-group-city-state-color;
|
|
218
|
-
font-size: $form-group-city-state-font-size;
|
|
219
|
-
font-weight: $form-group-city-state-font-weight;
|
|
220
|
-
margin: $form-group-city-state-margin;
|
|
221
|
-
padding: $form-group-city-state-padding;
|
|
222
|
-
text-align: $form-group-city-state-text-align;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&__note {
|
|
226
|
-
color: $form-group-note-color;
|
|
227
|
-
display: inline-block;
|
|
228
|
-
font-size: $form-group-note-font-size;
|
|
229
|
-
font-style: $form-group-note-font-style;
|
|
230
|
-
margin: $form-group-note-margin;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
&__label-tooltip {
|
|
234
|
-
cursor: $label-tool-tip-cursor;
|
|
235
|
-
position: relative;
|
|
236
|
-
|
|
237
|
-
&-text {
|
|
238
|
-
background: $label-tool-tip-bg-color;
|
|
239
|
-
border-radius: $label-tool-tip-border-radius;
|
|
240
|
-
color: $label-tool-tip-color;
|
|
241
|
-
display: none;
|
|
242
|
-
font-size: $label-tool-tip-font-size;
|
|
243
|
-
left: 100%;
|
|
244
|
-
line-height: $label-tool-tip-line-height;
|
|
245
|
-
margin-left: $label-tool-tip-margin-left;
|
|
246
|
-
padding: $label-tool-tip-padding;
|
|
247
|
-
position: absolute;
|
|
248
|
-
text-align: center;
|
|
249
|
-
top: 50%;
|
|
250
|
-
transform: translateY(-50%);
|
|
251
|
-
width: $label-tool-tip-width;
|
|
252
|
-
z-index: $label-tool-tip-z-index;
|
|
253
|
-
|
|
254
|
-
&::before {
|
|
255
|
-
background: $label-tool-tip-bg-color;
|
|
256
|
-
content: '';
|
|
257
|
-
display: block;
|
|
258
|
-
height: $label-tool-tip-arrow-size;
|
|
259
|
-
left: 0;
|
|
260
|
-
margin: $label-tool-tip-arrow-margin;
|
|
261
|
-
position: absolute;
|
|
262
|
-
top: 50%;
|
|
263
|
-
transform: rotate(-45deg);
|
|
264
|
-
width: $label-tool-tip-arrow-size;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
&:hover {
|
|
269
|
-
.form-group__label-tooltip-text {
|
|
270
|
-
display: block;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.has-error {
|
|
277
|
-
.form-group__error-message {
|
|
278
|
-
display: block;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.form-group__label-input {
|
|
282
|
-
color: $form-group-error-message-color;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&:focus-within {
|
|
286
|
-
.form-group__label-input {
|
|
287
|
-
color: $form-group-error-message-color;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.swiper--dynamic-step-height {
|
|
293
|
-
.step {
|
|
294
|
-
.step-inner {
|
|
295
|
-
max-height: 0;
|
|
296
|
-
opacity: 0;
|
|
297
|
-
transition: opacity 250ms 250ms ease-in;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&--active .step-inner {
|
|
301
|
-
max-height: 999px;
|
|
302
|
-
opacity: 1;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.disableAutofill {
|
|
308
|
-
.step-inner {
|
|
309
|
-
visibility: hidden;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.step--active {
|
|
313
|
-
.step-inner {
|
|
314
|
-
visibility: visible;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
@include breakpoint-sm {
|
|
320
|
-
.step {
|
|
321
|
-
&__supertitle {
|
|
322
|
-
font-size: $step-supertitle-font-size;
|
|
323
|
-
padding: $step-supertitle-padding;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
&__title {
|
|
327
|
-
font-size: $step-title-font-size;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
&__subtitle {
|
|
331
|
-
font-size: $step-subtitle-font-size;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"zip": {
|
|
3
|
-
"fieldType": "input",
|
|
4
|
-
"type": "tel",
|
|
5
|
-
"placeholder": "Enter Zip Code",
|
|
6
|
-
"required": "zip",
|
|
7
|
-
"maxLength": "5",
|
|
8
|
-
"errorMessage": "Please enter a valid zip code."
|
|
9
|
-
},
|
|
10
|
-
"firstName": {
|
|
11
|
-
"fieldType": "input",
|
|
12
|
-
"name": "firstName",
|
|
13
|
-
"min": "2",
|
|
14
|
-
"maxLength": "30",
|
|
15
|
-
"type": "text",
|
|
16
|
-
"placeholder": "First Name",
|
|
17
|
-
"required": "name",
|
|
18
|
-
"errorMessage": "Please enter a valid first name."
|
|
19
|
-
},
|
|
20
|
-
"lastName": {
|
|
21
|
-
"fieldType": "input",
|
|
22
|
-
"name": "lastName",
|
|
23
|
-
"min": "2",
|
|
24
|
-
"maxLength": "30",
|
|
25
|
-
"type": "text",
|
|
26
|
-
"placeholder": "Last Name",
|
|
27
|
-
"required": "name",
|
|
28
|
-
"errorMessage": "Please enter a valid last name."
|
|
29
|
-
},
|
|
30
|
-
"zip1": {
|
|
31
|
-
"fieldType": "input",
|
|
32
|
-
"name": "zip1",
|
|
33
|
-
"type": "tel",
|
|
34
|
-
"placeholder": "Enter Zip Code",
|
|
35
|
-
"required": "zip",
|
|
36
|
-
"maxLength": "5",
|
|
37
|
-
"errorMessage": "Please enter a valid zip code."
|
|
38
|
-
},
|
|
39
|
-
"homePhone": {
|
|
40
|
-
"fieldType": "input",
|
|
41
|
-
"name": "homePhone",
|
|
42
|
-
"type": "tel",
|
|
43
|
-
"placeholder": "Phone Number",
|
|
44
|
-
"required": "phone",
|
|
45
|
-
"maxLength": "14",
|
|
46
|
-
"errorMessage": "Please enter a valid phone number."
|
|
47
|
-
},
|
|
48
|
-
"email": {
|
|
49
|
-
"fieldType": "input",
|
|
50
|
-
"name": "email",
|
|
51
|
-
"type": "email",
|
|
52
|
-
"placeholder": "Email",
|
|
53
|
-
"required": "email",
|
|
54
|
-
"errorMessage": "Please enter a valid email address."
|
|
55
|
-
},
|
|
56
|
-
"address": {
|
|
57
|
-
"fieldType": "input",
|
|
58
|
-
"name": "address",
|
|
59
|
-
"type": "text",
|
|
60
|
-
"placeholder": "123 Your St.",
|
|
61
|
-
"required": "address",
|
|
62
|
-
"errorMessage": "Please enter a valid address."
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{{#xif "this.stepFields.fieldType === 'radio'"}}
|
|
2
|
-
{{ fileInclude 'src/shared-components/radio-button/radio-button.html'
|
|
3
|
-
field = this.stepFields
|
|
4
|
-
}}
|
|
5
|
-
{{/xif}}
|
|
6
|
-
|
|
7
|
-
{{#xif "this.stepFields.fieldType === 'input'"}}
|
|
8
|
-
{{ fileInclude 'src/shared-components/input/input.html'
|
|
9
|
-
field = this.stepFields
|
|
10
|
-
}}
|
|
11
|
-
{{/xif}}
|
|
12
|
-
{{#xif "this.stepFields.fieldType === 'textarea'"}}
|
|
13
|
-
{{#if this.stepFields.labelInInput}}<div class="form-input-group form-input-group--includes-label">{{/if}}
|
|
14
|
-
{{ fileInclude 'src/shared-components/textarea/textarea.html'
|
|
15
|
-
field = this.stepFields
|
|
16
|
-
}}
|
|
17
|
-
{{#if this.stepFields.labelInInput}}<label class="form-group__label-input">{{{this.stepFields.labelInInput}}}</label></div>{{/if}}
|
|
18
|
-
{{/xif}}
|
|
19
|
-
{{#xif "this.stepFields.fieldType === 'select'"}}
|
|
20
|
-
{{ fileInclude 'src/shared-components/select/select.html'
|
|
21
|
-
field = this.stepFields
|
|
22
|
-
}}
|
|
23
|
-
{{/xif}}
|
|
24
|
-
{{#xif "this.stepFields.fieldType === 'checkbox'"}}
|
|
25
|
-
{{ fileInclude 'src/shared-components/checkbox/checkbox.html'
|
|
26
|
-
field = this.stepFields
|
|
27
|
-
}}
|
|
28
|
-
{{/xif}}
|
|
29
|
-
{{#xif "this.stepFields.fieldType === 'zip-control'"}}
|
|
30
|
-
{{ fileInclude 'src/shared-components/zip-control/zip-control.html'
|
|
31
|
-
field = this.stepFields
|
|
32
|
-
}}
|
|
33
|
-
{{/xif}}
|
|
34
|
-
{{#xif "this.stepFields.fieldType == 'utility-providers'"}}
|
|
35
|
-
<div class="utility-provider-wrapper"></div>
|
|
36
|
-
{{/xif}}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
{{#each this.items}}
|
|
2
|
-
<li id="{{#if this.priority}}step{{inc this.priority}}{{else}}step{{inc @index}}{{/if}}" class="swiper-slide swiper-no-swiping step {{#if this.stepClassName}}{{this.stepClassName}}{{/if}} {{#if @first}}step--active swiper-slide-active{{/if}}{{#if this.trade }} {{this.trade}}{{/if}}" data-bind="step" {{#if @first}}data-slide="active"{{/if}} {{#if this.stepName}} data-step-name="{{this.stepName}}"{{/if}}{{#if this.trade }} data-trade="{{this.trade}}"{{/if}}>
|
|
3
|
-
<div class="step-inner{{#if this.stepInnerClass}} {{this.stepInnerClass}}{{/if}}">
|
|
4
|
-
{{#if this.customStepTopTemplate}}
|
|
5
|
-
{{ fileInclude this.customStepTopTemplate
|
|
6
|
-
stepTopOpt = this
|
|
7
|
-
}}
|
|
8
|
-
{{/if}}
|
|
9
|
-
|
|
10
|
-
{{#if this.stepHeader}}
|
|
11
|
-
<div class="step__title-container{{#if this.stepHeader.classModifierFlag}} step__title-container{{this.stepHeader.classModifierFlag}}{{/if}}">
|
|
12
|
-
{{#if this.stepHeader.supertitle}}
|
|
13
|
-
<div class="step__supertitle" {{{this.stepHeader.supertitleAttributes}}} data-theme-template="formtitle">
|
|
14
|
-
{{#if this.stepHeader.mobileSupertitle}}
|
|
15
|
-
<span class="hidden-xs">{{{this.stepHeader.supertitle}}}</span>
|
|
16
|
-
<span class="visible-xs">{{{this.stepHeader.mobileSupertitle}}}</span>
|
|
17
|
-
{{else}}
|
|
18
|
-
{{{this.stepHeader.supertitle}}}
|
|
19
|
-
{{/if}}
|
|
20
|
-
</div>
|
|
21
|
-
{{/if}}
|
|
22
|
-
{{#if this.stepHeader.title}}
|
|
23
|
-
<div class="step__title">
|
|
24
|
-
{{#if this.stepHeader.mobileTitle}}
|
|
25
|
-
<span class="hidden-xs">{{{this.stepHeader.title}}}</span>
|
|
26
|
-
<span class="visible-xs">{{{this.stepHeader.mobileTitle}}}</span>
|
|
27
|
-
{{else}}
|
|
28
|
-
{{{this.stepHeader.title}}}
|
|
29
|
-
{{/if}}
|
|
30
|
-
</div>
|
|
31
|
-
{{/if}}
|
|
32
|
-
|
|
33
|
-
{{#if this.stepHeader.subtitle}}
|
|
34
|
-
<div class="step__subtitle">
|
|
35
|
-
{{#if this.stepHeader.subtitle.text}}{{{this.stepHeader.subtitle.text}}}{{/if}}
|
|
36
|
-
{{#if this.stepHeader.subtitle.list}}
|
|
37
|
-
<ul class="step__subtitle-list">
|
|
38
|
-
{{#each this.stepHeader.subtitle.list}}
|
|
39
|
-
<li>
|
|
40
|
-
<span>{{{this}}}</span>
|
|
41
|
-
</li>
|
|
42
|
-
{{/each}}
|
|
43
|
-
</ul>
|
|
44
|
-
{{/if}}
|
|
45
|
-
</div>
|
|
46
|
-
{{/if}}
|
|
47
|
-
{{#if this.stepHeader.overview}}
|
|
48
|
-
{{#unless this.moveOverviewUnderHeader}}
|
|
49
|
-
<div class="step__overview row">
|
|
50
|
-
{{#each this.stepHeader.overview}}
|
|
51
|
-
<span class="{{#unless this.class}}col-xs-4{{/unless}}">
|
|
52
|
-
<span class="step__overview-number">{{this.number}}</span> {{{this.text}}}
|
|
53
|
-
</span>
|
|
54
|
-
{{/each}}
|
|
55
|
-
</div>
|
|
56
|
-
{{/unless}}
|
|
57
|
-
{{/if}}
|
|
58
|
-
</div>
|
|
59
|
-
{{/if}}
|
|
60
|
-
|
|
61
|
-
{{#if this.moveOverviewUnderHeader}}
|
|
62
|
-
{{#if this.stepHeader.overview}}
|
|
63
|
-
<div class="step__overview row">
|
|
64
|
-
{{#each this.stepHeader.overview}}
|
|
65
|
-
<span class="{{#unless this.class}}col-xs-4{{/unless}}">
|
|
66
|
-
<span class="step__overview-number">{{this.number}}</span> {{{this.text}}}
|
|
67
|
-
</span>
|
|
68
|
-
{{/each}}
|
|
69
|
-
</div>
|
|
70
|
-
{{/if}}
|
|
71
|
-
{{/if}}
|
|
72
|
-
|
|
73
|
-
<div class="step__fields{{#if this.fieldsWrapperClass}} {{this.fieldsWrapperClass}}{{/if}}">
|
|
74
|
-
{{#each this.fields}}
|
|
75
|
-
<div class="form-group{{#if this.wrapper.class}} {{this.wrapper.class}}{{/if}}{{#unless this.skipErrorClass}} parent-error{{/unless}}" {{#if this.wrapper.id}}id="{{this.wrapper.id}}"{{/if}} {{#if this.wrapper.style}}style="{{this.wrapper.style}}"{{/if}}>
|
|
76
|
-
{{#if this.label}}
|
|
77
|
-
<label class="form-group__label">
|
|
78
|
-
{{{this.label}}}
|
|
79
|
-
{{#if this.labelToolTip}}
|
|
80
|
-
<span class="form-group__label-tooltip" data-bind="tooltip-icon">
|
|
81
|
-
<i class="{{#if this.labelToolTipIcon}}{{this.labelToolTipIcon}}{{else}}icon-stroke-warning{{/if}}" {{#if this.labelTooltipName}}data-tooltip-name="{{this.labelTooltipName}}"{{/if}}></i>
|
|
82
|
-
<span class="form-group__label-tooltip-text">
|
|
83
|
-
{{{this.labelToolTip}}}
|
|
84
|
-
</span>
|
|
85
|
-
</span>
|
|
86
|
-
{{/if}}
|
|
87
|
-
{{#if this.labelNote}}<span class="form-group__note">{{{this.labelNote}}}</span>{{/if}}
|
|
88
|
-
</label>
|
|
89
|
-
{{/if}}
|
|
90
|
-
|
|
91
|
-
{{ fileInclude 'src/shared-components/steps/step-fields.html'
|
|
92
|
-
stepFields = this
|
|
93
|
-
}}
|
|
94
|
-
|
|
95
|
-
{{#if this.errorMessage}}<div class="form-group__error-message">{{{this.errorMessage}}}</div>{{/if}}
|
|
96
|
-
{{#if this.showCityState}}<div class="form-group__city-state">City, State</div>{{/if}}
|
|
97
|
-
{{#if this.note}}<span class="form-group__note">{{{this.note}}}</span>{{/if}}
|
|
98
|
-
</div>
|
|
99
|
-
{{/each}}
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
{{#if this.extraQuestionBlock}}
|
|
103
|
-
<div {{#if this.extraQuestionBlock.id}}id="{{this.extraQuestionBlock.id}}"{{/if}} class="step__extra{{#if this.extraQuestionBlock.class}} {{this.extraQuestionBlock.class}}{{/if}}">
|
|
104
|
-
{{#if this.extraQuestionBlock.title}}
|
|
105
|
-
<div class="step__title">
|
|
106
|
-
{{{this.extraQuestionBlock.title}}}
|
|
107
|
-
</div>
|
|
108
|
-
{{/if}}
|
|
109
|
-
{{#if this.extraQuestionBlock.subtitle}}
|
|
110
|
-
<div class="step__subtitle">
|
|
111
|
-
{{#if this.extraQuestionBlock.subtitle.text}}
|
|
112
|
-
{{{this.extraQuestionBlock.subtitle.text}}}
|
|
113
|
-
{{/if}}
|
|
114
|
-
</div>
|
|
115
|
-
{{/if}}
|
|
116
|
-
{{#each this.extraQuestionBlock.fields}}
|
|
117
|
-
{{ fileInclude 'src/shared-components/steps/step-fields.html'
|
|
118
|
-
stepFields = this
|
|
119
|
-
}}
|
|
120
|
-
{{/each}}
|
|
121
|
-
</div>
|
|
122
|
-
{{/if}}
|
|
123
|
-
|
|
124
|
-
{{#if this.customStepBottomTemplate}}
|
|
125
|
-
{{ fileInclude this.customStepBottomTemplate
|
|
126
|
-
stepBottomOpt = this
|
|
127
|
-
}}
|
|
128
|
-
{{/if}}
|
|
129
|
-
</div>
|
|
130
|
-
</li>
|
|
131
|
-
{{/each}}
|