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.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/public/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +2 -0
- package/public/resources/scripts/abandonment/abandonment.min.js +2 -0
- package/public/resources/scripts/callrail/callrail-5c7c537f04af468600cf.min.js +2 -0
- package/public/resources/scripts/callrail/callrail.min.js +2 -0
- package/public/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +2 -0
- package/public/resources/scripts/footer/footer-component.min.js +2 -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/isZipCodeValid.min.js +2 -0
- package/public/resources/scripts/helpers/isZipCodeValid.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-0ac7d7a5a72ea67a0f47.min.js +2 -0
- package/public/resources/scripts/mod-alytics/modalytics.min.js +2 -0
- package/public/resources/scripts/mod-form/form/homeowner-62292fdc874b2d2f5c82.min.js +2 -0
- package/public/resources/scripts/mod-form/form/homeowner.min.js +2 -0
- package/public/resources/scripts/mod-utils/modutils-15069d7b728a555fb3f7.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-a8571a9e32ed6ef9acb4.min.css +1 -0
- package/public/resources/styles/components/abandonment/abandonment.min.css +1 -0
- package/public/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +1 -0
- package/public/resources/styles/components/footer/mod-footer.min.css +1 -0
- package/public/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +1 -0
- package/public/resources/styles/components/footer/qs-footer.min.css +1 -0
- package/src/accessible-components/button/_button.scss +319 -0
- package/src/accessible-components/button/back-button.html +8 -0
- package/src/accessible-components/button/button.html +17 -0
- package/src/accessible-components/carousel/_carousel.scss +112 -0
- package/src/accessible-components/carousel/carousel.html +25 -0
- package/src/accessible-components/carousel/carousel.js +3426 -0
- package/src/accessible-components/carousel/carousel.js.map +1 -0
- package/src/accessible-components/carousel/carousel.min.js +6 -0
- package/src/accessible-components/carousel/carousel.min.js.map +1 -0
- package/src/accessible-components/checkbox/_checkbox.scss +153 -0
- package/src/accessible-components/checkbox/checkbox-group.html +18 -0
- package/src/accessible-components/checkbox/checkbox.html +8 -0
- package/src/accessible-components/expand-collapse/_expand-collapse.scss +129 -0
- package/src/accessible-components/expand-collapse/expand-collapse.html +14 -0
- package/src/accessible-components/expand-collapse/expand-collapse.js +52 -0
- package/src/accessible-components/expand-collapse/expand-collapse.min.js +2 -0
- package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +1 -0
- package/src/accessible-components/featured-block/_featured-block.scss +221 -0
- package/src/accessible-components/featured-block/featured-block.html +54 -0
- package/src/accessible-components/foot-assets/foot-assets.html +112 -0
- package/src/accessible-components/footer/footer.html +2 -0
- package/src/accessible-components/gtm-body/gtm-body.html +4 -0
- package/src/accessible-components/head/head.html +187 -0
- package/src/accessible-components/header/_header.scss +289 -0
- package/src/accessible-components/header/header.html +66 -0
- package/src/accessible-components/hero/_hero.scss +405 -0
- package/src/accessible-components/hero/hero.html +53 -0
- package/src/accessible-components/how-it-works/_how-it-works.scss +217 -0
- package/src/accessible-components/how-it-works/how-it-works-carousel.html +12 -0
- package/src/accessible-components/how-it-works/how-it-works-static.html +12 -0
- package/src/accessible-components/how-it-works/how-it-works.html +14 -0
- package/src/accessible-components/information/_information.scss +96 -0
- package/src/accessible-components/information/information.html +32 -0
- package/src/accessible-components/input/_input.scss +204 -0
- package/src/accessible-components/input/input.html +22 -0
- package/src/accessible-components/input/textarea.html +9 -0
- package/src/accessible-components/partners/_partners.scss +234 -0
- package/src/accessible-components/partners/partners.html +56 -0
- package/src/accessible-components/picture/picture.html +19 -0
- package/src/accessible-components/preloader/_preloader.scss +61 -0
- package/src/accessible-components/preloader/preloader.html +23 -0
- package/src/accessible-components/progress-bar/_progress-bar.scss +140 -0
- package/src/accessible-components/progress-bar/progress-bar.html +21 -0
- package/src/accessible-components/progress-bar/progress-bar.js +37 -0
- package/src/accessible-components/progress-bar/progress-bar.min.js +2 -0
- package/src/accessible-components/progress-bar/progress-bar.min.js.map +1 -0
- package/src/accessible-components/radio-button/_radio-button.scss +586 -0
- package/src/accessible-components/radio-button/radio-button.html +33 -0
- package/src/accessible-components/reviews/_reviews.scss +180 -0
- package/src/accessible-components/reviews/reviews-carousel.html +12 -0
- package/src/accessible-components/reviews/reviews-static.html +12 -0
- package/src/accessible-components/reviews/reviews.html +37 -0
- package/src/accessible-components/select/_select.scss +87 -0
- package/src/accessible-components/select/select.html +10 -0
- package/src/accessible-components/steps/_steps.scss +640 -0
- package/src/accessible-components/steps/defaultFormFieldConfig.json +109 -0
- package/src/accessible-components/steps/step-fields.html +38 -0
- package/src/accessible-components/steps/steps.html +168 -0
- package/src/accessible-components/tcpa/_tcpa.scss +49 -0
- package/src/accessible-components/tcpa/tcpa.html +9 -0
- package/src/accessible-components/tile/_tile.scss +117 -0
- package/src/accessible-components/tile/tile.html +14 -0
- package/src/accessible-components/value-props/_value-props.scss +102 -0
- package/src/accessible-components/value-props/value-props.html +17 -0
- package/src/accessible-components/zip-control/_zip-control.scss +79 -0
- package/src/accessible-components/zip-control/zip-control.html +10 -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/faq/index.hbs +9 -0
- package/src/resources/templates/modals/faq/index.html +9 -0
- package/src/resources/templates/modals/privacy/index.hbs +236 -0
- package/src/resources/templates/modals/privacy/index.html +236 -0
- package/src/resources/templates/modals/terms/index.hbs +166 -0
- package/src/resources/templates/modals/terms/index.html +166 -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 +22 -0
- package/src/shared-components/carousel/carousel.js +3574 -0
- package/src/shared-components/carousel/carousel.js.map +1 -0
- package/src/shared-components/carousel/carousel.min.js +6 -0
- package/src/shared-components/carousel/carousel.min.js.map +1 -0
- package/src/shared-components/carousel/carousel.min.min.js +6 -0
- package/src/shared-components/carousel/carousel.min.min.js.map +1 -0
- package/src/shared-components/checkbox/_checkbox.scss +125 -0
- package/src/shared-components/checkbox/checkbox.html +10 -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.html +12 -0
- package/src/shared-components/gtm-body/gtm-body.html +4 -0
- package/src/shared-components/head/head.html +192 -0
- package/src/shared-components/header/_header.scss +200 -0
- package/src/shared-components/header/header.html +73 -0
- package/src/shared-components/hero/_hero.scss +253 -0
- package/src/shared-components/hero/hero.html +126 -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 +25 -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 +554 -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/select/_select.scss +61 -0
- package/src/shared-components/select/select.html +8 -0
- package/src/shared-components/steps/_steps.scss +414 -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 +131 -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 +98 -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/grab-shared-scripts.js +11 -1
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
$hero-min-height: 0 !default;
|
|
2
|
+
$hero-padding-mobile: 25px 0 !default;
|
|
3
|
+
$hero-padding-tablet: 45px 0 !default;
|
|
4
|
+
$hero-padding-desktop: 70px 0 !default;
|
|
5
|
+
$hero-position: relative !default;
|
|
6
|
+
$hero-transition: padding 300ms ease, min-height 300ms ease !default;
|
|
7
|
+
|
|
8
|
+
$hero-background-background-color: transparent !default;
|
|
9
|
+
$hero-background-height: 100% !default;
|
|
10
|
+
$hero-background-height-mobile: $hero-background-height !default;
|
|
11
|
+
$hero-background-max-height: 100% !default;
|
|
12
|
+
$hero-background-left: 0 !default;
|
|
13
|
+
$hero-background-overflow: hidden !default;
|
|
14
|
+
$hero-background-position: absolute !default;
|
|
15
|
+
$hero-background-top: 0 !default;
|
|
16
|
+
$hero-background-width: 100% !default;
|
|
17
|
+
$hero-background-z-index: -1 !default;
|
|
18
|
+
|
|
19
|
+
$hero-background-image-height: 100% !default;
|
|
20
|
+
$hero-background-image-max-width: 100% !default;
|
|
21
|
+
$hero-background-image-object-fit: cover !default;
|
|
22
|
+
$hero-background-image-object-position: top !default;
|
|
23
|
+
$hero-background-image-width: 100% !default;
|
|
24
|
+
|
|
25
|
+
$hero-overlay-background: linear-gradient(180deg, transparent 15%, rgba($color-white,.98) 25%, rgba($color-white,1) 87%, rgba($color-white,1) 100%) !default;
|
|
26
|
+
$hero-overlay-background-mobile: $hero-overlay-background !default;
|
|
27
|
+
$hero-overlay-display: none !default;
|
|
28
|
+
$hero-overlay-display-mobile: block !default;
|
|
29
|
+
$hero-overlay-height: 100% !default;
|
|
30
|
+
$hero-overlay-height-mobile: $hero-overlay-height !default;
|
|
31
|
+
$hero-overlay-left: 0 !default;
|
|
32
|
+
$hero-overlay-overflow: hidden !default;
|
|
33
|
+
$hero-overlay-position: absolute !default;
|
|
34
|
+
$hero-overlay-top: 0 !default;
|
|
35
|
+
$hero-overlay-width: 100% !default;
|
|
36
|
+
$hero-overlay-z-index: 0 !default;
|
|
37
|
+
|
|
38
|
+
$hero-wrapper-align-items-mobile: center !default;
|
|
39
|
+
$hero-wrapper-align-items-tablet: center !default;
|
|
40
|
+
$hero-wrapper-align-items-desktop: flex-start !default;
|
|
41
|
+
$hero-wrapper-display: flex !default;
|
|
42
|
+
$hero-wrapper-flex-direction-mobile: column !default;
|
|
43
|
+
$hero-wrapper-flex-direction-tablet: column !default;
|
|
44
|
+
$hero-wrapper-flex-direction-desktop: row !default;
|
|
45
|
+
$hero-wrapper-justify-content-desktop: initial !default;
|
|
46
|
+
$hero-wrapper-position: relative !default;
|
|
47
|
+
$hero-wrapper-width: 100% !default;
|
|
48
|
+
$hero-wrapper-z-index: 1 !default;
|
|
49
|
+
|
|
50
|
+
$hero-content-background-color: $color-white !default;
|
|
51
|
+
$hero-content-border-radius: 4px !default;
|
|
52
|
+
$hero-content-box-shadow: 0 10px 20px 0 rgba($color-black, .08) !default;
|
|
53
|
+
$hero-content-max-width-mobile: 100% !default;
|
|
54
|
+
$hero-content-max-width-tablet: 445px !default;
|
|
55
|
+
$hero-content-max-width-desktop: $hero-content-max-width-tablet !default;
|
|
56
|
+
$hero-content-padding: 0 !default;
|
|
57
|
+
|
|
58
|
+
$hero-header-color: $color-white !default;
|
|
59
|
+
$hero-header-text-align: right !default;
|
|
60
|
+
$hero-header-text-align-mobile: center !default;
|
|
61
|
+
|
|
62
|
+
$hero-title-font-size-mobile: 26px !default;
|
|
63
|
+
$hero-title-font-size-tablet: 30px !default;
|
|
64
|
+
$hero-title-font-size-desktop: 34px !default;
|
|
65
|
+
$hero-title-font-size-lg: $hero-title-font-size-desktop !default;
|
|
66
|
+
$hero-title-font-weight: 700 !default;
|
|
67
|
+
$hero-title-line-height: 1.2 !default;
|
|
68
|
+
$hero-title-line-height-mobile: $hero-title-line-height !default;
|
|
69
|
+
$hero-title-line-height-lg: $hero-title-line-height !default;
|
|
70
|
+
$hero-title-margin: 0 0 15px !default;
|
|
71
|
+
$hero-title-margin-mobile: 0 0 25px !default;
|
|
72
|
+
$hero-title-margin-tablet: $hero-title-margin !default;
|
|
73
|
+
$hero-title-text-transform: none !default;
|
|
74
|
+
|
|
75
|
+
$hero-subtitle-font-size: 16px !default;
|
|
76
|
+
$hero-subtitle-font-size-mobile: $hero-subtitle-font-size !default;
|
|
77
|
+
$hero-subtitle-font-weight: 400 !default;
|
|
78
|
+
$hero-subtitle-line-height: 1.4 !default;
|
|
79
|
+
$hero-subtitle-margin: 0 auto 15px !default;
|
|
80
|
+
$hero-subtitle-text-transform: none !default;
|
|
81
|
+
|
|
82
|
+
$hero-full-background-color: $color-white !default;
|
|
83
|
+
$hero-full-min-height: 100vh !default;
|
|
84
|
+
$hero-full-padding: 0 !default;
|
|
85
|
+
$hero-full-content-background-color: transparent !default;
|
|
86
|
+
$hero-full-content-box-shadow: none !default;
|
|
87
|
+
$hero-full-overlay-display: none !default;
|
|
88
|
+
|
|
89
|
+
.hero {
|
|
90
|
+
min-height: $hero-min-height;
|
|
91
|
+
padding: $hero-padding-mobile;
|
|
92
|
+
position: $hero-position;
|
|
93
|
+
transition: $hero-transition;
|
|
94
|
+
|
|
95
|
+
&__background {
|
|
96
|
+
background-color: $hero-background-background-color;
|
|
97
|
+
height: $hero-background-height-mobile;
|
|
98
|
+
left: $hero-background-left;
|
|
99
|
+
overflow: $hero-background-overflow;
|
|
100
|
+
position: $hero-background-position;
|
|
101
|
+
top: $hero-background-top;
|
|
102
|
+
width: $hero-background-width;
|
|
103
|
+
z-index: $hero-background-z-index;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__background-image {
|
|
107
|
+
height: $hero-background-image-height;
|
|
108
|
+
max-width: $hero-background-image-max-width;
|
|
109
|
+
object-fit: $hero-background-image-object-fit;
|
|
110
|
+
object-position: $hero-background-image-object-position;
|
|
111
|
+
width: $hero-background-image-width;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&__background-overlay {
|
|
115
|
+
background: $hero-overlay-background-mobile;
|
|
116
|
+
display: $hero-overlay-display-mobile;
|
|
117
|
+
height: $hero-overlay-height-mobile;
|
|
118
|
+
left: $hero-overlay-left;
|
|
119
|
+
overflow: $hero-overlay-overflow;
|
|
120
|
+
position: $hero-overlay-position;
|
|
121
|
+
top: $hero-overlay-top;
|
|
122
|
+
width: $hero-overlay-width;
|
|
123
|
+
z-index: $hero-overlay-z-index;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__wrapper {
|
|
127
|
+
align-items: $hero-wrapper-align-items-mobile;
|
|
128
|
+
display: $hero-wrapper-display;
|
|
129
|
+
flex-direction: $hero-wrapper-flex-direction-mobile;
|
|
130
|
+
position: $hero-wrapper-position;
|
|
131
|
+
width: $hero-wrapper-width;
|
|
132
|
+
z-index: $hero-wrapper-z-index;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&__content {
|
|
136
|
+
background-color: $hero-content-background-color;
|
|
137
|
+
border-radius: $hero-content-border-radius;
|
|
138
|
+
box-shadow: $hero-content-box-shadow;
|
|
139
|
+
max-width: $hero-content-max-width-mobile;
|
|
140
|
+
padding: $hero-content-padding;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&__header {
|
|
144
|
+
color: $hero-header-color;
|
|
145
|
+
text-align: $hero-header-text-align-mobile;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&__title {
|
|
149
|
+
font-size: $hero-title-font-size-mobile;
|
|
150
|
+
font-weight: $hero-title-font-weight;
|
|
151
|
+
line-height: $hero-title-line-height-mobile;
|
|
152
|
+
margin: $hero-title-margin-mobile;
|
|
153
|
+
text-transform: $hero-title-text-transform;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&__subtitle {
|
|
157
|
+
font-size: $hero-subtitle-font-size-mobile;
|
|
158
|
+
font-weight: $hero-subtitle-font-weight;
|
|
159
|
+
line-height: $hero-subtitle-line-height;
|
|
160
|
+
margin: $hero-subtitle-margin;
|
|
161
|
+
text-transform: $hero-subtitle-text-transform;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@include breakpoint-sm {
|
|
166
|
+
.hero {
|
|
167
|
+
padding: $hero-padding-tablet;
|
|
168
|
+
|
|
169
|
+
&__background {
|
|
170
|
+
height: $hero-background-height;
|
|
171
|
+
max-height: $hero-background-max-height;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&__background-overlay {
|
|
175
|
+
background: $hero-overlay-background;
|
|
176
|
+
display: $hero-overlay-display;
|
|
177
|
+
height: $hero-overlay-height;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&__wrapper {
|
|
181
|
+
align-items: $hero-wrapper-align-items-tablet;
|
|
182
|
+
flex-direction: $hero-wrapper-flex-direction-tablet;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&__content {
|
|
186
|
+
max-width: $hero-content-max-width-tablet;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&__header {
|
|
190
|
+
text-align: $hero-header-text-align;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&__title {
|
|
194
|
+
font-size: $hero-title-font-size-tablet;
|
|
195
|
+
line-height: $hero-title-line-height;
|
|
196
|
+
margin: $hero-title-margin-tablet;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&__subtitle {
|
|
200
|
+
font-size: $hero-subtitle-font-size;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@include breakpoint-md {
|
|
206
|
+
.hero {
|
|
207
|
+
padding: $hero-padding-desktop;
|
|
208
|
+
|
|
209
|
+
&__wrapper {
|
|
210
|
+
align-items: $hero-wrapper-align-items-desktop;
|
|
211
|
+
flex-direction: $hero-wrapper-flex-direction-desktop;
|
|
212
|
+
justify-content: $hero-wrapper-justify-content-desktop;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&__content {
|
|
216
|
+
max-width: $hero-content-max-width-desktop;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&__title {
|
|
220
|
+
font-size: $hero-title-font-size-desktop;
|
|
221
|
+
margin: $hero-title-margin;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@include breakpoint-lg {
|
|
227
|
+
.hero {
|
|
228
|
+
&__title {
|
|
229
|
+
font-size: $hero-title-font-size-lg;
|
|
230
|
+
line-height: $hero-title-line-height-lg;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@include breakpoint-phone {
|
|
236
|
+
.hero {
|
|
237
|
+
&--full {
|
|
238
|
+
background-color: $hero-full-background-color;
|
|
239
|
+
min-height: $hero-full-min-height;
|
|
240
|
+
padding: $hero-full-padding;
|
|
241
|
+
|
|
242
|
+
.hero__content,
|
|
243
|
+
.form {
|
|
244
|
+
background: $hero-full-content-background-color;
|
|
245
|
+
box-shadow: $hero-full-content-box-shadow;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.hero__background-overlay {
|
|
249
|
+
display: $hero-full-overlay-display;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
<div class="hero{{#if this.hero.class}} {{this.hero.class}}{{/if}}"{{#if this.hero.id}} id="{{this.hero.id}}"{{/if}}>
|
|
2
|
+
{{#if this.hero.backgroundImage}}
|
|
3
|
+
{{#if this.hero.backgroundImage.wrapper}}
|
|
4
|
+
<div class="hero__background-wrapper{{#if this.hero.backgroundImage.wrapper.class}} {{this.hero.backgroundImage.wrapper.class}}{{/if}}" {{#if this.hero.backgroundImage.wrapper.extraAttributes}}{{#each this.hero.backgroundImage.wrapper.extraAttributes}}{{{this.attributeName}}}{{#if this.attributeValue}}="{{{this.attributeValue}}}"{{/if}}{{/each}}{{/if}}>
|
|
5
|
+
{{/if}}
|
|
6
|
+
<picture class="hero__background{{#if this.hero.backgroundImage.class}} {{this.hero.backgroundImage.class}}{{/if}}"{{#if this.hero.backgroundImage.extraAttributes}}{{#each this.hero.backgroundImage.extraAttributes}}{{{this.attributeName}}}{{#if this.attributeValue}}="{{{this.attributeValue}}}"{{/if}}{{/each}}{{/if}}>
|
|
7
|
+
{{#if this.hero.backgroundImage.globalSrc}}
|
|
8
|
+
{{#if this.hero.backgroundImage.srcSmallDevices}}
|
|
9
|
+
<source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.srcSmallDevices}}.webp" type="image/webp">
|
|
10
|
+
<source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
|
|
11
|
+
{{else}}
|
|
12
|
+
<source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
|
|
13
|
+
{{/if}}
|
|
14
|
+
<source media="(min-width: 768px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.globalSrc}}.webp" type="image/webp">
|
|
15
|
+
<img class="hero__background-image" src="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.globalSrc}}.jpg" alt="">
|
|
16
|
+
{{else}}
|
|
17
|
+
{{#if this.hero.backgroundImage.srcTabletDevices}}
|
|
18
|
+
<source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.src}}.webp" type="image/webp">
|
|
19
|
+
<source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.src}}.jpg" type="image/jpeg">
|
|
20
|
+
<source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.srcTabletDevices}}.webp" type="image/webp">
|
|
21
|
+
<source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.srcTabletDevices}}.jpg" type="image/jpeg">
|
|
22
|
+
<source srcset="{{this.hero.backgroundImage.srcSmallDevices}}.webp" type="image/webp">
|
|
23
|
+
<img class="hero__background-image" src="{{this.hero.backgroundImage.srcSmallDevices}}.jpg" alt="">
|
|
24
|
+
{{else}}
|
|
25
|
+
{{#if this.hero.backgroundImage.srcSmallDevices}}
|
|
26
|
+
<source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.srcSmallDevices}}.webp" type="image/webp">
|
|
27
|
+
<source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
|
|
28
|
+
{{else}}
|
|
29
|
+
<source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
|
|
30
|
+
{{/if}}
|
|
31
|
+
<source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.src}}.webp" type="image/webp">
|
|
32
|
+
<img class="hero__background-image" src="{{this.hero.backgroundImage.src}}.jpg" alt="">
|
|
33
|
+
{{/if}}
|
|
34
|
+
{{/if}}
|
|
35
|
+
</picture>
|
|
36
|
+
{{#if this.hero.backgroundImage.additionalBackgroundImage}}
|
|
37
|
+
<picture class="hero__background{{#if this.hero.backgroundImage.additionalBackgroundImage.class}} {{this.hero.backgroundImage.additionalBackgroundImage.class}}{{/if}}"{{#if this.hero.backgroundImage.additionalBackgroundImage.extraAttributes}}{{#each this.hero.backgroundImage.additionalBackgroundImage.extraAttributes}}{{{this.attributeName}}}{{#if this.attributeValue}}="{{{this.attributeValue}}}"{{/if}}{{/each}}{{/if}}>
|
|
38
|
+
{{#if this.hero.backgroundImage.additionalBackgroundImage.globalSrc}}
|
|
39
|
+
{{#if this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}
|
|
40
|
+
<source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.webp" type="image/webp">
|
|
41
|
+
<source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
|
|
42
|
+
{{else}}
|
|
43
|
+
<source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
|
|
44
|
+
{{/if}}
|
|
45
|
+
<source media="(min-width: 768px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.globalSrc}}.webp" type="image/webp">
|
|
46
|
+
<img class="hero__background-image" src="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.globalSrc}}.jpg" alt="">
|
|
47
|
+
{{else}}
|
|
48
|
+
{{#if this.hero.backgroundImage.additionalBackgroundImage.srcTabletDevices}}
|
|
49
|
+
<source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.webp" type="image/webp">
|
|
50
|
+
<source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.jpg" type="image/jpeg">
|
|
51
|
+
<source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcTabletDevices}}.webp" type="image/webp">
|
|
52
|
+
<source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcTabletDevices}}.jpg" type="image/jpeg">
|
|
53
|
+
<source srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.webp" type="image/webp">
|
|
54
|
+
<img class="hero__background-image" src="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.jpg" alt="">
|
|
55
|
+
{{else}}
|
|
56
|
+
{{#if this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}
|
|
57
|
+
<source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.webp" type="image/webp">
|
|
58
|
+
<source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
|
|
59
|
+
{{else}}
|
|
60
|
+
<source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
|
|
61
|
+
{{/if}}
|
|
62
|
+
<source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.webp" type="image/webp">
|
|
63
|
+
<img class="hero__background-image" src="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.jpg" alt="">
|
|
64
|
+
{{/if}}
|
|
65
|
+
{{/if}}
|
|
66
|
+
</picture>
|
|
67
|
+
{{/if}}
|
|
68
|
+
{{#xif "this.hero.backgroundImage.includeOverlay === true"}}
|
|
69
|
+
<div class="hero__background-overlay"></div>
|
|
70
|
+
{{/xif}}
|
|
71
|
+
{{#if this.hero.backgroundImage.wrapper}}</div>{{/if}}
|
|
72
|
+
{{/if}}
|
|
73
|
+
<div class="hero__container container">
|
|
74
|
+
<div class="hero__wrapper">
|
|
75
|
+
{{#if this.hero.moveHeroContentToTop}}
|
|
76
|
+
{{#if this.hero.formTemplateInclude}}
|
|
77
|
+
<div class="hero__content">
|
|
78
|
+
{{fileInclude this.hero.formTemplateInclude
|
|
79
|
+
form = this
|
|
80
|
+
}}
|
|
81
|
+
</div>
|
|
82
|
+
{{/if}}
|
|
83
|
+
{{/if}}
|
|
84
|
+
<div class="hero__header">
|
|
85
|
+
{{#if this.hero.titleSubTitleWrapperClass}}<div class="{{this.hero.titleSubTitleWrapperClass}}">{{/if}}
|
|
86
|
+
{{#if this.hero.title}}
|
|
87
|
+
{{#if this.hero.title.mobileText}}
|
|
88
|
+
<h1 class="hero__title{{#if this.hero.title.class}} {{this.hero.title.class}}{{/if}}"{{#if this.hero.title.id}} id="{{this.hero.title.id}}"{{/if}}{{#if this.hero.title.extraAttributes}}{{#each this.hero.title.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} data-theme-template="title">
|
|
89
|
+
<span class="visible-xs">{{{this.hero.title.mobileText}}}</span>
|
|
90
|
+
<span class="hidden-xs">{{{this.hero.title.text}}}</span>
|
|
91
|
+
</h1>
|
|
92
|
+
{{else}}
|
|
93
|
+
<h1 class="hero__title{{#if this.hero.title.class}} {{this.hero.title.class}}{{/if}}"{{#if this.hero.title.id}} id="{{this.hero.title.id}}"{{/if}}{{#if this.hero.title.extraAttributes}}{{#each this.hero.title.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} data-theme-template="title">
|
|
94
|
+
{{{this.hero.title.text}}}
|
|
95
|
+
</h1>
|
|
96
|
+
{{/if}}
|
|
97
|
+
{{/if}}
|
|
98
|
+
{{#if this.hero.additionalTitle}}
|
|
99
|
+
<h1 class="hero__title{{#if this.hero.additionalTitle.class}} {{this.hero.additionalTitle.class}}{{/if}}"{{#if this.hero.additionalTitle.id}} id="{{this.hero.additionalTitle.id}}"{{/if}}{{#if this.hero.additionalTitle.extraAttributes}}{{#each this.hero.additionalTitle.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>
|
|
100
|
+
{{{this.hero.additionalTitle.text}}}
|
|
101
|
+
</h1>
|
|
102
|
+
{{/if}}
|
|
103
|
+
{{#if this.hero.subtitle.text}}
|
|
104
|
+
<p class="hero__subtitle{{#if this.hero.subtitle.class}} {{this.hero.subtitle.class}}{{/if}}"{{#if this.hero.subtitle.id}} id="{{this.hero.subtitle.id}}"{{/if}}{{#if this.hero.subtitle.extraAttributes}} {{#each this.hero.subtitle.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} data-theme-template="subtitle">
|
|
105
|
+
{{{this.hero.subtitle.text}}}
|
|
106
|
+
</p>
|
|
107
|
+
{{/if}}
|
|
108
|
+
{{#if this.hero.titleSubTitleWrapperClass}}</div>{{/if}}
|
|
109
|
+
{{#this.hero.valueProps}}
|
|
110
|
+
{{ fileInclude 'src/shared-components/value-props/value-props.html'
|
|
111
|
+
props = this
|
|
112
|
+
}}
|
|
113
|
+
{{/this.hero.valueProps}}
|
|
114
|
+
</div>
|
|
115
|
+
{{#unless this.hero.moveHeroContentToTop}}
|
|
116
|
+
{{#if this.hero.formTemplateInclude}}
|
|
117
|
+
<div class="hero__content">
|
|
118
|
+
{{fileInclude this.hero.formTemplateInclude
|
|
119
|
+
form = this
|
|
120
|
+
}}
|
|
121
|
+
</div>
|
|
122
|
+
{{/if}}
|
|
123
|
+
{{/unless}}
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
$hiw-content-flex-direction-mobile: row !default;
|
|
2
|
+
$hiw-content-max-width-mobile: 320px !default;
|
|
3
|
+
$hiw-content-width-mobile: 90% !default;
|
|
4
|
+
$hiw-content-align-items-mobile: normal !default;
|
|
5
|
+
$hiw-content-flex-direction-desktop: column !default;
|
|
6
|
+
$hiw-content-max-width-desktop: 100% !default;
|
|
7
|
+
$hiw-content-width-desktop: 80% !default;
|
|
8
|
+
$hiw-content-align-items-desktop: center !default;
|
|
9
|
+
|
|
10
|
+
$hiw-card-divider: 2px dashed $color-charcoal1 !default;
|
|
11
|
+
$hiw-card-divider-height-mobile: 22px !default;
|
|
12
|
+
$hiw-card-divider-position-left-mobile: 29px !default;
|
|
13
|
+
$hiw-card-divider-position-top-mobile: -30px !default;
|
|
14
|
+
$hiw-card-divider-height-desktop: 100% !default;
|
|
15
|
+
$hiw-card-divider-position-left-desktop: 0 !default;
|
|
16
|
+
$hiw-card-divider-position-top-desktop: -20% !default;
|
|
17
|
+
|
|
18
|
+
$hiw-card-margin-bottom: 0 !default;
|
|
19
|
+
$hiw-text-align: center !default;
|
|
20
|
+
|
|
21
|
+
$hiw-icon-height: 100px !default;
|
|
22
|
+
$hiw-icon-width: $hiw-icon-height !default;
|
|
23
|
+
|
|
24
|
+
$hiw-title-color: $color-charcoal5 !default;
|
|
25
|
+
$hiw-title-font-size: 16px !default;
|
|
26
|
+
$hiw-title-font-weight: bold !default;
|
|
27
|
+
$hiw-title-line-height: 1.2 !default;
|
|
28
|
+
$hiw-title-margin: 15px 0 !default;
|
|
29
|
+
|
|
30
|
+
$hiw-desc-color: $color-charcoal4 !default;
|
|
31
|
+
$hiw-desc-font-size-mobile: 14px !default;
|
|
32
|
+
$hiw-desc-font-size-desktop: $hiw-desc-font-size-mobile !default;
|
|
33
|
+
$hiw-desc-line-height: 1.57 !default;
|
|
34
|
+
$hiw-desc-margin-mobile: 0 0 15px !default;
|
|
35
|
+
$hiw-desc-margin-desktop: $hiw-desc-margin-mobile !default;
|
|
36
|
+
|
|
37
|
+
.hiw-card {
|
|
38
|
+
margin-bottom: $hiw-card-margin-bottom;
|
|
39
|
+
text-align: $hiw-text-align;
|
|
40
|
+
|
|
41
|
+
&__wrapper {
|
|
42
|
+
margin: auto;
|
|
43
|
+
max-width: 260px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__icon {
|
|
47
|
+
height: $hiw-icon-height;
|
|
48
|
+
width: $hiw-icon-width;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__title {
|
|
52
|
+
color: $hiw-title-color;
|
|
53
|
+
font-size: $hiw-title-font-size;
|
|
54
|
+
font-weight: $hiw-title-font-weight;
|
|
55
|
+
line-height: $hiw-title-line-height;
|
|
56
|
+
margin: $hiw-title-margin;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__description {
|
|
60
|
+
color: $hiw-desc-color;
|
|
61
|
+
font-size: $hiw-desc-font-size-mobile;
|
|
62
|
+
line-height: $hiw-desc-line-height;
|
|
63
|
+
margin: $hiw-desc-margin-mobile;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hiw-block__content {
|
|
68
|
+
display: block;
|
|
69
|
+
margin: 0 auto;
|
|
70
|
+
max-width: $hiw-content-max-width-mobile;
|
|
71
|
+
text-align: left;
|
|
72
|
+
width: $hiw-content-width-mobile;
|
|
73
|
+
|
|
74
|
+
.hiw-card {
|
|
75
|
+
flex: 1;
|
|
76
|
+
position: relative;
|
|
77
|
+
text-align: left;
|
|
78
|
+
|
|
79
|
+
&__wrapper {
|
|
80
|
+
align-items: $hiw-content-align-items-mobile;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: $hiw-content-flex-direction-mobile;
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__icon {
|
|
87
|
+
min-height: $hiw-icon-height;
|
|
88
|
+
min-width: $hiw-icon-width;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
~ .hiw-card {
|
|
92
|
+
&:before{
|
|
93
|
+
border-left: $hiw-card-divider;
|
|
94
|
+
content: '';
|
|
95
|
+
height: $hiw-card-divider-height-mobile;
|
|
96
|
+
left: $hiw-card-divider-position-left-mobile;
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: $hiw-card-divider-position-top-mobile;
|
|
99
|
+
width: 1px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@include breakpoint-sm {
|
|
106
|
+
.hiw-block__content {
|
|
107
|
+
align-items: center;
|
|
108
|
+
display: flex;
|
|
109
|
+
max-width: $hiw-content-max-width-desktop;
|
|
110
|
+
text-align: $hiw-text-align;
|
|
111
|
+
width: $hiw-content-width-desktop;
|
|
112
|
+
|
|
113
|
+
.hiw-card {
|
|
114
|
+
text-align: $hiw-text-align;
|
|
115
|
+
|
|
116
|
+
&__wrapper {
|
|
117
|
+
align-items: $hiw-content-align-items-desktop;
|
|
118
|
+
flex-direction: $hiw-content-flex-direction-desktop;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
~ .hiw-card {
|
|
122
|
+
&:before {
|
|
123
|
+
height: $hiw-card-divider-height-desktop;
|
|
124
|
+
left: $hiw-card-divider-position-left-desktop;
|
|
125
|
+
top: $hiw-card-divider-position-top-desktop;
|
|
126
|
+
transform: rotate(90deg);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.hiw-card {
|
|
133
|
+
&__description {
|
|
134
|
+
font-size: $hiw-desc-font-size-desktop;
|
|
135
|
+
margin: $hiw-desc-margin-desktop;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{{#xif "!this.carouselOptions"}}
|
|
2
|
+
<ul class="hiw-block__content">
|
|
3
|
+
{{/xif}}
|
|
4
|
+
{{#each this.items}}
|
|
5
|
+
<li class="{{#if ../this.carouselOptions}}swiper-slide {{/if}}hiw-card{{#if ../this.classModifier}} {{../this.classModifier}}{{/if}}">
|
|
6
|
+
<div class="hiw-card__wrapper">
|
|
7
|
+
{{#if this.illustration}}
|
|
8
|
+
<svg class="hiw-card__icon" role="img">
|
|
9
|
+
<use href="{{#unless this.isLocalSrc}}{{#xif 'isLocal === "true"'}}/temp/assets{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{/xif}}{{/unless}}{{this.illustration}}"></use>
|
|
10
|
+
</svg>
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#if this.title}}<p class="hiw-card__title">{{{this.title}}}</p>{{/if}}
|
|
13
|
+
{{#if this.description}}<p class="hiw-card__description">{{{this.description}}}</p>{{/if}}
|
|
14
|
+
</div>
|
|
15
|
+
</li>
|
|
16
|
+
{{/each}}
|
|
17
|
+
{{#xif "!this.carouselOptions"}}
|
|
18
|
+
</ul>
|
|
19
|
+
{{/xif}}
|