mod-build 4.0.0-alpha.1 → 4.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/gulp-tasks/add-path-subdirectories.js +2 -2
  2. package/gulp-tasks/grab-shared-scripts.js +16 -3
  3. package/package.json +7 -9
  4. package/src/accessible-components/button/_button.scss +0 -195
  5. package/src/accessible-components/button/back-button.html +0 -4
  6. package/src/accessible-components/button/button.html +0 -17
  7. package/src/accessible-components/carousel/_carousel.scss +0 -112
  8. package/src/accessible-components/carousel/carousel.html +0 -25
  9. package/src/accessible-components/checkbox/_checkbox.scss +0 -96
  10. package/src/accessible-components/checkbox/checkbox.html +0 -8
  11. package/src/accessible-components/expand-collapse/_expand-collapse.scss +0 -122
  12. package/src/accessible-components/expand-collapse/expand-collapse.html +0 -8
  13. package/src/accessible-components/expand-collapse/expand-collapse.js +0 -52
  14. package/src/accessible-components/expand-collapse/expand-collapse.min.js +0 -2
  15. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +0 -1
  16. package/src/accessible-components/featured-block/_featured-block.scss +0 -219
  17. package/src/accessible-components/featured-block/featured-block.html +0 -54
  18. package/src/accessible-components/foot-assets/foot-assets.html +0 -92
  19. package/src/accessible-components/footer/footer.html +0 -2
  20. package/src/accessible-components/gtm-body/gtm-body.html +0 -4
  21. package/src/accessible-components/head/head.html +0 -188
  22. package/src/accessible-components/header/_header.scss +0 -289
  23. package/src/accessible-components/header/header.html +0 -66
  24. package/src/accessible-components/hero/_hero.scss +0 -371
  25. package/src/accessible-components/hero/hero.html +0 -53
  26. package/src/accessible-components/how-it-works/_how-it-works.scss +0 -217
  27. package/src/accessible-components/how-it-works/how-it-works-carousel.html +0 -12
  28. package/src/accessible-components/how-it-works/how-it-works-static.html +0 -12
  29. package/src/accessible-components/how-it-works/how-it-works.html +0 -14
  30. package/src/accessible-components/information/_information.scss +0 -92
  31. package/src/accessible-components/information/information.html +0 -26
  32. package/src/accessible-components/input/_input.scss +0 -202
  33. package/src/accessible-components/input/input.html +0 -22
  34. package/src/accessible-components/input/textarea.html +0 -9
  35. package/src/accessible-components/partners/_partners.scss +0 -232
  36. package/src/accessible-components/partners/partners.html +0 -56
  37. package/src/accessible-components/picture/picture.html +0 -19
  38. package/src/accessible-components/preloader/_preloader.scss +0 -61
  39. package/src/accessible-components/preloader/preloader.html +0 -23
  40. package/src/accessible-components/progress-bar/_progress-bar.scss +0 -119
  41. package/src/accessible-components/progress-bar/progress-bar.html +0 -21
  42. package/src/accessible-components/progress-bar/progress-bar.js +0 -37
  43. package/src/accessible-components/progress-bar/progress-bar.min.js +0 -2
  44. package/src/accessible-components/progress-bar/progress-bar.min.js.map +0 -1
  45. package/src/accessible-components/radio-button/_radio-button.scss +0 -537
  46. package/src/accessible-components/radio-button/radio-button.html +0 -34
  47. package/src/accessible-components/reviews/_reviews.scss +0 -175
  48. package/src/accessible-components/reviews/reviews-carousel.html +0 -12
  49. package/src/accessible-components/reviews/reviews-static.html +0 -12
  50. package/src/accessible-components/reviews/reviews.html +0 -37
  51. package/src/accessible-components/select/_select.scss +0 -69
  52. package/src/accessible-components/select/select.html +0 -10
  53. package/src/accessible-components/steps/_steps.scss +0 -524
  54. package/src/accessible-components/steps/defaultFormFieldConfig.json +0 -109
  55. package/src/accessible-components/steps/step-fields.html +0 -33
  56. package/src/accessible-components/steps/steps.html +0 -150
  57. package/src/accessible-components/tcpa/_tcpa.scss +0 -49
  58. package/src/accessible-components/tcpa/tcpa.html +0 -9
  59. package/src/accessible-components/tile/_tile.scss +0 -117
  60. package/src/accessible-components/tile/tile.html +0 -14
  61. package/src/accessible-components/value-props/_value-props.scss +0 -100
  62. package/src/accessible-components/value-props/value-props.html +0 -17
  63. package/src/accessible-components/zip-control/_zip-control.scss +0 -78
  64. package/src/accessible-components/zip-control/zip-control.html +0 -10
  65. package/src/data/theme.json +0 -164
  66. package/src/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +0 -2
  67. package/src/resources/scripts/abandonment/abandonment.min.js +0 -2
  68. package/src/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +0 -2
  69. package/src/resources/scripts/footer/footer-component.min.js +0 -2
  70. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js +0 -2
  71. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js.map +0 -1
  72. package/src/resources/scripts/helpers/isZipCodeValid.min.js +0 -2
  73. package/src/resources/scripts/helpers/isZipCodeValid.min.js.map +0 -1
  74. package/src/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +0 -2
  75. package/src/resources/scripts/mod-alytics/modalytics.min.js +0 -2
  76. package/src/resources/scripts/mod-form/form/homeowner-77a4dd439b8db412678b.min.js +0 -2
  77. package/src/resources/scripts/mod-form/form/homeowner.min.js +0 -2
  78. package/src/resources/scripts/mod-utils/modutils-8ba40d21f559171ddd36.min.js +0 -2
  79. package/src/resources/scripts/mod-utils/modutils.min.js +0 -2
  80. package/src/resources/styles/components/abandonment/abandonment-ae63aca828944411eff7.min.css +0 -1
  81. package/src/resources/styles/components/abandonment/abandonment.min.css +0 -1
  82. package/src/resources/styles/components/footer/mod-footer-3717faf57147c62c1777.min.css +0 -1
  83. package/src/resources/styles/components/footer/mod-footer.min.css +0 -1
  84. package/src/resources/styles/components/footer/qs-footer-12bf078dc614ff221c3c.min.css +0 -1
  85. package/src/resources/styles/components/footer/qs-footer.min.css +0 -1
  86. package/src/resources/templates/modals/about/index.html +0 -9
  87. package/src/resources/templates/modals/contact-us/index.html +0 -348
  88. package/src/resources/templates/modals/faq/index.html +0 -9
  89. package/src/resources/templates/modals/privacy/index.html +0 -236
  90. package/src/resources/templates/modals/terms/index.html +0 -166
  91. package/src/temp/scripts/maxmind-geoip2.js +0 -104
@@ -11,7 +11,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
11
11
  return `href="${pathSubdirectory}favicon.ico"`;
12
12
  }))
13
13
  .pipe(replace(/((src=")(images|scripts|shared-components)\/[^"]+")/g, function(match, path) {
14
- if (path.startsWith('src="images') || path.startsWith('src="scripts') || path.startsWith('src="shared-components')) {
14
+ if (path.startsWith('src="images') || path.startsWith('src="scripts') || path.startsWith('src="shared-components') || path.startsWith('src="accessible-components')) {
15
15
  return `src="${pathSubdirectory}${path.slice(5)}`;
16
16
  }
17
17
  return match;
@@ -23,7 +23,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
23
23
  return match;
24
24
  }))
25
25
  .pipe(replace(/((href=")(images|styles|shared-components)\/[^"]+")/g, function(match, path) {
26
- if (path.startsWith('href="images') || path.startsWith('href="styles') || path.startsWith('href="shared-components')) {
26
+ if (path.startsWith('href="images') || path.startsWith('href="styles') || path.startsWith('href="shared-components') || path.startsWith('src="accessible-components')) {
27
27
  return `href="${pathSubdirectory}${path.slice(6)}`;
28
28
  }
29
29
  return match;
@@ -13,7 +13,8 @@ const fileNames = {
13
13
  footerComponentJsFileName: '',
14
14
  modFooterStylesFileName: '',
15
15
  qsFooterStylesFileName: '',
16
- homeownerFormFileName: ''
16
+ homeownerFormFileName: '',
17
+ callrailFileName: ''
17
18
  };
18
19
  var isQuotePageOrUseRelativePath = false;
19
20
  var resourceURL = '';
@@ -29,9 +30,11 @@ function replaceModalyticsSrc(gulp, gulpPlugins, siteSettings, siteData) {
29
30
  function replaceFootAssetScripts(gulp, gulpPlugins, siteSettings, siteData) {
30
31
  const resourcePath = isQuotePageOrUseRelativePath ? `${pathSubdirectory}{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}resources/scripts` : '/resources/scripts';
31
32
  return gulp.src(`${siteSettings.srcFolder}/${componentFolderPath}/foot-assets/foot-assets.html`)
32
- .pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"|"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"|"(?:(?!"|")[\s\S])+(mod-form\/form.*?)js"/g, function(match) {
33
- if (match.includes('mod-form/form')) {
33
+ .pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"|"(?:(?!"|")[\s\S])+(callrail.*?)js"|"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"|"(?:(?!"|")[\s\S])+(mod-form\/form.*?)js"/g, function(match) {
34
+ if (match.includes('mod-form/form')) {
34
35
  return `"${resourcePath}/mod-form/form/${fileNames.homeownerFormFileName}"`;
36
+ } else if (match.includes('callrail')) {
37
+ return `"${resourcePath}/callrail/${fileNames.callrailFileName}"`;
35
38
  } else if (match.includes('modutils') || match.includes('mod-utils')) {
36
39
  return `"${resourcePath}/mod-utils/${fileNames.modUtilsFileName}"`;
37
40
  } else if (match.includes('footer-component')) {
@@ -140,6 +143,16 @@ function getResource(url, config = {}, fn, fnArray) {
140
143
  });
141
144
  }
142
145
  const TASKS = {
146
+ copyCallrail: {
147
+ url: 'shared-resources/scripts/callrail/callrail.min.js',
148
+ config: {
149
+ fileName: 'callrailFileName',
150
+ dest: 'scripts/callrail',
151
+ mapUrl: 'shared-resources/scripts/callrail/callrail.min.js.map',
152
+ },
153
+ srcReplaceFn: null,
154
+ additionalSrcReplaceFns: []
155
+ },
143
156
  copyModutils: {
144
157
  url: 'mod-utils/modutils.min.js',
145
158
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.0-alpha.1",
3
+ "version": "4.0.0-alpha.2",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -8,24 +8,22 @@
8
8
  "build": "vite build",
9
9
  "preview": "vite preview"
10
10
  },
11
- "devDependencies": {
11
+ "dependencies": {
12
12
  "@rollup/plugin-inject": "^5.0.5",
13
+ "axios": "^1.6.2",
14
+ "del": "^7.1.0",
13
15
  "eslint": "^8.55.0",
14
16
  "gulp": "^4.0.2",
17
+ "gulp-handlebars-file-include": "^1.0.0",
15
18
  "gulp-hash": "^4.2.2",
19
+ "gulp-replace": "^1.1.4",
16
20
  "gulp-tap": "^2.0.0",
17
21
  "husky": "^8.0.3",
22
+ "jquery": "^3.7.1",
18
23
  "sass": "^1.69.5",
19
24
  "vite": "^5.0.0",
20
25
  "vite-plugin-eslint": "^1.8.1",
21
26
  "vite-plugin-handlebars": "^1.6.0",
22
27
  "vite-plugin-static-copy": "^1.0.0"
23
- },
24
- "dependencies": {
25
- "axios": "^1.6.2",
26
- "del": "^7.1.0",
27
- "gulp-handlebars-file-include": "^1.0.0",
28
- "gulp-replace": "^1.1.4",
29
- "jquery": "^3.7.1"
30
28
  }
31
29
  }
@@ -1,195 +0,0 @@
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: $base-transition !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-color: $color-charcoal4 !default;
27
- $back-button-display: flex !default;
28
- $back-button-initial-display: none !default;
29
- $back-button-font-size: .875rem !default;
30
- $back-button-font-weight: 400 !default;
31
- $back-button-line-height: $button-line-height !default;
32
- $back-button-margin: 10px 0 0 !default;
33
- $back-button-padding: 2px 5px !default;
34
- $back-button-hover-background-color: transparent !default;
35
- $back-button-hover-color: darken($back-button-color, 20%) !default;
36
- $back-button-icon-font-size: 90% !default;
37
- $back-button-icon-margin-right: 4px !default;
38
-
39
- $back-button-focus-outline: 1px solid rgba($back-button-color, .5) !default;
40
- $back-button-focus-outline-offset: 2px !default;
41
-
42
- $button-primary-background-color: $color-a11y-default-button !default;
43
- $button-primary-border: 0 !default;
44
- $button-primary-color: $color-white !default;
45
- $button-primary-max-width: 100% !default;
46
- $button-primary-hover-background-color: $color-a11y-default-button-hover !default;
47
- $button-primary-hover-border: $button-primary-border !default;
48
- $button-primary-hover-color: $color-white !default;
49
-
50
- $button-secondary-background-color: $button-primary-background-color !default;
51
- $button-secondary-border: $button-primary-border !default;
52
- $button-secondary-color: $button-primary-color !default;
53
- $button-secondary-font-size: $button-font-size !default;
54
- $button-secondary-font-size-desktop: $button-secondary-font-size !default;
55
- $button-secondary-height: $button-height !default;
56
- $button-secondary-height-desktop: $button-secondary-height !default;
57
- $button-secondary-max-width: 100% !default;
58
- $button-secondary-padding: $button-padding !default;
59
- $button-secondary-text-transform: $button-text-transform !default;
60
- $button-secondary-hover-background-color: $button-primary-hover-background-color !default;
61
- $button-secondary-hover-border: $button-primary-hover-border !default;
62
- $button-secondary-hover-color: $button-primary-hover-color !default;
63
-
64
- $button-icon-position: absolute !default;
65
- $button-icon-font-family: modicons-fill !default;
66
- $button-icon-font-size: .875rem !default;
67
- $button-icon-bottom: unset !default;
68
- $button-icon-left: unset !default;
69
- $button-icon-right: 15px !default;
70
- $button-icon-top: 50% !default;
71
- $button-icon-transform: translateY(-50%) !default;
72
-
73
- .btn {
74
- border-radius: $button-border-radius;
75
- cursor: $button-cursor;
76
- display: $button-display;
77
- font-family: $button-font-family;
78
- font-size: $button-font-size;
79
- font-style: $button-font-style;
80
- font-weight: $button-font-weight;
81
- height: $button-height;
82
- letter-spacing: $button-letter-spacing;
83
- line-height: $button-line-height;
84
- margin: $button-margin;
85
- padding: $button-padding;
86
- position: $button-position;
87
- text-align: $button-text-align;
88
- text-decoration: $button-text-decoration;
89
- text-transform: $button-text-transform;
90
- transition: $button-transition;
91
- width: $button-width;
92
- z-index: $button-z-index;
93
-
94
- &__icon {
95
- bottom: $button-icon-bottom;
96
- font-family: $button-icon-font-family;
97
- font-size: $button-icon-font-size;
98
- left: $button-icon-left;
99
- position: $button-icon-position;
100
- right: $button-icon-right;
101
- top: $button-icon-top;
102
- transform: $button-icon-transform;
103
- }
104
-
105
- &--back {
106
- align-items: $back-button-align-items;
107
- background-color: $back-button-background-color;
108
- border: $back-button-border;
109
- color: $back-button-color;
110
- cursor: $button-cursor;
111
- display: $back-button-initial-display;
112
- font-size: $back-button-font-size;
113
- font-family: $button-font-family;
114
- font-weight: $back-button-font-weight;
115
- line-height: $back-button-line-height;
116
- margin: $back-button-margin;
117
- padding: $back-button-padding;
118
- transition: $button-transition;
119
-
120
- i {
121
- font-size: $back-button-icon-font-size;
122
- margin-right: $back-button-icon-margin-right;
123
- }
124
-
125
- &:focus {
126
- outline: $back-button-focus-outline;
127
- outline-offset: $back-button-focus-outline-offset;
128
- }
129
- }
130
-
131
- &--primary {
132
- background-color: $button-primary-background-color;
133
- border: $button-primary-border;
134
- color: $button-primary-color;
135
- max-width: $button-primary-max-width;
136
- }
137
-
138
- &--secondary {
139
- background-color: $button-secondary-background-color;
140
- border: $button-secondary-border;
141
- color: $button-secondary-color;
142
- font-size: $button-secondary-font-size;
143
- height: $button-secondary-height;
144
- max-width: $button-secondary-max-width;
145
- padding: $button-secondary-padding;
146
- text-transform: $button-secondary-text-transform;
147
- }
148
- }
149
-
150
- .form-in-progress {
151
- .btn--back {
152
- display: $back-button-display;
153
- }
154
- }
155
-
156
- @include breakpoint-md {
157
- .btn {
158
- font-size: $button-font-size-desktop;
159
- height: $button-height-desktop;
160
-
161
- &--back {
162
- &:hover,
163
- &:active,
164
- &:focus {
165
- background-color: $back-button-hover-background-color;
166
- color: $back-button-hover-color;
167
- }
168
- }
169
-
170
- &--primary {
171
- &:hover,
172
- &:active,
173
- &:focus {
174
- background-color: $button-primary-hover-background-color;
175
- border: $button-primary-hover-border;
176
- color: $button-primary-hover-color;
177
- }
178
-
179
- }
180
-
181
- &--secondary {
182
- font-size: $button-secondary-font-size-desktop;
183
- height: $button-secondary-height-desktop;
184
-
185
- &:hover,
186
- &:active,
187
- &:focus {
188
- background-color: $button-secondary-hover-background-color;
189
- border: $button-secondary-hover-border;
190
- color: $button-secondary-hover-color;
191
- }
192
-
193
- }
194
- }
195
- }
@@ -1,4 +0,0 @@
1
- <button class="btn--back back-btn{{#if class}} {{class}}{{/if}}" data-btn="back" type="button">
2
- <i class="icon-caret-left"></i>
3
- Back
4
- </button>
@@ -1,17 +0,0 @@
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}}
@@ -1,112 +0,0 @@
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, 20%) !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, 20%) !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
- }
@@ -1,25 +0,0 @@
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>
@@ -1,96 +0,0 @@
1
- $checkbox-background-color: transparent !default;
2
- $checkbox-border: 0 !default;
3
- $checkbox-border-radius: 4px !default;
4
- $checkbox-font-size: 1rem !default;
5
- $checkbox-font-weight: normal !default;
6
- $checkbox-line-height: 1 !default;
7
- $checkbox-color: $color-charcoal8 !default;
8
- $checkbox-margin: 15px 0 !default;
9
- $checkbox-padding: 0 !default;
10
- $checkbox-text-align: left !default;
11
- $checkbox-transition: color .15s ease-in-out !default;
12
-
13
- $checkbox-label-padding-left: 30px !default;
14
- $checkbox-label-width: auto !default;
15
-
16
- $checkbox-input-background-color: $color-white !default;
17
- $checkbox-input-border: 1px solid $color-charcoal4 !default;
18
- $checkbox-input-border-radius: 2px !default;
19
- $checkbox-input-box-shadow: 0 !default;
20
- $checkbox-input-checked-background-color: $color-charcoal6 !default;
21
- $checkbox-input-checked-border: 1px solid $checkbox-input-checked-background-color !default;
22
- $checkbox-input-checked-color: $color-white !default;
23
- $checkbox-input-cursor: pointer !default;
24
- $checkbox-input-font-size: 1.125rem !default;
25
- $checkbox-input-margin: 0 !default;
26
- $checkbox-input-position-left: 0 !default;
27
- $checkbox-input-position-top: -2px !default;
28
- $checkbox-input-size: 1.25rem !default;
29
-
30
- // Focus
31
- $checkbox-focus-outline: 1px solid rgba($color-charcoal4, .5) !default;
32
- $checkbox-focus-outline-offset: 5px !default;
33
-
34
-
35
- .checkbox {
36
- background-color: $checkbox-background-color;
37
- border: $checkbox-border;
38
- border-radius: $checkbox-border-radius;
39
- color: $checkbox-color;
40
- margin: $checkbox-margin;
41
- padding: $checkbox-padding;
42
- text-align: $checkbox-text-align;
43
-
44
- + .checkbox {
45
- margin-top: 0;
46
- }
47
-
48
- label {
49
- display: inline-block;
50
- font-size: $checkbox-font-size;
51
- font-weight: $checkbox-font-weight;
52
- line-height: $checkbox-line-height;
53
- padding-left: $checkbox-label-padding-left;
54
- position: relative;
55
- width: $checkbox-label-width;
56
-
57
- &:focus-within {
58
- outline: $checkbox-focus-outline;
59
- outline-offset: $checkbox-focus-outline-offset;
60
- }
61
-
62
- input[type=checkbox] {
63
- background: transparent;
64
- border-color: $color-white;
65
- border-radius: 0;
66
- cursor: $checkbox-input-cursor;
67
- left: $checkbox-input-position-left;
68
- margin: $checkbox-input-margin;
69
- position: absolute;
70
- top: $checkbox-input-position-top;
71
-
72
- &::before {
73
- @include icon-fill;
74
- background: $checkbox-input-background-color;
75
- border: $checkbox-input-border;
76
- border-radius: $checkbox-input-border-radius;
77
- box-shadow: $checkbox-input-box-shadow;
78
- color: $checkbox-input-background-color;
79
- content: '\e920';
80
- display: block;
81
- height: $checkbox-input-size;
82
- text-align: center;
83
- transition: $checkbox-transition;
84
- width: $checkbox-input-size;
85
- }
86
-
87
- &:checked::before { // sass-lint:disable-line
88
- background-color: $checkbox-input-checked-background-color;
89
- border: $checkbox-input-checked-border;
90
- color: $checkbox-input-checked-color;
91
- font-size: $checkbox-input-font-size;
92
- line-height: $checkbox-line-height;
93
- }
94
- }
95
- }
96
- }
@@ -1,8 +0,0 @@
1
- {{#if this.field}}
2
- <div class="checkbox">
3
- <label>
4
- <input type="checkbox" {{{addAttributes this.field 'type'}}} />
5
- {{{this.field.text}}}
6
- </label>
7
- </div>
8
- {{/if}}
@@ -1,122 +0,0 @@
1
- $expand-collapse-transition: $base-transition !default;
2
-
3
- $expand-collapse-toggle-background-color: transparent !default;
4
- $expand-collapse-toggle-border: 0 !default;
5
- $expand-collapse-toggle-border-radius: 0 !default;
6
- $expand-collapse-toggle-color: $color-charcoal4 !default;
7
- $expand-collapse-toggle-font-size: 1rem !default;
8
- $expand-collapse-toggle-font-weight: 400 !default;
9
- $expand-collapse-toggle-letter-spacing: 0 !default;
10
- $expand-collapse-toggle-margin: 0 auto 45px !default;
11
- $expand-collapse-toggle-padding: 0 !default;
12
- $expand-collapse-toggle-text-transform: capitalize !default;
13
-
14
- $expand-collapse-icon-background-color: $color-white !default;
15
- $expand-collapse-icon-border: 1px solid $color-charcoal1 !default;
16
- $expand-collapse-icon-border-top: 0 !default;
17
- $expand-collapse-icon-border-radius: 100px !default;
18
- $expand-collapse-icon-color: $color-charcoal4 !default;
19
- $expand-collapse-icon-display: block !default;
20
- $expand-collapse-icon-font-size: 1.125rem !default;
21
- $expand-collapse-icon-line-height: 1 !default;
22
- $expand-collapse-icon-margin: -1px auto 0 !default;
23
- $expand-collapse-icon-padding: 5px 0 9px !default;
24
- $expand-collapse-icon-position: relative !default;
25
- $expand-collapse-icon-width: 60px !default;
26
- $expand-collapse-icon-z-index: 2 !default;
27
-
28
- $expand-collapse-label-display: inline-block !default;
29
- $expand-collapse-label-margin: 20px auto 0 !default;
30
- $expand-collapse-label-text-decoration: underline !default;
31
-
32
- $expand-collapse-target-max-height: 2000px !default;
33
- $expand-collapse-target-transition: .5s !default;
34
-
35
- // Focus
36
- $expand-collapse-toggle-focus-outline: 1px solid rgba($expand-collapse-toggle-color, .5) !default;
37
- $expand-collapse-toggle-focus-outline-offset: 2px !default;
38
-
39
- // Hover
40
- $expand-collapse-label-hover-background-color: transparent !default;
41
- $expand-collapse-toggle-hover-color: darken($expand-collapse-toggle-color, 20%) !default;
42
- $expand-collapse-icon-hover-color: darken($expand-collapse-icon-color, 20%) !default;
43
-
44
- .expand-collapse {
45
- &__toggle {
46
- background-color: $expand-collapse-toggle-background-color;
47
- border: $expand-collapse-toggle-border;
48
- border-radius: $expand-collapse-toggle-border-radius;
49
- color: $expand-collapse-toggle-color;
50
- cursor: pointer;
51
- font-size: $expand-collapse-toggle-font-size;
52
- font-weight: $expand-collapse-toggle-font-weight;
53
- letter-spacing: $expand-collapse-toggle-letter-spacing;
54
- margin: $expand-collapse-toggle-margin;
55
- padding: $expand-collapse-toggle-padding;
56
- text-transform: $expand-collapse-toggle-text-transform;
57
- transition: $expand-collapse-transition;
58
-
59
- &:focus {
60
- outline: $expand-collapse-toggle-focus-outline;
61
- outline-offset: $expand-collapse-toggle-focus-outline-offset;
62
- }
63
- }
64
-
65
- &__icon {
66
- background-color: $expand-collapse-icon-background-color;
67
- border: $expand-collapse-icon-border;
68
- border-top: $expand-collapse-icon-border-top;
69
- border-bottom-left-radius: $expand-collapse-icon-border-radius;
70
- border-bottom-right-radius: $expand-collapse-icon-border-radius;
71
- color: $expand-collapse-icon-color;
72
- display: $expand-collapse-icon-display;
73
- font-size: $expand-collapse-icon-font-size;
74
- line-height: $expand-collapse-icon-line-height;
75
- margin: $expand-collapse-icon-margin;
76
- padding: $expand-collapse-icon-padding;
77
- position: $expand-collapse-icon-position;
78
- transition: $expand-collapse-transition;
79
- width: $expand-collapse-icon-width;
80
- z-index: $expand-collapse-icon-z-index;
81
- }
82
-
83
- &__label {
84
- display: $expand-collapse-label-display;
85
- margin: $expand-collapse-label-margin;
86
- text-decoration: $expand-collapse-label-text-decoration;
87
- transition: $expand-collapse-transition;
88
- }
89
-
90
- &__target {
91
- max-height: $expand-collapse-target-max-height;
92
- overflow: hidden;
93
- transition: $expand-collapse-target-transition;
94
-
95
- &.collapsed {
96
- max-height: 0;
97
- opacity: 0;
98
- visibility: collapse;
99
- }
100
- }
101
- }
102
-
103
- @include breakpoint-md {
104
- .expand-collapse {
105
- &__toggle {
106
- &:focus,
107
- &:hover {
108
- color: $expand-collapse-toggle-hover-color;
109
-
110
- .expand-collapse {
111
- &__label {
112
- background-color: $expand-collapse-label-hover-background-color;
113
- }
114
-
115
- &__icon {
116
- color: $expand-collapse-icon-hover-color;
117
- }
118
- }
119
- }
120
- }
121
- }
122
- }