@madgex/fert 5.0.3 → 5.0.5
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/README.md +21 -12
- package/bin/cli.js +9 -27
- package/bin/commands/_service-command-bootstrap.js +12 -52
- package/bin/commands/build-tasks/build-tokens.js +8 -22
- package/bin/commands/build-tasks/bundle-entry.js +1 -4
- package/bin/commands/build.js +1 -0
- package/bin/commands/configs.js +17 -53
- package/bin/commands/dev-server.js +5 -14
- package/bin/commands/init.js +27 -117
- package/bin/commands/publish-tasks/asset-store-uploader.js +2 -5
- package/bin/commands/publish.js +10 -30
- package/bin/utils/configs.js +55 -95
- package/bin/utils/cpid-lookup.js +2 -2
- package/bin/utils/cpid-matches-git-remote.js +5 -10
- package/bin/utils/getSchemaMeta.js +1 -1
- package/bin/utils/index.js +14 -25
- package/bin/utils/lookup-cf-distribution-ids.js +2 -7
- package/bin/utils/resolve-external-assets.js +6 -15
- package/constants.js +3 -17
- package/package.json +17 -26
- package/repo-template/fert.config.js +3 -0
- package/repo-template/package.json +22 -0
- package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/brand.json +6 -3
- package/repo-template/services/jobseekers-frontend/fert.service.config.js +7 -0
- package/repo-template/services/jobseekers-frontend/public/icons/user.svg +4 -0
- package/repo-template/services/jobseekers-frontend/public/images/favicon.ico +0 -0
- package/repo-template/services/jobseekers-frontend/public/images/fred.jpeg +0 -0
- package/repo-template/services/jobseekers-frontend/src/css/styles.scss +1152 -0
- package/repo-template/services/jobseekers-frontend/src/index.js +9 -0
- package/repo-template/services/jobseekers-frontend/src/js/recruiter-link.js +25 -0
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/footer-nav.njk +26 -26
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/main-nav.njk +40 -31
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/user-nav.njk +16 -16
- package/repo-template/services/jobseekers-frontend/templates/footer.njk +20 -0
- package/repo-template/services/jobseekers-frontend/templates/header.njk +74 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/footer-nav.njk +15 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/main-nav.njk +19 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/user-nav/authenticated.njk +34 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/user-nav/unauthenticated.njk +9 -0
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/en.njk +1 -0
- package/server/index.js +2 -3
- package/server/plugins/hapi-vite.js +4 -2
- package/server/routes/views.js +1 -0
- package/server/view-manager.js +2 -5
- package/.prettierrc.js +0 -8
- package/bin/commands/configs.test.js +0 -182
- package/bin/utils/configs.test.js +0 -53
- package/bin/utils/persistent-cache-with-ttl.test.js +0 -42
- package/bin/utils/resolve-external-assets.test.js +0 -98
- package/delivery/jenkinsfile +0 -93
- package/eslint.config.mjs +0 -53
- package/repo-templates/globals/fert.config.js +0 -9
- package/repo-templates/template-basic/_gitignore +0 -6
- package/repo-templates/template-basic/package.json +0 -13
- package/repo-templates/template-basic/public/favicon.ico +0 -0
- package/repo-templates/template-basic/src/css/styles.scss +0 -11
- package/repo-templates/template-basic/src/index.js +0 -3
- package/repo-templates/template-basic/templates/footer.njk +0 -14
- package/repo-templates/template-basic/templates/header.njk +0 -14
- package/repo-templates/template-bigworkbag/_gitignore +0 -6
- package/repo-templates/template-bigworkbag/brand.json +0 -21
- package/repo-templates/template-bigworkbag/package.json +0 -13
- package/repo-templates/template-bigworkbag/public/favicon.ico +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.eot +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.svg +0 -71
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.ttf +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.woff +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/my-font.woff +0 -1
- package/repo-templates/template-bigworkbag/public/images/logo.png +0 -0
- package/repo-templates/template-bigworkbag/public/images/user-menu-pointer.svg +0 -4
- package/repo-templates/template-bigworkbag/src/css/breakpoints.scss +0 -17
- package/repo-templates/template-bigworkbag/src/css/clicky-menu.scss +0 -52
- package/repo-templates/template-bigworkbag/src/css/desktop-main-nav.scss +0 -25
- package/repo-templates/template-bigworkbag/src/css/desktop-user-nav.scss +0 -127
- package/repo-templates/template-bigworkbag/src/css/footer.scss +0 -77
- package/repo-templates/template-bigworkbag/src/css/header-top.scss +0 -29
- package/repo-templates/template-bigworkbag/src/css/leaderboard-ad.scss +0 -22
- package/repo-templates/template-bigworkbag/src/css/mobile-main-nav.scss +0 -68
- package/repo-templates/template-bigworkbag/src/css/mobile-user-nav.scss +0 -49
- package/repo-templates/template-bigworkbag/src/css/reset.scss +0 -91
- package/repo-templates/template-bigworkbag/src/css/styles.scss +0 -18
- package/repo-templates/template-bigworkbag/src/css/top-bar.scss +0 -13
- package/repo-templates/template-bigworkbag/src/css/typography.scss +0 -20
- package/repo-templates/template-bigworkbag/src/css/util.scss +0 -28
- package/repo-templates/template-bigworkbag/src/css/variables.scss +0 -9
- package/repo-templates/template-bigworkbag/src/index.js +0 -3
- package/repo-templates/template-bigworkbag/src/js/clicky-menus.js +0 -178
- package/repo-templates/template-bigworkbag/src/js/no-js.js +0 -10
- package/repo-templates/template-bigworkbag/templates/footer.njk +0 -68
- package/repo-templates/template-bigworkbag/templates/header.njk +0 -54
- package/repo-templates/template-bigworkbag/templates/includes/desktop-main-nav-items.njk +0 -18
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedin-items.njk +0 -28
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedout-items.njk +0 -9
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/submenu-items.njk +0 -18
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/user-nav.njk +0 -24
- package/repo-templates/template-bigworkbag/templates/includes/dev-console-context.njk +0 -7
- package/repo-templates/template-bigworkbag/templates/includes/mobile-main-nav-items.njk +0 -25
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedin-items.njk +0 -33
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedout-items.njk +0 -16
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/user-nav.njk +0 -24
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-down.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-left.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-right.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-up.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/cart.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/facebook.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/linkedin.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/profile.svg +0 -5
- package/repo-templates/template-bigworkbag/templates/svgs/star-filled.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/star-outline.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/twitter.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/youtube.svg +0 -3
- /package/{repo-templates/globals → repo-template}/jenkinsfile +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.eot +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.svg +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.ttf +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.woff +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/my-font.woff +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/images/logo.png +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/da.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/de.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/es.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/fr.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/nb.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/nl.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/sv.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/zh-cn.njk +0 -0
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
These match the ones used on the design system
|
|
3
|
-
|
|
4
|
-
https://github.com/wiley/madgex-design-system/blob/8d13501ff0512ff0865f380cf3236107f137ea1e/packages/%40madgex.design-system/src/layout/grid/README.md
|
|
5
|
-
*/
|
|
6
|
-
@mixin for-phone-only {
|
|
7
|
-
@media (max-width: 399px) { @content; }
|
|
8
|
-
}
|
|
9
|
-
@mixin for-tablet-portrait-up {
|
|
10
|
-
@media (min-width: 600px) { @content; }
|
|
11
|
-
}
|
|
12
|
-
@mixin for-tablet-landscape-up {
|
|
13
|
-
@media (min-width: 1008px) { @content; }
|
|
14
|
-
}
|
|
15
|
-
@mixin for-desktop-up {
|
|
16
|
-
@media (min-width: 1280px) { @content; }
|
|
17
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Initial state, hidden off screen
|
|
3
|
-
*/
|
|
4
|
-
.clicky-menu ul {
|
|
5
|
-
position: absolute;
|
|
6
|
-
// Using `visibility` instead of `display` allows for easier transitions and animation of submenus
|
|
7
|
-
visibility: hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* No JS fallback
|
|
12
|
-
*
|
|
13
|
-
* Triggers menus on hover rather than click. Supports keyboard navigation in modern browsers.
|
|
14
|
-
*/
|
|
15
|
-
.no-js .clicky-menu li:hover > ul {
|
|
16
|
-
visibility: visible;
|
|
17
|
-
}
|
|
18
|
-
.no-js .clicky-menu li:focus-within > ul {
|
|
19
|
-
visibility: visible;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Open/Close Menu Behavior with JS
|
|
24
|
-
*/
|
|
25
|
-
.clicky-menu ul[aria-hidden="false"] {
|
|
26
|
-
visibility: visible;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Prevent offscreen-submenus */
|
|
30
|
-
.clicky-menu .sub-menu--right {
|
|
31
|
-
left: auto !important;
|
|
32
|
-
right: 0 !important;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* Remove default button styles */
|
|
36
|
-
.clicky-menu button {
|
|
37
|
-
padding: 0;
|
|
38
|
-
background: none;
|
|
39
|
-
color: inherit;
|
|
40
|
-
text-decoration: none;
|
|
41
|
-
font-family: inherit;
|
|
42
|
-
border: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* Focus & hover styles */
|
|
46
|
-
.clicky-menu-control {
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
// &:focus {
|
|
49
|
-
// outline: .125em solid darkgrey;
|
|
50
|
-
// outline-offset: -.125em;
|
|
51
|
-
// }
|
|
52
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[scoped-v6=""] .desktop-main-nav {
|
|
2
|
-
display: none;
|
|
3
|
-
|
|
4
|
-
@include for-tablet-landscape-up {
|
|
5
|
-
display: block;
|
|
6
|
-
background: $brand-color-2;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
& .desktop-main-nav__items {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: flex-start;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
& .desktop-main-nav__link {
|
|
16
|
-
display: inline-block;
|
|
17
|
-
padding: 0.5em 1em;
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
color: #fff;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
& .desktop-main-nav__item:first-child .desktop-main-nav__link {
|
|
23
|
-
padding-left: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
[scoped-v6=""] .desktop-user-nav {
|
|
2
|
-
display: none;
|
|
3
|
-
|
|
4
|
-
@include for-tablet-landscape-up {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: flex-end;
|
|
9
|
-
|
|
10
|
-
& .recruiter-link {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
background-color: $brand-color-2;
|
|
14
|
-
color: #fff;
|
|
15
|
-
border-radius: 3px;
|
|
16
|
-
padding: 5px 10px;
|
|
17
|
-
|
|
18
|
-
& svg.arrow-right {
|
|
19
|
-
width: 1em;
|
|
20
|
-
height: 1em;
|
|
21
|
-
margin-left: 4px;
|
|
22
|
-
fill: #fff;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
& .desktop-user-nav__items {
|
|
27
|
-
display: flex;
|
|
28
|
-
margin-top: 1em;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&--loggedout {
|
|
32
|
-
& .desktop-user-nav__item {
|
|
33
|
-
margin-left: 0.8em;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&--loggedin {
|
|
38
|
-
& .desktop-user-nav__item:not(:last-child) {
|
|
39
|
-
border-right: 1px solid #000;
|
|
40
|
-
padding-right: 1em;
|
|
41
|
-
margin-right: 1em;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
& .desktop-user-nav__item {
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
& .desktop-user-nav__item > a {
|
|
50
|
-
color: #000;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Shortlist
|
|
54
|
-
& .desktop-user-nav__item--shortlist a {
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
& svg.star-filled {
|
|
60
|
-
width: 1em;
|
|
61
|
-
height: 1em;
|
|
62
|
-
margin-left: 0.5em;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// User submenu
|
|
66
|
-
& .desktop-user-nav__item.clicky-menu {
|
|
67
|
-
position: relative;
|
|
68
|
-
z-index: 2;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
& .clicky-menu-control {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
& svg.profile {
|
|
77
|
-
width: 1em;
|
|
78
|
-
height: 1em;
|
|
79
|
-
margin-right: 0.5em;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
& svg.arrow-down {
|
|
83
|
-
width: 0.8em;
|
|
84
|
-
height: 0.8em;
|
|
85
|
-
margin-left: 0.5em;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
& svg.arrow-up {
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
& .desktop-user-nav__submenu-items {
|
|
93
|
-
background: #fff;
|
|
94
|
-
width: 100%;
|
|
95
|
-
border: 1px solid #ddd;
|
|
96
|
-
top: calc(100% + 16px);
|
|
97
|
-
|
|
98
|
-
&::before {
|
|
99
|
-
content: '';
|
|
100
|
-
position: absolute;
|
|
101
|
-
top: -24px;
|
|
102
|
-
right: 8px;
|
|
103
|
-
z-index: 2;
|
|
104
|
-
width: 24px;
|
|
105
|
-
height: 24px;
|
|
106
|
-
background-image: url("/_/jobseekers-frontend/assets/images/user-menu-pointer.svg");
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
& .desktop-user-nav__submenu-item > a {
|
|
111
|
-
display: inline-block;
|
|
112
|
-
width: 100%;
|
|
113
|
-
padding: 8px;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
& .desktop-user-nav__submenu-item:not(:last-of-type) {
|
|
117
|
-
border-bottom: 1px solid #ddd;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
& [aria-expanded="true"] {
|
|
121
|
-
& svg.arrow-down {
|
|
122
|
-
transform: scaleY(-1);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/* Footer */
|
|
2
|
-
|
|
3
|
-
footer[scoped-v6=""] {
|
|
4
|
-
background: $brand-color-2;
|
|
5
|
-
padding: 0 0 30px;
|
|
6
|
-
margin-top: 40px;
|
|
7
|
-
|
|
8
|
-
& .back-to-top {
|
|
9
|
-
background: #eee;
|
|
10
|
-
& a {
|
|
11
|
-
display: block;
|
|
12
|
-
padding: 1em 0;
|
|
13
|
-
text-align: end;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
& .footer-nav__items {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
margin-top: 30px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
& .footer-nav__item:not(:last-of-type) {
|
|
24
|
-
border-bottom: 1px solid #eee;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& .footer-nav__link {
|
|
28
|
-
display: block;
|
|
29
|
-
padding: 1em 0;
|
|
30
|
-
color: #eee;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
& .social-media__items {
|
|
34
|
-
display: flex;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& .social-media__item:not(:last-child) {
|
|
38
|
-
margin-right: 1em;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
& .social-media__link svg {
|
|
42
|
-
fill: #fff;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
& .copyright {
|
|
46
|
-
margin-top: 30px;
|
|
47
|
-
color: #eee;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@include for-tablet-landscape-up {
|
|
51
|
-
padding-top: 30px;
|
|
52
|
-
|
|
53
|
-
& .back-to-top {
|
|
54
|
-
display: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
& .footer-nav__items {
|
|
58
|
-
flex-direction: row;
|
|
59
|
-
flex-wrap: wrap;
|
|
60
|
-
margin-top: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
& .footer-nav__item:not(:last-of-type) {
|
|
64
|
-
border-bottom: 0;
|
|
65
|
-
border-right: 1px solid #777;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
& .footer-nav__link {
|
|
69
|
-
padding: 0.5em 1em;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
& .footer-nav__item:first-of-type .footer-nav__link {
|
|
73
|
-
padding-left: 0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[scoped-v6=""] .header-top {
|
|
2
|
-
background-color: $brand-color-1;
|
|
3
|
-
padding: 20px 0;
|
|
4
|
-
|
|
5
|
-
& .primary-logo {
|
|
6
|
-
max-width: 360px;
|
|
7
|
-
margin: 0 auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@include for-tablet-landscape-up {
|
|
12
|
-
& > .wrapper {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
& .primary-logo {
|
|
20
|
-
margin: 0;
|
|
21
|
-
flex: 1 1 auto;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
& .user-nav-desktop {
|
|
25
|
-
flex: 0 0 auto;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* Leaderboard ad */
|
|
2
|
-
|
|
3
|
-
//Mobile
|
|
4
|
-
[scoped-v6=""] .ad--mobileleaderboard {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
|
|
8
|
-
@include for-tablet-landscape-up {
|
|
9
|
-
display: none;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Desktop
|
|
14
|
-
[scoped-v6=""] .ad--leaderboard {
|
|
15
|
-
display: none;
|
|
16
|
-
|
|
17
|
-
@include for-tablet-landscape-up {
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
padding: clamp(8px, 2vw, 16px);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[scoped-v6=""] .mobile-main-nav {
|
|
4
|
-
& .clicky-menu-control {
|
|
5
|
-
height: $top-bar-height;
|
|
6
|
-
padding: 0 $gutter-width;
|
|
7
|
-
|
|
8
|
-
& .hamburger {
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 32px;
|
|
11
|
-
height: 32px;
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
& .hamburger-line {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 4px;
|
|
21
|
-
background: #fff;
|
|
22
|
-
border-radius: 2px;
|
|
23
|
-
transition: transform 0.1s ease-in, opacity 0.1s ease-in-out;
|
|
24
|
-
|
|
25
|
-
&:first-child {
|
|
26
|
-
transform: translateY(-12px);
|
|
27
|
-
}
|
|
28
|
-
&:last-child {
|
|
29
|
-
transform: translateY(12px);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&[aria-expanded="true"] {
|
|
34
|
-
& .hamburger-line:nth-child(2) {
|
|
35
|
-
transform: rotate(45deg);
|
|
36
|
-
}
|
|
37
|
-
& .hamburger-line:nth-child(3) {
|
|
38
|
-
transform: rotate(-45deg);
|
|
39
|
-
}
|
|
40
|
-
& .hamburger-line:first-child,
|
|
41
|
-
& .hamburger-line:last-child {
|
|
42
|
-
transform: translateY(0);
|
|
43
|
-
opacity: 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
& .mobile-main-nav__items {
|
|
49
|
-
z-index: 2;
|
|
50
|
-
width: 100vw;
|
|
51
|
-
top: $top-bar-height;
|
|
52
|
-
white-space: nowrap;
|
|
53
|
-
background: #fff;
|
|
54
|
-
border: 1px solid #eee;
|
|
55
|
-
border-bottom: 5px solid #aaa;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
& .mobile-main-nav__link {
|
|
59
|
-
display: block;
|
|
60
|
-
padding: 8px $gutter-width;
|
|
61
|
-
color: $font-color-1;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
& .mobile-main-nav__item {
|
|
65
|
-
border-bottom: 1px solid #eee;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
[scoped-v6=""] .mobile-user-nav {
|
|
2
|
-
& .clicky-menu-control {
|
|
3
|
-
height: $top-bar-height;
|
|
4
|
-
padding: 0 $gutter-width;
|
|
5
|
-
transition: background-color 0.2s ease-in;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
& svg.profile {
|
|
9
|
-
fill: #fff;
|
|
10
|
-
transition: fill 0.2s ease-in;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
& .mobile-user-nav__items {
|
|
14
|
-
z-index: 2;
|
|
15
|
-
width: 100vw;
|
|
16
|
-
top: $top-bar-height;
|
|
17
|
-
white-space: nowrap;
|
|
18
|
-
background: #fff;
|
|
19
|
-
border: 1px solid #eee;
|
|
20
|
-
border-bottom: 5px solid #aaa;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
& .mobile-user-nav__link {
|
|
24
|
-
display: block;
|
|
25
|
-
padding: 8px $gutter-width;
|
|
26
|
-
color: $font-color-1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
& .mobile-user-nav__item {
|
|
30
|
-
border-bottom: 1px solid #eee;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
& .clicky-menu-control[aria-expanded="true"] {
|
|
34
|
-
background: #eee;
|
|
35
|
-
& svg.profile {
|
|
36
|
-
fill: $brand-color-2;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&--loggedin {
|
|
41
|
-
& .mobile-user-nav__item:first-of-type {
|
|
42
|
-
padding: 8px $gutter-width;
|
|
43
|
-
background: #eee;
|
|
44
|
-
color: $font-color-1;
|
|
45
|
-
border-bottom-color: transparent;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
html,
|
|
2
|
-
body,
|
|
3
|
-
div,
|
|
4
|
-
span,
|
|
5
|
-
applet,
|
|
6
|
-
object,
|
|
7
|
-
iframe,
|
|
8
|
-
h1,
|
|
9
|
-
h2,
|
|
10
|
-
h3,
|
|
11
|
-
h4,
|
|
12
|
-
h5,
|
|
13
|
-
h6,
|
|
14
|
-
p,
|
|
15
|
-
blockquote,
|
|
16
|
-
pre,
|
|
17
|
-
a,
|
|
18
|
-
abbr,
|
|
19
|
-
acronym,
|
|
20
|
-
address,
|
|
21
|
-
code,
|
|
22
|
-
del,
|
|
23
|
-
dfn,
|
|
24
|
-
img,
|
|
25
|
-
ins,
|
|
26
|
-
kbd,
|
|
27
|
-
q,
|
|
28
|
-
s,
|
|
29
|
-
samp,
|
|
30
|
-
small,
|
|
31
|
-
strike,
|
|
32
|
-
tt,
|
|
33
|
-
var,
|
|
34
|
-
u,
|
|
35
|
-
center,
|
|
36
|
-
dl,
|
|
37
|
-
dt,
|
|
38
|
-
dd,
|
|
39
|
-
ol,
|
|
40
|
-
ul,
|
|
41
|
-
li,
|
|
42
|
-
fieldset,
|
|
43
|
-
form,
|
|
44
|
-
label,
|
|
45
|
-
legend,
|
|
46
|
-
caption,
|
|
47
|
-
table:not(.mds-edited-text table),
|
|
48
|
-
tbody:not(.mds-edited-text tbody),
|
|
49
|
-
tfoot:not(.mds-edited-text tfoot),
|
|
50
|
-
thead:not(.mds-edited-text thead),
|
|
51
|
-
tr:not(.mds-edited-text tr),
|
|
52
|
-
th:not(.mds-edited-text th),
|
|
53
|
-
td:not(.mds-edited-text td),
|
|
54
|
-
article,
|
|
55
|
-
aside,
|
|
56
|
-
canvas,
|
|
57
|
-
details,
|
|
58
|
-
embed,
|
|
59
|
-
figure,
|
|
60
|
-
figcaption,
|
|
61
|
-
footer,
|
|
62
|
-
header,
|
|
63
|
-
hgroup,
|
|
64
|
-
menu,
|
|
65
|
-
nav,
|
|
66
|
-
output,
|
|
67
|
-
ruby,
|
|
68
|
-
section,
|
|
69
|
-
summary,
|
|
70
|
-
time,
|
|
71
|
-
mark,
|
|
72
|
-
audio,
|
|
73
|
-
video {
|
|
74
|
-
margin: 0;
|
|
75
|
-
padding: 0;
|
|
76
|
-
border: 0;
|
|
77
|
-
font: inherit;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
*,
|
|
81
|
-
*::before,
|
|
82
|
-
*::after {
|
|
83
|
-
box-sizing: border-box;
|
|
84
|
-
word-wrap: break-word;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
ol,
|
|
88
|
-
ul {
|
|
89
|
-
list-style-type: none;
|
|
90
|
-
list-style-position: outside;
|
|
91
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@import "./reset.scss";
|
|
2
|
-
@import "@madgex/design-system/src/scss/import.scss";
|
|
3
|
-
@import "./variables.scss";
|
|
4
|
-
@import "./breakpoints.scss";
|
|
5
|
-
@import "./util.scss";
|
|
6
|
-
@import "./typography.scss";
|
|
7
|
-
@import "./clicky-menu.scss";
|
|
8
|
-
|
|
9
|
-
@import "./leaderboard-ad.scss";
|
|
10
|
-
@import "./top-bar.scss";
|
|
11
|
-
@import "./header-top.scss";
|
|
12
|
-
@import "./mobile-main-nav.scss";
|
|
13
|
-
@import "./mobile-user-nav.scss";
|
|
14
|
-
@import "./desktop-user-nav.scss";
|
|
15
|
-
@import "./desktop-main-nav.scss";
|
|
16
|
-
@import "./footer.scss";
|
|
17
|
-
|
|
18
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
[scoped-v6=""] {
|
|
2
|
-
font-family: sans-serif;
|
|
3
|
-
|
|
4
|
-
/*
|
|
5
|
-
The design system applies these to <body>.
|
|
6
|
-
Repeating here for clarity and independence from the design system.
|
|
7
|
-
*/
|
|
8
|
-
font-size: 1.125rem;
|
|
9
|
-
line-height: 1.34;
|
|
10
|
-
|
|
11
|
-
@include for-phone-only {
|
|
12
|
-
font-size: 1rem;
|
|
13
|
-
line-height: 1.38;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@include for-tablet-landscape-up {
|
|
17
|
-
font-size: 1rem;
|
|
18
|
-
line-height: 1.38;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* As design system .mds-js-visually-hidden */
|
|
2
|
-
.visually-hidden {
|
|
3
|
-
position: absolute;
|
|
4
|
-
|
|
5
|
-
width: 1px;
|
|
6
|
-
height: 1px;
|
|
7
|
-
// If margin is set to a negative value it can cause text to be announced in the wrong order in VoiceOver for OSX
|
|
8
|
-
margin: 0;
|
|
9
|
-
padding: 0;
|
|
10
|
-
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
clip: rect(0 0 0 0);
|
|
13
|
-
clip-path: inset(50%);
|
|
14
|
-
|
|
15
|
-
border: 0;
|
|
16
|
-
|
|
17
|
-
// For long content, line feeds are not interpreted as spaces and small width
|
|
18
|
-
// causes content to wrap 1 word per line:
|
|
19
|
-
// https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
|
|
20
|
-
white-space: nowrap;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* As design system .mds-wrapper */
|
|
24
|
-
[scoped-v6=""] .wrapper {
|
|
25
|
-
margin: 0 auto;
|
|
26
|
-
max-width: 1240px;
|
|
27
|
-
width: $wrapper-width;
|
|
28
|
-
}
|