mp-design-system 1.2.62 → 1.2.64
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/build/js/app.js +22 -2
- package/dist/build/scss/library.css +1 -2
- package/dist/build/scss/main.css +1 -2
- package/package.json +12 -6
- package/src/_includes/components/card/card.scss +1 -0
- package/src/_includes/components/card/product-card.njk +8 -0
- package/src/_includes/components/card-new/card-new.config.js +95 -0
- package/src/_includes/components/card-new/card-new.md +0 -0
- package/src/_includes/components/card-new/card-new.njk +169 -0
- package/src/_includes/components/card-new/card-new.scss +156 -0
- package/src/_includes/components/card-new/macro.njk +5 -0
- package/src/_includes/components/event-card/event-card.config.js +108 -0
- package/src/_includes/components/event-card/event-card.njk +1 -0
- package/src/_includes/components/event-card/event-card.scss +49 -0
- package/src/_includes/components/event-card/macro.njk +5 -0
- package/src/_includes/components/product-card/macro.njk +5 -0
- package/src/_includes/components/product-card/product-card.config.js +84 -0
- package/src/_includes/components/product-card/product-card.njk +1 -0
- package/src/_includes/components/product-card/product-card.scss +36 -0
- package/src/_includes/components/resource-card/macro.njk +5 -0
- package/src/_includes/components/resource-card/resource-card.config.js +59 -0
- package/src/_includes/components/resource-card/resource-card.njk +1 -0
- package/src/_includes/components/resource-card/resource-card.scss +0 -0
- package/src/_includes/components/twi/twi.scss +14 -0
- package/src/_includes/includes/system-scripts.njk +13 -0
- package/src/_includes/layout.njk +1 -1
- package/src/_includes/system-home-page.njk +1 -1
- package/src/assets/scss/components/index.scss +3 -0
- package/src/assets/scss/library.scss +94 -67
- package/src/assets/scss/objects/button-wrap.scss +18 -0
- package/src/assets/scss/objects/clickable-parent.scss +3 -0
- package/src/assets/scss/objects/index.scss +2 -0
- package/src/assets/scss/objects/prose.scss +5 -0
- package/src/assets/scss/tools/index.scss +1 -0
- package/src/components-full-pages.njk +2 -3
- package/src/components-pages.njk +5 -4
- package/src/index.njk +1 -86
- package/src/prototype/events-hub.njk +10 -9
- package/src/prototype/index.njk +330 -201
- package/src/prototype/range.njk +23 -12
- package/dist/build/arc.abe174a6.svg +0 -1
- package/dist/build/concentric.465e6b4d.svg +0 -1
- package/dist/build/crystal.8300dbe3.svg +0 -1
- package/dist/build/dots-pattern.1bae0e23.svg +0 -1
- package/dist/build/js/app.js.map +0 -1
- package/dist/build/scss/library.css.map +0 -1
- package/dist/build/scss/main.css.map +0 -1
@@ -0,0 +1,84 @@
|
|
1
|
+
const categories = require('../component/categories');
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
title: 'NEW Product card',
|
5
|
+
component: {
|
6
|
+
name: 'product-card',
|
7
|
+
},
|
8
|
+
category: categories.card,
|
9
|
+
context: {
|
10
|
+
type: 'product',
|
11
|
+
theme: 'bordered',
|
12
|
+
size: 'medium',
|
13
|
+
header: {
|
14
|
+
title: 'Product card medium',
|
15
|
+
subtitle: 'Lorem ipsum dolor sit amet'
|
16
|
+
},
|
17
|
+
body: {
|
18
|
+
content: `<p>Nam duis leo phasellus quisque ac a volutpat euismod ultrices condimentum sociosqu et natoque volutpat eros.</p>`
|
19
|
+
},
|
20
|
+
footer: {
|
21
|
+
buttons: [
|
22
|
+
{
|
23
|
+
link: '#',
|
24
|
+
label: 'View product'
|
25
|
+
},
|
26
|
+
{
|
27
|
+
link: '#',
|
28
|
+
label: 'Request a quote',
|
29
|
+
colour: 'outline-green'
|
30
|
+
}
|
31
|
+
]
|
32
|
+
},
|
33
|
+
image: {
|
34
|
+
src: '/static/img/aeris.jpg',
|
35
|
+
alt: 'Alt text'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
variants: [
|
39
|
+
{
|
40
|
+
title: 'With features list',
|
41
|
+
context: {
|
42
|
+
list: [
|
43
|
+
{
|
44
|
+
label: 'Classic 90° DLS',
|
45
|
+
icon: 'cross',
|
46
|
+
classes: 'c-twi--grey'
|
47
|
+
},
|
48
|
+
{
|
49
|
+
label: 'Dynamic light scattering',
|
50
|
+
icon: 'tick',
|
51
|
+
classes: 'c-twi--green'
|
52
|
+
},
|
53
|
+
{
|
54
|
+
label: 'Static light scattering',
|
55
|
+
icon: 'tick',
|
56
|
+
classes: 'c-twi--green'
|
57
|
+
},
|
58
|
+
{
|
59
|
+
label: 'Non-invasive back scatter DLS',
|
60
|
+
icon: 'tick',
|
61
|
+
classes: 'c-twi--green'
|
62
|
+
},
|
63
|
+
{
|
64
|
+
label: 'Multi-angle dynamic light scattering',
|
65
|
+
icon: 'cross',
|
66
|
+
classes: 'c-twi--grey'
|
67
|
+
}
|
68
|
+
],
|
69
|
+
}
|
70
|
+
},
|
71
|
+
{
|
72
|
+
title: 'Small',
|
73
|
+
context: {
|
74
|
+
size: 'small',
|
75
|
+
url: '#',
|
76
|
+
footer: false,
|
77
|
+
header: {
|
78
|
+
title: 'Product card small',
|
79
|
+
subtitle: 'Lorem ipsum dolor sit amet'
|
80
|
+
},
|
81
|
+
},
|
82
|
+
},
|
83
|
+
]
|
84
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% extends "components/card-new/card-new.njk" %}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// Extend the basic card scss
|
2
|
+
@import '../card-new/card-new.scss';
|
3
|
+
|
4
|
+
// Complex CSS to make images work in both portrait and landscape
|
5
|
+
// Separate it out into a li'l mixin
|
6
|
+
@mixin productCardImage($size: 's-m') {
|
7
|
+
@include space('top', $size);
|
8
|
+
@include space('left', $size);
|
9
|
+
position: absolute;
|
10
|
+
// height: 100%;
|
11
|
+
height: calc(100% - (var(--space-#{$size}) *2) );
|
12
|
+
// width: 100%;
|
13
|
+
width: calc(100% - var(--space-#{$size}));
|
14
|
+
}
|
15
|
+
|
16
|
+
.c-card-new--product {
|
17
|
+
.c-card-new__image {
|
18
|
+
img {
|
19
|
+
margin-inline: auto;
|
20
|
+
object-fit: contain;
|
21
|
+
object-position: top center;
|
22
|
+
}
|
23
|
+
|
24
|
+
@container card (width > #{$card-m}) {
|
25
|
+
flex-basis: 50%;
|
26
|
+
|
27
|
+
img {
|
28
|
+
@include productCardImage('s-m');
|
29
|
+
|
30
|
+
.c-card-new--small & {
|
31
|
+
@include productCardImage('xs')
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
const categories = require('../component/categories');
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
title: 'NEW Resource card',
|
5
|
+
component: {
|
6
|
+
name: 'resource-card',
|
7
|
+
},
|
8
|
+
category: categories.card,
|
9
|
+
context: {
|
10
|
+
type: 'resource',
|
11
|
+
theme: 'bordered',
|
12
|
+
size: 'medium',
|
13
|
+
tag: 'Whitepaper',
|
14
|
+
header: {
|
15
|
+
title: 'Accelerating the deformation workflow for oral solid dosage forms',
|
16
|
+
date: {
|
17
|
+
date: new Date(2015,0,12)
|
18
|
+
},
|
19
|
+
language: 'English'
|
20
|
+
},
|
21
|
+
body: {
|
22
|
+
content: `<p>This whitepaper on Oral Solid Dose (OSD) deformulation demonstrates how the analytical technique of Morphologically Directed Raman Spectroscopy (MDRS) can be used to accelerate the development of generic products to a successful conclusion.</p>`
|
23
|
+
},
|
24
|
+
body: {
|
25
|
+
keySpecs: [
|
26
|
+
{
|
27
|
+
title: 'Products',
|
28
|
+
term: 'Epsilon 4'
|
29
|
+
},
|
30
|
+
{
|
31
|
+
title: 'Technology',
|
32
|
+
term: 'X-ray fluorescence (XRF)'
|
33
|
+
},
|
34
|
+
{
|
35
|
+
title: 'Industry',
|
36
|
+
term: 'Metals, Advanced manufacturing'
|
37
|
+
},
|
38
|
+
]
|
39
|
+
},
|
40
|
+
link: {
|
41
|
+
url: '#',
|
42
|
+
label: 'Read the whitepaper'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
variants: [
|
46
|
+
{
|
47
|
+
title: 'Small',
|
48
|
+
context: {
|
49
|
+
size: 'small',
|
50
|
+
url: '#',
|
51
|
+
footer: false,
|
52
|
+
specs: false,
|
53
|
+
link: {
|
54
|
+
label: false
|
55
|
+
}
|
56
|
+
},
|
57
|
+
},
|
58
|
+
]
|
59
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% extends "components/card-new/card-new.njk" %}
|
File without changes
|
@@ -71,5 +71,18 @@
|
|
71
71
|
iframe.classList.toggle('u-pad-s');
|
72
72
|
}
|
73
73
|
}
|
74
|
+
|
75
|
+
// Show iframe width
|
76
|
+
const iframeWrap = document.getElementById('iframe-wrap');
|
77
|
+
function reportIframeWidth(entry){
|
78
|
+
const width = (entry.contentBoxSize) ? entry.contentBoxSize[0].inlineSize : entry.contentRect.width;
|
79
|
+
iframeWrap.style.setProperty('--width',width);
|
80
|
+
};
|
81
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
82
|
+
for (const entry of entries) {
|
83
|
+
reportIframeWidth(entry);
|
84
|
+
}
|
85
|
+
});
|
86
|
+
resizeObserver.observe(iframeWrap);
|
74
87
|
})();
|
75
88
|
</script>
|
package/src/_includes/layout.njk
CHANGED
@@ -11,8 +11,10 @@
|
|
11
11
|
@import '~comp/card/product-card.scss';
|
12
12
|
@import '~comp/card/search-result-card.scss';
|
13
13
|
@import '~comp/card/technology-card.scss';
|
14
|
+
@import '~comp/card-new/card-new.scss';
|
14
15
|
@import '~comp/comparison-table/comparison-table.scss';
|
15
16
|
@import '~comp/embed/embed.scss';
|
17
|
+
@import '~comp/event-card/event-card.scss';
|
16
18
|
@import '~comp/eyebrow/eyebrow.scss';
|
17
19
|
@import '~comp/facet/facet.scss';
|
18
20
|
@import '~comp/featured-article-card/featured-article-card.scss';
|
@@ -32,6 +34,7 @@
|
|
32
34
|
@import '~comp/off-canvas/off-canvas.scss';
|
33
35
|
@import '~comp/option-list/option-list.scss';
|
34
36
|
@import '~comp/post-meta/post-meta.scss';
|
37
|
+
@import '~comp/product-card/product-card.scss';
|
35
38
|
@import '~comp/product-signpost/product-signpost.scss';
|
36
39
|
@import '~comp/quote/quote.scss';
|
37
40
|
@import '~comp/scroll-spy/scroll-spy.scss';
|
@@ -11,7 +11,7 @@
|
|
11
11
|
display: grid;
|
12
12
|
min-height: 100vh;
|
13
13
|
grid-template-rows: auto 1fr auto;
|
14
|
-
|
14
|
+
|
15
15
|
&--components {
|
16
16
|
grid-template-rows: auto 1fr;
|
17
17
|
}
|
@@ -21,18 +21,18 @@
|
|
21
21
|
@include padding('2xs');
|
22
22
|
flex-direction: column;
|
23
23
|
align-items: flex-start;
|
24
|
-
|
24
|
+
|
25
25
|
background: color('petrol');
|
26
26
|
color: color('white');
|
27
27
|
font-weight: weight('bold');
|
28
|
-
|
29
|
-
@media only screen and (min-width:650px) {
|
28
|
+
|
29
|
+
@media only screen and (min-width: 650px) {
|
30
30
|
@include step(-2);
|
31
31
|
flex-direction: row;
|
32
32
|
align-items: center;
|
33
33
|
}
|
34
34
|
|
35
|
-
@media only screen and (min-width:1000px) {
|
35
|
+
@media only screen and (min-width: 1000px) {
|
36
36
|
@include step(-1);
|
37
37
|
@include padding('s', 's-l');
|
38
38
|
}
|
@@ -57,7 +57,8 @@
|
|
57
57
|
|
58
58
|
&__hero {
|
59
59
|
color: white;
|
60
|
-
background: linear-gradient(color('petrol'), transparent),
|
60
|
+
background: linear-gradient(color('petrol'), transparent),
|
61
|
+
linear-gradient(45deg, color('blue'), color('petrol'));
|
61
62
|
}
|
62
63
|
|
63
64
|
&__body {
|
@@ -67,7 +68,7 @@
|
|
67
68
|
@media only screen and (min-width: 600px) {
|
68
69
|
grid-template-columns: 10em 1fr;
|
69
70
|
}
|
70
|
-
|
71
|
+
|
71
72
|
@media only screen and (min-width: 800px) {
|
72
73
|
grid-template-columns: 17em 1fr;
|
73
74
|
}
|
@@ -76,7 +77,7 @@
|
|
76
77
|
@media only screen and (min-width: 600px) {
|
77
78
|
&--components &__body > * {
|
78
79
|
overflow-y: auto;
|
79
|
-
height: calc(
|
80
|
+
height: calc(100vh - var(--headerHeight) - 1px);
|
80
81
|
}
|
81
82
|
}
|
82
83
|
|
@@ -85,7 +86,7 @@
|
|
85
86
|
border-right: 1px solid color('petrol', 'step-3');
|
86
87
|
grid-row: -1;
|
87
88
|
scroll-behavior: none;
|
88
|
-
|
89
|
+
|
89
90
|
@media only screen and (min-width: 600px) {
|
90
91
|
grid-row: auto;
|
91
92
|
}
|
@@ -119,7 +120,7 @@
|
|
119
120
|
@include padding('xs');
|
120
121
|
padding-bottom: 0;
|
121
122
|
|
122
|
-
li + li
|
123
|
+
li + li {
|
123
124
|
@include margin-top('2xs');
|
124
125
|
}
|
125
126
|
}
|
@@ -127,7 +128,7 @@
|
|
127
128
|
|
128
129
|
&__skip-link {
|
129
130
|
@include padding('xs');
|
130
|
-
|
131
|
+
|
131
132
|
@media only screen and (min-width: 600px) {
|
132
133
|
display: none;
|
133
134
|
}
|
@@ -140,10 +141,10 @@
|
|
140
141
|
max-width: 15%;
|
141
142
|
min-width: 100px;
|
142
143
|
|
143
|
-
@media only screen and (min-width:650px) {
|
144
|
+
@media only screen and (min-width: 650px) {
|
144
145
|
justify-content: flex-start;
|
145
146
|
}
|
146
|
-
|
147
|
+
|
147
148
|
&-name {
|
148
149
|
@include padding-left('xs-s');
|
149
150
|
@include margin-left('xs-s');
|
@@ -167,7 +168,7 @@
|
|
167
168
|
}
|
168
169
|
|
169
170
|
// &:nth-last-child(3) {
|
170
|
-
|
171
|
+
// color: color('petrol', 'step-1');
|
171
172
|
// }
|
172
173
|
}
|
173
174
|
}
|
@@ -198,7 +199,7 @@
|
|
198
199
|
padding: 0.25rem;
|
199
200
|
}
|
200
201
|
|
201
|
-
&-menu-active
|
202
|
+
&-menu-active {
|
202
203
|
font-weight: weight('bold');
|
203
204
|
position: relative;
|
204
205
|
|
@@ -227,14 +228,15 @@
|
|
227
228
|
&__frame {
|
228
229
|
position: relative;
|
229
230
|
width: 100%;
|
230
|
-
|
231
|
+
|
231
232
|
&-links {
|
232
233
|
position: absolute;
|
233
234
|
right: 0;
|
234
235
|
top: calc(-1 * (var(--space-m) + var(--space-s)));
|
235
236
|
z-index: 1;
|
236
237
|
|
237
|
-
a,
|
238
|
+
a,
|
239
|
+
button {
|
238
240
|
border-radius: 0 0 0.25em 0.25em;
|
239
241
|
@include step(-1);
|
240
242
|
padding: 0.25em 0.666em;
|
@@ -248,25 +250,42 @@
|
|
248
250
|
top: 0;
|
249
251
|
}
|
250
252
|
|
251
|
-
|
252
|
-
--
|
253
|
+
&-wrap {
|
254
|
+
--width: '';
|
253
255
|
height: 100%;
|
254
|
-
|
255
|
-
|
256
|
-
left: var(--negative-padding);
|
257
|
-
top: var(--negative-padding);
|
258
|
-
transition:
|
259
|
-
padding .3s cubic-bezier(0.22, 0.61, 0.36, 1),
|
260
|
-
background-color .3s cubic-bezier(0.22, 0.61, 0.36, 1);
|
256
|
+
overflow: hidden;
|
257
|
+
position: relative;
|
261
258
|
resize: both;
|
262
259
|
|
263
|
-
|
260
|
+
&:after {
|
261
|
+
background: color('petrol', 'step-3');
|
262
|
+
bottom: 0;
|
263
|
+
color: color('petrol', 'step-1');
|
264
|
+
counter-reset: width var(--width);
|
265
|
+
content: counter(width);
|
266
|
+
@include step(-2);
|
267
|
+
mix-blend-mode: multiply;
|
268
|
+
padding: 0.5ch 1ch;
|
264
269
|
position: absolute;
|
270
|
+
right: 0;
|
265
271
|
}
|
272
|
+
}
|
266
273
|
|
267
|
-
|
268
|
-
|
269
|
-
|
274
|
+
iframe {
|
275
|
+
--negative-padding: calc(var(--space-m) * -1);
|
276
|
+
height: 100%;
|
277
|
+
width: 100%;
|
278
|
+
width: calc(100% - var(--negative-padding) * 2);
|
279
|
+
left: var(--negative-padding);
|
280
|
+
top: var(--negative-padding);
|
281
|
+
position: relative;
|
282
|
+
transition:
|
283
|
+
padding 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
|
284
|
+
background-color 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
|
285
|
+
|
286
|
+
// @media only screen and (min-width: 600px) {
|
287
|
+
// position: absolute;
|
288
|
+
// }
|
270
289
|
}
|
271
290
|
}
|
272
291
|
|
@@ -321,51 +340,51 @@
|
|
321
340
|
gap: 0 1em;
|
322
341
|
grid-auto-rows: minmax(4em, auto);
|
323
342
|
margin-bottom: var(--space-m);
|
324
|
-
|
343
|
+
|
325
344
|
@media only screen and (min-width: 680px) {
|
326
345
|
gap: 0;
|
327
346
|
grid-template-columns: repeat(5, auto);
|
328
347
|
grid-template-rows: 5em auto;
|
329
348
|
}
|
330
349
|
}
|
331
|
-
|
350
|
+
|
332
351
|
&__swatch-grid--has-labels {
|
333
352
|
grid-auto-flow: row;
|
334
|
-
|
353
|
+
|
335
354
|
@media only screen and (min-width: 40em) {
|
336
355
|
grid-template-columns: minmax(15%, 15em) auto;
|
337
356
|
grid-template-rows: auto;
|
338
357
|
}
|
339
|
-
|
340
|
-
@media only screen and (min-width:1000px) {
|
358
|
+
|
359
|
+
@media only screen and (min-width: 1000px) {
|
341
360
|
grid-auto-flow: column;
|
342
361
|
grid-template-columns: repeat(5, 1fr);
|
343
362
|
grid-template-rows: 5em auto;
|
344
363
|
}
|
345
364
|
}
|
346
|
-
|
365
|
+
|
347
366
|
&__swatches,
|
348
367
|
&__swatch-labels {
|
349
368
|
display: grid;
|
350
369
|
grid-template-columns: repeat(auto-fit, 165px);
|
351
370
|
}
|
352
|
-
|
371
|
+
|
353
372
|
&__swatch {
|
354
373
|
display: flex;
|
355
|
-
|
374
|
+
|
356
375
|
& > * {
|
357
376
|
justify-content: center;
|
358
377
|
font-weight: weight('bold');
|
359
378
|
margin: auto;
|
360
379
|
}
|
361
380
|
}
|
362
|
-
|
381
|
+
|
363
382
|
&__swatches {
|
364
383
|
& > * {
|
365
384
|
height: 0;
|
366
385
|
padding-bottom: 50%;
|
367
386
|
position: relative;
|
368
|
-
|
387
|
+
|
369
388
|
& > * {
|
370
389
|
display: flex;
|
371
390
|
justify-content: center;
|
@@ -381,16 +400,16 @@
|
|
381
400
|
}
|
382
401
|
}
|
383
402
|
}
|
384
|
-
|
403
|
+
|
385
404
|
&__swatch-grid table {
|
386
405
|
@include step(-2);
|
387
|
-
|
406
|
+
|
388
407
|
td,
|
389
408
|
th {
|
390
409
|
@include padding('2xs', 0, '2xs', '3xs');
|
391
410
|
}
|
392
411
|
th {
|
393
|
-
|
412
|
+
width: 3em;
|
394
413
|
}
|
395
414
|
td {
|
396
415
|
font-family: monospace;
|
@@ -417,7 +436,12 @@
|
|
417
436
|
display: block;
|
418
437
|
|
419
438
|
span {
|
420
|
-
background: linear-gradient(
|
439
|
+
background: linear-gradient(
|
440
|
+
45deg,
|
441
|
+
rgba(255, 255, 255, 0.2) 0%,
|
442
|
+
rgba(255, 255, 255, 0) 100%
|
443
|
+
),
|
444
|
+
rgba(206, 0, 88, 0.5);
|
421
445
|
height: 0;
|
422
446
|
padding-bottom: 100%;
|
423
447
|
position: relative;
|
@@ -447,7 +471,7 @@
|
|
447
471
|
&--alt {
|
448
472
|
background: color('petrol', 'step-1');
|
449
473
|
padding: 2rem 1rem;
|
450
|
-
|
474
|
+
|
451
475
|
&:before {
|
452
476
|
content: '\00a0';
|
453
477
|
display: block;
|
@@ -457,7 +481,7 @@
|
|
457
481
|
&--first {
|
458
482
|
background: color('petrol');
|
459
483
|
padding: 2rem 1rem;
|
460
|
-
|
484
|
+
|
461
485
|
&:before {
|
462
486
|
content: 'First on mobile';
|
463
487
|
}
|
@@ -476,7 +500,7 @@
|
|
476
500
|
@include step(-1);
|
477
501
|
@include padding('3xs', '2xs');
|
478
502
|
letter-spacing: ls('2%');
|
479
|
-
|
503
|
+
|
480
504
|
&:hover {
|
481
505
|
color: color('red');
|
482
506
|
}
|
@@ -484,22 +508,20 @@
|
|
484
508
|
}
|
485
509
|
|
486
510
|
hr {
|
487
|
-
@extend .u-hr
|
511
|
+
@extend .u-hr;
|
488
512
|
}
|
489
513
|
|
490
514
|
&__typo {
|
491
|
-
|
492
515
|
&__sidebar {
|
493
516
|
width: grid-column(2);
|
494
517
|
|
495
518
|
span {
|
496
519
|
display: block;
|
497
|
-
|
498
520
|
}
|
499
521
|
|
500
522
|
.x2 {
|
501
523
|
margin-top: 4.25em;
|
502
|
-
border: 1px solid color(
|
524
|
+
border: 1px solid color('grey');
|
503
525
|
border-width: 1px 0;
|
504
526
|
height: 2em;
|
505
527
|
line-height: 2em;
|
@@ -545,17 +567,17 @@
|
|
545
567
|
grid-template-columns: 40% 20% 40%;
|
546
568
|
grid-template-rows: var(--space-2xl) 400px 400px;
|
547
569
|
|
548
|
-
img {
|
570
|
+
img {
|
549
571
|
&:nth-child(2) {
|
550
572
|
grid-row: 2/3;
|
551
573
|
grid-column: 1/3;
|
552
574
|
}
|
553
|
-
|
575
|
+
|
554
576
|
&:nth-child(3) {
|
555
577
|
grid-column: 3/4;
|
556
578
|
grid-row: 1/3;
|
557
579
|
}
|
558
|
-
|
580
|
+
|
559
581
|
&:nth-child(5) {
|
560
582
|
grid-column: 2/4;
|
561
583
|
}
|
@@ -580,21 +602,21 @@
|
|
580
602
|
}
|
581
603
|
}
|
582
604
|
}
|
583
|
-
|
584
605
|
}
|
585
606
|
|
586
607
|
&__illustration-grid {
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
608
|
+
display: grid;
|
609
|
+
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
610
|
+
gap: var(--gutter);
|
611
|
+
|
612
|
+
& :nth-child(odd):nth-last-child(5) {
|
613
|
+
grid-column: 1/-1;
|
614
|
+
}
|
594
615
|
}
|
595
616
|
|
596
617
|
.c-alert ul li {
|
597
|
-
list-style: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="20" viewBox="0 0 10 20"><circle cx="5" cy="14" r="3.5" fill="%2313AA13" fill-rule="evenodd"/></svg>')
|
618
|
+
list-style: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="20" viewBox="0 0 10 20"><circle cx="5" cy="14" r="3.5" fill="%2313AA13" fill-rule="evenodd"/></svg>')
|
619
|
+
outside;
|
598
620
|
margin-left: 1em;
|
599
621
|
padding-left: 0.5rem;
|
600
622
|
|
@@ -624,7 +646,7 @@
|
|
624
646
|
}
|
625
647
|
|
626
648
|
@media only screen and (min-width: 650px) and (max-width: 700px),
|
627
|
-
|
649
|
+
screen and (max-width: 450px) {
|
628
650
|
.c-library__header nav .u-row {
|
629
651
|
@include space('gap', '2xs');
|
630
652
|
@include step(-2);
|
@@ -634,12 +656,17 @@
|
|
634
656
|
.c-library__header {
|
635
657
|
@media only screen and (max-width: 650px) {
|
636
658
|
nav a {
|
637
|
-
@include padding('2xs',0);
|
659
|
+
@include padding('2xs', 0);
|
638
660
|
display: block;
|
639
661
|
}
|
640
662
|
|
641
663
|
.c-library-page-active:after {
|
642
|
-
@include space('bottom','3xs');
|
664
|
+
@include space('bottom', '3xs');
|
643
665
|
}
|
644
666
|
}
|
645
|
-
}
|
667
|
+
}
|
668
|
+
|
669
|
+
.u-resize {
|
670
|
+
overflow: hidden;
|
671
|
+
resize: both;
|
672
|
+
}
|