mod-build 4.0.91 → 4.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -2
- package/public/resources/scripts/abandonment/abandonment-a4bbb36fbc8ed64042b8.min.js +2 -0
- package/public/resources/scripts/abandonment/abandonment.min.js +2 -0
- package/public/resources/scripts/callrail/callrail-14011d73b50a928de4b4.min.js +2 -0
- package/public/resources/scripts/callrail/callrail.min.js +2 -0
- package/public/resources/scripts/footer/footer-component-46dc0d7ca6af4fc3b76b.min.js +2 -0
- package/public/resources/scripts/footer/footer-component.min.js +2 -0
- package/public/resources/scripts/geolocation/geolocation.min.js +2 -0
- package/public/resources/scripts/helpers/addVWOTestQueryParam.min.js +2 -0
- package/public/resources/scripts/helpers/addVWOTestQueryParam.min.js.map +1 -0
- package/public/resources/scripts/helpers/additionalOpts.min.js +2 -0
- package/public/resources/scripts/helpers/additionalOpts.min.js.map +1 -0
- package/public/resources/scripts/helpers/calls-only.min.js +2 -0
- package/public/resources/scripts/helpers/calls-only.min.js.map +1 -0
- package/public/resources/scripts/helpers/getPhoneAssignmentData.min.js +2 -0
- package/public/resources/scripts/helpers/getPhoneAssignmentData.min.js.map +1 -0
- package/public/resources/scripts/helpers/initNumericOnlyFields.min.js +2 -0
- package/public/resources/scripts/helpers/initNumericOnlyFields.min.js.map +1 -0
- package/public/resources/scripts/helpers/initQSForm.min.js +2 -0
- package/public/resources/scripts/helpers/initQSForm.min.js.map +1 -0
- package/public/resources/scripts/helpers/initQuadTransform.min.js +2 -0
- package/public/resources/scripts/helpers/initQuadTransform.min.js.map +1 -0
- package/public/resources/scripts/helpers/isZipCodeValid.min.js +2 -0
- package/public/resources/scripts/helpers/isZipCodeValid.min.js.map +1 -0
- package/public/resources/scripts/helpers/observeVWOVariation.min.js +2 -0
- package/public/resources/scripts/helpers/observeVWOVariation.min.js.map +1 -0
- package/public/resources/scripts/helpers/opts.min.js +2 -0
- package/public/resources/scripts/helpers/opts.min.js.map +1 -0
- package/public/resources/scripts/jornaya.hbs +35 -0
- package/public/resources/scripts/jornaya.html +35 -0
- package/public/resources/scripts/mod-alytics/modalytics-be44027508c0438f6709.min.js +2 -0
- package/public/resources/scripts/mod-alytics/modalytics.min.js +2 -0
- package/public/resources/scripts/mod-form/form/contractor-0918337caf3dfede1609.min.js +2 -0
- package/public/resources/scripts/mod-form/form/contractor.min.js +2 -0
- package/public/resources/scripts/mod-form/form/homeowner-19a121b0e596042326f4.min.js +2 -0
- package/public/resources/scripts/mod-form/form/homeowner.min.js +2 -0
- package/public/resources/scripts/mod-utils/modutils-bc275eb41af515f626ef.min.js +2 -0
- package/public/resources/scripts/mod-utils/modutils.min.js +2 -0
- package/public/resources/scripts/trusted-form.hbs +38 -0
- package/public/resources/scripts/trusted-form.html +38 -0
- package/public/resources/styles/components/abandonment/abandonment-8a673f060817db6cb7dc.min.css +1 -0
- package/public/resources/styles/components/abandonment/abandonment.min.css +1 -0
- package/public/resources/styles/components/footer/mod-footer-d233fa64b6c8297c70ec.min.css +1 -0
- package/public/resources/styles/components/footer/mod-footer.min.css +1 -0
- package/public/resources/styles/components/footer/qs-footer-926e67c28d10c729db46.min.css +1 -0
- package/public/resources/styles/components/footer/qs-footer.min.css +1 -0
- package/src/resources/data/tcpa.json +4 -0
- package/src/resources/templates/modals/about/index.hbs +9 -0
- package/src/resources/templates/modals/about/index.html +9 -0
- package/src/resources/templates/modals/contact-us/index.hbs +348 -0
- package/src/resources/templates/modals/contact-us/index.html +348 -0
- package/src/resources/templates/modals/e-sign-consent/index.hbs +35 -0
- package/src/resources/templates/modals/e-sign-consent/index.html +35 -0
- package/src/resources/templates/modals/faq/index.hbs +9 -0
- package/src/resources/templates/modals/faq/index.html +9 -0
- package/src/resources/templates/modals/privacy/index.hbs +237 -0
- package/src/resources/templates/modals/privacy/index.html +237 -0
- package/src/resources/templates/modals/terms/index.hbs +167 -0
- package/src/resources/templates/modals/terms/index.html +167 -0
- package/src/scripts/retry-fetch.js +39 -0
- package/src/shared-components/call-tracking/_call-tracking.scss +311 -0
- package/src/shared-components/call-tracking/call-tracking-icon.html +8 -0
- package/src/shared-components/call-tracking/call-tracking.html +81 -0
- package/src/shared-components/call-tracking/phone.svg +6 -0
- package/src/shared-components/card-button/_card-button.scss +49 -0
- package/src/shared-components/card-button/card-button.html +9 -0
- package/src/shared-components/carousel/_carousel.scss +106 -0
- package/src/shared-components/carousel/carousel.html +23 -0
- package/src/shared-components/carousel/carousel.js +3573 -0
- package/src/shared-components/carousel/carousel.js.map +1 -0
- package/src/shared-components/carousel/carousel.min.js +2 -0
- package/src/shared-components/carousel/carousel.min.js.map +1 -0
- package/src/shared-components/carousel/carousel.min.min.js +2 -0
- package/src/shared-components/carousel/carousel.min.min.js.map +1 -0
- package/src/shared-components/checkbox/_checkbox.scss +130 -0
- package/src/shared-components/checkbox/checkbox.html +10 -0
- package/src/shared-components/consent-capture/tcpa.html +12 -0
- package/src/shared-components/expand-collapse/_expand-collapse.scss +93 -0
- package/src/shared-components/expand-collapse/expand-collapse.html +8 -0
- package/src/shared-components/expand-collapse/expand-collapse.js +40 -0
- package/src/shared-components/expand-collapse/expand-collapse.min.js +2 -0
- package/src/shared-components/expand-collapse/expand-collapse.min.js.map +1 -0
- package/src/shared-components/featured-block/_featured-block.scss +191 -0
- package/src/shared-components/featured-block/featured-block.html +80 -0
- package/src/shared-components/foot-assets/foot-assets.html +107 -0
- package/src/shared-components/form-tcpa/form-tcpa-spanish.html +61 -0
- package/src/shared-components/form-tcpa/form-tcpa.html +55 -0
- package/src/shared-components/gtm-body/gtm-body.html +4 -0
- package/src/shared-components/head/head.html +195 -0
- package/src/shared-components/header/_header.scss +200 -0
- package/src/shared-components/header/header.html +79 -0
- package/src/shared-components/hero/_hero.scss +276 -0
- package/src/shared-components/hero/hero.html +136 -0
- package/src/shared-components/how-it-works/_how-it-works.scss +138 -0
- package/src/shared-components/how-it-works/how-it-works.html +19 -0
- package/src/shared-components/input/_input.scss +242 -0
- package/src/shared-components/input/input.html +30 -0
- package/src/shared-components/preloader/_preloader.scss +61 -0
- package/src/shared-components/preloader/preloader.html +49 -0
- package/src/shared-components/progress-bar/_progress-bar.scss +142 -0
- package/src/shared-components/progress-bar/progress-bar.html +20 -0
- package/src/shared-components/progress-bar/progress-bar.js +26 -0
- package/src/shared-components/progress-bar/progress-bar.min.js +2 -0
- package/src/shared-components/progress-bar/progress-bar.min.js.map +1 -0
- package/src/shared-components/radio-button/_radio-button.scss +577 -0
- package/src/shared-components/radio-button/radio-button.html +25 -0
- package/src/shared-components/reviews/_reviews.scss +79 -0
- package/src/shared-components/reviews/reviews.html +27 -0
- package/src/shared-components/section-deals/sitemap.xml +9 -0
- package/src/shared-components/select/_select.scss +61 -0
- package/src/shared-components/select/select.html +8 -0
- package/src/shared-components/steps/_steps.scss +431 -0
- package/src/shared-components/steps/defaultFormFieldConfig.json +64 -0
- package/src/shared-components/steps/step-fields.html +36 -0
- package/src/shared-components/steps/steps.html +136 -0
- package/src/shared-components/textarea/_textarea.scss +96 -0
- package/src/shared-components/textarea/textarea.html +13 -0
- package/src/shared-components/theme-toggle/_theme-toggle.scss +68 -0
- package/src/shared-components/theme-toggle/theme-toggle.html +34 -0
- package/src/shared-components/tile/_tile.scss +117 -0
- package/src/shared-components/tile/tile.html +27 -0
- package/src/shared-components/value-props/_value-props.scss +99 -0
- package/src/shared-components/value-props/value-props.html +17 -0
- package/src/shared-components/zip-control/_zip-control.scss +42 -0
- package/src/shared-components/zip-control/zip-control.html +21 -0
- package/tasks/add-editorconfig.js +3 -3
- package/tasks/get-default-trade-questions.js +8 -8
- package/tasks/grab-b2b-data.js +9 -30
- package/tasks/grab-cdn.js +4 -13
- package/tasks/grab-code-review-rules.js +4 -3
- package/tasks/grab-form-helpers.js +11 -27
- package/tasks/grab-global-fonts.js +7 -13
- package/tasks/grab-jsdoc.js +10 -30
- package/tasks/grab-shared-components.js +10 -19
- package/tasks/grab-shared-scripts.js +8 -21
- package/tasks/templates.js +28 -41
- package/src/scripts/retry-axios.js +0 -23
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
$call-button-bg-color: #19e38f !default;
|
|
2
|
+
$call-button-border-color: $call-button-bg-color !default;
|
|
3
|
+
$call-button-border-radius: 2px !default;
|
|
4
|
+
$call-button-margin: 15px auto 9px !default;
|
|
5
|
+
$call-button-padding: 10px 21px !default;
|
|
6
|
+
$call-button-font-size: 1.5rem !default;
|
|
7
|
+
$call-button-font-weight: 700 !default;
|
|
8
|
+
$call-button-gap: 8px !default;
|
|
9
|
+
$call-button-text-color: $color-black !default;
|
|
10
|
+
$call-button-width: 10.9375rem !default;
|
|
11
|
+
$call-button-icon-width: 1.25rem !default;
|
|
12
|
+
$call-button-display: none !default;
|
|
13
|
+
$step-call-tracking-header-background-color: none !default;
|
|
14
|
+
$step-header-display: none;
|
|
15
|
+
$step-call-tracking-header-display: block !default;
|
|
16
|
+
$step-call-tracking-header-controls-color: $color-white !default;
|
|
17
|
+
$step-call-tracking-header-controls-display: block !default;
|
|
18
|
+
$step-call-tracking-header-controls-md-display: none !default;
|
|
19
|
+
$step-call-tracking-header-controls-font-size: 1.25rem !default;
|
|
20
|
+
$step-call-tracking-header-controls-font-weight: 400 !default;
|
|
21
|
+
$step-call-tracking-header-controls-margin: 0 !default;
|
|
22
|
+
$step-call-tracking-header-call-link-color: $step-call-tracking-header-controls-color !default;
|
|
23
|
+
$step-call-tracking-header-call-link-text-decoration: underline !default;
|
|
24
|
+
$step-call-tracking-header-call-link-underline-offset: 2px !default;
|
|
25
|
+
$step-call-tracking-header-call-icon-filter: invert(1) !default;
|
|
26
|
+
$step-call-tracking-header-call-icon-width: auto !default;
|
|
27
|
+
$form-call-tracking-controls-display: none !default;
|
|
28
|
+
$form-in-progress-call-tracking-controls-display: block !default;
|
|
29
|
+
$form-in-progress-call-tracking-controls-text-color: $color-black !default;
|
|
30
|
+
$form-in-progress-call-tracking-controls-line-height: 1.5 !default;
|
|
31
|
+
$form-in-progress-call-tracking-controls-margin: 0 auto !default;
|
|
32
|
+
$form-in-progress-call-tracking-controls-padding: 0 16px 26px !default;
|
|
33
|
+
$form-in-progress-call-tracking-controls-text-align: center !default;
|
|
34
|
+
$form-in-progress-call-number-color: $color-black !default;
|
|
35
|
+
$form-in-progress-call-number-text-decoration: underline !default;
|
|
36
|
+
$form-in-progress-call-number-text-underline-offset: 2px !default;
|
|
37
|
+
$form-in-progress-call-text-margin: 15px !default;
|
|
38
|
+
$form-in-progress-call-icon-margin: 0 3px 0 0 !default;
|
|
39
|
+
$form-in-progress-call-icon-width: 12px !default;
|
|
40
|
+
$header-call-md-font-size: 1rem !default;
|
|
41
|
+
$header-call-xl-font-size: 1.125rem !default;
|
|
42
|
+
$step-header-md-display: flex !default;
|
|
43
|
+
$step-call-tracking-header-md-display: none !default;
|
|
44
|
+
$form-in-progress-call-tracking-controls-md-display: none !default;
|
|
45
|
+
$hero-title-display: none !default;
|
|
46
|
+
$hero-subtitle-display: none !default;
|
|
47
|
+
$hero-call-tracking-title-display: block !default;
|
|
48
|
+
$hero-call-tracking-subtitle-display: block !default;
|
|
49
|
+
$hero-title-md-display: block !default;
|
|
50
|
+
$hero-subtitle-md-display: block !default;
|
|
51
|
+
$hero-call-tracking-title-md-display: none !default;
|
|
52
|
+
$hero-call-tracking-subtitle-md-display: none !default;
|
|
53
|
+
$hero-call-tracking-phone-controls-md-display: none !default;
|
|
54
|
+
$hero-call-tracking-phone-controls-display: block !default;
|
|
55
|
+
$header-call-tracking-controls-md-display: block !default;
|
|
56
|
+
$header-call-tracking-controls-display: none !default;
|
|
57
|
+
|
|
58
|
+
.call-tracking-controls {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.hero {
|
|
63
|
+
&__header {
|
|
64
|
+
.hero__subtitle-call-button,
|
|
65
|
+
.hero__subtitle-call-button,
|
|
66
|
+
.hero__title--call-tracking {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.step {
|
|
73
|
+
&__header {
|
|
74
|
+
&--call-tracking {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.call-tracking {
|
|
81
|
+
.hero {
|
|
82
|
+
.call-tracking-controls {
|
|
83
|
+
display: $hero-call-tracking-phone-controls-display;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__header {
|
|
87
|
+
.hero__title {
|
|
88
|
+
display: $hero-title-display;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.hero__subtitle {
|
|
92
|
+
display: $hero-subtitle-display;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.hero__title--call-tracking {
|
|
96
|
+
display: $hero-call-tracking-title-display;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.hero__subtitle-call-button {
|
|
100
|
+
display: $hero-call-tracking-subtitle-display;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.call-button {
|
|
104
|
+
align-items: center;
|
|
105
|
+
background-color: $call-button-bg-color;
|
|
106
|
+
border: 1px solid $call-button-border-color;
|
|
107
|
+
border-radius: $call-button-border-radius;
|
|
108
|
+
color: $call-button-text-color;
|
|
109
|
+
display: $call-button-display;
|
|
110
|
+
font-size: $call-button-font-size;
|
|
111
|
+
font-weight: $call-button-font-weight;
|
|
112
|
+
gap: $call-button-gap; // sass-lint:disable-line no-misspelled-properties
|
|
113
|
+
justify-content: center;
|
|
114
|
+
margin: $call-button-margin;
|
|
115
|
+
padding: $call-button-padding;
|
|
116
|
+
position: relative;
|
|
117
|
+
width: $call-button-width;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.call-icon {
|
|
121
|
+
width: $call-button-icon-width;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.step__supertitle {
|
|
127
|
+
display: $step-header-display;
|
|
128
|
+
|
|
129
|
+
&--call-tracking {
|
|
130
|
+
background-color: $step-call-tracking-header-background-color;
|
|
131
|
+
display: $step-call-tracking-header-display;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.call-tracking-controls {
|
|
135
|
+
// sass-lint:disable-line class-name-format
|
|
136
|
+
color: $step-call-tracking-header-controls-color;
|
|
137
|
+
display: $step-call-tracking-header-controls-display;
|
|
138
|
+
font-size: $step-call-tracking-header-controls-font-size;
|
|
139
|
+
font-weight: $step-call-tracking-header-controls-font-weight;
|
|
140
|
+
margin: $step-call-tracking-header-controls-margin;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.call-link {
|
|
144
|
+
color: $step-call-tracking-header-call-link-color;
|
|
145
|
+
text-decoration: $step-call-tracking-header-call-link-text-decoration;
|
|
146
|
+
text-underline-offset: $step-call-tracking-header-call-link-underline-offset; // sass-lint:disable-line no-misspelled-properties
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.call-icon {
|
|
150
|
+
filter: $step-call-tracking-header-call-icon-filter;
|
|
151
|
+
width: $step-call-tracking-header-call-icon-width;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.form {
|
|
156
|
+
.call-tracking-controls {
|
|
157
|
+
display: $form-call-tracking-controls-display;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.form {
|
|
162
|
+
&--inverted {
|
|
163
|
+
.call-tracking-controls {
|
|
164
|
+
// sass-lint:disable-line class-name-format
|
|
165
|
+
color: $form-in-progress-call-tracking-controls-text-color;
|
|
166
|
+
display: $form-in-progress-call-tracking-controls-display;
|
|
167
|
+
line-height: $form-in-progress-call-tracking-controls-line-height;
|
|
168
|
+
margin: $form-in-progress-call-tracking-controls-margin;
|
|
169
|
+
padding: $form-in-progress-call-tracking-controls-padding;
|
|
170
|
+
text-align: $form-in-progress-call-tracking-controls-text-align;
|
|
171
|
+
|
|
172
|
+
.form-call-number,
|
|
173
|
+
.call-number {
|
|
174
|
+
color: $form-in-progress-call-number-color;
|
|
175
|
+
text-decoration: $form-in-progress-call-number-text-decoration;
|
|
176
|
+
text-underline-offset: $form-in-progress-call-number-text-underline-offset; // sass-lint:disable-line no-misspelled-properties
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.call-text {
|
|
180
|
+
margin-left: $form-in-progress-call-text-margin;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.call-icon {
|
|
184
|
+
margin: $form-in-progress-call-icon-margin;
|
|
185
|
+
width: $form-in-progress-call-icon-width;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
a {
|
|
189
|
+
color: inherit;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.header {
|
|
196
|
+
.call-tracking-controls {
|
|
197
|
+
display: $header-call-tracking-controls-display;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
@include breakpoint-md {
|
|
202
|
+
.hero {
|
|
203
|
+
.call-tracking-controls {
|
|
204
|
+
display: $hero-call-tracking-phone-controls-md-display;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&__header {
|
|
208
|
+
.hero__title {
|
|
209
|
+
display: $hero-title-md-display;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.hero__subtitle {
|
|
213
|
+
display: $hero-subtitle-md-display;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.hero__title--call-tracking {
|
|
217
|
+
display: $hero-call-tracking-title-md-display;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.hero__subtitle-call-button {
|
|
221
|
+
display: $hero-call-tracking-subtitle-md-display;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.header {
|
|
227
|
+
.call-tracking-controls {
|
|
228
|
+
display: $header-call-tracking-controls-md-display;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&__call {
|
|
232
|
+
font-size: $header-call-md-font-size;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.step__supertitle {
|
|
237
|
+
display: $step-header-md-display;
|
|
238
|
+
|
|
239
|
+
&--call-tracking {
|
|
240
|
+
display: $step-call-tracking-header-md-display;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.call-tracking-controls {
|
|
244
|
+
display: $step-call-tracking-header-controls-md-display;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.form {
|
|
249
|
+
&--inverted {
|
|
250
|
+
.call-tracking-controls {
|
|
251
|
+
// sass-lint:disable-line class-name-format
|
|
252
|
+
display: $form-in-progress-call-tracking-controls-md-display;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@include breakpoint-xl {
|
|
259
|
+
.header {
|
|
260
|
+
&__call {
|
|
261
|
+
font-size: $header-call-xl-font-size;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@mixin darkmode($text-color) {
|
|
268
|
+
.header {
|
|
269
|
+
&__call {
|
|
270
|
+
color: $text-color;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.form {
|
|
275
|
+
&--inverted {
|
|
276
|
+
.call-tracking-controls {
|
|
277
|
+
color: $text-color;
|
|
278
|
+
|
|
279
|
+
.form-call-number,
|
|
280
|
+
.call-number,
|
|
281
|
+
.call-text {
|
|
282
|
+
color: $text-color;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.call-icon {
|
|
286
|
+
filter: invert(1);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@include breakpoint-lg {
|
|
293
|
+
.header {
|
|
294
|
+
&__call-icon {
|
|
295
|
+
filter: invert(1);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
@if mixin-exists(dark-mode) {
|
|
302
|
+
@include dark-mode {
|
|
303
|
+
@include darkmode($text-color);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@if mixin-exists(theme-dark) {
|
|
308
|
+
@include theme-dark {
|
|
309
|
+
@include darkmode($text-color)
|
|
310
|
+
}
|
|
311
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{{#if this.callTracking.header.picture}}
|
|
2
|
+
{{ fileInclude 'src/accessible-components/picture/picture.html'
|
|
3
|
+
picture = this.callTracking.header.picture
|
|
4
|
+
class = this.class
|
|
5
|
+
}}
|
|
6
|
+
{{else}}
|
|
7
|
+
<img class="{{this.class}}" src="/accessible-components/call-tracking/phone.svg" aria-hidden="true"/>
|
|
8
|
+
{{/if}}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{{#if this.callTracking}}
|
|
2
|
+
{{#if isHeroTitle}}
|
|
3
|
+
<h1 class="hero__title hero__title--call-tracking" id="page-title" data-template="hero-headline"
|
|
4
|
+
data-theme-template="title">
|
|
5
|
+
{{this.callTracking.hero.title}}
|
|
6
|
+
</h1>
|
|
7
|
+
{{else}}
|
|
8
|
+
{{#if this.isStepHeader}}
|
|
9
|
+
<div class="step__header--call-tracking step__header">
|
|
10
|
+
{{else}}
|
|
11
|
+
<div class="call-tracking-controls">
|
|
12
|
+
{{/if}}
|
|
13
|
+
{{#if this.isHero}}
|
|
14
|
+
<a class="call-button pulse" href="tel:{{this.callTracking.defaultPhoneNumber}}">
|
|
15
|
+
{{ fileInclude 'src/accessible-components/call-tracking/call-tracking-icon.html'
|
|
16
|
+
class='call-icon'
|
|
17
|
+
}}
|
|
18
|
+
{{{this.callTracking.hero.button}}}
|
|
19
|
+
</a>
|
|
20
|
+
{{/if}}
|
|
21
|
+
|
|
22
|
+
{{#if this.isStepHeader}}
|
|
23
|
+
{{#unless this.callTracking.stepHeader.title}}
|
|
24
|
+
<div class="step__header--title-call step__header-title visible-xs">
|
|
25
|
+
<p class="call-text">{{{this.callTracking.form.title}}}</p>
|
|
26
|
+
{{ fileInclude 'src/accessible-components/call-tracking/call-tracking-icon.html'
|
|
27
|
+
class='call-icon'
|
|
28
|
+
}}
|
|
29
|
+
<a class="call-link" href="tel:{{this.callTracking.defaultPhoneNumber}}">
|
|
30
|
+
{{{this.callTracking.stepHeader.link.beforeNumber}}}
|
|
31
|
+
<span class="step__header-call-number">
|
|
32
|
+
{{formatPhoneNo this.callTracking.defaultPhoneNumber}}
|
|
33
|
+
</span>
|
|
34
|
+
{{{this.callTracking.stepHeader.link.afterNumber}}}
|
|
35
|
+
</a>
|
|
36
|
+
</div>
|
|
37
|
+
{{else}}
|
|
38
|
+
<p class="call-text step__header-title">{{{this.callTracking.stepHeader.title}}}</p>
|
|
39
|
+
{{/unless}}
|
|
40
|
+
{{/if}}
|
|
41
|
+
|
|
42
|
+
{{#if this.isForm}}
|
|
43
|
+
<p class="call-text">{{{this.callTracking.form.title}}}</p>
|
|
44
|
+
<div class="form-call-number">
|
|
45
|
+
{{ fileInclude 'src/accessible-components/call-tracking/call-tracking-icon.html'
|
|
46
|
+
class='call-icon'
|
|
47
|
+
}}
|
|
48
|
+
<a class="call-link form-call-link">
|
|
49
|
+
<span class="form-call-number">
|
|
50
|
+
{{formatPhoneNo this.callTracking.defaultPhoneNumber}}
|
|
51
|
+
</span>
|
|
52
|
+
</a>
|
|
53
|
+
</div>
|
|
54
|
+
{{/if}}
|
|
55
|
+
|
|
56
|
+
{{#if this.isHeader}}
|
|
57
|
+
<a class="header__call-button visible-sm visible-md" href="tel:{{this.callTracking.defaultPhoneNumber}}">
|
|
58
|
+
{{fileInclude 'src/accessible-components/call-tracking/call-tracking-icon.html'
|
|
59
|
+
class='header__call-icon'
|
|
60
|
+
}}
|
|
61
|
+
{{{this.callTracking.header.button}}}
|
|
62
|
+
</a>
|
|
63
|
+
<div class="header__call hidden visible-lg-up">
|
|
64
|
+
{{fileInclude 'src/accessible-components/call-tracking/call-tracking-icon.html'
|
|
65
|
+
class='header__call-icon'
|
|
66
|
+
}}
|
|
67
|
+
{{{this.callTracking.header.title}}}
|
|
68
|
+
<a class="header__call-link" href="tel:{{this.callTracking.defaultPhoneNumber}}">
|
|
69
|
+
<span class="header__call-number">
|
|
70
|
+
{{formatPhoneNo this.callTracking.defaultPhoneNumber}}
|
|
71
|
+
</span>
|
|
72
|
+
</a>
|
|
73
|
+
</div>
|
|
74
|
+
{{/if}}
|
|
75
|
+
{{#if this.isStepHeader}}
|
|
76
|
+
</div>
|
|
77
|
+
{{else}}
|
|
78
|
+
</div>
|
|
79
|
+
{{/if}}
|
|
80
|
+
{{/if}}
|
|
81
|
+
{{/if}}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="17" height="20" viewBox="0 0 17 20" preserveAspectRatio="xMidYMid meet">
|
|
3
|
+
<g transform="translate(0,20) scale(0.1,-0.1)" fill="#000000" stroke="none">
|
|
4
|
+
<path d="M10 181 c-5 -11 -10 -28 -10 -39 0 -25 55 -106 85 -126 31 -20 74 -21 82 -1 7 19 -26 58 -44 51 -21 -8 -43 4 -58 34 -10 20 -11 30 -3 38 9 9 8 18 0 37 -14 30 -37 33 -52 6z"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
$card-btn-wrapper-flex-wrap: wrap !default;
|
|
2
|
+
|
|
3
|
+
$card-btn-animation: none !default;
|
|
4
|
+
$card-btn-bg: $color-white !default;
|
|
5
|
+
$card-btn-border-color: $color-charcoal1 !default;
|
|
6
|
+
$card-btn-border-radius: 4px !default;
|
|
7
|
+
$card-btn-border-width: 1px !default;
|
|
8
|
+
$card-btn-box-shadow: 0 3px 0 0 $color-charcoal1, 0 5px 7px 0 rgba($color-black, .1) !default;
|
|
9
|
+
$card-btn-flex-property: 0 0 45% !default;
|
|
10
|
+
$card-btn-margin: 0 7px 15px !default;
|
|
11
|
+
$card-btn-max-width: 165px !default;
|
|
12
|
+
$card-btn-padding: 15px !default;
|
|
13
|
+
$card-btn-transition: all .15s ease !default;
|
|
14
|
+
|
|
15
|
+
$card-btn-hover-bg: $color-blue0 !default;
|
|
16
|
+
$card-btn-hover-border-color: $color-blue2 !default;
|
|
17
|
+
$card-btn-hover-box-shadow: 0 3px 0 0 $color-blue2, 0 5px 7px 0 rgba($color-black, .1) !default;
|
|
18
|
+
|
|
19
|
+
.card-button-wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-wrap: $card-btn-wrapper-flex-wrap;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.card-button {
|
|
26
|
+
animation: $card-btn-animation;
|
|
27
|
+
background: $card-btn-bg;
|
|
28
|
+
border: $card-btn-border-width solid $card-btn-border-color;
|
|
29
|
+
border-radius: $card-btn-border-radius;
|
|
30
|
+
box-shadow: $card-btn-box-shadow;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
flex: $card-btn-flex-property;
|
|
33
|
+
margin: $card-btn-margin;
|
|
34
|
+
max-width: $card-btn-max-width;
|
|
35
|
+
padding: $card-btn-padding;
|
|
36
|
+
position: relative;
|
|
37
|
+
transition: $card-btn-transition;
|
|
38
|
+
|
|
39
|
+
&:focus,
|
|
40
|
+
&:hover {
|
|
41
|
+
background: $card-btn-hover-bg;
|
|
42
|
+
border-color: $card-btn-hover-border-color;
|
|
43
|
+
box-shadow: $card-btn-hover-box-shadow;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.tile--icon .tile__text::before { // sass-lint:disable-line
|
|
47
|
+
border: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
$swiper-margin-top: 0 !default;
|
|
2
|
+
$swiper-padding-top: 0 !default;
|
|
3
|
+
|
|
4
|
+
$swiper-controls-padding: 50px 15px !default;
|
|
5
|
+
$swiper-controls-padding-mobile: 30px 15px !default;
|
|
6
|
+
$swiper-navigation-color: $color-charcoal2 !default;
|
|
7
|
+
$swiper-pagination-margin: 0 10px !default;
|
|
8
|
+
$swiper-pagination-bottom-alignment: 0 !default;
|
|
9
|
+
$swiper-pagination-bullet-bg: transparent !default;
|
|
10
|
+
$swiper-pagination-bullet-border: 1px solid $swiper-navigation-color !default;
|
|
11
|
+
$swiper-pagination-bullet-margin: 0 8px !default;
|
|
12
|
+
$swiper-pagination-bullet-height: 8px !default;
|
|
13
|
+
$swiper-pagination-bullet-width: 8px !default;
|
|
14
|
+
$swiper-pagination-bullet-hover-bg: transparent !default;
|
|
15
|
+
$swiper-pagination-bullet-active-bg: $swiper-navigation-color !default;
|
|
16
|
+
$swiper-pagination-bullet-active-border: none !default;
|
|
17
|
+
|
|
18
|
+
$swiper-scrollbar-bg-color: $color-ivory5 !default;
|
|
19
|
+
$swiper-scrollbar-drag-color: $color-blue5 !default;
|
|
20
|
+
$swiper-scrollbar-height: 4px !default;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
.swiper {
|
|
24
|
+
margin-top: $swiper-margin-top;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
padding-top: $swiper-padding-top;
|
|
27
|
+
|
|
28
|
+
.swiper-wrapper{
|
|
29
|
+
display: flex;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.swiper-controls {
|
|
33
|
+
align-items: center;
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
padding: $swiper-controls-padding-mobile;
|
|
37
|
+
|
|
38
|
+
i.icon {
|
|
39
|
+
color: $swiper-navigation-color;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.swiper-pagination {
|
|
44
|
+
margin: $swiper-pagination-margin;
|
|
45
|
+
position: relative;
|
|
46
|
+
|
|
47
|
+
&-bullet {
|
|
48
|
+
background-color: $swiper-pagination-bullet-bg;
|
|
49
|
+
border: $swiper-pagination-bullet-border;
|
|
50
|
+
height: $swiper-pagination-bullet-height;
|
|
51
|
+
opacity: 1;
|
|
52
|
+
transition: all .15s ease-in-out;
|
|
53
|
+
width: $swiper-pagination-bullet-width;
|
|
54
|
+
|
|
55
|
+
&:active, &:focus {
|
|
56
|
+
outline: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-active {
|
|
60
|
+
background-color: $swiper-pagination-bullet-active-bg;
|
|
61
|
+
border: $swiper-pagination-bullet-active-border;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.swiper-pagination-horizontal {
|
|
66
|
+
bottom: $swiper-pagination-bottom-alignment;
|
|
67
|
+
width: auto;
|
|
68
|
+
|
|
69
|
+
.swiper-pagination-bullet {
|
|
70
|
+
margin: $swiper-pagination-bullet-margin;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-scrollbar {
|
|
77
|
+
background: $swiper-scrollbar-bg-color;
|
|
78
|
+
height: $swiper-scrollbar-height;
|
|
79
|
+
|
|
80
|
+
&-drag {
|
|
81
|
+
background-color: $swiper-scrollbar-drag-color;
|
|
82
|
+
height: 100%;
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@include breakpoint-sm {
|
|
89
|
+
.swiper .swiper-controls {
|
|
90
|
+
padding: $swiper-controls-padding;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@include breakpoint-lg {
|
|
95
|
+
.swiper {
|
|
96
|
+
&-controls {
|
|
97
|
+
.swiper-pagination {
|
|
98
|
+
&-bullet {
|
|
99
|
+
&:hover {
|
|
100
|
+
background-color: $swiper-pagination-bullet-hover-bg;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<div id="{{ this.carousel.carouselOptions.swiperId }}" class="swiper{{#if this.carousel.carouselOptions.additionalSwiperClass }} {{ this.carousel.carouselOptions.additionalSwiperClass }}{{/if}}">
|
|
2
|
+
<ul class="swiper-wrapper"{{#if this.carousel.carouselOptions.swiperWrapperId}} id="{{this.carousel.carouselOptions.swiperWrapperId}}"{{/if}}>
|
|
3
|
+
{{#if this.carousel.template}}
|
|
4
|
+
{{fileInclude this.carousel.template
|
|
5
|
+
items = this.carousel.items
|
|
6
|
+
classModifier = this.carousel.classModifier
|
|
7
|
+
carouselOptions = this.carousel.carouselOptions
|
|
8
|
+
textAlignment = this.carousel.textAlignment
|
|
9
|
+
}}
|
|
10
|
+
{{/if}}
|
|
11
|
+
</ul>
|
|
12
|
+
|
|
13
|
+
{{#xif "this.carousel.carouselOptions.hasNavigation === true || this.carousel.carouselOptions.hasPagination === true" }}
|
|
14
|
+
<div class="swiper-controls">
|
|
15
|
+
{{#if this.carousel.carouselOptions.previousSlideIcon }}{{{ this.carousel.carouselOptions.previousSlideIcon }}}{{/if}}
|
|
16
|
+
{{#if this.carousel.carouselOptions.hasPagination }}<div class="swiper-pagination"></div>{{/if}}
|
|
17
|
+
{{#if this.carousel.carouselOptions.nextSlideIcon }}{{{ this.carousel.carouselOptions.nextSlideIcon }}}{{/if}}
|
|
18
|
+
</div>
|
|
19
|
+
{{/xif}}
|
|
20
|
+
{{#if this.carousel.carouselOptions.hasScrollbar }}
|
|
21
|
+
<div class="swiper-scrollbar"></div>
|
|
22
|
+
{{/if}}
|
|
23
|
+
</div>
|