mp-design-system 0.9.17 → 0.9.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/dist/build/arc.a8e07ecd.svg +1 -0
  2. package/dist/build/crystal.a90c9e1f.svg +1 -0
  3. package/dist/build/dots-pattern.1b95f054.svg +1 -0
  4. package/dist/build/js/app.js +1 -1
  5. package/dist/build/js/app.js.map +1 -1
  6. package/dist/build/scss/library.css +1 -1
  7. package/dist/build/scss/library.css.map +1 -1
  8. package/dist/build/scss/main.css +1 -1
  9. package/dist/build/scss/main.css.map +1 -1
  10. package/package.json +1 -1
  11. package/src/_includes/components/accordion/accordion.md +1 -1
  12. package/src/_includes/components/breadcrumb/breadcrumb.config.js +6 -4
  13. package/src/_includes/components/breadcrumb/breadcrumb.njk +18 -2
  14. package/src/_includes/components/breadcrumb/breadcrumb.scss +69 -0
  15. package/src/_includes/components/button/button.config.js +6 -0
  16. package/src/_includes/components/button/button.scss +9 -0
  17. package/src/_includes/components/campaign/campaign.config.js +4 -2
  18. package/src/_includes/components/component/component.njk +2 -2
  19. package/src/_includes/components/gallery/gallery.config.js +34 -8
  20. package/src/_includes/components/gallery/gallery.md +1 -0
  21. package/src/_includes/components/gallery/gallery.njk +0 -1
  22. package/src/_includes/components/gallery/gallery.scss +7 -8
  23. package/src/_includes/components/input/radio.scss +21 -1
  24. package/src/_includes/components/post-meta/post-meta.njk +2 -2
  25. package/src/_includes/components/slat/slat.config.js +12 -0
  26. package/src/_includes/components/slat/slat.scss +14 -0
  27. package/src/_includes/components/table/table.config.js +7 -6
  28. package/src/_includes/components/table/table.md +16 -0
  29. package/src/_includes/components/table/table.scss +9 -0
  30. package/src/_includes/components/tabs/tabs.config.js +22 -3
  31. package/src/_includes/components/tabs/tabs.njk +1 -1
  32. package/src/_includes/components/tabs/tabs.scss +4 -0
  33. package/src/_includes/layout.njk +2 -1
  34. package/src/_includes/library-navigation/brand-nav.njk +1 -0
  35. package/src/_includes/library-navigation/components-nav.njk +1 -0
  36. package/src/assets/js/imports/accordion.js +0 -2
  37. package/src/assets/scss/components/index.scss +1 -0
  38. package/src/assets/scss/library.scss +6 -3
  39. package/src/assets/scss/objects/syntax-highlighting.scss +4 -0
  40. package/src/assets/scss/tools/cutoff.scss +21 -31
  41. package/src/assets/scss/utilities/flow.scss +1 -0
  42. package/src/assets/svg/arc.svg +1 -0
  43. package/src/assets/svg/crystal.svg +1 -0
  44. package/src/assets/svg/dots-pattern.svg +1 -1
  45. package/src/brand/illustration.md +8 -2
  46. package/src/brand/patterns.njk +43 -0
  47. package/src/brand/typography.md +12 -5
  48. package/src/components/creating-a-component.md +1 -1
  49. package/src/components/flow.njk +31 -18
  50. package/src/components/iconography.njk +1 -1
  51. package/src/components/installation.md +3 -1
  52. package/src/components/utilities.md +37 -11
  53. package/src/index.njk +7 -4
  54. package/src/prototype/product.njk +29 -19
  55. package/src/static/img/slide-4.webp +0 -0
  56. package/src/static/img/slide-5.webp +0 -0
  57. package/src/static/img/slide-6.webp +0 -0
  58. package/src/static/img/slide-7.webp +0 -0
  59. package/dist/build/dots-pattern.3c9c2a26.svg +0 -1
  60. package/src/_includes/components/campaign/campaign.md +0 -2
@@ -1,42 +1,28 @@
1
1
  // Cutoff corner effect
2
+ @mixin cutoff($corner:"bottom-right", $size:var(--gutter)) {
3
+
4
+ $offset : calc(100% - $size);
2
5
 
3
- $g : var(--gutter);
4
- $og : calc(100% - var(--gutter));
6
+ // Co-ordinates for the polygon
7
+ $co1: "0 0";
8
+ $co2: "100% 0";
9
+ $co3: "100% 100%";
10
+ $co4: "0 100%";
5
11
 
6
- @mixin cutoff($corner:"bottom-right") {
12
+ // Override the basic co-ordinates
7
13
  @if $corner == "top-left" {
8
- clip-path: polygon(
9
- $g 0,
10
- 100% 0,
11
- 100% 100%,
12
- 0 100%,
13
- 0 $g
14
- );
14
+ $co1: "0 #{$size}, #{$size} 0";
15
15
  } @else if $corner == "top-right" {
16
- clip-path: polygon(
17
- 0 0,
18
- $og 0,
19
- 100% $g,
20
- 100% 100%,
21
- 0 100%
22
- );
16
+ $co2: "#{$offset} 0, 100% #{$size}";
23
17
  } @else if $corner == "bottom-left" {
24
- clip-path: polygon(
25
- 0 0,
26
- 100% 0,
27
- 100% 100%,
28
- $g 100%,
29
- 0 $og
30
- );
18
+ $co4: "#{$size} 100%, 0 #{$offset}";
31
19
  } @else {
32
- clip-path: polygon(
33
- 0 0,
34
- 100% 0,
35
- 100% $og,
36
- $og 100%,
37
- 0 100%
38
- );
20
+ $co3: "100% #{$offset}, #{$offset} 100%";
39
21
  }
22
+
23
+ clip-path: polygon(
24
+ #{$co1}, #{$co2}, #{$co3}, #{$co4}
25
+ );
40
26
  }
41
27
 
42
28
  .u-cutoff {
@@ -53,4 +39,8 @@ $og : calc(100% - var(--gutter));
53
39
 
54
40
  .u-cutoff--bottom-left {
55
41
  @include cutoff("bottom-left")
42
+ }
43
+
44
+ .u-cutoff--xl {
45
+ @include cutoff($size: var(--space-xl))
56
46
  }
@@ -63,6 +63,7 @@
63
63
  @include padding-top('m-xl');
64
64
  @include margin-top('m-xl');
65
65
  border-top: 1px solid color('petrol', 'step-2');
66
+ clear: both;
66
67
  }
67
68
  }
68
69
  }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 693 671" opacity="0.075"><g clip-path="url(#a)"><path stroke="#3D7B87" d="M388.57 203.44c40.74 9.94 66.77 48.93 58.38 88.2-8.38 39.27-48.05 64.23-89.3 56.67"/><path stroke="#3D7B87" d="M402.01 140.47c2.72.35 5.43.82 8.15 1.4 56.13 11.98 91.68 68.3 79.4 125.79-12.27 57.5-67.72 94.39-123.84 82.4a98.78 98.78 0 0 1-8.01-2.04"/><path stroke="#3D7B87" d="M432.3-1.42c3.09.5 6.18 1.08 9.27 1.74 97.39 20.78 159.62 115.91 139.01 212.47-20.6 96.55-116.27 157.98-213.65 137.19a183 183 0 0 1-9.17-2.2"/><path stroke="#3D7B87" d="M359.04 347.92c50.87 14.25 81.93 69.05 69.9 125.41-9.2 43.08-41 75.04-78.8 84.26"/><path stroke="#3D7B87" d="M358.75 349.03a75.38 75.38 0 0 1-15.33 143.5m472.91-210.11c-136.88 72.26-297.27 99.23-458.69 65.9"/><path stroke="#3D7B87" d="M710.4 603.24c-92.04-125.65-211.68-216.14-352.29-256"/><path stroke="#3D7B87" d="M730.15 434.78c20.26-94.9-46.81-189.74-149.9-211.75-103.1-22-203.05 37.17-223.31 132.09-20.26 94.9 46.8 189.74 149.9 211.75 103.1 22 203.05-37.17 223.3-132.09Z"/><path stroke="#3D7B87" d="M565.63 393.51c11.4-53.42-25.74-106.7-83.05-118.93-57.32-12.24-112.98 21.23-124.38 74.65-11.41 53.43 25.74 106.7 83.05 118.94 57.31 12.23 112.98-21.23 124.38-74.66Z"/><path stroke="#3D7B87" d="M507.87 381.04c8.07-37.81-18.83-75.68-60.2-84.5-41.36-8.84-81.37 14.74-89.44 52.55-8.08 37.81 18.82 75.68 60.19 84.51 41.36 8.83 81.38-14.75 89.45-52.56Z"/><path stroke="#3D7B87" d="M668.34-16.28c-164.89 90.43-279.7 223.03-314.5 386.05-34.6 162.08 15.29 329 127.5 478.23"/><path stroke="#3D7B87" d="M482.38 560.08c20.96-98.17-37.75-193.87-131.07-213.79-93.33-19.92-186 43.46-206.95 141.63-20.96 98.18 37.75 193.87 131.07 213.8 93.33 19.92 186-43.47 206.95-141.64Z"/><circle cx="545.73" cy="65.7" r="6.7" fill="#3D7B87" transform="rotate(12.05 545.73 65.7)"/><circle cx="6.7" cy="6.7" r="6.7" fill="#3D7B87" transform="scale(1 -1) rotate(-12.05 -2911.17 -1076.64)"/><ellipse cx="4.94" cy="7.18" fill="#3D7B87" rx="4.94" ry="7.18" transform="scale(1 -1) rotate(-20.98 183.75 -1296.01)"/><ellipse cx="4.74" cy="6.4" fill="#3D7B87" rx="4.74" ry="6.4" transform="scale(1 -1) rotate(-12.05 187.9 -2125.37)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(31.69 1029.73 -24.26)"/><ellipse cx="2.8" cy="5.82" fill="#3D7B87" rx="2.8" ry="5.82" transform="scale(1 -1) rotate(31.69 867.17 203.72)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(16.08 1654.79 57.2)"/><ellipse cx="163.88" cy="128.11" fill="#3D7B87" rx="4.48" ry="9.03" transform="rotate(-120.9 163.88 128.11)"/><ellipse cx="274.03" cy="67.48" fill="#3D7B87" rx="4.48" ry="9.03" transform="rotate(-113.38 274.03 67.48)"/><ellipse cx="367.21" cy="92.23" fill="#3D7B87" rx="3.39" ry="7.31" transform="rotate(-99.19 367.2 92.23)"/><ellipse cx="3.98" cy="6.65" fill="#3D7B87" rx="3.98" ry="6.65" transform="scale(1 -1) rotate(3.39 8253.05 -219.92)"/><ellipse cx="3.48" cy="6.68" fill="#3D7B87" rx="3.48" ry="6.68" transform="scale(1 -1) rotate(24.86 1254.69 -215.22)"/><ellipse cx="3.76" cy="7.12" fill="#3D7B87" rx="3.76" ry="7.12" transform="scale(1 -1) rotate(49.8 674.95 -223)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(-24.75 -733 -411.39)"/><ellipse cx="4.06" cy="7.93" fill="#3D7B87" rx="4.06" ry="7.93" transform="scale(1 -1) rotate(-38.06 -261.45 -309.48)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(2.61 7685.98 3177.5)"/><ellipse cx="3.46" cy="6.72" fill="#3D7B87" rx="3.46" ry="6.72" transform="scale(1 -1) rotate(-.91 -18651.2 -141.87)"/><ellipse cx="19.17" cy="224.95" fill="#3D7B87" rx="3.55" ry="6.9" transform="rotate(23.2 19.17 224.95)"/><ellipse cx="9.33" cy="256.03" fill="#3D7B87" rx="3.65" ry="7.09" transform="rotate(12.05 9.33 256.03)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(36.8 698.44 97.73)"/><ellipse cx="4.91" cy="9.03" fill="#3D7B87" rx="4.91" ry="9.03" transform="scale(1 -1) rotate(35.4 868.22 142.26)"/><ellipse cx="4.91" cy="7.64" fill="#3D7B87" rx="4.91" ry="7.64" transform="scale(1 -1) rotate(44.07 803.06 63.23)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(-38.32 -292.24 -370.78)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(-51.58 -121.02 -356.51)"/><ellipse cx="4.06" cy="9.03" fill="#3D7B87" rx="4.06" ry="9.03" transform="scale(1 -1) rotate(-62.45 6.86 -343.71)"/><ellipse cx="5.46" cy="9.03" fill="#3D7B87" rx="5.46" ry="9.03" transform="scale(1 -1) rotate(-77.71 94.75 -297.43)"/><ellipse cx="4.79" cy="4.88" fill="#3D7B87" rx="4.79" ry="4.88" transform="scale(1 -1) rotate(-12.05 -2589.61 -1403.38)"/><ellipse cx="4.79" cy="4.88" fill="#3D7B87" rx="4.79" ry="4.88" transform="scale(1 -1) rotate(-12.05 -2137.24 -1615.32)"/><ellipse cx="4.79" cy="4.88" fill="#3D7B87" rx="4.79" ry="4.88" transform="scale(1 -1) rotate(-12.05 -2683.45 -1973.08)"/><ellipse cx="482.54" cy="126.94" fill="#3D7B87" rx="4.79" ry="4.88" transform="rotate(12.05 482.54 126.94)"/><ellipse cx="4.79" cy="4.88" fill="#3D7B87" rx="4.79" ry="4.88" transform="matrix(.978 .2088 .2088 -.978 446 631.9)"/><ellipse cx="584.07" cy="149.46" fill="#3D7B87" rx="4.79" ry="4.88" transform="rotate(12.05 584.07 149.46)"/><ellipse cx="6.52" cy="6.65" fill="#3D7B87" rx="6.52" ry="6.65" transform="scale(1 -1) rotate(-12.05 -2495.49 -1899.88)"/><ellipse cx="452.09" cy="161.39" fill="#3D7B87" rx="4.78" ry="5.77" transform="rotate(-44.35 452.09 161.39)"/><ellipse cx="6.52" cy="6.65" fill="#3D7B87" rx="6.52" ry="6.65" transform="matrix(.978 .2088 .2088 -.978 335.3 496.36)"/><ellipse cx="416.1" cy="214.01" fill="#3D7B87" rx="6.52" ry="6.65" transform="rotate(12.05 416.1 214.01)"/><ellipse cx="5.02" cy="6.18" fill="#3D7B87" rx="5.02" ry="6.18" transform="scale(1 -1) rotate(-26.41 -907.55 -1119.88)"/><ellipse cx="489.75" cy="225.01" fill="#3D7B87" rx="5.02" ry="6.18" transform="rotate(-2.31 489.75 225.01)"/><ellipse cx="5.32" cy="5.42" fill="#3D7B87" rx="5.32" ry="5.42" transform="scale(1 -1) rotate(-12.05 -2090.56 -1998.83)"/><ellipse cx="439.92" cy="243.88" fill="#3D7B87" rx="5.32" ry="5.42" transform="rotate(12.05 439.92 243.88)"/><ellipse cx="2.84" cy="5.27" fill="#3D7B87" rx="2.84" ry="5.27" transform="scale(1 -1) rotate(-8.31 -2220.86 -1682.37)"/><ellipse cx="232.75" cy="289.48" fill="#3D7B87" rx="2.84" ry="5.27" transform="rotate(15.8 232.75 289.48)"/><ellipse cx="7.5" cy="11.35" fill="#3D7B87" rx="7.5" ry="11.35" transform="scale(1 -1) rotate(-12.05 -2451.83 -2523.91)"/><ellipse cx="578.22" cy="223.89" fill="#3D7B87" rx="5.02" ry="4.58" transform="rotate(12.05 578.22 223.89)"/><ellipse cx="3.54" cy="6.98" fill="#3D7B87" rx="3.54" ry="6.98" transform="scale(1 -1) rotate(-31.41 -745.42 -1273.8)"/><ellipse cx="650.64" cy="251.96" fill="#3D7B87" rx="3.54" ry="6.98" transform="rotate(-7.3 650.64 251.96)"/><ellipse cx="5.42" cy="4.43" fill="#3D7B87" rx="5.42" ry="4.43" transform="matrix(.978 .2088 .2088 -.978 473.24 473)"/><ellipse cx="532.6" cy="301.26" fill="#3D7B87" rx="5.42" ry="4.31" transform="rotate(12.05 532.6 301.26)"/><ellipse cx="6.7" cy="5.11" fill="#3D7B87" rx="6.7" ry="5.11" transform="scale(1 -1) rotate(-30.78 -529.84 -1189.83)"/><ellipse cx="565.93" cy="358.88" fill="#3D7B87" rx="6.7" ry="5.11" transform="rotate(-6.68 565.93 358.88)"/><ellipse cx="5.16" cy="4.6" fill="#3D7B87" rx="5.16" ry="4.6" transform="scale(1 -1) rotate(-47.05 -293.12 -1016.12)"/><ellipse cx="5.44" cy="3.86" fill="#3D7B87" rx="5.44" ry="3.86" transform="scale(1 -1) rotate(-43.96 -292.56 -955.94)"/><ellipse cx="622.7" cy="350.92" fill="#3D7B87" rx="5.95" ry="4.22" transform="rotate(-15.38 622.7 350.92)"/><ellipse cx="4.89" cy="4.1" fill="#3D7B87" rx="4.89" ry="4.1" transform="scale(1 -1) rotate(-88.1 -9.93 -434.95)"/><ellipse cx="445.81" cy="297.26" fill="#3D7B87" rx="4.89" ry="4.1" transform="rotate(-64 445.8 297.26)"/><ellipse cx="8.53" cy="6.01" fill="#3D7B87" rx="8.53" ry="6.01" transform="scale(-1 1) rotate(78.34 -489.68 -34.66)"/><ellipse cx="487.64" cy="276.67" fill="#3D7B87" rx="8.53" ry="6.01" transform="rotate(-77.57 487.64 276.67)"/><ellipse cx="8.53" cy="6.01" fill="#3D7B87" rx="8.53" ry="6.01" transform="scale(-1 1) rotate(59.21 -595.82 -237.03)"/><ellipse cx="504.69" cy="362.53" fill="#3D7B87" rx="8.53" ry="6.01" transform="rotate(-96.69 504.69 362.53)"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h693v671H0z"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 523 666" opacity="0.075" ><g clip-path="url(#a)"><path stroke="#3D7B87" d="m74 183 62-61 81 14 20 76-62 62-81-15-20-76Zm78 304-20-77"/><path stroke="#3D7B87" d="m93 259-62 61 20 77 82 14 62-62-19-76M91 548l62-62 81 15 20 75-62 62-82-15-19-75Zm146-335 82 14 62-62-20-76-82-15-62 62m59 228 62-62 82 14 20 76-62 62-82-15-20-75Zm0 0-82-14"/><path stroke="#3D7B87" d="m296 439-63 62m145-48 20 77-62 61-83-14m127-411 82 14 62-62-19-76-83-15-62 62m79 304 82 14 63-62-20-76-82-14-63 61m43-137 20 76m-144 48-20-77"/><path stroke="#3D7B87" d="m521 406 20 77-62 61-82-14"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 205 131)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 263 359)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 268 68)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 327 295)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 306 221)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 364 449)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 324 585)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 181 631)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 60 179)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 121 405)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 125 115)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 183 343)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 39 390)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 161 269)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 19 315)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 223 494)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 80 541)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 347 84)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 407 311)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 410 22)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 470 249)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 449 175)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 508 401)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 465 539)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 493 36)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 225 205)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 284 433)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 241 571)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 98 618)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 81 253)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 141 481)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 369 158)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 428 385)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 385 523)"/><circle cx="9.9" cy="9.9" r="9.9" fill="#3D7B87" transform="matrix(1 -.33 .24 .91 511 113)"/><path stroke="#3D7B87" d="m41 177 23 4m69-66-6-21m73 572-6-22m82-576-5-21m72 572-5-22m82-576-6-21m73 572-6-22M0 314l23 4m37 222 23 4M510 36l39-37M85 649l18-17M27 420l17-17"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h523v666H0z"/></clipPath></defs></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="421" height="724" fill="none" viewBox="0 0 421 724"><g stroke="#004157" opacity=".075"><circle cx="36.965" cy="27.974" r="17.5" transform="rotate(-15 36.965 27.974)"/><circle cx="141.285" cy=".021" r="17.5" transform="rotate(-15 141.285 .021)"/><circle cx="3.44" cy="111.496" r="17.5" transform="rotate(-15 3.44 111.496)"/><circle cx="107.76" cy="83.544" r="17.5" transform="rotate(-15 107.76 83.544)"/><circle cx="212.08" cy="55.591" r="17.5" transform="rotate(-15 212.08 55.591)"/><circle cx="74.235" cy="167.067" r="17.5" transform="rotate(-15 74.235 167.067)"/><circle cx="178.555" cy="139.114" r="17.5" transform="rotate(-15 178.555 139.114)"/><circle cx="40.71" cy="250.59" r="17.5" transform="rotate(-15 40.71 250.59)"/><circle cx="145.03" cy="222.637" r="17.5" transform="rotate(-15 145.03 222.637)"/><circle cx="249.35" cy="194.685" r="17.5" transform="rotate(-15 249.35 194.685)"/><circle cx="7.185" cy="334.113" r="17.5" transform="rotate(-15 7.185 334.113)"/><circle cx="111.505" cy="306.16" r="17.5" transform="rotate(-15 111.505 306.16)"/><circle cx="215.825" cy="278.208" r="17.5" transform="rotate(-15 215.825 278.208)"/><circle cx="77.98" cy="389.683" r="17.5" transform="rotate(-15 77.98 389.683)"/><circle cx="182.3" cy="361.73" r="17.5" transform="rotate(-15 182.3 361.73)"/><circle cx="286.62" cy="333.778" r="17.5" transform="rotate(-15 286.62 333.778)"/><circle cx="44.455" cy="473.206" r="17.5" transform="rotate(-15 44.455 473.206)"/><circle cx="148.775" cy="445.254" r="17.5" transform="rotate(-15 148.775 445.254)"/><circle cx="253.095" cy="417.301" r="17.5" transform="rotate(-15 253.095 417.301)"/><circle cx="10.93" cy="556.729" r="17.5" transform="rotate(-15 10.93 556.729)"/><circle cx="115.25" cy="528.776" r="17.5" transform="rotate(-15 115.25 528.776)"/><circle cx="219.57" cy="500.824" r="17.5" transform="rotate(-15 219.57 500.824)"/><circle cx="323.89" cy="472.871" r="17.5" transform="rotate(-15 323.89 472.871)"/><circle cx="81.725" cy="612.299" r="17.5" transform="rotate(-15 81.725 612.299)"/><circle cx="186.045" cy="584.347" r="17.5" transform="rotate(-15 186.045 584.347)"/><circle cx="290.365" cy="556.394" r="17.5" transform="rotate(-15 290.365 556.394)"/><circle cx="48.2" cy="695.822" r="17.5" transform="rotate(-15 48.2 695.822)"/><circle cx="152.52" cy="667.87" r="17.5" transform="rotate(-15 152.52 667.87)"/><circle cx="256.84" cy="639.917" r="17.5" transform="rotate(-15 256.84 639.917)"/><circle cx="361.16" cy="611.965" r="17.5" transform="rotate(-15 361.16 611.965)"/><circle cx="223.315" cy="723.44" r="17.5" transform="rotate(-15 223.315 723.44)"/><circle cx="327.635" cy="695.488" r="17.5" transform="rotate(-15 327.635 695.488)"/></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="421" height="724" fill="none" viewBox="0 0 421 724"><g stroke="#004157" opacity=".1"><circle cx="36.965" cy="27.974" r="17.5" transform="rotate(-15 36.965 27.974)"/><circle cx="141.285" cy=".021" r="17.5" transform="rotate(-15 141.285 .021)"/><circle cx="3.44" cy="111.496" r="17.5" transform="rotate(-15 3.44 111.496)"/><circle cx="107.76" cy="83.544" r="17.5" transform="rotate(-15 107.76 83.544)"/><circle cx="212.08" cy="55.591" r="17.5" transform="rotate(-15 212.08 55.591)"/><circle cx="74.235" cy="167.067" r="17.5" transform="rotate(-15 74.235 167.067)"/><circle cx="178.555" cy="139.114" r="17.5" transform="rotate(-15 178.555 139.114)"/><circle cx="40.71" cy="250.59" r="17.5" transform="rotate(-15 40.71 250.59)"/><circle cx="145.03" cy="222.637" r="17.5" transform="rotate(-15 145.03 222.637)"/><circle cx="249.35" cy="194.685" r="17.5" transform="rotate(-15 249.35 194.685)"/><circle cx="7.185" cy="334.113" r="17.5" transform="rotate(-15 7.185 334.113)"/><circle cx="111.505" cy="306.16" r="17.5" transform="rotate(-15 111.505 306.16)"/><circle cx="215.825" cy="278.208" r="17.5" transform="rotate(-15 215.825 278.208)"/><circle cx="77.98" cy="389.683" r="17.5" transform="rotate(-15 77.98 389.683)"/><circle cx="182.3" cy="361.73" r="17.5" transform="rotate(-15 182.3 361.73)"/><circle cx="286.62" cy="333.778" r="17.5" transform="rotate(-15 286.62 333.778)"/><circle cx="44.455" cy="473.206" r="17.5" transform="rotate(-15 44.455 473.206)"/><circle cx="148.775" cy="445.254" r="17.5" transform="rotate(-15 148.775 445.254)"/><circle cx="253.095" cy="417.301" r="17.5" transform="rotate(-15 253.095 417.301)"/><circle cx="10.93" cy="556.729" r="17.5" transform="rotate(-15 10.93 556.729)"/><circle cx="115.25" cy="528.776" r="17.5" transform="rotate(-15 115.25 528.776)"/><circle cx="219.57" cy="500.824" r="17.5" transform="rotate(-15 219.57 500.824)"/><circle cx="323.89" cy="472.871" r="17.5" transform="rotate(-15 323.89 472.871)"/><circle cx="81.725" cy="612.299" r="17.5" transform="rotate(-15 81.725 612.299)"/><circle cx="186.045" cy="584.347" r="17.5" transform="rotate(-15 186.045 584.347)"/><circle cx="290.365" cy="556.394" r="17.5" transform="rotate(-15 290.365 556.394)"/><circle cx="48.2" cy="695.822" r="17.5" transform="rotate(-15 48.2 695.822)"/><circle cx="152.52" cy="667.87" r="17.5" transform="rotate(-15 152.52 667.87)"/><circle cx="256.84" cy="639.917" r="17.5" transform="rotate(-15 256.84 639.917)"/><circle cx="361.16" cy="611.965" r="17.5" transform="rotate(-15 361.16 611.965)"/><circle cx="223.315" cy="723.44" r="17.5" transform="rotate(-15 223.315 723.44)"/><circle cx="327.635" cy="695.488" r="17.5" transform="rotate(-15 327.635 695.488)"/></g></svg>
@@ -19,7 +19,7 @@ Our illustration style is still a work-in-progress; currently it follows a few s
19
19
  - White background
20
20
 
21
21
  ## Resources
22
- We have a library of pre-made characters which can be adapted for new designs, and an Adobe Illustrator color palette. Contact Will Wallace for access to both of these; I'll aim to make the available on this site in future.
22
+ We have a library of pre-made characters which can be adapted for new designs, and an Adobe Illustrator color palette. Contact Will Wallace for access to both of these; I'll aim to make them available on this site in future.
23
23
 
24
24
  ## Examples
25
25
 
@@ -35,10 +35,16 @@ We have a library of pre-made characters which can be adapted for new designs, a
35
35
 
36
36
  ![alt text][opt-in]
37
37
 
38
+ ![alt text][404]
39
+
40
+ ![alt text][500]
41
+
38
42
  </div>
39
43
 
40
44
  [login]: https://www.malvernpanalytical.com/resource/svg/login3.svg
41
45
  [thankyou]: https://p3.aprimocdn.net/malvernpanalytical/0cd71419-bc75-4b43-8c4d-af69010bf927/thankyou_Original%20file.svg
42
46
  [support]: https://p3.aprimocdn.net/malvernpanalytical/aef489f7-a3cc-4a0c-ad6c-af3300baaa3b/support3_Original%20file.svg
43
47
  [opt-in]: https://p3.aprimocdn.net/malvernpanalytical/383c6156-cefd-4d8e-a913-af6d00cebf8a/opt-in%20success%20v02_Original%20file.svg
44
- [confirm]: https://p3.aprimocdn.net/malvernpanalytical/68ccc179-959e-4b2e-b1c1-af7100be26af/get-started_Original%20file.svg
48
+ [confirm]: https://p3.aprimocdn.net/malvernpanalytical/68ccc179-959e-4b2e-b1c1-af7100be26af/get-started_Original%20file.svg
49
+ [404]: https://p3.aprimocdn.net/malvernpanalytical/d88d7c64-76b2-4fa4-8ce0-af7300ce1dd2/error-404_Original%20file.svg
50
+ [500]: https://p3.aprimocdn.net/malvernpanalytical/7d24fb59-5c5f-463a-9bb2-af7300d05c5a/error-500_Original%20file.svg
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Patterns
3
+ layout: content-page
4
+ sidebar: brand
5
+ tags: brand
6
+ version: 1.0.0
7
+ status: 'Ready'
8
+ ---
9
+ {% from "components/header/macro.njk" import header %}
10
+
11
+ <p>We can make our digital designs a bit more visually appealing by adding background patterns and decorative gradients.</p>
12
+
13
+ <div class="o-grid xo-grid--of-two">
14
+ <div class="c-slat c-slat--concentric vh50 u-bg-blue-step-3">
15
+ <div class="o-prose u-flow--prose u-pad-x-s">
16
+ <p>This section has the <strong>concentric rings</strong> background pattern.</p>
17
+ <p>See the <a href="/components/slat-concentric">Slat</a> component for more details.</p>
18
+ </div>
19
+ </div>
20
+ <div class="c-slat c-slat--dots vh50 u-bg-green-step-3">
21
+ <div class="o-prose u-pad-x-s">
22
+ <p>This section has the <strong>dots</strong> background pattern.</p>
23
+ </div>
24
+ </div>
25
+ <div class="c-slat c-slat--crystal vh50 u-bg-utility-blue-step-3">
26
+ <div class="o-prose u-pad-x-s">
27
+ <p>This section has the <strong>crystal</strong> background pattern.</p>
28
+ </div>
29
+ </div>
30
+ <div class="c-slat c-slat--arc vh50 u-bg-petrol-step-3">
31
+ <div class="o-prose u-pad-x-s">
32
+ <p>This section has the <strong>arc</strong> background pattern.</p>
33
+ </div>
34
+ </div>
35
+ </div>
36
+
37
+ <style>
38
+ .vh50 {
39
+ height: 20em;
40
+ height: clamp(10em, 50vh, 30em);
41
+ }
42
+ </style>
43
+
@@ -7,7 +7,7 @@ version: 1.0.2
7
7
  status: 'Ready'
8
8
  ---
9
9
 
10
- ## Font
10
+ ## Inter
11
11
 
12
12
  Our brand font is [Inter](https://rsms.me/inter). This typeface has been selected for its;
13
13
  - Excellent clarity and legibility
@@ -19,10 +19,15 @@ Find more information about Inter at [https://rsms.me/inter](https://rsms.me/int
19
19
 
20
20
  {% button 'Download Inter font' 'https://github.com/rsms/inter/releases/download/v3.19/Inter-3.19.zip' %}
21
21
 
22
- <br>
22
+ Inter is also available from [Google Fonts](https://fonts.google.com/specimen/Inter).
23
23
 
24
- #### Google Fonts
25
- [Inter is also available from Google Fonts](https://fonts.google.com/specimen/Inter).
24
+ ## Calibri
25
+
26
+ We use Calibri for office documents (e.g. Powerpoint, Word). Calibri is available on all Windows computers by default.
27
+
28
+ ## Noto
29
+
30
+ For languages which don't use the Latin alphabet (such as Arabic or Chinese languages), we use the [Noto](https://fonts.google.com/noto) font family, which aims to cover the majority of the world's written scripts. N.B. Inter and Calibri both include Greek and Cyrillic characters.
26
31
 
27
32
  ---
28
33
 
@@ -31,7 +36,9 @@ Find more information about Inter at [https://rsms.me/inter](https://rsms.me/int
31
36
  ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789
32
37
  abcdefghijklmnopqrstuvwxyz @ $ € £ ¥ & © ® ™ μ ± °
33
38
 
34
- - Inter Light for printed materials, Inter Regular for digital (e.g. Powerpoint)
39
+ - Inter Light for printed materials
40
+ - Inter Regular for web/software
41
+ - Arial for office (e.g. Powerpoint)
35
42
  - Color: 100% black for printed materials, [MP21Charcoal](/brand/visual/colors) for digital
36
43
  - <span class="c-library__semi">Inter Semi Bold</span> for emphasis
37
44
  - Recommended font sizes for body text:
@@ -73,7 +73,7 @@ This `c` component takes two parameters:
73
73
 
74
74
  This `SCSS` file has access to all the mixins, functions and foundational elements documented in {{ config.name }}. To add it to the main bundle, head to `src/assets/scss/components/index.scss` and add a new line pointing to your file:
75
75
 
76
- ```
76
+ ```scss
77
77
  @import '~comp/filter-bar/filter-bar.scss';
78
78
  ```
79
79
 
@@ -10,14 +10,15 @@ sidebar: components
10
10
  <div class="u-flow--m">
11
11
  {% set content %}
12
12
  Add the class `u-flow` to any container, to space its contents.
13
- ```
13
+ ```html
14
14
  <div class="u-flow">
15
15
  <h1>Flow</h1>
16
- <img />
17
- <div></div>
18
- <a class="c-button"></a>
16
+ <p>Example</p>
17
+ <img src="example.jpg" />
18
+ <div>Example</div>
19
19
  </div>
20
20
  ```
21
+
21
22
  Spacing content effectively is imperative to good component composition. Taking learnings from broader CSS spacing paradigms, rather than dictate spacing at a child-level, we set the rules at a parent-level, overriding at a child-level where appropriate.
22
23
 
23
24
  With this approach, we can add any number of new children to a parent without breaking this existing variants. This mindset is crucial to extending the design system over time.
@@ -25,7 +26,7 @@ sidebar: components
25
26
  To achieve this, we use the **flow** concept. The [lobotomised owl selector](https://alistapart.com/article/axiomatic-css-and-lobotomized-owls/) `* + *` does the heavy lifting here. Rather than every element 'pushing down', any children that follow another child 'push up'.
26
27
 
27
28
  {% set dont %}
28
- ```
29
+ ```scss
29
30
  .parent > * {
30
31
  margin-bottom: 1rem;
31
32
 
@@ -41,7 +42,7 @@ sidebar: components
41
42
  }) }}
42
43
 
43
44
  {% set do %}
44
- ```
45
+ ```scss
45
46
  .parent > * + * {
46
47
  margin-top: 1rem;
47
48
  }
@@ -61,7 +62,7 @@ sidebar: components
61
62
  `.u-flow` will produce a 'small' space, and `.u-flow--l` a 'large' one.
62
63
 
63
64
  {% set dont %}
64
- ```
65
+ ```html
65
66
  <div class="c-component">
66
67
  <h2 class="c-component__title u-margin-top-m">...</h2>
67
68
  </div>
@@ -73,7 +74,7 @@ sidebar: components
73
74
  }) }}
74
75
 
75
76
  {% set do %}
76
- ```
77
+ ```html
77
78
  <div class="c-component u-flow--m">
78
79
  <h2 class="c-component__title">...</h2>
79
80
  </div>
@@ -100,16 +101,28 @@ sidebar: components
100
101
  </thead>
101
102
  <tbody>
102
103
  <tr>
103
- <td><pre><code>.c-component {
104
- @include flow('l');
105
- }</code></pre></td>
106
- <td><pre><code>.c-component > * + * {
107
- margin-top: 36px;
108
- margin-top: var(--space-l);
109
- }</code></pre></td>
110
- </tr>
111
- </tbody>
112
- </table>
104
+ <td>
105
+
106
+ ```scss
107
+ .c-component {
108
+ @include flow('l');
109
+ }
110
+ ```
111
+
112
+ </td>
113
+ <td>
114
+
115
+ ```scss
116
+ .c-component > * + * {
117
+ margin-top: 36px;
118
+ margin-top: var(--space-l);
119
+ }
120
+ ```
121
+
122
+ </td>
123
+ </tr>
124
+ </tbody>
125
+ </table>
113
126
  {% endset %}
114
127
  {{ markdown({
115
128
  content: content
@@ -44,7 +44,7 @@ Adding new icons to the SVG sprite is a manual process.
44
44
 
45
45
  1. Create (or copy-paste) your new icon on a 24px &times; 24px artboard in Illustrator
46
46
  2. Export as an SVG
47
- 3. Copy into https://jakearchibald.github.io/svgomg/
47
+ 3. Copy into <a href="https://jakearchibald.github.io/svgomg/" target="_blank" rel="external noopener noreferrer nofollow">https://jakearchibald.github.io/svgomg/</a>
48
48
  - Adjust the options to best reduce the file size
49
49
  - Export from SVGOMG as code
50
50
  5. Paste into Franklin's /src/static/svg/sprite.svg
@@ -14,7 +14,9 @@ The simplest way to consume the design system is with a `<link>` & `<script>` ta
14
14
  <script src="https://unpkg.com/mp-design-system@latest/dist/build/js/app.js"></script>
15
15
  ```
16
16
 
17
- The latest version number is **V.{{ config.dsVersion }}**, and is visible in the top-right of the page throughout the design system. You can access previous versions by replacing "latest" in the URL, e.g. `https://unpkg.com/mp-design-system@0.8.2/dist/build/scss/main.css`
17
+ The latest version number is **V.{{ config.dsVersion }}**, and is visible in the top-right of the page throughout the design system. That version may not have been tested thoroughly - on the main website we stay a few versions behind the latest, and we specify a precise version of each asset by replacing "@latest" in the URL, e.g. `https://unpkg.com/mp-design-system@0.9.5/dist/build/scss/main.css`.
18
+
19
+ N.B. the `<script>` tag needs to be placed near the closing `</body>` tag of your page; it won't run correctly if placed in the head.
18
20
 
19
21
  ## Consuming the design system via NPM
20
22
 
@@ -28,7 +28,7 @@ More typography utility classes are documented on the [typography page](/compone
28
28
 
29
29
  ---
30
30
 
31
- ## Display
31
+ ## Visibility & display
32
32
 
33
33
  ```html
34
34
  <div class="u-hidden">Visually hidden, but still accessible to screenreaders</div>
@@ -67,11 +67,11 @@ More typography utility classes are documented on the [typography page](/compone
67
67
  ```
68
68
 
69
69
  ```html
70
- <p class="u-sticky">This will "stick" to the top of the screen while scrolling</p>
70
+ <div class="u-sticky">This will "stick" to the top of the screen while scrolling</div>
71
71
  ```
72
72
 
73
73
  ```html
74
- <div class="u-sticky--gutter">Sticky positioning, with a gap above</div>
74
+ <div class="u-sticky--gutter">To create a small gap above a sticky element</div>
75
75
  ```
76
76
 
77
77
  ```html
@@ -91,14 +91,16 @@ The two child items will be aligned in a horizontal row
91
91
  ## Padding and margins
92
92
 
93
93
  #### Syntax:
94
- `u`-`(pad or margin)`-`(optional direction)`-`(size)`-`(optional flex size)`
94
+ `u`-`(pad or margin)`-`(size)`
95
+
96
+ `u`-`(pad or margin)`-`(direction, optional)`-`(size)`-`(flex size, optional)`
95
97
 
96
98
  ```html
97
99
  <div class="u-pad-s">Small padding on all sides</div>
98
100
  ```
99
101
 
100
102
  ```html
101
- <div class="u-margin-y-xl">Extra large margin on top and bottom</div>
103
+ <div class="u-margin-x-xs">Extra small margin on left and right</div>
102
104
  ```
103
105
 
104
106
  ```html
@@ -106,8 +108,8 @@ The two child items will be aligned in a horizontal row
106
108
  ```
107
109
 
108
110
  ```html
109
- <div class="u-pad-x-s-xl">Flexible (small to XL) padding on left and right</div>
110
- Grows from small padding on small screens, to xl padding on large screens
111
+ <div class="u-pad-y-l-xl">Flexible (large to XL) padding on top and bottom</div>
112
+ Grows from large padding on small screens, to xl padding on large screens
111
113
  ```
112
114
 
113
115
  Sizes | Directions
@@ -131,18 +133,42 @@ More padding and margin utility classes are documented on the [space page](/comp
131
133
 
132
134
  ## Miscellaneous
133
135
 
136
+ ```html
137
+ <div class="u-link-inside">Links inside will have underline styling</div>
138
+ ```
139
+
140
+ ```html
141
+ <div class="u-border">Element will have a subtle border</div>
142
+ ```
143
+
144
+ <br>
145
+
134
146
  #### Cutoff
135
147
 
136
- `u-cutoff`-`(optional direction; can be bottom-left, top-left, or top-right)`
148
+ `u-cutoff`-`(optional direction; can be bottom-left, top-left, or top-right)`-`(size, optional)`
137
149
 
138
- N.B. The diagonal size is based on `var(--gutter)`.
150
+ N.B. The default diagonal size is based on `var(--gutter)`.
139
151
 
140
152
  ```html
141
153
  <div class="u-cutoff">Cutoff effect on the bottom-right corner</div>
142
- ```
143
154
 
144
- ```html
145
155
  <div class="u-cutoff--top-left">Top left cutoff</div>
156
+
157
+ <div class="u-cutoff--xl">XL size cutoff</div>
146
158
  ```
147
159
 
148
160
  <div class="u-bg-blue-step-2 u-pad-xl u-cutoff">Cutoff effect on the bottom-right corner</div>
161
+
162
+ <div class="u-bg-blue-step-2 u-pad-xl u-cutoff--top-left">Top left cutoff</div>
163
+
164
+ <div class="u-bg-blue-step-2 u-pad-xl u-cutoff--xl">XL size cutoff</div>
165
+
166
+ <br>
167
+
168
+ #### Scroll shadows
169
+
170
+ When a tab row is too wide for the screen, this displays shadows which indicate that scrolling/swiping is available. Horizontal and vertical options are available. [See example](/components/tabs-scroll-shadows).
171
+
172
+ ```html
173
+ <nav class="c-tabs__controls u-scroll-shadows--h">
174
+ ```
package/src/index.njk CHANGED
@@ -100,11 +100,14 @@ A combination of brand guidelines and a library of HTML/CSS/JS components.
100
100
  As Malvern Panalytical has grown, our online experiences have become disparate and inconsistent. The goal of this design system is to address this by creating a single source of truth. It will rely on us all using and contributing to it, with the ongoing support of the Design System Team.
101
101
 
102
102
  ## Latest updates
103
- ##### V.{{ config.dsVersion }} - 04 Aug 2022
103
+ ##### V.{{ config.dsVersion }} - Jan 2022
104
104
 
105
- - Update MP Charcoal colours for better contrast and legibility
106
- - Add cutoff utility
107
- - Tweak campaign design
105
+ - New Features Table component
106
+ - New Gallery component
107
+ - New illustration documentation
108
+ - Fix IE11 navigation bug
109
+ - Misc. fixes
110
+ - Misc. documentation improvements
108
111
  {% endset %}
109
112
 
110
113
  {{ markdown({
@@ -13,6 +13,7 @@ tagTitle: Product
13
13
  {% from "components/scroll-spy/macro.njk" import scrollSpy %}
14
14
  {% from "components/embed/macro.njk" import youtube %}
15
15
  {% from "components/card/macro.njk" import card %}
16
+ {% from "components/gallery/macro.njk" import gallery %}
16
17
 
17
18
  {% set siteNav %}{% include "navigation/corporate.njk" %}{% endset %}
18
19
 
@@ -26,6 +27,34 @@ tagTitle: Product
26
27
  </nav>
27
28
 
28
29
  <div class="o-grid o-grid--of-two-late">
30
+
31
+ {{ gallery({
32
+ images: [
33
+ {
34
+ src: '/static/img/slide-4.webp',
35
+ title: 'Zetasizer slide 1'
36
+ },
37
+ {
38
+ src: '/static/img/slide-5.webp',
39
+ title: 'Zetasizer slide 2'
40
+ },
41
+ {
42
+ src: '/static/img/slide-6.webp',
43
+ title: 'Zetasizer slide 3'
44
+ },
45
+ {
46
+ src: '/static/img/slide-7.webp',
47
+ title: 'Zetasizer slide 4'
48
+ }
49
+ ],
50
+ videos: [
51
+ {
52
+ title: 'FOCUS ON THE AIR YOU BREATHE - Elemental analysis of air filters according to US EPA Method io-3.3',
53
+ id: 'Q4H7EdHFghs'
54
+ }
55
+ ]
56
+ })}}
57
+
29
58
  <div>
30
59
  <h1 class="c-h c-h--page-title">Mastersizer 3000</h1>
31
60
  <h2 class="c-h c-h--page-subtitle u-margin-top-s-m">Delivering the data you need for outcomes you can trust</h2>
@@ -39,25 +68,6 @@ tagTitle: Product
39
68
  <br />
40
69
  </div>
41
70
  </div>
42
-
43
- <div class="u-flow c-gallery">
44
- {{ youtube({
45
- title: 'FOCUS ON THE AIR YOU BREATHE - Elemental analysis of air filters according to US EPA Method io-3.3',
46
- id: 'Q4H7EdHFghs'
47
- }) }}
48
-
49
- <div class="c-gallery__thumbnails">
50
- <figure class="c-gallery__slide active">
51
- <img src="/static/img/slide-1.jpg" alt="Alt" />
52
- </figure>
53
- <figure class="c-gallery__slide">
54
- <img src="/static/img/slide-2.jpg" alt="Alt" />
55
- </figure>
56
- <figure class="c-gallery__slide">
57
- <img src="/static/img/slide-3.jpg" alt="Alt" />
58
- </figure>
59
- </div>
60
- </div>
61
71
  </div>
62
72
 
63
73
  <div class="o-grid o-grid--of-three u-pad-top-m-l">
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="421" height="724" fill="none"><g stroke="#004157" opacity=".075"><circle cx="36.965" cy="27.974" r="17.5" transform="rotate(-15 36.965 27.974)"/><circle cx="141.285" cy=".021" r="17.5" transform="rotate(-15 141.285 .021)"/><circle cx="3.44" cy="111.496" r="17.5" transform="rotate(-15 3.44 111.496)"/><circle cx="107.76" cy="83.544" r="17.5" transform="rotate(-15 107.76 83.544)"/><circle cx="212.08" cy="55.591" r="17.5" transform="rotate(-15 212.08 55.591)"/><circle cx="74.235" cy="167.067" r="17.5" transform="rotate(-15 74.235 167.067)"/><circle cx="178.555" cy="139.114" r="17.5" transform="rotate(-15 178.555 139.114)"/><circle cx="40.71" cy="250.59" r="17.5" transform="rotate(-15 40.71 250.59)"/><circle cx="145.03" cy="222.637" r="17.5" transform="rotate(-15 145.03 222.637)"/><circle cx="249.35" cy="194.685" r="17.5" transform="rotate(-15 249.35 194.685)"/><circle cx="7.185" cy="334.113" r="17.5" transform="rotate(-15 7.185 334.113)"/><circle cx="111.505" cy="306.16" r="17.5" transform="rotate(-15 111.505 306.16)"/><circle cx="215.825" cy="278.208" r="17.5" transform="rotate(-15 215.825 278.208)"/><circle cx="77.98" cy="389.683" r="17.5" transform="rotate(-15 77.98 389.683)"/><circle cx="182.3" cy="361.73" r="17.5" transform="rotate(-15 182.3 361.73)"/><circle cx="286.62" cy="333.778" r="17.5" transform="rotate(-15 286.62 333.778)"/><circle cx="44.455" cy="473.206" r="17.5" transform="rotate(-15 44.455 473.206)"/><circle cx="148.775" cy="445.254" r="17.5" transform="rotate(-15 148.775 445.254)"/><circle cx="253.095" cy="417.301" r="17.5" transform="rotate(-15 253.095 417.301)"/><circle cx="10.93" cy="556.729" r="17.5" transform="rotate(-15 10.93 556.729)"/><circle cx="115.25" cy="528.776" r="17.5" transform="rotate(-15 115.25 528.776)"/><circle cx="219.57" cy="500.824" r="17.5" transform="rotate(-15 219.57 500.824)"/><circle cx="323.89" cy="472.871" r="17.5" transform="rotate(-15 323.89 472.871)"/><circle cx="81.725" cy="612.299" r="17.5" transform="rotate(-15 81.725 612.299)"/><circle cx="186.045" cy="584.347" r="17.5" transform="rotate(-15 186.045 584.347)"/><circle cx="290.365" cy="556.394" r="17.5" transform="rotate(-15 290.365 556.394)"/><circle cx="48.2" cy="695.822" r="17.5" transform="rotate(-15 48.2 695.822)"/><circle cx="152.52" cy="667.87" r="17.5" transform="rotate(-15 152.52 667.87)"/><circle cx="256.84" cy="639.917" r="17.5" transform="rotate(-15 256.84 639.917)"/><circle cx="361.16" cy="611.965" r="17.5" transform="rotate(-15 361.16 611.965)"/><circle cx="223.315" cy="723.44" r="17.5" transform="rotate(-15 223.315 723.44)"/><circle cx="327.635" cy="695.488" r="17.5" transform="rotate(-15 327.635 695.488)"/></g></svg>
@@ -1,2 +0,0 @@
1
- ## Color options
2
- In the CMS for the main website (Tridion), users can select from four color options for a campaign component. This is implemented with utility classes in HTML, and is therefore not documented here.