Skip to content

Commit 21342d1

Browse files
authored
Merge pull request #146 from nice-digital/IDAM-532-Rebrand
IDAM-532 Rebrand
2 parents bd03301 + 288fb3b commit 21342d1

33 files changed

+30785
-11555
lines changed

custom-pages/emails/package-lock.json

Lines changed: 1333 additions & 1884 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

custom-pages/emails/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
"gulp-inline-css": "^3.4.0",
1919
"gulp-sass": "^4.0.2",
2020
"node-sass": "^4.13.0"
21+
},
22+
"volta": {
23+
"node": "12.19.0"
2124
}
2225
}

custom-pages/emails/src/blocked_account.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@
1212
<link href="css/styles.css" rel="stylesheet" />
1313
<style>
1414
@font-face {
15-
font-family: 'Lato';
15+
font-family: 'Lora';
1616
font-style: normal;
17-
font-weight: 400;
17+
font-weight: 600;
1818
font-display: swap;
19-
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
19+
src: url(https://fonts.gstatic.com/s/lora/v25/0QI6MX1D_JOuGQbT0gvTJPa787zAvBJBkq0.woff2) format('woff2');
2020
}
2121

22+
@font-face {
23+
font-family: 'Inter';
24+
font-style: normal;
25+
font-weight: 400;
26+
font-display: swap;
27+
src: url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
28+
}
29+
2230
#outlook a {
2331
padding: 0;
2432
}

custom-pages/emails/src/css/styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ table, td {
4040

4141
body {
4242
background-color: #f2f2f2;
43-
font-family: 'Lato', sans-serif;
43+
font-family: 'Inter', sans-serif;
4444
font-size: 16px;
4545
line-height: 125%;
4646
text-decoration: none;
4747
color: #000; }
4848

4949
h1, h2, h3 {
50+
font-family: 'Lora', serif;
5051
line-height: 100%;
5152
color: #000;
5253
margin: 0; }

custom-pages/emails/src/reset_email.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,19 @@
1212
<link href="css/styles.css" rel="stylesheet" />
1313
<style>
1414
@font-face {
15-
font-family: 'Lato';
15+
font-family: 'Lora';
16+
font-style: normal;
17+
font-weight: 600;
18+
font-display: swap;
19+
src: url(https://fonts.gstatic.com/s/lora/v25/0QI6MX1D_JOuGQbT0gvTJPa787zAvBJBkq0.woff2) format('woff2');
20+
}
21+
22+
@font-face {
23+
font-family: 'Inter';
1624
font-style: normal;
1725
font-weight: 400;
1826
font-display: swap;
19-
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
27+
src: url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
2028
}
2129

2230
#outlook a {

custom-pages/emails/src/scss/styles.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,16 @@ table, td {
6363
/////////////////////////////////////
6464

6565
body {
66-
background-color: #f2f2f2;
67-
font-family: 'Lato', sans-serif;
66+
background-color: #f2f2f2;
67+
font-family: 'Inter', sans-serif;
6868
font-size: 16px;
6969
line-height: 125%;
7070
text-decoration: none;
7171
color: #000;
7272
}
7373

7474
h1, h2, h3 {
75+
font-family: 'Lora', serif;
7576
line-height: 100%;
7677
color: #000;
7778
margin: 0;

custom-pages/emails/src/stolen_credentials.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@
1212
<link href="css/styles.css" rel="stylesheet" />
1313
<style>
1414
@font-face {
15-
font-family: 'Lato';
15+
font-family: 'Lora';
1616
font-style: normal;
17-
font-weight: 400;
17+
font-weight: 600;
1818
font-display: swap;
19-
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
19+
src: url(https://fonts.gstatic.com/s/lora/v25/0QI6MX1D_JOuGQbT0gvTJPa787zAvBJBkq0.woff2) format('woff2');
2020
}
2121

22+
@font-face {
23+
font-family: 'Inter';
24+
font-style: normal;
25+
font-weight: 400;
26+
font-display: swap;
27+
src: url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
28+
}
29+
2230
#outlook a {
2331
padding: 0;
2432
}

custom-pages/emails/src/verify_email.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,19 @@
1212
<link href="css/styles.css" rel="stylesheet" />
1313
<style>
1414
@font-face {
15-
font-family: 'Lato';
15+
font-family: 'Lora';
16+
font-style: normal;
17+
font-weight: 600;
18+
font-display: swap;
19+
src: url(https://fonts.gstatic.com/s/lora/v25/0QI6MX1D_JOuGQbT0gvTJPa787zAvBJBkq0.woff2) format('woff2');
20+
}
21+
22+
@font-face {
23+
font-family: 'Inter';
1624
font-style: normal;
1725
font-weight: 400;
1826
font-display: swap;
19-
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
27+
src: url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
2028
}
2129

2230
#outlook a {

custom-pages/pages/login.html

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,43 @@
1-
<!DOCTYPE html><html class="no-js"><head><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="referrer" content="strict-origin"><title>NICE Accounts</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="apple-touch-icon" href="apple-touch-icon.png"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"><link href="https://fonts.googleapis.com/css?family=Lato:300,400,400i,700" rel="stylesheet"><!--[if IE 8]>
1+
<!DOCTYPE html>
2+
<html class="no-js">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="x-ua-compatible" content="ie=edge" />
6+
<meta name="renderer" content="webkit" />
7+
<meta name="referrer" content="strict-origin" />
8+
<title>NICE Accounts</title>
9+
<meta name="viewport" content="width=device-width,initial-scale=1" />
10+
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
11+
<link
12+
rel="stylesheet"
13+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
14+
/>
15+
<link
16+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Lora:ital,wght@0,600;1,600&display=swap"
17+
rel="stylesheet"
18+
/>
19+
<!--[if IE 8]>
220
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script>
321
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script>
4-
<![endif]--><script src="https://cdn.auth0.com/js/base64.js"></script><link href="#{HOSTED_PAGES_ASSETS_CDN_URI}/styles.css?7991c84fa2a5261f0c3b" rel="stylesheet"></head><body><script>var config =
22+
<![endif]-->
23+
<script src="https://cdn.auth0.com/js/base64.js"></script>
24+
<link
25+
href="#{HOSTED_PAGES_ASSETS_CDN_URI}/styles.css?7991c84fa2a5261f0c3b"
26+
rel="stylesheet"
27+
/>
28+
</head>
29+
<body>
30+
<script>
31+
var config =
532
document.location.host.indexOf("localhost") !== -1
633
? {}
734
: JSON.parse(decodeURIComponent(escape(window.atob("@@config@@"))));
835

9-
(function(fallback) {
10-
fallback = fallback || function() {};
36+
(function (fallback) {
37+
fallback = fallback || function () {};
1138

1239
// function to trap most of the console functions from the FireBug Console API.
13-
var trap = function() {
40+
var trap = function () {
1441
// create an Array from the arguments Object
1542
var args = Array.prototype.slice.call(arguments);
1643
// console.raw captures the raw args, without converting toString
@@ -25,7 +52,7 @@
2552
console = {
2653
messages: [],
2754
raw: [],
28-
dump: function() {
55+
dump: function () {
2956
return console.messages.join("\n");
3057
},
3158
log: trap,
@@ -34,7 +61,7 @@
3461
warn: trap,
3562
error: trap,
3663
assert: trap,
37-
clear: function() {
64+
clear: function () {
3865
console.messages.length = 0;
3966
console.raw.length = 0;
4067
},
@@ -51,7 +78,19 @@
5178
profileEnd: trap,
5279
count: trap,
5380
exception: trap,
54-
table: trap
81+
table: trap,
5582
};
5683
}
57-
})(null);</script><div id="container"></div><script type="text/javascript" src="#{HOSTED_PAGES_ASSETS_CDN_URI}/vendor.js?7991c84fa2a5261f0c3b"></script><script type="text/javascript" src="#{HOSTED_PAGES_ASSETS_CDN_URI}/app.js?7991c84fa2a5261f0c3b"></script></body></html>
84+
})(null);
85+
</script>
86+
<div id="container"></div>
87+
<script
88+
type="text/javascript"
89+
src="#{HOSTED_PAGES_ASSETS_CDN_URI}/vendor.js?7991c84fa2a5261f0c3b"
90+
></script>
91+
<script
92+
type="text/javascript"
93+
src="#{HOSTED_PAGES_ASSETS_CDN_URI}/app.js?7991c84fa2a5261f0c3b"
94+
></script>
95+
</body>
96+
</html>

custom-pages/pages/password_reset.html

Lines changed: 49 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,44 @@
1-
<!DOCTYPE html><html class="no-js"><head><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="referrer" content="strict-origin"><title>NICE Accounts</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="apple-touch-icon" href="apple-touch-icon.png"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"><link href="https://fonts.googleapis.com/css?family=Lato:300,400,400i,700" rel="stylesheet"><script src="https://cdn.auth0.com/js/base64.js"></script><!--[if IE 8]>
1+
<!DOCTYPE html>
2+
<html class="no-js">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="x-ua-compatible" content="ie=edge" />
6+
<meta name="renderer" content="webkit" />
7+
<meta name="referrer" content="strict-origin" />
8+
<title>NICE Accounts</title>
9+
<meta name="viewport" content="width=device-width,initial-scale=1" />
10+
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
11+
<link
12+
rel="stylesheet"
13+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
14+
/>
15+
<link
16+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Lora:ital,wght@0,600;1,600&display=swap"
17+
rel="stylesheet"
18+
/>
19+
<script src="https://cdn.auth0.com/js/base64.js"></script>
20+
<!--[if IE 8]>
221
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script>
322
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script>
4-
<![endif]--><link href="#{HOSTED_PAGES_ASSETS_CDN_URI}/styles.password_reset.css?7e1578665f524e0d8491" rel="stylesheet"></head><body><script>var rpConfig = {
23+
<![endif]-->
24+
<link
25+
href="#{HOSTED_PAGES_ASSETS_CDN_URI}/styles.password_reset.css?7e1578665f524e0d8491"
26+
rel="stylesheet"
27+
/>
28+
</head>
29+
<body>
30+
<script>
31+
var rpConfig = {
532
email: "{{email | escape}}", // DO NOT CHANGE THIS
633
csrf_token: "{{csrf_token}}", // DO NOT CHANGE THIS
734
ticket: "{{ticket}}", // DO NOT CHANGE THIS
8-
password_policy: "{{password_policy}}"
35+
password_policy: "{{password_policy}}",
936
};
10-
(function(fallback) {
11-
fallback = fallback || function() {};
37+
(function (fallback) {
38+
fallback = fallback || function () {};
1239

1340
// function to trap most of the console functions from the FireBug Console API.
14-
var trap = function() {
41+
var trap = function () {
1542
// create an Array from the arguments Object
1643
var args = Array.prototype.slice.call(arguments);
1744
// console.raw captures the raw args, without converting toString
@@ -25,7 +52,7 @@
2552
console = {
2653
messages: [],
2754
raw: [],
28-
dump: function() {
55+
dump: function () {
2956
return console.messages.join("\n");
3057
},
3158
log: trap,
@@ -34,7 +61,7 @@
3461
warn: trap,
3562
error: trap,
3663
assert: trap,
37-
clear: function() {
64+
clear: function () {
3865
console.messages.length = 0;
3966
console.raw.length = 0;
4067
},
@@ -51,6 +78,18 @@
5178
profileEnd: trap,
5279
count: trap,
5380
exception: trap,
54-
table: trap
81+
table: trap,
5582
};
56-
})(null);</script><div id="container"></div><script type="text/javascript" src="#{HOSTED_PAGES_ASSETS_CDN_URI}/vendor.password_reset.js?7e1578665f524e0d8491"></script><script type="text/javascript" src="#{HOSTED_PAGES_ASSETS_CDN_URI}/app.password_reset.js?7e1578665f524e0d8491"></script></body></html>
83+
})(null);
84+
</script>
85+
<div id="container"></div>
86+
<script
87+
type="text/javascript"
88+
src="#{HOSTED_PAGES_ASSETS_CDN_URI}/vendor.password_reset.js?7e1578665f524e0d8491"
89+
></script>
90+
<script
91+
type="text/javascript"
92+
src="#{HOSTED_PAGES_ASSETS_CDN_URI}/app.password_reset.js?7e1578665f524e0d8491"
93+
></script>
94+
</body>
95+
</html>

0 commit comments

Comments
 (0)