mod-build 4.0.9 → 4.0.10
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 -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/scripts/default/update-link-paths.js +11 -4
- package/src/scripts/globals.js +1 -1
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
$button-border-radius: 2px !default;
|
|
2
|
+
$button-cursor: pointer !default;
|
|
3
|
+
$button-display: inline-block !default;
|
|
4
|
+
$button-font-family: $base-font-family !default;
|
|
5
|
+
$button-font-size: 1.25rem !default;
|
|
6
|
+
$button-font-size-desktop: $button-font-size !default;
|
|
7
|
+
$button-font-style: normal !default;
|
|
8
|
+
$button-font-weight: 700 !default;
|
|
9
|
+
$button-height: 50px !default;
|
|
10
|
+
$button-height-desktop: $button-height !default;
|
|
11
|
+
$button-letter-spacing: 0 !default;
|
|
12
|
+
$button-line-height: 1.05 !default;
|
|
13
|
+
$button-margin: 10px 0 !default;
|
|
14
|
+
$button-padding: 15px 30px !default;
|
|
15
|
+
$button-position: relative !default;
|
|
16
|
+
$button-text-align: center !default;
|
|
17
|
+
$button-text-decoration: none !default;
|
|
18
|
+
$button-text-transform: uppercase !default;
|
|
19
|
+
$button-transition: color .15s ease-in-out, background-color .15s ease-in-out, border .15s ease-in-out !default;
|
|
20
|
+
$button-width: 100% !default;
|
|
21
|
+
$button-z-index: 0 !default;
|
|
22
|
+
|
|
23
|
+
$back-button-align-items: center !default;
|
|
24
|
+
$back-button-background-color: transparent !default;
|
|
25
|
+
$back-button-border: 0 !default;
|
|
26
|
+
$back-button-border-radius: 0 !default;
|
|
27
|
+
$back-button-color: $color-charcoal4 !default;
|
|
28
|
+
$back-button-display: flex !default;
|
|
29
|
+
$back-button-initial-display: none !default;
|
|
30
|
+
$back-button-font-size: .875rem !default;
|
|
31
|
+
$back-button-font-weight: 400 !default;
|
|
32
|
+
$back-button-height: auto !default;
|
|
33
|
+
$back-button-line-height: $button-line-height !default;
|
|
34
|
+
$back-button-margin: 10px 0 0 !default;
|
|
35
|
+
$back-button-padding: 2px 5px !default;
|
|
36
|
+
$back-button-margin-desktop: $back-button-margin !default;
|
|
37
|
+
$back-button-padding-desktop: $back-button-padding !default;
|
|
38
|
+
$back-button-hover-background-color: transparent !default;
|
|
39
|
+
$back-button-hover-color: darken($back-button-color, 10%) !default;
|
|
40
|
+
$back-button-icon-font-size: 90% !default;
|
|
41
|
+
$back-button-icon-margin-right: 4px !default;
|
|
42
|
+
|
|
43
|
+
$back-button-focus-outline: 1px solid rgba($back-button-color, .5) !default;
|
|
44
|
+
$back-button-focus-outline-offset: 2px !default;
|
|
45
|
+
|
|
46
|
+
$button-primary-background-color: $color-a11y-default-button !default;
|
|
47
|
+
$button-primary-border: 0 !default;
|
|
48
|
+
$button-primary-color: $color-white !default;
|
|
49
|
+
$button-primary-font-family: $button-font-family !default;
|
|
50
|
+
$button-primary-max-width: 100% !default;
|
|
51
|
+
$button-primary-hover-background-color: $color-a11y-default-button-hover !default;
|
|
52
|
+
$button-primary-hover-border: $button-primary-border !default;
|
|
53
|
+
$button-primary-hover-color: $color-white !default;
|
|
54
|
+
|
|
55
|
+
$button-secondary-background-color: $button-primary-background-color !default;
|
|
56
|
+
$button-secondary-border: $button-primary-border !default;
|
|
57
|
+
$button-secondary-color: $button-primary-color !default;
|
|
58
|
+
$button-secondary-font-family: $button-font-family !default;
|
|
59
|
+
$button-secondary-font-size: $button-font-size !default;
|
|
60
|
+
$button-secondary-font-size-desktop: $button-secondary-font-size !default;
|
|
61
|
+
$button-secondary-font-style: $button-font-style !default;
|
|
62
|
+
$button-secondary-height: $button-height !default;
|
|
63
|
+
$button-secondary-height-desktop: $button-secondary-height !default;
|
|
64
|
+
$button-secondary-max-width: 100% !default;
|
|
65
|
+
$button-secondary-padding: $button-padding !default;
|
|
66
|
+
$button-secondary-text-transform: $button-text-transform !default;
|
|
67
|
+
$button-secondary-hover-background-color: $button-primary-hover-background-color !default;
|
|
68
|
+
$button-secondary-hover-border: $button-primary-hover-border !default;
|
|
69
|
+
$button-secondary-hover-color: $button-primary-hover-color !default;
|
|
70
|
+
|
|
71
|
+
$button-icon-position: absolute !default;
|
|
72
|
+
$button-icon-font-family: 'modicons-fill' !default;
|
|
73
|
+
$button-icon-font-size: .875rem !default;
|
|
74
|
+
$button-icon-bottom: unset !default;
|
|
75
|
+
$button-icon-left: unset !default;
|
|
76
|
+
$button-icon-right: 15px !default;
|
|
77
|
+
$button-icon-top: 50% !default;
|
|
78
|
+
$button-icon-transform: translateY(-50%) !default;
|
|
79
|
+
|
|
80
|
+
$button-spinner-default-easing: cubic-bezier(.4, .1, .5, 1);
|
|
81
|
+
$button-spinner-default-border-color: $button-primary-background-color !default;
|
|
82
|
+
$button-spinner-default-border-right-color: $color-white !default;
|
|
83
|
+
$button-spinner-default-border-top-color: $button-spinner-default-border-right-color !default;
|
|
84
|
+
|
|
85
|
+
$button-spinner-primary-border-color: $button-primary-background-color !default;
|
|
86
|
+
$button-spinner-primary-border-right-color: $color-white !default;
|
|
87
|
+
$button-spinner-primary-border-top-color: $button-spinner-default-border-right-color !default;
|
|
88
|
+
|
|
89
|
+
$button-spinner-secondary-border-color: $button-secondary-background-color!default;
|
|
90
|
+
$button-spinner-secondary-border-right-color: $color-white !default;
|
|
91
|
+
$button-spinner-secondary-border-top-color: $button-spinner-default-border-right-color !default;
|
|
92
|
+
|
|
93
|
+
$button-disabled-cursor: not-allowed !default;
|
|
94
|
+
$button-disabled-opacity: .65 !default;
|
|
95
|
+
|
|
96
|
+
@keyframes spinnerAnim {
|
|
97
|
+
from { transform: rotate(0deg); }
|
|
98
|
+
to { transform: rotate(360deg); }
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.btn {
|
|
102
|
+
border-radius: $button-border-radius;
|
|
103
|
+
cursor: $button-cursor;
|
|
104
|
+
display: $button-display;
|
|
105
|
+
font-family: $button-font-family;
|
|
106
|
+
font-size: $button-font-size;
|
|
107
|
+
font-style: $button-font-style;
|
|
108
|
+
font-weight: $button-font-weight;
|
|
109
|
+
height: $button-height;
|
|
110
|
+
letter-spacing: $button-letter-spacing;
|
|
111
|
+
line-height: $button-line-height;
|
|
112
|
+
margin: $button-margin;
|
|
113
|
+
padding: $button-padding;
|
|
114
|
+
position: $button-position;
|
|
115
|
+
text-align: $button-text-align;
|
|
116
|
+
text-decoration: $button-text-decoration;
|
|
117
|
+
text-transform: $button-text-transform;
|
|
118
|
+
transition: $button-transition;
|
|
119
|
+
width: $button-width;
|
|
120
|
+
z-index: $button-z-index;
|
|
121
|
+
|
|
122
|
+
&__spinner {
|
|
123
|
+
display: block;
|
|
124
|
+
margin: 0 auto;
|
|
125
|
+
height: 20px;
|
|
126
|
+
left: 50%;
|
|
127
|
+
opacity: 0;
|
|
128
|
+
position: absolute;
|
|
129
|
+
top: 50%;
|
|
130
|
+
transform: translate(-50%, -50%);
|
|
131
|
+
transition: opacity .1s $button-spinner-default-easing;
|
|
132
|
+
visibility: hidden;
|
|
133
|
+
width: 20px;
|
|
134
|
+
|
|
135
|
+
&::before {
|
|
136
|
+
content: '';
|
|
137
|
+
display: inline-block;
|
|
138
|
+
height: 100%;
|
|
139
|
+
vertical-align: middle;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&::after {
|
|
143
|
+
animation: spinnerAnim 1.5s linear infinite;
|
|
144
|
+
border: 4px solid darken($button-spinner-default-border-color, 20);
|
|
145
|
+
border-radius: 50%;
|
|
146
|
+
border-right-color: $button-spinner-default-border-right-color;
|
|
147
|
+
border-top-color: $button-spinner-default-border-top-color;
|
|
148
|
+
content: '';
|
|
149
|
+
display: block;
|
|
150
|
+
height: 100%;
|
|
151
|
+
left: 0;
|
|
152
|
+
position: absolute;
|
|
153
|
+
top: 0;
|
|
154
|
+
width: 100%;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&__icon {
|
|
159
|
+
bottom: $button-icon-bottom;
|
|
160
|
+
font-family: $button-icon-font-family;
|
|
161
|
+
font-size: $button-icon-font-size;
|
|
162
|
+
left: $button-icon-left;
|
|
163
|
+
position: $button-icon-position;
|
|
164
|
+
right: $button-icon-right;
|
|
165
|
+
top: $button-icon-top;
|
|
166
|
+
transform: $button-icon-transform;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&--back {
|
|
170
|
+
align-items: $back-button-align-items;
|
|
171
|
+
background-color: $back-button-background-color;
|
|
172
|
+
border: $back-button-border;
|
|
173
|
+
border-radius: $back-button-border-radius;
|
|
174
|
+
color: $back-button-color;
|
|
175
|
+
cursor: $button-cursor;
|
|
176
|
+
display: $back-button-initial-display;
|
|
177
|
+
font-size: $back-button-font-size;
|
|
178
|
+
font-family: $button-font-family;
|
|
179
|
+
font-weight: $back-button-font-weight;
|
|
180
|
+
height: $back-button-height;
|
|
181
|
+
line-height: $back-button-line-height;
|
|
182
|
+
margin: $back-button-margin;
|
|
183
|
+
padding: $back-button-padding;
|
|
184
|
+
transition: $button-transition;
|
|
185
|
+
|
|
186
|
+
i {
|
|
187
|
+
font-size: $back-button-icon-font-size;
|
|
188
|
+
margin-right: $back-button-icon-margin-right;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&:focus {
|
|
192
|
+
outline: $back-button-focus-outline;
|
|
193
|
+
outline-offset: $back-button-focus-outline-offset;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&--primary {
|
|
198
|
+
background-color: $button-primary-background-color;
|
|
199
|
+
border: $button-primary-border;
|
|
200
|
+
color: $button-primary-color;
|
|
201
|
+
font-family: $button-primary-font-family;
|
|
202
|
+
max-width: $button-primary-max-width;
|
|
203
|
+
|
|
204
|
+
.btn__spinner {
|
|
205
|
+
&::after {
|
|
206
|
+
border: 4px solid darken($button-spinner-primary-border-color, 20);
|
|
207
|
+
border-right-color: $button-spinner-primary-border-right-color;
|
|
208
|
+
border-top-color: $button-spinner-primary-border-top-color;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&--secondary {
|
|
214
|
+
background-color: $button-secondary-background-color;
|
|
215
|
+
border: $button-secondary-border;
|
|
216
|
+
color: $button-secondary-color;
|
|
217
|
+
font-family: $button-secondary-font-family;
|
|
218
|
+
font-size: $button-secondary-font-size;
|
|
219
|
+
font-style: $button-secondary-font-style;
|
|
220
|
+
height: $button-secondary-height;
|
|
221
|
+
max-width: $button-secondary-max-width;
|
|
222
|
+
padding: $button-secondary-padding;
|
|
223
|
+
text-transform: $button-secondary-text-transform;
|
|
224
|
+
|
|
225
|
+
.btn__spinner {
|
|
226
|
+
&::after {
|
|
227
|
+
border: 4px solid darken($button-spinner-secondary-border-color, 20);
|
|
228
|
+
border-right-color: $button-spinner-secondary-border-right-color;
|
|
229
|
+
border-top-color: $button-spinner-secondary-border-top-color;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&--loading {
|
|
235
|
+
cursor: wait;
|
|
236
|
+
|
|
237
|
+
.btn__text {
|
|
238
|
+
visibility: hidden;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.btn__spinner {
|
|
242
|
+
opacity: 1;
|
|
243
|
+
visibility: visible;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&--primary,
|
|
248
|
+
&--secondary {
|
|
249
|
+
&:disabled {
|
|
250
|
+
cursor: $button-disabled-cursor;
|
|
251
|
+
opacity: $button-disabled-opacity;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.form--loading {
|
|
257
|
+
.btn {
|
|
258
|
+
cursor: wait;
|
|
259
|
+
|
|
260
|
+
&__text {
|
|
261
|
+
visibility: hidden;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&__spinner {
|
|
265
|
+
opacity: 1;
|
|
266
|
+
visibility: visible;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.form-in-progress {
|
|
272
|
+
.btn--back {
|
|
273
|
+
display: $back-button-display;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@include breakpoint-md {
|
|
278
|
+
.btn {
|
|
279
|
+
font-size: $button-font-size-desktop;
|
|
280
|
+
height: $button-height-desktop;
|
|
281
|
+
|
|
282
|
+
&--back {
|
|
283
|
+
margin: $back-button-margin-desktop;
|
|
284
|
+
padding: $back-button-padding-desktop;
|
|
285
|
+
|
|
286
|
+
&:hover,
|
|
287
|
+
&:active,
|
|
288
|
+
&:focus {
|
|
289
|
+
background-color: $back-button-hover-background-color;
|
|
290
|
+
color: $back-button-hover-color;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
&--primary {
|
|
295
|
+
&:hover,
|
|
296
|
+
&:active,
|
|
297
|
+
&:focus {
|
|
298
|
+
background-color: $button-primary-hover-background-color;
|
|
299
|
+
border: $button-primary-hover-border;
|
|
300
|
+
color: $button-primary-hover-color;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&--secondary {
|
|
306
|
+
font-size: $button-secondary-font-size-desktop;
|
|
307
|
+
height: $button-secondary-height-desktop;
|
|
308
|
+
|
|
309
|
+
&:hover,
|
|
310
|
+
&:active,
|
|
311
|
+
&:focus {
|
|
312
|
+
background-color: $button-secondary-hover-background-color;
|
|
313
|
+
border: $button-secondary-hover-border;
|
|
314
|
+
color: $button-secondary-hover-color;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<button class="btn--back back-btn{{#if class}} {{class}}{{/if}}" data-btn="back" type="button">
|
|
2
|
+
<i class="{{#if icon}}{{icon}}{{else}}icon-caret-left{{/if}}"></i>
|
|
3
|
+
{{#if iconOnly}}
|
|
4
|
+
<span class="visually-hidden">Back</span>
|
|
5
|
+
{{else}}
|
|
6
|
+
Back
|
|
7
|
+
{{/if}}
|
|
8
|
+
</button>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{{#xif 'this.button.tag && this.button.tag === "a"'}}
|
|
2
|
+
<a class="btn{{#xif 'this.button.attributes && this.button.attributes.class || this.class'}}{{#if this.button.attributes.class}} {{this.button.attributes.class}}{{/if}}{{#if this.class}} {{this.class}}{{/if}}{{/xif}}" {{{addAttributes this.button 'class'}}}>
|
|
3
|
+
{{else}}
|
|
4
|
+
<button class="btn{{#xif 'this.button.attributes && this.button.attributes.class'}} {{this.button.attributes.class}}{{/xif}}" {{{addAttributes this.button 'class'}}}>
|
|
5
|
+
{{/xif}}
|
|
6
|
+
<span class="btn__text">{{{this.button.text}}}</span>
|
|
7
|
+
{{#if this.button.icon}}
|
|
8
|
+
<i class="btn__icon{{#xif 'this.button.icon.attributes && this.button.icon.attributes.class'}} {{this.button.icon.attributes.class}}{{/xif}}" {{{addAttributes this.button.icon 'class'}}}></i>
|
|
9
|
+
{{/if}}
|
|
10
|
+
{{#xif 'this.button.tag && this.button.tag === "a"'}}
|
|
11
|
+
</a>
|
|
12
|
+
{{else}}
|
|
13
|
+
{{#unless this.button.hideSpinner}}
|
|
14
|
+
<span class="btn__spinner"></span>
|
|
15
|
+
{{/unless}}
|
|
16
|
+
</button>
|
|
17
|
+
{{/xif}}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
$swiper-margin-top: 0 !default;
|
|
2
|
+
$swiper-padding-top: 0 !default;
|
|
3
|
+
|
|
4
|
+
$swiper-controls-padding: 30px 15px !default;
|
|
5
|
+
$swiper-controls-padding-desktop: 50px 15px !default;
|
|
6
|
+
$swiper-navigation-color: $color-charcoal4 !default;
|
|
7
|
+
$swiper-navigation-hover-color: darken($swiper-navigation-color, 10%) !default;
|
|
8
|
+
$swiper-pagination-margin: 0 10px !default;
|
|
9
|
+
$swiper-pagination-bottom-alignment: 0 !default;
|
|
10
|
+
$swiper-pagination-bullet-background-color: transparent !default;
|
|
11
|
+
$swiper-pagination-bullet-border: 1px solid $swiper-navigation-color !default;
|
|
12
|
+
$swiper-pagination-bullet-margin: 0 8px !default;
|
|
13
|
+
$swiper-pagination-bullet-height: 8px !default;
|
|
14
|
+
$swiper-pagination-bullet-width: 8px !default;
|
|
15
|
+
$swiper-pagination-bullet-hover-background-color: darken($swiper-navigation-color, 10%) !default;
|
|
16
|
+
$swiper-pagination-bullet-hover-border: 0 !default;
|
|
17
|
+
$swiper-pagination-bullet-active-background-color: $swiper-navigation-color !default;
|
|
18
|
+
$swiper-pagination-bullet-active-border: 0 !default;
|
|
19
|
+
|
|
20
|
+
$swiper-scrollbar-background-color: $color-charcoal1 !default;
|
|
21
|
+
$swiper-scrollbar-drag-color: $color-charcoal4 !default;
|
|
22
|
+
$swiper-scrollbar-height: 4px !default;
|
|
23
|
+
|
|
24
|
+
.swiper {
|
|
25
|
+
margin-top: $swiper-margin-top;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
padding-top: $swiper-padding-top;
|
|
28
|
+
|
|
29
|
+
.swiper-wrapper{
|
|
30
|
+
display: flex;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.swiper-controls {
|
|
34
|
+
align-items: center;
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
padding: $swiper-controls-padding;
|
|
38
|
+
|
|
39
|
+
i.icon {
|
|
40
|
+
color: $swiper-navigation-color;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
transition: $base-transition;
|
|
43
|
+
|
|
44
|
+
&:not(.swiper-button-disabled) {
|
|
45
|
+
&:active,
|
|
46
|
+
&:focus,
|
|
47
|
+
&:hover {
|
|
48
|
+
color: $swiper-navigation-hover-color;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.swiper-pagination {
|
|
54
|
+
margin: $swiper-pagination-margin;
|
|
55
|
+
position: relative;
|
|
56
|
+
|
|
57
|
+
.swiper-pagination-bullet {
|
|
58
|
+
background-color: $swiper-pagination-bullet-background-color;
|
|
59
|
+
border: $swiper-pagination-bullet-border;
|
|
60
|
+
height: $swiper-pagination-bullet-height;
|
|
61
|
+
opacity: 1;
|
|
62
|
+
transition: $base-transition;
|
|
63
|
+
width: $swiper-pagination-bullet-width;
|
|
64
|
+
|
|
65
|
+
&:active,
|
|
66
|
+
&:focus,
|
|
67
|
+
&:hover {
|
|
68
|
+
background-color: $swiper-pagination-bullet-hover-background-color;
|
|
69
|
+
border: $swiper-pagination-bullet-hover-border;
|
|
70
|
+
outline: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-active {
|
|
74
|
+
background-color: $swiper-pagination-bullet-active-background-color;
|
|
75
|
+
border: $swiper-pagination-bullet-active-border;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.swiper-pagination-horizontal {
|
|
80
|
+
bottom: $swiper-pagination-bottom-alignment;
|
|
81
|
+
width: auto;
|
|
82
|
+
|
|
83
|
+
.swiper-pagination-bullet {
|
|
84
|
+
margin: $swiper-pagination-bullet-margin;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&-scrollbar {
|
|
91
|
+
background: $swiper-scrollbar-background-color;
|
|
92
|
+
height: $swiper-scrollbar-height;
|
|
93
|
+
|
|
94
|
+
&-drag {
|
|
95
|
+
background-color: $swiper-scrollbar-drag-color;
|
|
96
|
+
height: 100%;
|
|
97
|
+
width: 100%;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&--reviews {
|
|
102
|
+
padding-top: 50px !important;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@include breakpoint-md {
|
|
107
|
+
.swiper {
|
|
108
|
+
.swiper-controls {
|
|
109
|
+
padding: $swiper-controls-padding-desktop;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<div class="swiper{{#xif 'this.carousel.carouselOptions.attributes && this.carousel.carouselOptions.attributes.class'}} {{this.carousel.carouselOptions.attributes.class}}{{/xif}}" {{{addAttributes this.carousel.carouselOptions 'class'}}}>
|
|
2
|
+
{{#if this.carousel.carouselOptions.attributes.aria.describedby}}
|
|
3
|
+
<p class="visually-hidden" id="{{this.carousel.carouselOptions.attributes.aria.describedby}}">{{{this.carousel.carouselOptions.description}}}</p>
|
|
4
|
+
{{/if}}
|
|
5
|
+
<ul class="swiper-wrapper"{{#if this.carousel.carouselOptions.wrapper}} {{{addAttributes this.carousel.carouselOptions.wrapper 'class'}}}{{/if}}>
|
|
6
|
+
{{#if this.carousel.template}}
|
|
7
|
+
{{fileInclude this.carousel.template
|
|
8
|
+
items = this.carousel.items
|
|
9
|
+
classModifier = this.carousel.classModifier
|
|
10
|
+
carouselOptions = this.carousel.carouselOptions
|
|
11
|
+
}}
|
|
12
|
+
{{/if}}
|
|
13
|
+
</ul>
|
|
14
|
+
|
|
15
|
+
{{#xif "this.carousel.carouselOptions.hasNavigation === true || this.carousel.carouselOptions.hasPagination === true" }}
|
|
16
|
+
<div class="swiper-controls">
|
|
17
|
+
{{#if this.carousel.carouselOptions.previousSlideIcon }}{{{ this.carousel.carouselOptions.previousSlideIcon }}}{{/if}}
|
|
18
|
+
{{#if this.carousel.carouselOptions.hasPagination }}<div class="swiper-pagination"></div>{{/if}}
|
|
19
|
+
{{#if this.carousel.carouselOptions.nextSlideIcon }}{{{ this.carousel.carouselOptions.nextSlideIcon }}}{{/if}}
|
|
20
|
+
</div>
|
|
21
|
+
{{/xif}}
|
|
22
|
+
{{#if this.carousel.carouselOptions.hasScrollbar }}
|
|
23
|
+
<div class="swiper-scrollbar"></div>
|
|
24
|
+
{{/if}}
|
|
25
|
+
</div>
|