mod-build 4.0.102-beta.1 → 4.0.103
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 +2 -2
- package/public/resources/scripts/abandonment/abandonment-a4bbb36fbc8ed64042b8.min.js +2 -0
- package/public/resources/scripts/abandonment/abandonment.min.js +2 -0
- package/public/resources/scripts/callrail/callrail-14011d73b50a928de4b4.min.js +2 -0
- package/public/resources/scripts/callrail/callrail.min.js +2 -0
- package/public/resources/scripts/footer/footer-component-46dc0d7ca6af4fc3b76b.min.js +2 -0
- package/public/resources/scripts/footer/footer-component.min.js +2 -0
- package/public/resources/scripts/geolocation/geolocation.min.js +2 -0
- package/public/resources/scripts/helpers/addVWOTestQueryParam.min.js +2 -0
- package/public/resources/scripts/helpers/addVWOTestQueryParam.min.js.map +1 -0
- package/public/resources/scripts/helpers/additionalOpts.min.js +2 -0
- package/public/resources/scripts/helpers/additionalOpts.min.js.map +1 -0
- package/public/resources/scripts/helpers/calls-only.min.js +2 -0
- package/public/resources/scripts/helpers/calls-only.min.js.map +1 -0
- package/public/resources/scripts/helpers/getPhoneAssignmentData.min.js +2 -0
- package/public/resources/scripts/helpers/getPhoneAssignmentData.min.js.map +1 -0
- package/public/resources/scripts/helpers/initNumericOnlyFields.min.js +2 -0
- package/public/resources/scripts/helpers/initNumericOnlyFields.min.js.map +1 -0
- package/public/resources/scripts/helpers/initQSForm.min.js +2 -0
- package/public/resources/scripts/helpers/initQSForm.min.js.map +1 -0
- package/public/resources/scripts/helpers/initQuadTransform.min.js +2 -0
- package/public/resources/scripts/helpers/initQuadTransform.min.js.map +1 -0
- package/public/resources/scripts/helpers/isZipCodeValid.min.js +2 -0
- package/public/resources/scripts/helpers/isZipCodeValid.min.js.map +1 -0
- package/public/resources/scripts/helpers/observeVWOVariation.min.js +2 -0
- package/public/resources/scripts/helpers/observeVWOVariation.min.js.map +1 -0
- package/public/resources/scripts/helpers/opts.min.js +2 -0
- package/public/resources/scripts/helpers/opts.min.js.map +1 -0
- package/public/resources/scripts/jornaya.hbs +35 -0
- package/public/resources/scripts/jornaya.html +35 -0
- package/public/resources/scripts/mod-alytics/modalytics-be44027508c0438f6709.min.js +2 -0
- package/public/resources/scripts/mod-alytics/modalytics.min.js +2 -0
- package/public/resources/scripts/mod-form/form/contractor-0918337caf3dfede1609.min.js +2 -0
- package/public/resources/scripts/mod-form/form/contractor.min.js +2 -0
- package/public/resources/scripts/mod-form/form/homeowner-19a121b0e596042326f4.min.js +2 -0
- package/public/resources/scripts/mod-form/form/homeowner.min.js +2 -0
- package/public/resources/scripts/mod-utils/modutils-bc275eb41af515f626ef.min.js +2 -0
- package/public/resources/scripts/mod-utils/modutils.min.js +2 -0
- package/public/resources/scripts/trusted-form.hbs +38 -0
- package/public/resources/scripts/trusted-form.html +38 -0
- package/public/resources/styles/components/abandonment/abandonment-8a673f060817db6cb7dc.min.css +1 -0
- package/public/resources/styles/components/abandonment/abandonment.min.css +1 -0
- package/public/resources/styles/components/footer/mod-footer-d233fa64b6c8297c70ec.min.css +1 -0
- package/public/resources/styles/components/footer/mod-footer.min.css +1 -0
- package/public/resources/styles/components/footer/qs-footer-926e67c28d10c729db46.min.css +1 -0
- package/public/resources/styles/components/footer/qs-footer.min.css +1 -0
- package/src/resources/templates/modals/privacy/index.hbs +88 -89
- package/src/resources/templates/modals/privacy/index.html +88 -89
- package/src/resources/templates/modals/terms/index.hbs +8 -7
- package/src/resources/templates/modals/terms/index.html +8 -7
- package/src/scripts/globals.js +1 -3
- package/src/scripts/plugins.js +0 -3
- package/tasks/get-default-trade-questions.js +121 -157
- package/tasks/templates.js +2 -4
- package/gulp-tasks/add-path-subdirectories.js +0 -34
- package/gulp-tasks/build-stat.js +0 -9
- package/gulp-tasks/build.js +0 -28
- package/gulp-tasks/cache-bust.js +0 -19
- package/gulp-tasks/check-seasonal-variations.js +0 -21
- package/gulp-tasks/clean.js +0 -10
- package/gulp-tasks/combine-files.js +0 -7
- package/gulp-tasks/compile.js +0 -44
- package/gulp-tasks/copy-files-to-build-path.js +0 -8
- package/gulp-tasks/copy-fonts.js +0 -6
- package/gulp-tasks/copy-json.js +0 -6
- package/gulp-tasks/copy-resources-to-dist.js +0 -6
- package/gulp-tasks/copy-videos.js +0 -6
- package/gulp-tasks/extras.js +0 -22
- package/gulp-tasks/grab-cdn.js +0 -74
- package/gulp-tasks/grab-form-helpers.js +0 -55
- package/gulp-tasks/grab-global-images.js +0 -121
- package/gulp-tasks/grab-images.js +0 -79
- package/gulp-tasks/grab-shared-components.js +0 -46
- package/gulp-tasks/grab-shared-scripts.js +0 -275
- package/gulp-tasks/grab-theme-json.js +0 -24
- package/gulp-tasks/grab-tooltips-json.js +0 -33
- package/gulp-tasks/js-lint-husky.js +0 -35
- package/gulp-tasks/js-lint.js +0 -24
- package/gulp-tasks/minify.js +0 -131
- package/gulp-tasks/sass-lint.js +0 -15
- package/gulp-tasks/serve.js +0 -74
- package/gulp-tasks/settings.js +0 -22
- package/gulp-tasks/styles.js +0 -42
- package/gulp-tasks/tasks.js +0 -475
- package/gulp-tasks/templates.js +0 -288
- package/src/data/footer.js +0 -119
- package/src/scripts/default/additional-assets.js +0 -60
- package/src/scripts/default/rage-clicking.js +0 -54
- package/src/scripts/default/show-utility-providers.js +0 -28
- package/src/scripts/url-cleaner.js +0 -8
- package/src/scripts/vendor/google-tag-manager-head.js +0 -6
- package/src/scripts/vendor/heap-addeventproperties-identify.js +0 -262
- package/src/scripts/vendor/heap-tracking.js +0 -9
- package/src/styles/partials/_contact-us.scss +0 -196
- package/src/styles/partials/_google-address-autocomplete.scss +0 -52
- package/src/styles/partials/_mixins.scss +0 -39
- package/src/styles/partials/_modal-pages.scss +0 -125
- package/src/styles/partials/_modernize-colors.scss +0 -128
- package/src/styles/partials/_qs-footer.scss +0 -68
- package/src/styles/partials/_quote-footer-v1.scss +0 -79
- package/src/styles/partials/_quote-footer-v2.scss +0 -64
- package/src/styles/partials/_quote-footer-v3.scss +0 -65
- package/src/templates/_partials/scripts/deferred-styles.html +0 -16
- package/src/templates/_partials/scripts/heap-bundle.html +0 -5
- package/src/templates/_partials/scripts/heap.html +0 -4
- package/src/templates/_partials/scripts/utm-params.html +0 -9
- package/src/templates/components/qs-footer.html +0 -55
- package/src/templates/components/quote-footer-v1.html +0 -148
- package/src/templates/components/quote-footer-v2.html +0 -169
- /package/tasks/{addSeasonalchanges.js → add-seasonal-changes.js} +0 -0
- /package/tasks/{setupDevOpsTrackingId.js → setup-dev-ops-tracking-id.js} +0 -0
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
var heapUserTracking = {
|
|
3
|
-
/**
|
|
4
|
-
* Supported tracking params
|
|
5
|
-
*/
|
|
6
|
-
supportedParams: ['formpath', 'projectid'],
|
|
7
|
-
supportedTrackingParams: ['src', 'sub_id', 'sub2_id', 'pub_id', 'account', 'campaign', 'ad_group', 'keyword', 'campaignid', 'adgroupid', 'agid', 'keywordid', 'loc1', 'loc2', 'kw', 'gclid', 'utm_campaign', 'utm_source', 'utm_medium', 'utm_term', 'utm_content', 'program', 'motivation', 'quadlink', 'ccid', 'clk', 'qtr', 'fb_campaign_id'],
|
|
8
|
-
isHRC: window.location.href.split('?')[0].indexOf('/my/') > -1,
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Tracking params translations from GET param name to Heap prop name (if needed)
|
|
12
|
-
*/
|
|
13
|
-
trackingParamsTranslations: {
|
|
14
|
-
projectid: 'project_id',
|
|
15
|
-
formpath: 'form_path'
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Get URL params into LC key/value object
|
|
20
|
-
* @returns {Object} - object containing url params
|
|
21
|
-
*/
|
|
22
|
-
getUrlParamsLC: function() {
|
|
23
|
-
var results = {},
|
|
24
|
-
url = window.location.href.replace(window.location.hash, '');
|
|
25
|
-
|
|
26
|
-
if (url.indexOf('?') > -1) {
|
|
27
|
-
var pairs = url.substring(url.indexOf('?') + 1).split('&');
|
|
28
|
-
|
|
29
|
-
for (var i = 0; i < pairs.length; i ++) {
|
|
30
|
-
if (!pairs[i]) {
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
var pair = pairs[i].split('='),
|
|
35
|
-
name = decodeURIComponent(pair[0]).toLowerCase(),
|
|
36
|
-
value = 'undefined' !== typeof pair[1] ? decodeURIComponent(pair[1].replace(/\+/g, '%20')) : null;
|
|
37
|
-
|
|
38
|
-
if (results[name] === undefined) {
|
|
39
|
-
results[name] = value;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return results;
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Get current page trade
|
|
48
|
-
* @param {String} pageUrl - page url
|
|
49
|
-
* @returns {String} - trade
|
|
50
|
-
*/
|
|
51
|
-
getCurrentPageTrade: function(pageUrl) {
|
|
52
|
-
var trade = null,
|
|
53
|
-
urlSubstringToTrade = {
|
|
54
|
-
window: 'windows',
|
|
55
|
-
solar: 'solar',
|
|
56
|
-
hvac: 'hvac',
|
|
57
|
-
roof: 'roofing',
|
|
58
|
-
siding: 'siding'
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
if (!pageUrl) {
|
|
62
|
-
pageUrl = window.location.pathname;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
pageUrl = pageUrl.split('/');
|
|
66
|
-
|
|
67
|
-
outerLoop:
|
|
68
|
-
for (var i = 1; i < pageUrl.length; i ++) {
|
|
69
|
-
for (var substr in urlSubstringToTrade) {
|
|
70
|
-
if (urlSubstringToTrade.hasOwnProperty(substr)) {
|
|
71
|
-
if (pageUrl[i].indexOf(substr) > -1) {
|
|
72
|
-
trade = urlSubstringToTrade[substr];
|
|
73
|
-
break outerLoop;
|
|
74
|
-
} else {
|
|
75
|
-
trade = 'general';
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
return trade;
|
|
82
|
-
},
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Get default src
|
|
86
|
-
*/
|
|
87
|
-
getDefaultSrc: function() {
|
|
88
|
-
var seoSrcParamValuesByTrade = {
|
|
89
|
-
general: 'Mod001',
|
|
90
|
-
solar: 'Mod002',
|
|
91
|
-
windows: 'Mod003',
|
|
92
|
-
hvac: 'Mod004',
|
|
93
|
-
roofing: 'Mod005',
|
|
94
|
-
siding: 'Mod006'
|
|
95
|
-
},
|
|
96
|
-
pageTrade = this.getCurrentPageTrade();
|
|
97
|
-
|
|
98
|
-
return seoSrcParamValuesByTrade[pageTrade];
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Gets cookie
|
|
103
|
-
* @param {String} name - cookie's name
|
|
104
|
-
* @returns {Mixed} - cookie's value
|
|
105
|
-
*/
|
|
106
|
-
getCookie: function(name) {
|
|
107
|
-
var cookieName = name + '=',
|
|
108
|
-
cookieData = document.cookie.split(';');
|
|
109
|
-
|
|
110
|
-
for (var i = 0; i < cookieData.length; i ++) {
|
|
111
|
-
var c = cookieData[i];
|
|
112
|
-
while (c.charAt(0) === ' ') {
|
|
113
|
-
c = c.substring(1, c.length);
|
|
114
|
-
}
|
|
115
|
-
if (c.indexOf(cookieName) === 0) {
|
|
116
|
-
return c.substring(cookieName.length, c.length);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
return null;
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Check Heap cookie for tracking params
|
|
125
|
-
* @returns {String} trackingParamsObject - object list of tracking params
|
|
126
|
-
*/
|
|
127
|
-
getHeapCookieData: function() {
|
|
128
|
-
if (window.heap && window.heap.appid) {
|
|
129
|
-
var cookieVal = this.getCookie('_hp2_props.' + window.heap.appid);
|
|
130
|
-
|
|
131
|
-
if (cookieVal) {
|
|
132
|
-
try {
|
|
133
|
-
return JSON.parse(decodeURIComponent(cookieVal));
|
|
134
|
-
}
|
|
135
|
-
catch (e) {}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Check if timestamp from Heap cookie is older than 24 hours
|
|
142
|
-
* @returns {Boolean}
|
|
143
|
-
*/
|
|
144
|
-
checkLastSrc: function() {
|
|
145
|
-
var heapCookie = this.getHeapCookieData();
|
|
146
|
-
if (heapCookie) {
|
|
147
|
-
var prevDate = heapCookie.timestamp,
|
|
148
|
-
currentDate = Date.now(),
|
|
149
|
-
oneDay = 24 * 60 * 60 * 1000;
|
|
150
|
-
|
|
151
|
-
if ((currentDate - prevDate) > oneDay) {
|
|
152
|
-
return true;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
return false;
|
|
156
|
-
},
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Init
|
|
160
|
-
*/
|
|
161
|
-
init: function() {
|
|
162
|
-
var getParams = this.getUrlParamsLC(),
|
|
163
|
-
eventProperties = {};
|
|
164
|
-
|
|
165
|
-
// If not on TYP, then support marketing params as well
|
|
166
|
-
if (!this.isHRC) {
|
|
167
|
-
this.supportedParams = this.supportedParams.concat(this.supportedParams, this.supportedTrackingParams);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// Check if there's a param to identify homeowner
|
|
171
|
-
if (getParams.userid) {
|
|
172
|
-
if ('undefined' !== typeof heap) {
|
|
173
|
-
heap.identify(getParams.userid, 'ID');
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
console.log('Heap identify', getParams.userid, 'ID');
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
// Check if there's a param to identify contractor
|
|
181
|
-
if (getParams.contractorid) {
|
|
182
|
-
if ('undefined' !== typeof heap) {
|
|
183
|
-
heap.identify(getParams.contractorid, 'contractor_id');
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
console.log('Heap identify', getParams.contractorid, 'contractor_id');
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// Collect supported event properties from URL
|
|
191
|
-
for (var name in getParams) {
|
|
192
|
-
if (getParams.hasOwnProperty(name)) {
|
|
193
|
-
var eventName = 'undefined' !== typeof this.trackingParamsTranslations[name] ? this.trackingParamsTranslations[name] : name;
|
|
194
|
-
|
|
195
|
-
if (this.supportedParams.indexOf(name) > -1) {
|
|
196
|
-
eventProperties[eventName] = getParams[name];
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
// Set timestamp whenever we find src parameter on url
|
|
202
|
-
if (eventProperties.hasOwnProperty('src') || eventProperties.hasOwnProperty('utm_source')) {
|
|
203
|
-
eventProperties.timestamp = Date.now();
|
|
204
|
-
}
|
|
205
|
-
else if (window.isWordpress) { // I'm sorry
|
|
206
|
-
// Set default src if no tracking params are available (in url or in cookie)
|
|
207
|
-
if (Object.keys(eventProperties).length === 0) {
|
|
208
|
-
var heapCookieData = this.getHeapCookieData();
|
|
209
|
-
|
|
210
|
-
// if no heap cookie, add a src
|
|
211
|
-
if (!heapCookieData) {
|
|
212
|
-
eventProperties.src = this.getDefaultSrc();
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
else if (!heapCookieData.src && !heapCookieData.utm_source) {
|
|
216
|
-
eventProperties.src = this.getDefaultSrc();
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
// 24 hour last touched default check
|
|
220
|
-
else if ((heapCookieData.src || heapCookieData.utm_source) && this.checkLastSrc()) {
|
|
221
|
-
if (heapCookieData.src) {
|
|
222
|
-
eventProperties.src = this.getDefaultSrc();
|
|
223
|
-
}
|
|
224
|
-
else if (heapCookieData.utm_source) {
|
|
225
|
-
eventProperties.utm_source = '';
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
else { // non wordpress attribution flow
|
|
231
|
-
if (this.checkLastSrc()) {
|
|
232
|
-
var heapCookie = this.getHeapCookieData();
|
|
233
|
-
|
|
234
|
-
if (heapCookie.src) {
|
|
235
|
-
eventProperties.src = 'Mod001';
|
|
236
|
-
}
|
|
237
|
-
else if (heapCookie.utm_source) {
|
|
238
|
-
eventProperties.utm_source = '';
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
// Check if Heap event props are available
|
|
244
|
-
if (Object.keys(eventProperties).length) {
|
|
245
|
-
// If no Heap tag available on a page, console log event props
|
|
246
|
-
if (typeof heap === 'undefined') {
|
|
247
|
-
console.log('Heap addEventProperties', eventProperties);
|
|
248
|
-
} else {
|
|
249
|
-
// Clear previous Heap event props if there's "src" or "utm_source" param and it's not a TYP
|
|
250
|
-
if (!this.isHRC && (eventProperties.hasOwnProperty('src') || eventProperties.hasOwnProperty('utm_source'))) {
|
|
251
|
-
heap.clearEventProperties();
|
|
252
|
-
}
|
|
253
|
-
heap.addEventProperties(eventProperties);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
if (window.Modalytics) {
|
|
260
|
-
heapUserTracking.init();
|
|
261
|
-
}
|
|
262
|
-
})();
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
if (window.Modalytics) {
|
|
2
|
-
var heapIsDevEnv = window.location.host.match(new RegExp('(' + ['qa.', 'staging.', 'localhost', '.local', '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}'].join('|') + ')', 'i'));
|
|
3
|
-
// dev env id "3986615799"
|
|
4
|
-
if (!heapIsDevEnv) {
|
|
5
|
-
window.heap = window.heap || [], heap.load = function(e, t) { window.heap.appid = e, window.heap.config = t = t || {}; var r = t.forceSSL || "https:" === document.location.protocol, a = document.createElement("script"); a.type = "text/javascript", a.async = !0, a.src = (r ? "https:" : "http:") + "//cdn.heapanalytics.com/js/heap-" + e + ".js"; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(a, n); for (var o = function(e) { return function() { heap.push([e].concat(Array.prototype.slice.call(arguments, 0))) } }, p = ["addEventProperties", "addUserProperties", "clearEventProperties", "identify", "resetIdentity", "removeEventProperty", "setEventProperties", "track", "unsetEventProperty"], c = 0; c < p.length; c++)heap[p[c]] = o(p[c]) };
|
|
6
|
-
|
|
7
|
-
heap.load("3246578271"); // dynamic tracker ID based on env
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
@import '../../node_modules/mod-style-bootstrap/src/styles/icons/fill';
|
|
2
|
-
|
|
3
|
-
$color-purple-dark: #2849CA;
|
|
4
|
-
$color-purple-light: #E5E8F9;
|
|
5
|
-
$color-white: #FFF;
|
|
6
|
-
$color-black: #000;
|
|
7
|
-
$color-gray: #888;
|
|
8
|
-
$color-red: #E97158;
|
|
9
|
-
|
|
10
|
-
.contact-us {
|
|
11
|
-
&__thankyou {
|
|
12
|
-
display: none;
|
|
13
|
-
text-align: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&__thankyou-title {
|
|
17
|
-
color: $color-purple-dark;
|
|
18
|
-
font-size: 38px;
|
|
19
|
-
font-weight: bold;
|
|
20
|
-
margin-bottom: 10px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&__thankyou-img {
|
|
24
|
-
margin: 30px auto;
|
|
25
|
-
width: auto;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.step {
|
|
29
|
-
display: none;
|
|
30
|
-
|
|
31
|
-
&--active {
|
|
32
|
-
display: block;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&__header {
|
|
36
|
-
background-color: $color-purple-light;
|
|
37
|
-
color: $color-purple-dark;
|
|
38
|
-
display: flex;
|
|
39
|
-
font-size: 14px;
|
|
40
|
-
margin-bottom: 20px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__header-number {
|
|
44
|
-
align-items: center;
|
|
45
|
-
background-color: $color-purple-dark;
|
|
46
|
-
color: $color-white;
|
|
47
|
-
display: flex;
|
|
48
|
-
font-weight: bold;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
padding: 10px 15px;
|
|
51
|
-
width: 30%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__header-text {
|
|
55
|
-
padding: 10px 15px;
|
|
56
|
-
width: 70%;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&__content-item {
|
|
60
|
-
text-align: center;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&__image {
|
|
64
|
-
margin: 15px auto;
|
|
65
|
-
width: auto;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&__error {
|
|
69
|
-
color: $color-red;
|
|
70
|
-
font-weight: bold;
|
|
71
|
-
text-align: center;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&__list {
|
|
75
|
-
list-style-type: none;
|
|
76
|
-
margin: 0;
|
|
77
|
-
text-align: left;
|
|
78
|
-
|
|
79
|
-
li {
|
|
80
|
-
border: 1px solid $color-gray;
|
|
81
|
-
margin-bottom: 15px;
|
|
82
|
-
padding: 10px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
a {
|
|
86
|
-
color: $color-black;
|
|
87
|
-
display: block;
|
|
88
|
-
text-decoration: underline;
|
|
89
|
-
|
|
90
|
-
+ a {
|
|
91
|
-
margin-top: 5px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.field {
|
|
98
|
-
border: 1px solid $color-gray;
|
|
99
|
-
display: flex;
|
|
100
|
-
margin-bottom: 15px;
|
|
101
|
-
padding: 10px;
|
|
102
|
-
text-align: left;
|
|
103
|
-
|
|
104
|
-
label {
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
display: block;
|
|
107
|
-
font-weight: 400;
|
|
108
|
-
margin: 0;
|
|
109
|
-
padding-left: 35px;
|
|
110
|
-
position: relative;
|
|
111
|
-
width: 100%;
|
|
112
|
-
|
|
113
|
-
&::before {
|
|
114
|
-
background-color: $color-purple-light;
|
|
115
|
-
content: '';
|
|
116
|
-
height: 22px;
|
|
117
|
-
left: 0;
|
|
118
|
-
position: absolute;
|
|
119
|
-
top: 50%;
|
|
120
|
-
transform: translate(0, -50%);
|
|
121
|
-
width: 22px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
input {
|
|
126
|
-
&:checked + label {
|
|
127
|
-
&::before {
|
|
128
|
-
@include icon-fill;
|
|
129
|
-
align-items: center;
|
|
130
|
-
background-color: $color-purple-dark;
|
|
131
|
-
color: $color-white;
|
|
132
|
-
content: '\e920';
|
|
133
|
-
display: flex;
|
|
134
|
-
font-size: 18px;
|
|
135
|
-
justify-content: center;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.form-group {
|
|
142
|
-
label {
|
|
143
|
-
color: $color-gray;
|
|
144
|
-
font-size: 14px;
|
|
145
|
-
font-weight: 400;
|
|
146
|
-
margin-bottom: 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
textarea {
|
|
150
|
-
max-width: 100%;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.form-controls {
|
|
155
|
-
display: flex;
|
|
156
|
-
justify-content: space-between;
|
|
157
|
-
margin: 15px auto;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.btn-back {
|
|
161
|
-
border-radius: 100%;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.btn-submit {
|
|
165
|
-
background-color: transparent;
|
|
166
|
-
border: 2px solid $color-purple-dark;
|
|
167
|
-
border-radius: 30px;
|
|
168
|
-
color: $color-purple-dark;
|
|
169
|
-
display: block;
|
|
170
|
-
font-weight: 500;
|
|
171
|
-
max-width: 300px;
|
|
172
|
-
|
|
173
|
-
&:active,
|
|
174
|
-
&:focus,
|
|
175
|
-
&:hover {
|
|
176
|
-
background-color: $color-purple-dark;
|
|
177
|
-
color: $color-white;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.btn {
|
|
182
|
-
&__spinner {
|
|
183
|
-
&::after {
|
|
184
|
-
border: 4px solid $color-purple-dark;
|
|
185
|
-
border-right-color: $color-white;
|
|
186
|
-
border-top-color: $color-white;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.g-recaptcha {
|
|
193
|
-
display: flex;
|
|
194
|
-
justify-content: center;
|
|
195
|
-
margin: 20px 0;
|
|
196
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.pac {
|
|
2
|
-
&-container {
|
|
3
|
-
background: $color-white;
|
|
4
|
-
border: $pac-border;
|
|
5
|
-
border-radius: 4px;
|
|
6
|
-
box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
|
|
7
|
-
box-sizing: content-box;
|
|
8
|
-
font-family: inherit;
|
|
9
|
-
font-size: $pac-font-size;
|
|
10
|
-
font-weight: inherit;
|
|
11
|
-
line-height: $pac-line-height;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-item {
|
|
16
|
-
background: transparent;
|
|
17
|
-
border-bottom: $pac-item-border;
|
|
18
|
-
border-top: 0;
|
|
19
|
-
color: $pac-text-color;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
font-size: $pac-font-size;
|
|
22
|
-
line-height: $pac-line-height;
|
|
23
|
-
padding: $pac-item-padding;
|
|
24
|
-
transition: background-color $trans-time $trans-func;
|
|
25
|
-
|
|
26
|
-
&:hover,
|
|
27
|
-
&-selected {
|
|
28
|
-
background: $pac-item-hover-bg;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-query {
|
|
32
|
-
color: $pac-text-color;
|
|
33
|
-
font-size: $pac-font-size;
|
|
34
|
-
line-height: $pac-line-height;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&-logo {
|
|
39
|
-
&::after {
|
|
40
|
-
margin: 10px;
|
|
41
|
-
padding: 0;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-icon {
|
|
46
|
-
&,
|
|
47
|
-
.hdpi & {
|
|
48
|
-
background: none;
|
|
49
|
-
display: none;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Media condition tag for a retina (1.3 or higher) DPI
|
|
3
|
-
*/
|
|
4
|
-
@mixin retina {
|
|
5
|
-
@media (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx) {
|
|
6
|
-
@content
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Shortcode for including normal and retina image. Requirements:
|
|
12
|
-
* - images are located in /images/ folder
|
|
13
|
-
* - retina image equals to non-retina + "@2x" (e.g. logo.png & logo@2x.png)
|
|
14
|
-
* - retina image width & height are 2 times of normal image (e.g. 100x50px & 200x100px)
|
|
15
|
-
*/
|
|
16
|
-
@mixin background-image-2x($filename, $width, $height, $extention: 'png') {
|
|
17
|
-
@include retina {
|
|
18
|
-
background-image: url('../images/#{$filename}@2x.#{$extention}');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
background-image: url('../images/#{$filename}.#{$extention}');
|
|
22
|
-
background-repeat: no-repeat;
|
|
23
|
-
background-size: $width $height;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Responsive breakpoints
|
|
28
|
-
*/
|
|
29
|
-
@mixin breakpoint-tablet {
|
|
30
|
-
@media (max-width: 991px) {
|
|
31
|
-
@content
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@mixin breakpoint-phone {
|
|
36
|
-
@media (max-width: 767px) {
|
|
37
|
-
@content
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
$color-text-modal: #333;
|
|
2
|
-
$color-notes-modal: #989797;
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
.modal {
|
|
6
|
-
color: $color-text-modal;
|
|
7
|
-
|
|
8
|
-
&-header {
|
|
9
|
-
font-size: 16px;
|
|
10
|
-
line-height: 18px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&-title {
|
|
14
|
-
font-size: 14px;
|
|
15
|
-
text-transform: capitalize;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&-body {
|
|
19
|
-
max-height: calc(100vh - 210px);
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
padding: 15px;
|
|
22
|
-
position: relative;
|
|
23
|
-
word-break: break-word;
|
|
24
|
-
|
|
25
|
-
b {
|
|
26
|
-
font-weight: 700;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
p {
|
|
30
|
-
font-weight: normal;
|
|
31
|
-
margin-bottom: 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.title {
|
|
35
|
-
font-size: 20px;
|
|
36
|
-
font-weight: 700;
|
|
37
|
-
line-height: 22px;
|
|
38
|
-
margin-bottom: 15px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.subtitle {
|
|
42
|
-
font-size: 20px;
|
|
43
|
-
font-weight: 400;
|
|
44
|
-
line-height: 22px;
|
|
45
|
-
margin-bottom: 15px;
|
|
46
|
-
margin-top: 30px;
|
|
47
|
-
|
|
48
|
-
&--underlined {
|
|
49
|
-
font-style: italic;
|
|
50
|
-
font-weight: bold;
|
|
51
|
-
text-decoration: underline;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.unordered-list {
|
|
56
|
-
list-style-type: disc;
|
|
57
|
-
|
|
58
|
-
ul {
|
|
59
|
-
list-style-type: circle;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.no-decorator {
|
|
63
|
-
list-style-type: none;
|
|
64
|
-
margin-left: 15px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.ordered-list {
|
|
69
|
-
list-style-type: decimal;
|
|
70
|
-
|
|
71
|
-
li {
|
|
72
|
-
font-weight: 700;
|
|
73
|
-
|
|
74
|
-
p {
|
|
75
|
-
font-weight: 400;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.unordered-list,
|
|
81
|
-
.ordered-list {
|
|
82
|
-
margin: 15px 0 15px 30px;
|
|
83
|
-
padding: 0;
|
|
84
|
-
|
|
85
|
-
li {
|
|
86
|
-
margin: 0 0 15px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&--roman {
|
|
90
|
-
list-style-type: upper-roman;
|
|
91
|
-
margin-left: 15px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&--alpha {
|
|
95
|
-
list-style-type: lower-alpha;
|
|
96
|
-
margin-left: 25px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&--roman,
|
|
100
|
-
&--alpha {
|
|
101
|
-
li {
|
|
102
|
-
margin: 0;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.notes {
|
|
108
|
-
color: $color-notes-modal;
|
|
109
|
-
display: block;
|
|
110
|
-
font-size: 14px;
|
|
111
|
-
margin-bottom: 15px;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-footer {
|
|
116
|
-
text-align: center;
|
|
117
|
-
|
|
118
|
-
.btn {
|
|
119
|
-
margin: 0 auto;
|
|
120
|
-
text-align: center;
|
|
121
|
-
width: 200px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|