@phillips/seldon 1.39.0 → 1.41.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/dist/components/Footer/Footer.d.ts +0 -4
- package/dist/components/Footer/Footer.js +16 -15
- package/dist/components/HeroBanner/HeroBanner.js +21 -21
- package/dist/components/Link/Link.js +23 -24
- package/dist/components/Link/types.d.ts +3 -16
- package/dist/components/Link/types.js +6 -2
- package/dist/components/Link/utils.d.ts +2 -18
- package/dist/components/Link/utils.js +4 -6
- package/dist/components/LinkBlock/LinkBlock.js +8 -8
- package/dist/components/Navigation/NavigationItem/NavigationItem.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +28 -20
- package/dist/components/Social/Social.js +16 -14
- package/dist/components/Text/types.d.ts +5 -8
- package/dist/components/Text/types.js +1 -1
- package/dist/components/Text/utils.js +4 -7
- package/dist/components/Video/Video.d.ts +23 -0
- package/dist/components/Video/Video.js +26 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -5
- package/dist/scss/_type.scss +30 -62
- package/dist/scss/_vars.scss +60 -49
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Footer/_footer.scss +53 -129
- package/dist/scss/components/HeroBanner/_heroBanner.scss +12 -29
- package/dist/scss/components/Link/_link.scss +26 -111
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +41 -92
- package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +2 -49
- package/dist/scss/components/Navigation/_navigation.scss +1 -3
- package/dist/scss/components/Row/_row.scss +4 -0
- package/dist/scss/components/Search/_search.scss +1 -1
- package/dist/scss/components/Social/_social.scss +22 -28
- package/dist/scss/components/Text/_text.scss +4 -2
- package/dist/scss/components/UserManagement/_userManagement.scss +0 -8
- package/dist/scss/components/Video/_video.scss +17 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +7 -7
- package/package.json +4 -2
package/dist/scss/_type.scss
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
font-weight: 400;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
@mixin titleText {
|
|
11
|
+
@include DistinctDisplay;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
@mixin bodyText {
|
|
11
15
|
color: $soft-black;
|
|
12
16
|
}
|
|
@@ -33,7 +37,7 @@
|
|
|
33
37
|
font-family: Distinct, sans-serif;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
|
-
@mixin underline($padding: 0, $width: 0.0625rem, $color: $
|
|
40
|
+
@mixin underline($padding: 0, $width: 0.0625rem, $color: $pure-black) {
|
|
37
41
|
border-bottom: $width solid $color;
|
|
38
42
|
padding-bottom: $padding;
|
|
39
43
|
}
|
|
@@ -44,8 +48,9 @@
|
|
|
44
48
|
$transform-style: capitalize,
|
|
45
49
|
$line-height: $heading-line-height-size1
|
|
46
50
|
) {
|
|
51
|
+
@include DistinctDisplay;
|
|
52
|
+
|
|
47
53
|
color: $color;
|
|
48
|
-
font-family: DistinctDisplay, sans-serif;
|
|
49
54
|
font-size: $size;
|
|
50
55
|
font-weight: 400;
|
|
51
56
|
line-height: $line-height;
|
|
@@ -54,47 +59,32 @@
|
|
|
54
59
|
}
|
|
55
60
|
|
|
56
61
|
@mixin pText($size: $body-size1, $color: $pure-black, $line-height: 1.5) {
|
|
62
|
+
@include Montserrat;
|
|
63
|
+
|
|
57
64
|
color: $color;
|
|
58
|
-
font-family: Montserrat, sans-serif;
|
|
59
65
|
font-size: $size;
|
|
60
66
|
line-height: $line-height;
|
|
61
67
|
}
|
|
62
68
|
|
|
63
69
|
@mixin labelText($label) {
|
|
64
|
-
|
|
70
|
+
@include Montserrat;
|
|
65
71
|
|
|
66
72
|
@if $label == 'link' {
|
|
67
|
-
font-size: $link-
|
|
68
|
-
line-height: $link-label-line-height;
|
|
73
|
+
font-size: $link-label-size;
|
|
69
74
|
font-weight: 600;
|
|
70
75
|
letter-spacing: 1px;
|
|
71
|
-
|
|
76
|
+
line-height: $link-label-line-height;
|
|
77
|
+
text-transform: uppercase;
|
|
72
78
|
}
|
|
73
79
|
|
|
74
80
|
@if $label == 'button' {
|
|
75
|
-
font-size: $
|
|
76
|
-
line-height: $button-label-line-height;
|
|
81
|
+
font-size: $button-label-size;
|
|
77
82
|
font-weight: 600;
|
|
78
83
|
letter-spacing: 0;
|
|
84
|
+
line-height: $button-label-line-height;
|
|
79
85
|
text-transform: capitalize;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
|
-
@if $label == 'cta-sm' {
|
|
83
|
-
font-size: $cta-sm-label-size;
|
|
84
|
-
font-weight: 600;
|
|
85
|
-
letter-spacing: 0.0625rem;
|
|
86
|
-
line-height: 1.25;
|
|
87
|
-
text-transform: uppercase;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@if $label == 'cta-lg' {
|
|
91
|
-
font-size: $cta-lg-label-size;
|
|
92
|
-
font-weight: 700;
|
|
93
|
-
letter-spacing: 0.125rem;
|
|
94
|
-
line-height: 1.25;
|
|
95
|
-
text-transform: uppercase;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
88
|
@if $label == 'email' {
|
|
99
89
|
font-size: $email-label-size;
|
|
100
90
|
font-weight: 600;
|
|
@@ -112,9 +102,9 @@
|
|
|
112
102
|
|
|
113
103
|
@if $label == 'badge' {
|
|
114
104
|
font-size: $badge-label-size;
|
|
115
|
-
line-height: $badge-label-line-height;
|
|
116
105
|
font-weight: 500;
|
|
117
106
|
letter-spacing: 0;
|
|
107
|
+
line-height: $badge-label-line-height;
|
|
118
108
|
text-transform: uppercase;
|
|
119
109
|
}
|
|
120
110
|
}
|
|
@@ -129,14 +119,6 @@
|
|
|
129
119
|
@include labelText($link);
|
|
130
120
|
}
|
|
131
121
|
|
|
132
|
-
@if $token == 'cta-sm' {
|
|
133
|
-
@include labelText($cta-sm);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@if $token == 'cta-lg' {
|
|
137
|
-
@include labelText($cta-lg);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
122
|
@if $token == 'email' {
|
|
141
123
|
@include labelText($email);
|
|
142
124
|
}
|
|
@@ -149,27 +131,6 @@
|
|
|
149
131
|
@include labelText($badge);
|
|
150
132
|
}
|
|
151
133
|
|
|
152
|
-
// Displays
|
|
153
|
-
@if $token == 'display0' {
|
|
154
|
-
@include hText($display-size0, null, uppercase);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@if $token == 'display1' {
|
|
158
|
-
@include hText($display-size1, null, uppercase);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@if $token == 'display2' {
|
|
162
|
-
@include hText($display-size2, null, uppercase);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@if $token == 'display3' {
|
|
166
|
-
@include hText($display-size3, null, uppercase);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@if $token == 'display4' {
|
|
170
|
-
@include hText($display-size4, null, uppercase);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
134
|
// Headings
|
|
174
135
|
@if $token == 'blockquote' {
|
|
175
136
|
@include hText(
|
|
@@ -196,20 +157,25 @@
|
|
|
196
157
|
@include hText($heading-size4, $line-height: $heading-line-height-size4, $transform-style: capitalize);
|
|
197
158
|
}
|
|
198
159
|
|
|
160
|
+
@if $token == 'heading5' {
|
|
161
|
+
@include hText($heading-size5, $line-height: $heading-line-height-size5, $transform-style: capitalize);
|
|
162
|
+
}
|
|
163
|
+
|
|
199
164
|
@if $token == 'title1' {
|
|
200
165
|
@include hText($heading-size1, $line-height: $heading-line-height-size1, $transform-style: uppercase);
|
|
201
166
|
}
|
|
202
167
|
|
|
168
|
+
// the title2 token skips heading 2 because it's the same size currently as heading1
|
|
203
169
|
@if $token == 'title2' {
|
|
204
|
-
@include hText($heading-
|
|
170
|
+
@include hText($heading-size3, $line-height: $heading-line-height-size3, $transform-style: uppercase);
|
|
205
171
|
}
|
|
206
172
|
|
|
207
173
|
@if $token == 'title3' {
|
|
208
|
-
@include hText($heading-
|
|
174
|
+
@include hText($heading-size4, $line-height: $heading-line-height-size4, $transform-style: uppercase);
|
|
209
175
|
}
|
|
210
176
|
|
|
211
177
|
@if $token == 'title4' {
|
|
212
|
-
@include hText($heading-
|
|
178
|
+
@include hText($heading-size5, $line-height: $heading-line-height-size5, $transform-style: uppercase);
|
|
213
179
|
}
|
|
214
180
|
|
|
215
181
|
// Body
|
|
@@ -240,19 +206,21 @@
|
|
|
240
206
|
|
|
241
207
|
// SNW
|
|
242
208
|
@if $token == 'snwHeaderLink' {
|
|
243
|
-
|
|
209
|
+
@include DistinctDisplay;
|
|
210
|
+
|
|
211
|
+
font-size: $snw-header-link-size;
|
|
244
212
|
font-weight: 400;
|
|
245
213
|
letter-spacing: 1px;
|
|
246
|
-
font-size: $snw-header-link-size;
|
|
247
214
|
line-height: $snw-header-link-line-height;
|
|
248
215
|
text-transform: uppercase;
|
|
249
216
|
}
|
|
250
217
|
|
|
251
218
|
@if $token == 'snwFlyoutLink' {
|
|
252
|
-
|
|
219
|
+
@include Montserrat;
|
|
220
|
+
|
|
221
|
+
font-size: $snw-flyout-link-size;
|
|
253
222
|
font-weight: 400;
|
|
254
223
|
letter-spacing: 1px;
|
|
255
|
-
font-size: $snw-flyout-link-size;
|
|
256
224
|
line-height: $snw-flyout-link-line-height;
|
|
257
225
|
text-transform: capitalize;
|
|
258
226
|
}
|
package/dist/scss/_vars.scss
CHANGED
|
@@ -72,21 +72,17 @@ $text-family: $DistinctText;
|
|
|
72
72
|
// @include labelText($label)
|
|
73
73
|
$button: 'button';
|
|
74
74
|
$link: 'link';
|
|
75
|
-
$badge: 'badge';
|
|
76
|
-
$cta-sm: 'cta-sm';
|
|
77
|
-
$cta-lg: 'cta-lg';
|
|
78
75
|
$email: 'email';
|
|
79
76
|
$label: 'label';
|
|
80
|
-
$
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
$display3: 'display3';
|
|
84
|
-
$display4: 'display4';
|
|
77
|
+
$badge: 'badge';
|
|
78
|
+
|
|
79
|
+
// Used with the hText mixin
|
|
85
80
|
$blockquote: 'blockquote';
|
|
86
81
|
$heading1: 'heading1';
|
|
87
82
|
$heading2: 'heading2';
|
|
88
83
|
$heading3: 'heading3';
|
|
89
84
|
$heading4: 'heading4';
|
|
85
|
+
$heading5: 'heading5';
|
|
90
86
|
$title1: 'title1';
|
|
91
87
|
$title2: 'title2';
|
|
92
88
|
$title3: 'title3';
|
|
@@ -99,26 +95,28 @@ $string2: 'string2';
|
|
|
99
95
|
$string3: 'string3';
|
|
100
96
|
$snwHeaderLink: 'snwHeaderLink';
|
|
101
97
|
$snwFlyoutLink: 'snwFlyoutLink';
|
|
102
|
-
$text-tokens: $button, $
|
|
103
|
-
$
|
|
104
|
-
$
|
|
98
|
+
$text-tokens: $button, $link, $email, $label, $badge, $blockquote, $heading1, $heading2, $heading3, $heading4, $heading5,
|
|
99
|
+
$title1, $title2, $title3, $title4, $body1, $body2, $body3, $string1, $string2, $string3, $snwFlyoutLink,
|
|
100
|
+
$snwHeaderLink;
|
|
105
101
|
|
|
106
102
|
////////////////////////
|
|
107
103
|
/// FONT SIZE TOKENS:
|
|
108
104
|
///////////////////////
|
|
109
105
|
|
|
110
106
|
:root {
|
|
111
|
-
--
|
|
107
|
+
--desktop-max-width: 120rem;
|
|
112
108
|
--quote-size: 1.75rem;
|
|
113
109
|
--quote-line-height: 2.25rem;
|
|
114
110
|
--heading-size1: 1.75rem;
|
|
115
111
|
--heading-line-height-size1: 2rem;
|
|
116
|
-
--heading-size2: 1.
|
|
117
|
-
--heading-line-height-size2:
|
|
118
|
-
--heading-size3: 1.
|
|
119
|
-
--heading-line-height-size3: 1.
|
|
120
|
-
--heading-size4:
|
|
121
|
-
--heading-line-height-size4: 1.
|
|
112
|
+
--heading-size2: 1.75rem;
|
|
113
|
+
--heading-line-height-size2: 2rem;
|
|
114
|
+
--heading-size3: 1.5rem;
|
|
115
|
+
--heading-line-height-size3: 1.75rem;
|
|
116
|
+
--heading-size4: 1.25rem;
|
|
117
|
+
--heading-line-height-size4: 1.5rem;
|
|
118
|
+
--heading-size5: 1rem;
|
|
119
|
+
--heading-line-height-size5: 1.25rem;
|
|
122
120
|
--string-size1: 1.25rem;
|
|
123
121
|
--string-line-height-size1: 1.5rem;
|
|
124
122
|
--string-size2: 1rem;
|
|
@@ -134,28 +132,30 @@ $text-tokens: $button, $cta-sm, $cta-lg, $email, $label, $badge, $display0, $dis
|
|
|
134
132
|
--label-size1: 1.25rem;
|
|
135
133
|
--label-size2: 1rem;
|
|
136
134
|
--label-size3: 0.75rem;
|
|
137
|
-
--link-
|
|
135
|
+
--link-label-size: 1rem;
|
|
138
136
|
--link-label-line-height: 1rem;
|
|
137
|
+
--button-label-size: 1rem;
|
|
139
138
|
--button-label-line-height: 1.25rem;
|
|
140
139
|
--badge-label-size: 0.75rem;
|
|
141
140
|
--badge-label-line-height: 1rem;
|
|
142
|
-
--snw-header-link-size:
|
|
141
|
+
--snw-header-link-size: 1rem;
|
|
143
142
|
--snw-header-link-line-height: 1.5rem;
|
|
144
|
-
--snw-flyout-link-size:
|
|
143
|
+
--snw-flyout-link-size: 1rem;
|
|
145
144
|
--snw-flyout-link-line-height: 1.75rem;
|
|
146
145
|
|
|
147
146
|
@media (max-width: 960px) {
|
|
148
|
-
--heading-size0: 2.59rem;
|
|
149
147
|
--quote-size: 1.5rem;
|
|
150
148
|
--quote-line-height: 2rem;
|
|
151
149
|
--heading-size1: 1.5rem;
|
|
152
150
|
--heading-line-height-size1: 1.75rem;
|
|
153
|
-
--heading-size2: 1.
|
|
154
|
-
--heading-line-height-size2: 1.
|
|
155
|
-
--heading-size3:
|
|
156
|
-
--heading-line-height-size3: 1.
|
|
157
|
-
--heading-size4:
|
|
158
|
-
--heading-line-height-size4:
|
|
151
|
+
--heading-size2: 1.5rem;
|
|
152
|
+
--heading-line-height-size2: 1.75rem;
|
|
153
|
+
--heading-size3: 1.25rem;
|
|
154
|
+
--heading-line-height-size3: 1.5rem;
|
|
155
|
+
--heading-size4: 1rem;
|
|
156
|
+
--heading-line-height-size4: 1.25rem;
|
|
157
|
+
--heading-size5: 0.75rem;
|
|
158
|
+
--heading-line-height-size5: 1rem;
|
|
159
159
|
--string-size1: 1rem;
|
|
160
160
|
--string-line-height-size1: 1.25rem;
|
|
161
161
|
--string-size2: 0.75rem;
|
|
@@ -171,8 +171,9 @@ $text-tokens: $button, $cta-sm, $cta-lg, $email, $label, $badge, $display0, $dis
|
|
|
171
171
|
--label-size1: 1rem;
|
|
172
172
|
--label-size2: 0.75rem;
|
|
173
173
|
--label-size3: 0.56rem;
|
|
174
|
-
--link-
|
|
174
|
+
--link-label-size: 0.75rem;
|
|
175
175
|
--link-label-line-height: 0.75rem;
|
|
176
|
+
--button-label-size: 0.75rem;
|
|
176
177
|
--button-label-line-height: 1rem;
|
|
177
178
|
--badge-label-size: 0.5rem;
|
|
178
179
|
--badge-label-line-height: 0.67rem;
|
|
@@ -183,17 +184,18 @@ $text-tokens: $button, $cta-sm, $cta-lg, $email, $label, $badge, $display0, $dis
|
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
@media (min-width: 1801px) {
|
|
186
|
-
--heading-size0: 4.06rem;
|
|
187
187
|
--quote-size: 2rem;
|
|
188
188
|
--quote-line-height: 2.5rem;
|
|
189
189
|
--heading-size1: 2rem;
|
|
190
190
|
--heading-line-height-size1: 2.25rem;
|
|
191
|
-
--heading-size2:
|
|
192
|
-
--heading-line-height-size2:
|
|
193
|
-
--heading-size3: 1.
|
|
194
|
-
--heading-line-height-size3:
|
|
195
|
-
--heading-size4: 1.
|
|
196
|
-
--heading-line-height-size4: 1.
|
|
191
|
+
--heading-size2: 2rem;
|
|
192
|
+
--heading-line-height-size2: 2.25rem;
|
|
193
|
+
--heading-size3: 1.75rem;
|
|
194
|
+
--heading-line-height-size3: 2rem;
|
|
195
|
+
--heading-size4: 1.5rem;
|
|
196
|
+
--heading-line-height-size4: 1.75rem;
|
|
197
|
+
--heading-size5: 1.25rem;
|
|
198
|
+
--heading-line-height-size5: 1.5rem;
|
|
197
199
|
--string-size1: 1.5rem;
|
|
198
200
|
--string-line-height-size1: 1.75rem;
|
|
199
201
|
--string-size2: 1.25rem;
|
|
@@ -209,8 +211,9 @@ $text-tokens: $button, $cta-sm, $cta-lg, $email, $label, $badge, $display0, $dis
|
|
|
209
211
|
--label-size1: 1.56rem;
|
|
210
212
|
--label-size2: 1.25rem;
|
|
211
213
|
--label-size3: 1rem;
|
|
212
|
-
--link-
|
|
214
|
+
--link-label-size: 1.25rem;
|
|
213
215
|
--link-label-line-height: 1.25rem;
|
|
216
|
+
--button-label-size: 1.25rem;
|
|
214
217
|
--button-label-line-height: 1.5rem;
|
|
215
218
|
--badge-label-size: 1rem;
|
|
216
219
|
--badge-label-line-height: 1.5rem;
|
|
@@ -221,12 +224,11 @@ $text-tokens: $button, $cta-sm, $cta-lg, $email, $label, $badge, $display0, $dis
|
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
226
|
|
|
224
|
-
//
|
|
225
|
-
$
|
|
226
|
-
$
|
|
227
|
-
$
|
|
228
|
-
$
|
|
229
|
-
$display-size4: var(--heading-size4);
|
|
227
|
+
// TITLE
|
|
228
|
+
$title-size1: var(--heading-size1);
|
|
229
|
+
$title-size2: var(--heading-size2);
|
|
230
|
+
$title-size3: var(--heading-size3);
|
|
231
|
+
$title-size4: var(--heading-size4);
|
|
230
232
|
|
|
231
233
|
// HEADING
|
|
232
234
|
$heading-size1: var(--heading-size1);
|
|
@@ -237,6 +239,8 @@ $heading-size3: var(--heading-size3);
|
|
|
237
239
|
$heading-line-height-size3: var(--heading-line-height-size3);
|
|
238
240
|
$heading-size4: var(--heading-size4);
|
|
239
241
|
$heading-line-height-size4: var(--heading-line-height-size4);
|
|
242
|
+
$heading-size5: var(--heading-size5);
|
|
243
|
+
$heading-line-height-size5: var(--heading-line-height-size5);
|
|
240
244
|
|
|
241
245
|
// BODY
|
|
242
246
|
$body-size1: var(--body-size1);
|
|
@@ -255,13 +259,11 @@ $string-size3: var(--string-size3);
|
|
|
255
259
|
$string-line-height-size3: var(--string-line-height-size3);
|
|
256
260
|
|
|
257
261
|
// LABELS
|
|
258
|
-
$button-label-size: var(--label-size2);
|
|
259
|
-
$cta-sm-label-size: var(--label-size2);
|
|
260
262
|
$email-label-size: var(--label-size2);
|
|
261
|
-
$cta-lg-label-size: var(--label-size1);
|
|
262
263
|
$text-label-size: var(--label-size3);
|
|
263
264
|
$badge-label-size: var(--label-size3);
|
|
264
|
-
$link-
|
|
265
|
+
$link-label-size: var(--link-label-size);
|
|
266
|
+
$button-label-size: var(--button-label-size);
|
|
265
267
|
$link-label-line-height: var(--link-label-line-height);
|
|
266
268
|
$button-label-line-height: var(--button-label-line-height);
|
|
267
269
|
$badge-label-size: var(--badge-label-size);
|
|
@@ -282,6 +284,7 @@ $snw-flyout-link-line-height: var(--snw-flyout-link-line-height);
|
|
|
282
284
|
--spacing-md: 2rem;
|
|
283
285
|
--spacing-lg: 3rem;
|
|
284
286
|
--spacing-xl: 4rem;
|
|
287
|
+
--spacing-xxl: 5rem;
|
|
285
288
|
|
|
286
289
|
@media (max-width: 960px) {
|
|
287
290
|
--spacing-micro: 0.25;
|
|
@@ -290,6 +293,7 @@ $snw-flyout-link-line-height: var(--snw-flyout-link-line-height);
|
|
|
290
293
|
--spacing-md: 1.75rem;
|
|
291
294
|
--spacing-lg: 2.75rem;
|
|
292
295
|
--spacing-xl: 3.75rem;
|
|
296
|
+
--spacing-xxl: 4.75rem;
|
|
293
297
|
}
|
|
294
298
|
|
|
295
299
|
@media (min-width: 1801px) {
|
|
@@ -299,6 +303,7 @@ $snw-flyout-link-line-height: var(--snw-flyout-link-line-height);
|
|
|
299
303
|
--spacing-md: 2.5rem;
|
|
300
304
|
--spacing-lg: 3.75rem;
|
|
301
305
|
--spacing-xl: 5rem;
|
|
306
|
+
--spacing-xxl: 5.25rem;
|
|
302
307
|
}
|
|
303
308
|
}
|
|
304
309
|
|
|
@@ -308,6 +313,7 @@ $spacing-sm: var(--spacing-sm);
|
|
|
308
313
|
$spacing-md: var(--spacing-md);
|
|
309
314
|
$spacing-lg: var(--spacing-lg);
|
|
310
315
|
$spacing-xl: var(--spacing-xl);
|
|
316
|
+
$spacing-xxl: var(--spacing-xl);
|
|
311
317
|
|
|
312
318
|
// PADDING
|
|
313
319
|
$padding-micro: var(--spacing-micro);
|
|
@@ -316,7 +322,8 @@ $padding-sm: var(--spacing-sm);
|
|
|
316
322
|
$padding-md: var(--spacing-md);
|
|
317
323
|
$padding-lg: var(--spacing-lg);
|
|
318
324
|
$padding-xl: var(--spacing-xl);
|
|
319
|
-
$padding-
|
|
325
|
+
$padding-xxl: var(--spacing-xxl);
|
|
326
|
+
$padding-tokens: $padding-micro, $padding-xsm, $padding-sm, $padding-md, $padding-lg, $padding-xl, $padding-xxl;
|
|
320
327
|
|
|
321
328
|
// MARGIN
|
|
322
329
|
$margin-micro: var(--spacing-micro);
|
|
@@ -325,6 +332,7 @@ $margin-sm: var(--spacing-sm);
|
|
|
325
332
|
$margin-md: var(--spacing-md);
|
|
326
333
|
$margin-lg: var(--spacing-lg);
|
|
327
334
|
$margin-xl: var(--spacing-xl);
|
|
335
|
+
$margin-xxl: var(--spacing-xxl);
|
|
328
336
|
|
|
329
337
|
////////////////////////
|
|
330
338
|
/// Breakpoint TOKENS that map to minimum pixels
|
|
@@ -342,8 +350,10 @@ $max-site-width: 1560px;
|
|
|
342
350
|
////////////////////////
|
|
343
351
|
/// height Tokens
|
|
344
352
|
///////////////////////
|
|
345
|
-
$header-height:
|
|
353
|
+
$header-height: 42px;
|
|
346
354
|
$user-management-height: 30px;
|
|
355
|
+
$header-submenu-top: calc($header-height + $user-management-height + 1px);
|
|
356
|
+
$desktop-max-width: var(--desktop-max-width);
|
|
347
357
|
|
|
348
358
|
////////////////////////
|
|
349
359
|
/// Our tokens usually support at least 4 sizes.
|
|
@@ -352,4 +362,5 @@ $size-sm: 'sm';
|
|
|
352
362
|
$size-md: 'md';
|
|
353
363
|
$size-lg: 'lg';
|
|
354
364
|
$size-xl: 'xl';
|
|
365
|
+
$size-xxl: 'xxl';
|
|
355
366
|
$default-transition: 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
@@ -1,49 +1,59 @@
|
|
|
1
1
|
@use '../../allPartials' as *;
|
|
2
2
|
|
|
3
3
|
.#{$px}-footer {
|
|
4
|
+
align-items: center;
|
|
4
5
|
background-color: $off-white;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
5
8
|
margin: $spacing-lg 0 0;
|
|
6
|
-
width: 100%;
|
|
9
|
+
max-width: 100%;
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
ul {
|
|
12
|
+
li {
|
|
13
|
+
a {
|
|
14
|
+
@include text('snwFlyoutLink');
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
text-decoration: underline;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__links {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
margin: 0 auto;
|
|
27
|
+
max-width: 30rem;
|
|
28
|
+
padding: $spacing-lg $spacing-md $spacing-md $spacing-md;
|
|
29
|
+
width: 100%;
|
|
30
|
+
|
|
31
|
+
@include media($size-sm) {
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
max-width: $desktop-max-width;
|
|
34
|
+
padding: $spacing-lg $spacing-md $spacing-lg $spacing-md;
|
|
35
|
+
}
|
|
10
36
|
|
|
11
37
|
div {
|
|
12
38
|
flex: 1;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
h4 {
|
|
17
|
-
color: $pure-black;
|
|
18
|
-
font-family: $Distinct;
|
|
19
|
-
font-size: 1rem;
|
|
20
|
-
font-weight: 600;
|
|
21
|
-
letter-spacing: 0.0625rem;
|
|
22
|
-
margin-bottom: 0;
|
|
23
|
-
padding-bottom: 0.5rem;
|
|
24
|
-
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
25
41
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
}
|
|
42
|
+
&-desktop {
|
|
43
|
+
display: none;
|
|
44
|
+
|
|
45
|
+
@include media($size-sm) {
|
|
46
|
+
display: block;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
h3.#{$px}-text {
|
|
50
|
+
@include media($size-sm) {
|
|
51
|
+
margin-bottom: $spacing-sm;
|
|
38
52
|
}
|
|
39
53
|
}
|
|
40
54
|
}
|
|
41
55
|
|
|
42
56
|
@include media($size-sm) {
|
|
43
|
-
&-desktop {
|
|
44
|
-
display: flex;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
57
|
&-mobile {
|
|
48
58
|
display: none;
|
|
49
59
|
}
|
|
@@ -52,38 +62,28 @@
|
|
|
52
62
|
.#{$px}-accordion {
|
|
53
63
|
border-bottom: 1px solid #eae8e4;
|
|
54
64
|
border-top: 1px solid #eae8e4;
|
|
65
|
+
margin-bottom: $spacing-md;
|
|
55
66
|
width: 100%;
|
|
56
67
|
|
|
57
68
|
&-item {
|
|
58
|
-
padding:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
font-weight: 500;
|
|
65
|
-
line-height: 1.875rem;
|
|
66
|
-
|
|
67
|
-
&:hover {
|
|
68
|
-
text-decoration: underline;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
69
|
+
padding: 0;
|
|
70
|
+
|
|
71
|
+
&--expanded {
|
|
72
|
+
margin-bottom: $spacing-md;
|
|
73
|
+
margin-top: 0;
|
|
74
|
+
padding: 0;
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
&-label {
|
|
75
78
|
opacity: 1;
|
|
76
|
-
padding:
|
|
79
|
+
padding: $spacing-sm 0;
|
|
77
80
|
|
|
78
81
|
@include media($size-sm) {
|
|
79
82
|
cursor: unset;
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
&__text {
|
|
83
|
-
|
|
84
|
-
font-family: $Distinct;
|
|
85
|
-
font-size: 1rem;
|
|
86
|
-
font-weight: 600;
|
|
86
|
+
@include text('snwHeaderLink');
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -93,92 +93,16 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
@include media($size-sm) {
|
|
97
|
-
.#{$px}-accordion {
|
|
98
|
-
border-bottom: 0;
|
|
99
|
-
border-top: 0;
|
|
100
|
-
width: 100%;
|
|
101
|
-
|
|
102
|
-
&-item {
|
|
103
|
-
border-bottom: 0;
|
|
104
|
-
flex: 1;
|
|
105
|
-
max-width: 18rem;
|
|
106
|
-
padding: $spacing-sm;
|
|
107
|
-
|
|
108
|
-
&-label__icon {
|
|
109
|
-
display: none;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
ul {
|
|
116
|
-
list-style: none;
|
|
117
|
-
padding: 0;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&__content {
|
|
121
|
-
align-items: center;
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
padding: $spacing-lg $spacing-md 0;
|
|
125
|
-
|
|
126
|
-
@include media($size-sm) {
|
|
127
|
-
align-items: flex-start;
|
|
128
|
-
flex-direction: row;
|
|
129
|
-
justify-content: space-between;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@include media($size-md) {
|
|
133
|
-
padding: 3.75rem $spacing-lg;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@include media($size-lg) {
|
|
137
|
-
padding: 3.75rem $spacing-xl;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&__content-split-panel__left {
|
|
142
|
-
margin-bottom: $spacing-md;
|
|
143
|
-
|
|
144
|
-
@include media($size-sm) {
|
|
145
|
-
margin-bottom: 0;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&__content-split-panel__right {
|
|
150
|
-
display: flex;
|
|
151
|
-
|
|
152
|
-
@include media($size-sm) {
|
|
153
|
-
justify-content: flex-end;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
96
|
&__copyright {
|
|
158
|
-
@include text($body3);
|
|
159
|
-
|
|
160
97
|
align-items: center;
|
|
161
98
|
background-color: $white;
|
|
162
99
|
display: flex;
|
|
163
100
|
flex-direction: column;
|
|
164
|
-
|
|
165
|
-
gap: 1rem;
|
|
166
|
-
|
|
167
|
-
// height: 2.125rem;
|
|
168
|
-
justify-content: center;
|
|
169
|
-
padding: $spacing-xsm 0;
|
|
101
|
+
width: 100%;
|
|
170
102
|
|
|
171
|
-
|
|
103
|
+
h3 {
|
|
104
|
+
margin-bottom: $spacing-sm;
|
|
172
105
|
margin-top: $spacing-md;
|
|
173
106
|
}
|
|
174
107
|
}
|
|
175
|
-
|
|
176
|
-
.#{$px}-split-panel {
|
|
177
|
-
@include media($size-sm) {
|
|
178
|
-
& > :last-child {
|
|
179
|
-
flex: unset;
|
|
180
|
-
width: unset;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
108
|
}
|