mod-build 4.0.21 → 4.0.22-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.
Files changed (164) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/public/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +2 -0
  4. package/public/resources/scripts/abandonment/abandonment.min.js +2 -0
  5. package/public/resources/scripts/callrail/callrail-5c7c537f04af468600cf.min.js +2 -0
  6. package/public/resources/scripts/callrail/callrail.min.js +2 -0
  7. package/public/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +2 -0
  8. package/public/resources/scripts/footer/footer-component.min.js +2 -0
  9. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js +2 -0
  10. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js.map +1 -0
  11. package/public/resources/scripts/helpers/isZipCodeValid.min.js +2 -0
  12. package/public/resources/scripts/helpers/isZipCodeValid.min.js.map +1 -0
  13. package/public/resources/scripts/jornaya.hbs +35 -0
  14. package/public/resources/scripts/jornaya.html +35 -0
  15. package/public/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +2 -0
  16. package/public/resources/scripts/mod-alytics/modalytics.min.js +2 -0
  17. package/public/resources/scripts/mod-form/form/homeowner-62292fdc874b2d2f5c82.min.js +2 -0
  18. package/public/resources/scripts/mod-form/form/homeowner.min.js +2 -0
  19. package/public/resources/scripts/mod-utils/modutils-15069d7b728a555fb3f7.min.js +2 -0
  20. package/public/resources/scripts/mod-utils/modutils.min.js +2 -0
  21. package/public/resources/scripts/trusted-form.hbs +38 -0
  22. package/public/resources/scripts/trusted-form.html +38 -0
  23. package/public/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +1 -0
  24. package/public/resources/styles/components/abandonment/abandonment.min.css +1 -0
  25. package/public/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +1 -0
  26. package/public/resources/styles/components/footer/mod-footer.min.css +1 -0
  27. package/public/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +1 -0
  28. package/public/resources/styles/components/footer/qs-footer.min.css +1 -0
  29. package/src/accessible-components/button/_button.scss +319 -0
  30. package/src/accessible-components/button/back-button.html +8 -0
  31. package/src/accessible-components/button/button.html +17 -0
  32. package/src/accessible-components/carousel/_carousel.scss +112 -0
  33. package/src/accessible-components/carousel/carousel.html +25 -0
  34. package/src/accessible-components/carousel/carousel.js +3426 -0
  35. package/src/accessible-components/carousel/carousel.js.map +1 -0
  36. package/src/accessible-components/carousel/carousel.min.js +6 -0
  37. package/src/accessible-components/carousel/carousel.min.js.map +1 -0
  38. package/src/accessible-components/checkbox/_checkbox.scss +153 -0
  39. package/src/accessible-components/checkbox/checkbox-group.html +18 -0
  40. package/src/accessible-components/checkbox/checkbox.html +8 -0
  41. package/src/accessible-components/expand-collapse/_expand-collapse.scss +129 -0
  42. package/src/accessible-components/expand-collapse/expand-collapse.html +14 -0
  43. package/src/accessible-components/expand-collapse/expand-collapse.js +52 -0
  44. package/src/accessible-components/expand-collapse/expand-collapse.min.js +2 -0
  45. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +1 -0
  46. package/src/accessible-components/featured-block/_featured-block.scss +221 -0
  47. package/src/accessible-components/featured-block/featured-block.html +54 -0
  48. package/src/accessible-components/foot-assets/foot-assets.html +112 -0
  49. package/src/accessible-components/footer/footer.html +2 -0
  50. package/src/accessible-components/gtm-body/gtm-body.html +4 -0
  51. package/src/accessible-components/head/head.html +187 -0
  52. package/src/accessible-components/header/_header.scss +289 -0
  53. package/src/accessible-components/header/header.html +66 -0
  54. package/src/accessible-components/hero/_hero.scss +405 -0
  55. package/src/accessible-components/hero/hero.html +53 -0
  56. package/src/accessible-components/how-it-works/_how-it-works.scss +217 -0
  57. package/src/accessible-components/how-it-works/how-it-works-carousel.html +12 -0
  58. package/src/accessible-components/how-it-works/how-it-works-static.html +12 -0
  59. package/src/accessible-components/how-it-works/how-it-works.html +14 -0
  60. package/src/accessible-components/information/_information.scss +96 -0
  61. package/src/accessible-components/information/information.html +32 -0
  62. package/src/accessible-components/input/_input.scss +204 -0
  63. package/src/accessible-components/input/input.html +22 -0
  64. package/src/accessible-components/input/textarea.html +9 -0
  65. package/src/accessible-components/partners/_partners.scss +234 -0
  66. package/src/accessible-components/partners/partners.html +56 -0
  67. package/src/accessible-components/picture/picture.html +19 -0
  68. package/src/accessible-components/preloader/_preloader.scss +61 -0
  69. package/src/accessible-components/preloader/preloader.html +23 -0
  70. package/src/accessible-components/progress-bar/_progress-bar.scss +140 -0
  71. package/src/accessible-components/progress-bar/progress-bar.html +21 -0
  72. package/src/accessible-components/progress-bar/progress-bar.js +37 -0
  73. package/src/accessible-components/progress-bar/progress-bar.min.js +2 -0
  74. package/src/accessible-components/progress-bar/progress-bar.min.js.map +1 -0
  75. package/src/accessible-components/radio-button/_radio-button.scss +586 -0
  76. package/src/accessible-components/radio-button/radio-button.html +33 -0
  77. package/src/accessible-components/reviews/_reviews.scss +180 -0
  78. package/src/accessible-components/reviews/reviews-carousel.html +12 -0
  79. package/src/accessible-components/reviews/reviews-static.html +12 -0
  80. package/src/accessible-components/reviews/reviews.html +37 -0
  81. package/src/accessible-components/select/_select.scss +87 -0
  82. package/src/accessible-components/select/select.html +10 -0
  83. package/src/accessible-components/steps/_steps.scss +640 -0
  84. package/src/accessible-components/steps/defaultFormFieldConfig.json +109 -0
  85. package/src/accessible-components/steps/step-fields.html +38 -0
  86. package/src/accessible-components/steps/steps.html +168 -0
  87. package/src/accessible-components/tcpa/_tcpa.scss +49 -0
  88. package/src/accessible-components/tcpa/tcpa.html +9 -0
  89. package/src/accessible-components/tile/_tile.scss +117 -0
  90. package/src/accessible-components/tile/tile.html +14 -0
  91. package/src/accessible-components/value-props/_value-props.scss +102 -0
  92. package/src/accessible-components/value-props/value-props.html +17 -0
  93. package/src/accessible-components/zip-control/_zip-control.scss +79 -0
  94. package/src/accessible-components/zip-control/zip-control.html +10 -0
  95. package/src/resources/data/tcpa.json +4 -0
  96. package/src/resources/templates/modals/about/index.hbs +9 -0
  97. package/src/resources/templates/modals/about/index.html +9 -0
  98. package/src/resources/templates/modals/contact-us/index.hbs +348 -0
  99. package/src/resources/templates/modals/contact-us/index.html +348 -0
  100. package/src/resources/templates/modals/faq/index.hbs +9 -0
  101. package/src/resources/templates/modals/faq/index.html +9 -0
  102. package/src/resources/templates/modals/privacy/index.hbs +236 -0
  103. package/src/resources/templates/modals/privacy/index.html +236 -0
  104. package/src/resources/templates/modals/terms/index.hbs +166 -0
  105. package/src/resources/templates/modals/terms/index.html +166 -0
  106. package/src/shared-components/card-button/_card-button.scss +49 -0
  107. package/src/shared-components/card-button/card-button.html +9 -0
  108. package/src/shared-components/carousel/_carousel.scss +106 -0
  109. package/src/shared-components/carousel/carousel.html +22 -0
  110. package/src/shared-components/carousel/carousel.js +3574 -0
  111. package/src/shared-components/carousel/carousel.js.map +1 -0
  112. package/src/shared-components/carousel/carousel.min.js +6 -0
  113. package/src/shared-components/carousel/carousel.min.js.map +1 -0
  114. package/src/shared-components/carousel/carousel.min.min.js +6 -0
  115. package/src/shared-components/carousel/carousel.min.min.js.map +1 -0
  116. package/src/shared-components/checkbox/_checkbox.scss +125 -0
  117. package/src/shared-components/checkbox/checkbox.html +10 -0
  118. package/src/shared-components/expand-collapse/_expand-collapse.scss +93 -0
  119. package/src/shared-components/expand-collapse/expand-collapse.html +8 -0
  120. package/src/shared-components/expand-collapse/expand-collapse.js +40 -0
  121. package/src/shared-components/expand-collapse/expand-collapse.min.js +2 -0
  122. package/src/shared-components/expand-collapse/expand-collapse.min.js.map +1 -0
  123. package/src/shared-components/featured-block/_featured-block.scss +191 -0
  124. package/src/shared-components/featured-block/featured-block.html +80 -0
  125. package/src/shared-components/foot-assets/foot-assets.html +107 -0
  126. package/src/shared-components/form-tcpa/form-tcpa.html +12 -0
  127. package/src/shared-components/gtm-body/gtm-body.html +4 -0
  128. package/src/shared-components/head/head.html +192 -0
  129. package/src/shared-components/header/_header.scss +200 -0
  130. package/src/shared-components/header/header.html +73 -0
  131. package/src/shared-components/hero/_hero.scss +253 -0
  132. package/src/shared-components/hero/hero.html +126 -0
  133. package/src/shared-components/how-it-works/_how-it-works.scss +138 -0
  134. package/src/shared-components/how-it-works/how-it-works.html +19 -0
  135. package/src/shared-components/input/_input.scss +242 -0
  136. package/src/shared-components/input/input.html +30 -0
  137. package/src/shared-components/preloader/_preloader.scss +61 -0
  138. package/src/shared-components/preloader/preloader.html +49 -0
  139. package/src/shared-components/progress-bar/_progress-bar.scss +142 -0
  140. package/src/shared-components/progress-bar/progress-bar.html +20 -0
  141. package/src/shared-components/progress-bar/progress-bar.js +25 -0
  142. package/src/shared-components/progress-bar/progress-bar.min.js +2 -0
  143. package/src/shared-components/progress-bar/progress-bar.min.js.map +1 -0
  144. package/src/shared-components/radio-button/_radio-button.scss +554 -0
  145. package/src/shared-components/radio-button/radio-button.html +25 -0
  146. package/src/shared-components/reviews/_reviews.scss +79 -0
  147. package/src/shared-components/reviews/reviews.html +27 -0
  148. package/src/shared-components/select/_select.scss +61 -0
  149. package/src/shared-components/select/select.html +8 -0
  150. package/src/shared-components/steps/_steps.scss +414 -0
  151. package/src/shared-components/steps/defaultFormFieldConfig.json +64 -0
  152. package/src/shared-components/steps/step-fields.html +36 -0
  153. package/src/shared-components/steps/steps.html +131 -0
  154. package/src/shared-components/textarea/_textarea.scss +96 -0
  155. package/src/shared-components/textarea/textarea.html +13 -0
  156. package/src/shared-components/theme-toggle/_theme-toggle.scss +68 -0
  157. package/src/shared-components/theme-toggle/theme-toggle.html +34 -0
  158. package/src/shared-components/tile/_tile.scss +117 -0
  159. package/src/shared-components/tile/tile.html +27 -0
  160. package/src/shared-components/value-props/_value-props.scss +98 -0
  161. package/src/shared-components/value-props/value-props.html +17 -0
  162. package/src/shared-components/zip-control/_zip-control.scss +42 -0
  163. package/src/shared-components/zip-control/zip-control.html +21 -0
  164. package/tasks/grab-shared-scripts.js +11 -1
@@ -0,0 +1,61 @@
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
+ }
@@ -0,0 +1,8 @@
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>
@@ -0,0 +1,414 @@
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-supertitle-arrow-animation: AnimateArrowUpDown 10s linear 2s infinite !default;
11
+ $step-supertitle-arrow-background-color: $step-supertitle-bg-color !default;
12
+ $step-supertitle-arrow-color: $step-supertitle-color !default;
13
+ $step-supertitle-arrow-content: '\e900' !default;
14
+ $step-supertitle-arrow-font-size: 22px !default;
15
+ $step-supertitle-arrow-font-family: modicons-basic !default;
16
+ $step-supertitle-arrow-position: absolute !default;
17
+ $step-supertitle-arrow-bottom: -24px !default;
18
+ $step-supertitle-arrow-left: 50% !default;
19
+ $step-supertitle-arrow-transform: translateX(-50%) !default;
20
+ $step-supertitle-arrow-container-height: 75px !default;
21
+ $step-supertitle-arrow-container-width: 140px !default;
22
+ $step-supertitle-arrow-container-position: absolute !default;
23
+ $step-supertitle-arrow-container-bottom: -40px !default;
24
+ $step-supertitle-arrow-container-left: 50% !default;
25
+ $step-supertitle-arrow-container-transform: translateX(-50%) !default;
26
+ $step-supertitle-arrow-container-z-index: -1 !default;
27
+ $step-supertitle-arrow-border-radius: 0 0 $step-supertitle-arrow-container-height $step-supertitle-arrow-container-height !default;
28
+ $step-animated-arrow-title-margin-top: 75px !default;
29
+
30
+ $step-title-container-bg-color: transparent !default;
31
+ $step-title-container-margin: 0 !default;
32
+ $step-title-container-padding: 0 20px !default;
33
+ $step-title-container-text-align: center !default;
34
+
35
+ $step-title-color: $color-blue5 !default;
36
+ $step-title-font-size: 22px !default;
37
+ $step-title-font-size-mobile: $step-title-font-size !default;
38
+ $step-title-font-weight: bold !default;
39
+ $step-title-line-height: 1.55 !default;
40
+ $step-title-margin: 0 !default;
41
+
42
+ $step-subtitle-color: $color-charcoal5 !default;
43
+ $step-subtitle-font-size: 16px !default;
44
+ $step-subtitle-font-size-mobile: $step-subtitle-font-size !default;
45
+ $step-subtitle-font-weight: normal !default;
46
+ $step-subtitle-line-height: $step-title-line-height !default;
47
+ $step-subtitle-margin: 5px 0 25px !default;
48
+
49
+ $step-subtitle-list-color: $color-white !default;
50
+ $step-subtitle-list-font-size: 14px !default;
51
+ $step-subtitle-list-font-weight: normal !default;
52
+ $step-subtitle-list-icon: '\e920' !default;
53
+ $step-subtitle-list-icon-margin: 0 10px 0 0 !default;
54
+ $step-subtitle-list-line-height: 1.29 !default;
55
+ $step-subtitle-list-margin: 0 !default;
56
+
57
+ $step-overview-border: 1px solid $color-charcoal1 !default;
58
+ $step-overview-color: $color-charcoal5 !default;
59
+ $step-overview-font-size: 13px !default;
60
+ $step-overview-letter-spacing: .1px !default;
61
+ $step-overview-line-height: 1.38 !default;
62
+ $step-overview-margin: 0 auto 20px !default;
63
+ $step-overview-padding: 8px 0 !default;
64
+ $step-overview-text-align: center !default;
65
+
66
+ $step-overview-number-background: $step-overview-color !default;
67
+ $step-overview-number-color: $color-white !default;
68
+ $step-overview-number-font-size: 14px !default;
69
+ $step-overview-number-font-weight: 700 !default;
70
+ $step-overview-number-height: 22px !default;
71
+ $step-overview-number-line-height: $step-overview-number-height !default;
72
+ $step-overview-number-margin-right: 5px !default;
73
+ $step-overview-number-width: $step-overview-number-height !default;
74
+
75
+ $form-group-margin: 0 !default;
76
+ $form-group-label-color: $color-charcoal5 !default;
77
+ $form-group-label-font-size: 17px !default;
78
+ $form-group-label-font-weight: normal !default;
79
+ $form-group-label-margin: 10px 0 15px !default;
80
+
81
+ $form-group-label-in-input-cursor: text !default;
82
+ $form-group-label-in-input-top-position: 18px !default;
83
+ $form-group-label-in-input-left-position: 17px !default;
84
+ $form-group-label-in-input-z-index: -1 !default;
85
+
86
+ $label-tool-tip-cursor: help !default;
87
+ $label-tool-tip-bg-color: $color-charcoal5 !default;
88
+ $label-tool-tip-border-radius: 6px !default;
89
+ $label-tool-tip-color: $color-white !default;
90
+ $label-tool-tip-font-size: 14px !default;
91
+ $label-tool-tip-line-height: 1.2 !default;
92
+ $label-tool-tip-margin-left: 15px !default;
93
+ $label-tool-tip-padding: 15px !default;
94
+ $label-tool-tip-width: 280px !default;
95
+ $label-tool-tip-z-index: 10 !default;
96
+ $label-tool-tip-arrow-margin: -5px 0 0 -5px !default;
97
+ $label-tool-tip-arrow-size: 10px !default;
98
+
99
+ $form-group-error-message-color: $color-red5 !default;
100
+ $form-group-error-message-font-size: 14px !default;
101
+ $form-group-error-message-margin: -10px 0 10px 2px !default;
102
+
103
+ $form-group-city-state-color: $color-charcoal4 !default;
104
+ $form-group-city-state-font-size: 13px !default;
105
+ $form-group-city-state-font-weight: bold !default;
106
+ $form-group-city-state-margin: -10px 0 0 !default;
107
+ $form-group-city-state-padding: 0 2px 0 0 !default;
108
+ $form-group-city-state-text-align: right !default;
109
+
110
+ $form-group-note-color: #8a8a8a !default;
111
+ $form-group-note-font-size: 11px !default;
112
+ $form-group-note-font-style: italic !default;
113
+ $form-group-note-margin: -7px 0 0 !default;
114
+
115
+ @keyframes AnimateArrowUpDown {
116
+ 0%,
117
+ 20%,
118
+ 40% {
119
+ bottom: -26%;
120
+ opacity: 1;
121
+ }
122
+
123
+ 10%,
124
+ 30%,
125
+ 50% {
126
+ bottom: -10%;
127
+ opacity: 0;
128
+ }
129
+
130
+ 60% {
131
+ bottom: -26%;
132
+ opacity: 1;
133
+ }
134
+ }
135
+
136
+ .step {
137
+ flex: 0 0 100%;
138
+
139
+ &__supertitle {
140
+ background-color: $step-supertitle-bg-color;
141
+ color: $step-supertitle-color;
142
+ font-size: $step-supertitle-font-size-mobile;
143
+ font-weight: $step-supertitle-font-weight;
144
+ line-height: $step-supertitle-line-height;
145
+ padding: $step-supertitle-padding-mobile;
146
+ }
147
+
148
+ &__title-container {
149
+ background-color: $step-title-container-bg-color;
150
+ margin: $step-title-container-margin;
151
+ padding: $step-title-container-padding;
152
+ text-align: $step-title-container-text-align;
153
+ }
154
+
155
+ &__title {
156
+ color: $step-title-color;
157
+ font-size: $step-title-font-size-mobile;
158
+ font-weight: $step-title-font-weight;
159
+ line-height: $step-title-line-height;
160
+ margin: $step-title-margin;
161
+ }
162
+
163
+ &__subtitle {
164
+ color: $step-subtitle-color;
165
+ font-size: $step-subtitle-font-size-mobile;
166
+ font-weight: $step-subtitle-font-weight;
167
+ line-height: $step-subtitle-line-height;
168
+ margin: $step-subtitle-margin;
169
+ }
170
+
171
+ &__subtitle-list {
172
+ list-style: none;
173
+ margin: $step-subtitle-list-margin;
174
+ padding-left: 0;
175
+
176
+ li {
177
+ color: $step-subtitle-list-color;
178
+ font-size: $step-subtitle-list-font-size;
179
+ font-weight: $step-subtitle-list-font-weight;
180
+ line-height: $step-subtitle-list-line-height;
181
+
182
+ &:before {
183
+ content: $step-subtitle-list-icon;
184
+ display: inline-block;
185
+ font-family: modicons-fill;
186
+ font-style: normal;
187
+ font-variant: normal;
188
+ font-weight: 400;
189
+ line-height: 1;
190
+ margin: $step-subtitle-list-icon-margin;
191
+ text-transform: none;
192
+ }
193
+ }
194
+ }
195
+
196
+ &__overview {
197
+ border-bottom: $step-overview-border;
198
+ border-top: $step-overview-border;
199
+ color: $step-overview-color;
200
+ font-size: $step-overview-font-size;
201
+ letter-spacing: $step-overview-letter-spacing;
202
+ line-height: $step-overview-line-height;
203
+ margin: $step-overview-margin;
204
+ padding: $step-overview-padding;
205
+ text-align: $step-overview-text-align;
206
+
207
+ span {
208
+ padding: 0;
209
+ }
210
+ }
211
+
212
+ &__overview-number {
213
+ background: $step-overview-number-background;
214
+ border-radius: 100%;
215
+ color: $step-overview-number-color;
216
+ display: inline-block;
217
+ font-size: $step-overview-number-font-size;
218
+ font-weight: $step-overview-number-font-weight;
219
+ height: $step-overview-number-height;
220
+ line-height: $step-overview-number-line-height;
221
+ margin-right: $step-overview-number-margin-right;
222
+ text-align: center;
223
+ width: $step-overview-number-width;
224
+ }
225
+ }
226
+
227
+ .form-group {
228
+ margin: $form-group-margin;
229
+
230
+ &__label {
231
+ color: $form-group-label-color;
232
+ font-size: $form-group-label-font-size;
233
+ font-weight: $form-group-label-font-weight;
234
+ margin: $form-group-label-margin;
235
+ }
236
+
237
+ &__label-input {
238
+ color: $form-group-label-color;
239
+ cursor: $form-group-label-in-input-cursor;
240
+ font-size: $form-group-label-font-size;
241
+ font-weight: $form-group-label-font-weight;
242
+ left: $form-group-label-in-input-left-position;
243
+ position: absolute;
244
+ top: $form-group-label-in-input-top-position;
245
+ transition: color 200ms ease, font-size 200ms ease;
246
+ user-select: none;
247
+ z-index: $form-group-label-in-input-z-index;
248
+ }
249
+
250
+ &__error-message {
251
+ color: $form-group-error-message-color;
252
+ font-size: $form-group-error-message-font-size;
253
+ display: none;
254
+ margin: $form-group-error-message-margin;
255
+ }
256
+
257
+ &__city-state {
258
+ color: $form-group-city-state-color;
259
+ font-size: $form-group-city-state-font-size;
260
+ font-weight: $form-group-city-state-font-weight;
261
+ margin: $form-group-city-state-margin;
262
+ padding: $form-group-city-state-padding;
263
+ text-align: $form-group-city-state-text-align;
264
+ }
265
+
266
+ &__note {
267
+ color: $form-group-note-color;
268
+ display: inline-block;
269
+ font-size: $form-group-note-font-size;
270
+ font-style: $form-group-note-font-style;
271
+ margin: $form-group-note-margin;
272
+ }
273
+
274
+ &__label-tooltip {
275
+ cursor: $label-tool-tip-cursor;
276
+ position: relative;
277
+
278
+ &-text {
279
+ background: $label-tool-tip-bg-color;
280
+ border-radius: $label-tool-tip-border-radius;
281
+ color: $label-tool-tip-color;
282
+ display: none;
283
+ font-size: $label-tool-tip-font-size;
284
+ left: 100%;
285
+ line-height: $label-tool-tip-line-height;
286
+ margin-left: $label-tool-tip-margin-left;
287
+ padding: $label-tool-tip-padding;
288
+ position: absolute;
289
+ text-align: center;
290
+ top: 50%;
291
+ transform: translateY(-50%);
292
+ width: $label-tool-tip-width;
293
+ z-index: $label-tool-tip-z-index;
294
+
295
+ &::before {
296
+ background: $label-tool-tip-bg-color;
297
+ content: '';
298
+ display: block;
299
+ height: $label-tool-tip-arrow-size;
300
+ left: 0;
301
+ margin: $label-tool-tip-arrow-margin;
302
+ position: absolute;
303
+ top: 50%;
304
+ transform: rotate(-45deg);
305
+ width: $label-tool-tip-arrow-size;
306
+ }
307
+ }
308
+
309
+ &:hover {
310
+ .form-group__label-tooltip-text {
311
+ display: block;
312
+ }
313
+ }
314
+ }
315
+ }
316
+
317
+ .has-error {
318
+ .form-group__error-message {
319
+ display: block;
320
+ }
321
+
322
+ .form-group__label-input {
323
+ color: $form-group-error-message-color;
324
+ }
325
+
326
+ &:focus-within {
327
+ .form-group__label-input {
328
+ color: $form-group-error-message-color;
329
+ }
330
+ }
331
+ }
332
+
333
+ .swiper--dynamic-step-height {
334
+ .step {
335
+ .step-inner {
336
+ max-height: 0;
337
+ opacity: 0;
338
+ transition: opacity 250ms 250ms ease-in;
339
+ }
340
+
341
+ &--active .step-inner {
342
+ max-height: 999px;
343
+ opacity: 1;
344
+ }
345
+ }
346
+ }
347
+
348
+ .disableAutofill {
349
+ .step-inner {
350
+ visibility: hidden;
351
+ }
352
+
353
+ .step--active {
354
+ .step-inner {
355
+ visibility: visible;
356
+ }
357
+ }
358
+ }
359
+
360
+ @include breakpoint-sm {
361
+ .step {
362
+ &__supertitle {
363
+ font-size: $step-supertitle-font-size;
364
+ padding: $step-supertitle-padding;
365
+ }
366
+
367
+ &__title {
368
+ font-size: $step-title-font-size;
369
+ }
370
+
371
+ &__subtitle {
372
+ font-size: $step-subtitle-font-size;
373
+ }
374
+ }
375
+ }
376
+
377
+ @include breakpoint-lg {
378
+ .step {
379
+ &__supertitle {
380
+ &--show-animated-arrow {
381
+ position: relative;
382
+
383
+ &:before {
384
+ animation: $step-supertitle-arrow-animation;
385
+ bottom: $step-supertitle-arrow-bottom;
386
+ color: $step-supertitle-arrow-color;
387
+ content: $step-supertitle-arrow-content;
388
+ font-size: $step-supertitle-arrow-font-size;
389
+ font-family: $step-supertitle-arrow-font-family;
390
+ left: $step-supertitle-arrow-left;
391
+ position: $step-supertitle-arrow-position;
392
+ transform: $step-supertitle-arrow-transform;
393
+ }
394
+
395
+ &:after {
396
+ background-color: $step-supertitle-arrow-background-color;
397
+ border-radius: $step-supertitle-arrow-border-radius;
398
+ bottom: $step-supertitle-arrow-container-bottom;
399
+ content: '';
400
+ height: $step-supertitle-arrow-container-height;
401
+ left: $step-supertitle-arrow-container-left;
402
+ position: $step-supertitle-arrow-container-position;
403
+ transform: $step-supertitle-arrow-container-transform;
404
+ width: $step-supertitle-arrow-container-width;
405
+ z-index: $step-supertitle-arrow-container-z-index;
406
+ }
407
+
408
+ + .step__title {
409
+ margin-top: $step-animated-arrow-title-margin-top;
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
@@ -0,0 +1,64 @@
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
+ }
@@ -0,0 +1,36 @@
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}}