@ons/design-system 50.0.1 → 53.0.0
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 +35 -15
- package/components/access-code/_macro.njk +1 -1
- package/components/access-code/_macro.spec.js +162 -0
- package/components/access-code/uac.spec.js +26 -0
- package/components/accordion/_macro.spec.js +224 -0
- package/components/accordion/accordion.spec.js +134 -0
- package/components/address-input/_macro.njk +1 -1
- package/components/address-input/_macro.spec.js +465 -0
- package/components/address-input/autosuggest.address.js +5 -4
- package/components/address-input/autosuggest.address.setter.js +9 -3
- package/components/address-input/autosuggest.address.spec.js +733 -0
- package/components/address-output/_macro.njk +6 -6
- package/components/address-output/_macro.spec.js +122 -0
- package/components/autosuggest/_macro.njk +1 -1
- package/components/autosuggest/_macro.spec.js +229 -0
- package/components/autosuggest/autosuggest.helpers.js +2 -3
- package/components/autosuggest/autosuggest.helpers.spec.js +85 -0
- package/components/autosuggest/autosuggest.js +4 -2
- package/components/autosuggest/autosuggest.spec.js +625 -0
- package/components/autosuggest/autosuggest.ui.js +6 -2
- package/components/breadcrumbs/_macro.spec.js +129 -0
- package/components/button/_button.scss +75 -33
- package/components/button/_macro.njk +6 -6
- package/components/button/_macro.spec.js +446 -0
- package/components/button/button.spec.js +290 -0
- package/components/call-to-action/_macro.njk +3 -1
- package/components/call-to-action/_macro.spec.js +52 -0
- package/components/card/_macro.njk +26 -19
- package/components/card/_macro.spec.js +261 -0
- package/components/char-check-limit/_macro.spec.js +73 -0
- package/components/char-check-limit/character-check.spec.js +196 -0
- package/components/char-check-limit/character-limit.js +1 -1
- package/components/checkboxes/_checkbox-macro.spec.js +419 -0
- package/components/checkboxes/_macro.njk +1 -3
- package/components/checkboxes/_macro.spec.js +306 -0
- package/components/checkboxes/checkbox-with-autoselect.js +2 -1
- package/components/checkboxes/checkboxes.spec.js +208 -0
- package/components/code-highlight/_macro.spec.js +56 -0
- package/components/code-highlight/code-highlight.spec.js +18 -0
- package/components/collapsible/_macro.spec.js +204 -0
- package/components/collapsible/collapsible.js +2 -1
- package/components/collapsible/collapsible.spec.js +236 -0
- package/components/content-pagination/_macro.spec.js +199 -0
- package/components/cookies-banner/_macro.njk +1 -1
- package/components/cookies-banner/_macro.spec.js +171 -0
- package/components/cookies-banner/cookies-banner.spec.js +90 -0
- package/components/date-input/_macro.njk +6 -3
- package/components/date-input/_macro.spec.js +286 -0
- package/components/document-list/_macro.njk +3 -5
- package/components/document-list/_macro.spec.js +491 -0
- package/components/download-resources/download-resources.spec.js +540 -0
- package/components/duration/_macro.njk +7 -6
- package/components/duration/_macro.spec.js +251 -0
- package/components/error/_macro.spec.js +97 -0
- package/components/external-link/_macro.njk +5 -2
- package/components/external-link/_macro.spec.js +77 -0
- package/components/feedback/_macro.njk +5 -3
- package/components/feedback/_macro.spec.js +122 -0
- package/components/field/_macro.njk +2 -2
- package/components/field/_macro.spec.js +97 -0
- package/components/fieldset/_macro.njk +3 -3
- package/components/fieldset/_macro.spec.js +173 -0
- package/components/footer/_footer.scss +19 -4
- package/components/footer/_macro.njk +106 -137
- package/components/footer/_macro.spec.js +678 -0
- package/components/header/_header.scss +65 -46
- package/components/header/_macro.njk +173 -121
- package/components/header/_macro.spec.js +618 -0
- package/components/hero/_hero.scss +30 -143
- package/components/hero/_macro.njk +12 -23
- package/components/hero/_macro.spec.js +218 -0
- package/components/icons/_macro.njk +258 -30
- package/components/icons/_macro.spec.js +140 -0
- package/components/images/_macro.njk +1 -1
- package/components/images/_macro.spec.js +121 -0
- package/components/input/_input-type.scss +12 -5
- package/components/input/_input.scss +8 -0
- package/components/input/_macro.njk +4 -5
- package/components/input/_macro.spec.js +658 -0
- package/components/label/_macro.spec.js +189 -0
- package/components/language-selector/_macro.njk +1 -1
- package/components/language-selector/_macro.spec.js +137 -0
- package/components/lists/_list.scss +4 -0
- package/components/lists/_macro.njk +4 -7
- package/components/lists/_macro.spec.js +618 -0
- package/components/message/_macro.spec.js +137 -0
- package/components/message-list/_macro.njk +7 -7
- package/components/message-list/_macro.spec.js +159 -0
- package/components/metadata/_macro.spec.js +167 -0
- package/components/modal/_macro.njk +6 -6
- package/components/modal/_macro.spec.js +87 -0
- package/components/modal/modal.spec.js +59 -0
- package/components/mutually-exclusive/_macro.njk +2 -2
- package/components/mutually-exclusive/_macro.spec.js +184 -0
- package/components/mutually-exclusive/mutually-exclusive.checkboxes.spec.js +203 -0
- package/components/mutually-exclusive/mutually-exclusive.date.spec.js +142 -0
- package/components/mutually-exclusive/mutually-exclusive.duration.spec.js +141 -0
- package/components/mutually-exclusive/mutually-exclusive.email.spec.js +117 -0
- package/components/mutually-exclusive/mutually-exclusive.multiple-options.checkboxes.spec.js +213 -0
- package/components/mutually-exclusive/mutually-exclusive.number.spec.js +125 -0
- package/components/mutually-exclusive/mutually-exclusive.textarea.spec.js +131 -0
- package/components/navigation/_macro.njk +45 -38
- package/components/navigation/_macro.spec.js +329 -0
- package/components/navigation/_navigation.scss +20 -4
- package/components/navigation/navigation.dom.js +1 -1
- package/components/navigation/navigation.spec.js +232 -0
- package/components/pagination/_macro.njk +1 -1
- package/components/pagination/_macro.spec.js +411 -0
- package/components/panel/_macro.njk +6 -6
- package/components/panel/_macro.spec.js +423 -0
- package/components/password/_macro.spec.js +137 -0
- package/components/password/password.spec.js +40 -0
- package/components/phase-banner/_macro.spec.js +73 -0
- package/components/promotional-banner/_macro.spec.js +97 -0
- package/components/question/_macro.njk +16 -22
- package/components/question/_macro.spec.js +309 -0
- package/components/quote/_macro.spec.js +81 -0
- package/components/radios/_macro.njk +3 -6
- package/components/radios/_macro.spec.js +575 -0
- package/components/radios/radios.spec.js +180 -0
- package/components/related-content/_macro.njk +14 -21
- package/components/related-content/_macro.spec.js +133 -0
- package/components/related-content/_section-macro.njk +10 -0
- package/components/related-content/_section-macro.spec.js +43 -0
- package/components/relationships/_macro.spec.js +108 -0
- package/components/relationships/relationships.spec.js +84 -0
- package/components/reply/_macro.njk +2 -2
- package/components/reply/_macro.spec.js +69 -0
- package/components/reply/reply.spec.js +78 -0
- package/components/search/_macro.njk +14 -12
- package/components/search/_macro.spec.js +44 -0
- package/components/search/_search.scss +7 -7
- package/components/section-navigation/_macro.njk +7 -2
- package/components/section-navigation/_macro.spec.js +206 -0
- package/components/select/_macro.njk +3 -3
- package/components/select/_macro.spec.js +203 -0
- package/components/select/select.spec.js +56 -0
- package/components/share-page/_macro.njk +6 -4
- package/components/share-page/_macro.spec.js +110 -0
- package/components/skip-to-content/_macro.spec.js +57 -0
- package/components/skip-to-content/skip-to-content.spec.js +44 -0
- package/components/status/_macro.spec.js +77 -0
- package/components/summary/_macro.njk +5 -5
- package/components/summary/_macro.spec.js +472 -0
- package/components/table/_macro.njk +2 -2
- package/components/table/_macro.spec.js +557 -0
- package/components/table/table.spec.js +155 -0
- package/components/table-of-contents/_macro.njk +35 -35
- package/components/table-of-contents/_macro.spec.js +178 -0
- package/components/table-of-contents/toc.js +29 -25
- package/components/table-of-contents/toc.spec.js +61 -0
- package/components/tabs/_macro.njk +1 -1
- package/components/tabs/_macro.spec.js +79 -0
- package/components/tabs/tabs.spec.js +162 -0
- package/components/text-indent/_macro.spec.js +52 -0
- package/components/textarea/_macro.njk +5 -3
- package/components/textarea/_macro.spec.js +300 -0
- package/components/textarea/textarea.spec.js +98 -0
- package/components/timeline/_macro.njk +3 -3
- package/components/timeline/_macro.spec.js +81 -0
- package/components/timeout-modal/_macro.spec.js +68 -0
- package/components/timeout-modal/timeout-modal.spec.js +226 -0
- package/components/timeout-panel/_macro.njk +0 -1
- package/components/timeout-panel/_macro.spec.js +54 -0
- package/components/timeout-panel/timeout-panel.dom.js +1 -2
- package/components/timeout-panel/timeout-panel.spec.js +161 -0
- package/components/upload/_macro.spec.js +75 -0
- package/components/video/_macro.spec.js +34 -0
- package/css/census.css +3 -1
- package/css/ids.css +2 -0
- package/css/main.css +1 -1
- package/img/dummy-brand-logo.svg +1 -0
- package/js/cookies-settings.spec.js +154 -0
- package/layout/_template.njk +7 -4
- package/package.json +10 -23
- package/scripts/main.es5.js +2 -2
- package/scripts/main.js +1 -1
- package/scss/ids.scss +2 -0
- package/scss/settings/_census.scss +141 -0
- package/scss/settings/_ids.scss +48 -0
- package/scss/utilities/_margin.scss +1 -0
- package/scss/vars/_colors.scss +5 -2
package/scss/ids.scss
ADDED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Census brand
|
|
2
|
+
$color-white: #fff;
|
|
2
3
|
$color-black: #222;
|
|
4
|
+
$color-white: #fff;
|
|
3
5
|
$color-branded: #902082;
|
|
4
6
|
$color-branded-tint: rgba(144, 32, 130, 0.1); // 10% of brand colour
|
|
5
7
|
$color-branded-secondary: #df0667;
|
|
@@ -11,3 +13,142 @@ $color-census-gradient: linear-gradient(to bottom left, #902082 0%, #3c388e 100%
|
|
|
11
13
|
// Assignment
|
|
12
14
|
$color-tag-bg: $color-branded-supporting-tint;
|
|
13
15
|
$color-text-link-hover: $color-black;
|
|
16
|
+
|
|
17
|
+
// Overrides
|
|
18
|
+
|
|
19
|
+
// Header logo
|
|
20
|
+
.ons-header__title-logo {
|
|
21
|
+
.ons-svg-logo {
|
|
22
|
+
fill: $color-white;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Hero
|
|
27
|
+
.ons-hero--census {
|
|
28
|
+
background-image: linear-gradient(46deg, $color-branded-tertiary 0%, $color-branded 100%);
|
|
29
|
+
display: flex;
|
|
30
|
+
margin-bottom: 2px;
|
|
31
|
+
margin-top: 2px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
padding: 0 !important;
|
|
34
|
+
position: relative;
|
|
35
|
+
|
|
36
|
+
.ons-hero__container {
|
|
37
|
+
align-items: flex-end;
|
|
38
|
+
min-height: 400px;
|
|
39
|
+
}
|
|
40
|
+
.ons-hero__circle-image,
|
|
41
|
+
.ons-hero__circle-gradient,
|
|
42
|
+
.ons-hero__circle-lined,
|
|
43
|
+
.ons-hero__circle {
|
|
44
|
+
position: absolute;
|
|
45
|
+
}
|
|
46
|
+
.ons-hero__circle-image {
|
|
47
|
+
background-color: $color-white;
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
height: 300px;
|
|
50
|
+
right: -4px;
|
|
51
|
+
top: -98px;
|
|
52
|
+
width: 300px;
|
|
53
|
+
z-index: 2;
|
|
54
|
+
|
|
55
|
+
img {
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
display: block;
|
|
58
|
+
height: 100%;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.ons-hero__circle-gradient {
|
|
62
|
+
background-image: linear-gradient(-45deg, $color-branded 0%, $color-branded 20%, $color-branded-tertiary 60%, #005489 90%);
|
|
63
|
+
border-radius: 50%;
|
|
64
|
+
display: block;
|
|
65
|
+
height: 182px;
|
|
66
|
+
right: -91px; // Half width of circle
|
|
67
|
+
top: 0.7rem;
|
|
68
|
+
width: 182px;
|
|
69
|
+
z-index: 3;
|
|
70
|
+
}
|
|
71
|
+
.ons-hero__circle {
|
|
72
|
+
background-color: $color-white;
|
|
73
|
+
border-radius: 50%;
|
|
74
|
+
display: block;
|
|
75
|
+
height: 990px;
|
|
76
|
+
left: 50%;
|
|
77
|
+
margin-left: -495px; // Half of circle
|
|
78
|
+
top: 27px;
|
|
79
|
+
width: 990px;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
}
|
|
82
|
+
.ons-hero__circle-lined {
|
|
83
|
+
fill: $color-white;
|
|
84
|
+
height: 133px;
|
|
85
|
+
opacity: 0.4;
|
|
86
|
+
right: -24px;
|
|
87
|
+
top: 114px;
|
|
88
|
+
width: 133px;
|
|
89
|
+
z-index: 4;
|
|
90
|
+
}
|
|
91
|
+
.ons-hero__details {
|
|
92
|
+
padding-bottom: 1rem;
|
|
93
|
+
padding-top: 218px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (min-width: 740px) {
|
|
97
|
+
.ons-hero__container {
|
|
98
|
+
align-items: center;
|
|
99
|
+
}
|
|
100
|
+
.ons-hero__details {
|
|
101
|
+
padding-top: 2rem;
|
|
102
|
+
}
|
|
103
|
+
.ons-hero__circle-image {
|
|
104
|
+
height: 382px;
|
|
105
|
+
right: -8px;
|
|
106
|
+
top: -117px;
|
|
107
|
+
width: 382px;
|
|
108
|
+
}
|
|
109
|
+
.ons-hero__circle-gradient {
|
|
110
|
+
height: 234px;
|
|
111
|
+
right: -117px; // Half width of circle
|
|
112
|
+
top: 1rem;
|
|
113
|
+
width: 234px;
|
|
114
|
+
}
|
|
115
|
+
.ons-hero__circle {
|
|
116
|
+
left: -331px;
|
|
117
|
+
margin: auto; // Reset
|
|
118
|
+
top: -288px;
|
|
119
|
+
}
|
|
120
|
+
.ons-hero__circle-lined {
|
|
121
|
+
height: 171px;
|
|
122
|
+
right: -24px;
|
|
123
|
+
top: 148px;
|
|
124
|
+
width: 171px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media (min-width: 980px) {
|
|
129
|
+
.ons-hero__details {
|
|
130
|
+
padding-right: 2.5rem;
|
|
131
|
+
}
|
|
132
|
+
.ons-hero__circle-image {
|
|
133
|
+
height: 558px;
|
|
134
|
+
margin: auto;
|
|
135
|
+
right: 0;
|
|
136
|
+
top: -176px;
|
|
137
|
+
width: 558px;
|
|
138
|
+
}
|
|
139
|
+
.ons-hero__circle-gradient {
|
|
140
|
+
height: 342px;
|
|
141
|
+
right: -171px; // Half width of circle
|
|
142
|
+
width: 342px;
|
|
143
|
+
}
|
|
144
|
+
.ons-hero__circle {
|
|
145
|
+
top: -369px;
|
|
146
|
+
}
|
|
147
|
+
.ons-hero__circle-lined {
|
|
148
|
+
height: 243px;
|
|
149
|
+
right: 0;
|
|
150
|
+
top: 292px; // Reset
|
|
151
|
+
width: 243px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// IDS brand
|
|
2
|
+
$color-black: #222;
|
|
3
|
+
$color-branded: #624595;
|
|
4
|
+
$color-branded-text: $color-black;
|
|
5
|
+
$color-branded-tint: rgba(98, 69, 149, 0.1); // 10% of brand colour
|
|
6
|
+
$color-branded-secondary: #e06c0f;
|
|
7
|
+
// Assignment
|
|
8
|
+
$color-text-link-hover: $color-black;
|
|
9
|
+
|
|
10
|
+
// Overrides
|
|
11
|
+
// Hero
|
|
12
|
+
.ons-hero {
|
|
13
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 400 520'%3E%3Cmask id='a' width='400' height='520' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Cpath fill='%2330279E' d='M0 0h400v519.066H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='url(%23b)' d='M197.258-52.508c-38.413-38.497-35.323-35.38-73.712-73.903-17.017-17.08-27.478-36.477-26.054-61.85 1.919-34.088 16.925-58.593 48.675-71.608 33.248-13.627 63.159-6.854 88.473 18.059 39.713 39.08 37.365 37.117 76.72 76.56 38.723 38.815 27.726 27.608 66.251 66.632 30.571 30.967 30.937 80.812 1.263 112.41-28.753 30.624-82.306 32.403-112.27 2.903-40.021-39.408-29.618-29.512-69.283-69.273l-.072.069.009.001Z' style='mix-blend-mode:multiply'/%3E%3Cpath fill='url(%23c)' d='M587.867 63.296c-39.333 39.442-36.141 36.273-75.491 75.689-17.445 17.478-37.291 28.245-63.285 26.853-34.92-1.874-60.058-17.178-73.465-49.66-14.046-34.023-7.192-64.674 18.255-90.66C433.8-15.266 431.8-12.856 472.087-53.276c39.645-39.766 28.211-28.472 68.071-68.035 31.641-31.391 82.689-31.907 115.132-1.598 31.448 29.371 33.407 84.214 3.269 114.976-40.255 41.092-30.142 30.413-70.764 71.142l.07.076.002.01Z' style='mix-blend-mode:multiply'/%3E%3Cpath fill='%23624595' d='M-728.821-950.538c-99.434-99.252-260.511-99.122-359.769.312-99.26 99.433-99.12 260.511.32 359.766L55.788 551.605c99.433 99.265 260.511 99.122 359.766-.312 99.265-99.433 99.122-260.511-.312-359.766L-728.821-950.538Z'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='b' x1='401.572' x2='97.933' y1='-114.191' y2='-114.56' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.04' stop-color='%23869A38'/%3E%3Cstop offset='1' stop-color='%234C863F'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='523.973' x2='524.441' y1='-144.263' y2='166.737' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.49' stop-color='%23C66B20'/%3E%3Cstop offset='1' stop-color='%23DD902F'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
|
|
14
|
+
background-repeat: no-repeat;
|
|
15
|
+
background-size: cover;
|
|
16
|
+
|
|
17
|
+
&__container {
|
|
18
|
+
align-items: flex-end !important;
|
|
19
|
+
min-height: 400px !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
// Small bp
|
|
23
|
+
@media (min-width: 500px) {
|
|
24
|
+
.ons-hero {
|
|
25
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 739 373'%3E%3Cmask id='a' width='739' height='373' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Cpath fill='%2330279E' d='M0 0h739v372.744H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='url(%23b)' d='M411.285-40.014c-47.454-47.686-43.637-43.824-91.06-91.543-21.022-21.157-33.945-45.184-32.187-76.613 2.371-42.224 20.909-72.578 60.131-88.7 41.073-16.88 78.024-8.49 109.295 22.37 49.059 48.407 46.159 45.975 94.777 94.833 47.837 48.08 34.252 34.198 81.843 82.537 37.766 38.358 38.218 100.1 1.56 139.242-35.52 37.932-101.677 40.137-138.693 3.594-49.44-48.813-36.588-36.555-85.588-85.807l-.09.085.012.002Z' style='mix-blend-mode:multiply'/%3E%3Cpath fill='url(%23c)' d='M904.394 113.651c-48.59 48.857-44.646 44.932-93.258 93.756-21.551 21.649-46.067 34.987-78.179 33.263-43.139-2.322-74.193-21.279-90.755-61.514-17.352-42.144-8.885-80.111 22.551-112.3 49.314-50.517 46.844-47.531 96.612-97.6 48.975-49.258 34.851-35.268 84.092-84.274 39.088-38.884 102.15-39.524 142.228-1.979 38.845 36.382 41.265 104.315 4.039 142.42-49.729 50.9-37.236 37.671-87.419 88.123l.086.093.003.012Z' style='mix-blend-mode:multiply'/%3E%3Cpath fill='%23624595' d='M-668.626-1067.49c-123.006-123.11-322.269-122.95-445.054.39-122.8 123.336-122.62 323.138.39 446.255L301.984 795.779c123.004 123.129 322.268 122.952 445.053-.387 122.797-123.337 122.62-323.139-.386-446.256L-668.626-1067.49Z'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='b' x1='663.684' x2='288.583' y1='-116.421' y2='-116.875' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.04' stop-color='%23869A38'/%3E%3Cstop offset='1' stop-color='%234C863F'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='825.463' x2='826.044' y1='-143.449' y2='241.783' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.49' stop-color='%23C66B20'/%3E%3Cstop offset='1' stop-color='%23DD902F'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
|
|
26
|
+
|
|
27
|
+
&__container {
|
|
28
|
+
align-items: center !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// Medium bp
|
|
33
|
+
@media (min-width: 740px) {
|
|
34
|
+
.ons-hero {
|
|
35
|
+
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 976 373"%3E%3Cmask id="a" width="976" height="373" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"%3E%3Cpath fill="%2330279E" d="M0 0h976v372.744H0z"/%3E%3C/mask%3E%3Cg mask="url(%23a)"%3E%3Cpath fill="%23624595" d="M-1930.87-2218.81c-175.41-175.02-459.47-174.68-634.48.75l-76.35 76.55c-175.01 175.43-174.67 459.53.74 634.56L-302.981 825.814c175.418 175.026 459.479 174.686 634.483-.745l76.356-76.548c175.004-175.439 174.663-459.534-.747-634.56L-1930.87-2218.81Z"/%3E%3Cpath fill="url(%23b)" d="M179.204-186.115C62.374-302.862 71.748-293.391-45.006-410.219c-51.762-51.79-83.645-110.676-79.46-187.768 5.622-103.581 51.038-178.092 147.347-217.802 100.873-41.595 191.712-21.168 268.707 54.364 120.795 118.508 113.665 112.554 233.371 232.168 117.796 117.702 84.351 83.736 201.513 202.062 92.992 93.919 94.399 245.336 4.5 341.51-87.118 93.197-249.69 98.885-340.818 9.428-121.725-119.49-90.079-89.483-210.738-210.06l-.211.209-.001-.007Z" style="mix-blend-mode:multiply"/%3E%3Cpath fill="url(%23c)" d="M1209.6 173.899c-95.89 96.116-88.11 88.408-184.05 184.461-42.542 42.585-90.912 68.825-154.262 65.411-85.116-4.59-146.363-41.91-179.036-121.102-34.22-82.947-17.478-157.657 44.561-221 97.328-99.38 92.442-93.514 190.678-192.004 96.669-96.915 68.773-69.398 165.959-165.787 77.13-76.511 201.56-77.717 280.62-3.816 76.62 71.612 81.36 205.305 7.89 280.282-98.14 100.145-73.5 74.112-172.52 173.38l.17.175h-.01Z" style="mix-blend-mode:multiply"/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id="b" x1="796.834" x2="-124.998" y1="-374.928" y2="-374.215" gradientUnits="userSpaceOnUse"%3E%3Cstop offset=".04" stop-color="%23869A38"/%3E%3Cstop offset="1" stop-color="%234C863F"/%3E%3C/linearGradient%3E%3ClinearGradient id="c" x1="1054.17" x2="1055.03" y1="-334.443" y2="423.667" gradientUnits="userSpaceOnUse"%3E%3Cstop offset=".49" stop-color="%23C66B20"/%3E%3Cstop offset="1" stop-color="%23DD902F"/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E');
|
|
36
|
+
|
|
37
|
+
&__details {
|
|
38
|
+
padding-bottom: 1rem;
|
|
39
|
+
padding-top: 1rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
// Large bp
|
|
44
|
+
@media (min-width: 980px) {
|
|
45
|
+
.ons-hero {
|
|
46
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 1920 629'%3E%3Cmask id='a' width='1920' height='629' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Cpath fill='%2330279E' d='M0 0h1920v628.219H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%23624595' d='M-1285.11-2148.85c-174.93-176.44-461.03-178.91-639.04-5.53l-77.66 75.65c-178.01 173.38-180.5 456.97-5.58 633.41L324.066 906.306c174.929 176.444 461.028 178.914 639.036 5.529l77.668-75.652c178.01-173.389 180.5-456.969 5.58-633.409L-1285.11-2148.85Z'/%3E%3Cpath fill='url(%23b)' d='M702.452-229.24C546.533-385.046 559.044-372.408 403.227-528.322c-69.079-69.117-111.629-147.705-106.044-250.589 7.503-138.236 68.114-237.679 196.645-290.669 134.622-55.51 255.853-28.25 358.607 72.549C1013.64-838.874 1004.13-846.82 1163.89-687.187c157.2 157.081 112.57 111.751 268.93 269.666 124.1 125.341 125.98 327.417 6 455.77-116.26 124.376-333.23 131.967-454.841 12.58-162.45-159.467-120.217-119.421-281.245-280.338l-.282.278v-.009Z' style='mix-blend-mode:multiply'/%3E%3Cpath fill='url(%23c)' d='M1993.15 254.591c-115.74 115.382-106.34 106.129-222.16 221.436-51.34 51.122-109.65 82.548-185.9 78.231-102.44-5.805-176.04-50.931-215.11-146.365-40.92-99.959-20.52-189.836 54.36-265.879C1541.83 22.705 1535.93 29.751 1654.5-88.482c116.68-116.342 83.02-83.311 200.32-199.018 93.1-91.845 242.88-92.887 337.81-3.67 91.99 86.455 97.25 247.401 8.57 337.413-118.46 120.225-88.71 88.97-208.24 208.136l.2.212h-.01Z' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='b' x1='1526.72' x2='296.473' y1='-481.225' y2='-480.273' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.04' stop-color='%23869A38'/%3E%3Cstop offset='1' stop-color='%234C863F'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='1807.73' x2='1806.27' y1='-357.833' y2='554.737' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.49' stop-color='%23C66B20'/%3E%3Cstop offset='1' stop-color='%23DD902F'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
|
|
47
|
+
}
|
|
48
|
+
}
|
package/scss/vars/_colors.scss
CHANGED
|
@@ -35,6 +35,7 @@ $color-flamingo-pink: #df0667;
|
|
|
35
35
|
|
|
36
36
|
// Theme branding
|
|
37
37
|
$color-branded: $color-ocean-blue !default;
|
|
38
|
+
$color-branded-text: $color-ocean-blue !default;
|
|
38
39
|
$color-branded-tint: tint($color-branded, 90%) !default;
|
|
39
40
|
$color-branded-secondary: $color-night-blue !default;
|
|
40
41
|
$color-branded-secondary-tint: tint($color-branded-secondary, 90%) !default;
|
|
@@ -49,8 +50,10 @@ $color-branded-supporting-tint: tint($color-branded-supporting, 90%) !default;
|
|
|
49
50
|
|
|
50
51
|
// Headers, footers, banners, page
|
|
51
52
|
$color-header: $color-branded !default;
|
|
52
|
-
$color-header-
|
|
53
|
-
$color-header-
|
|
53
|
+
$color-header-light: $color-white !default;
|
|
54
|
+
$color-header-masthead: $color-white !default;
|
|
55
|
+
$color-header-masthead-dark: $color-black !default;
|
|
56
|
+
$color-header-masthead-internal: $color-branded-secondary !default;
|
|
54
57
|
$color-cta-bg: $color-branded-tint !default;
|
|
55
58
|
$color-banner-bg: $color-grey-5 !default;
|
|
56
59
|
$color-banner-bg-dark: $color-grey-15 !default;
|