mp-design-system 0.6.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/dist/build/js/app.js +12 -6
  2. package/dist/build/js/app.js.map +1 -1
  3. package/dist/build/scss/library.css +1 -1
  4. package/dist/build/scss/library.css.map +1 -1
  5. package/dist/build/scss/main.css +1 -1
  6. package/dist/build/scss/main.css.map +1 -1
  7. package/package.json +1 -1
  8. package/src/_includes/components/accordion/accordion.config.js +27 -0
  9. package/src/_includes/components/accordion/accordion.md +15 -0
  10. package/src/_includes/components/accordion/accordion.njk +10 -0
  11. package/src/_includes/components/accordion/accordion.scss +49 -0
  12. package/src/_includes/components/accordion/macro.njk +5 -0
  13. package/src/_includes/components/button/button.njk +1 -1
  14. package/src/_includes/components/campaign/campaign.config.js +3 -3
  15. package/src/_includes/components/card/card.scss +0 -14
  16. package/src/_includes/components/comparison-table/comparison-table.scss +5 -0
  17. package/src/_includes/components/hero/hero.config.js +27 -3
  18. package/src/_includes/components/hero/hero.njk +29 -1
  19. package/src/_includes/components/hero/hero.scss +61 -1
  20. package/src/_includes/components/industry-card/industry-card.njk +2 -2
  21. package/src/_includes/components/industry-card/industry-card.scss +4 -4
  22. package/src/_includes/components/meta-box/meta-box.scss +5 -1
  23. package/src/_includes/components/table/table.config.js +12 -0
  24. package/src/_includes/components/table/table.njk +8 -2
  25. package/src/_includes/includes/related-events.njk +1 -1
  26. package/src/_includes/includes/resources.njk +1 -1
  27. package/src/_includes/layout.njk +28 -4
  28. package/src/assets/js/app.js +8 -2
  29. package/src/assets/js/imports/accordion.js +19 -0
  30. package/src/assets/js/imports/hero-video.js +34 -0
  31. package/src/assets/js/imports/scrollbar-width.js +15 -0
  32. package/src/assets/js/imports/utilities.js +10 -0
  33. package/src/assets/scss/components/gallery.scss +16 -68
  34. package/src/assets/scss/components/index.scss +2 -0
  35. package/src/assets/scss/components/lightbox.scss +62 -0
  36. package/src/assets/scss/library.scss +6 -2
  37. package/src/assets/scss/tools/breakout.scss +2 -0
  38. package/src/assets/scss/utilities/display.scss +6 -4
  39. package/src/assets/scss/utilities/hr.scss +4 -0
  40. package/src/assets/scss/utilities/index.scss +4 -0
  41. package/src/brand/downloads.njk +2 -2
  42. package/src/brand/visual/images.md +17 -17
  43. package/src/components/utilities.md +47 -4
  44. package/src/prototype/index.njk +1 -1
  45. package/src/prototype/product.njk +24 -1
  46. package/src/prototype/range.njk +1 -1
  47. package/src/static/pdf/PN12558_Physical_branding_v23.pdf +0 -0
  48. package/src/static/img/grid-captivate-2.jpg +0 -0
  49. package/src/static/img/grid-captivate-3.jpg +0 -0
  50. package/src/static/img/grid-captivate-4.jpg +0 -0
  51. package/src/static/img/grid-convince-1.jpg +0 -0
  52. package/src/static/img/grid-convince-2.jpg +0 -0
  53. package/src/static/img/grid-convince-3.jpg +0 -0
  54. package/src/static/img/grid-convince-4.jpg +0 -0
  55. package/src/static/img/grid-convince-6.jpg +0 -0
  56. package/src/static/img/grid-inform-applications-1.jpg +0 -0
  57. package/src/static/img/grid-inform-applications-2.jpg +0 -0
  58. package/src/static/img/grid-inform-applications-3.jpg +0 -0
  59. package/src/static/img/grid-inform-tech-1.jpg +0 -0
  60. package/src/static/img/grid-inform-tech-2.jpg +0 -0
  61. package/src/static/img/grid-inform-tech-4.jpg +0 -0
  62. package/src/static/img/grid-inspire-1.jpg +0 -0
  63. package/src/static/img/grid-inspire-2.jpg +0 -0
  64. package/src/static/img/grid-inspire-3.jpg +0 -0
  65. package/src/static/img/grid-inspire-4.jpg +0 -0
  66. package/src/static/img/grid-inspire-5.jpg +0 -0
  67. package/src/static/pdf/FINAL Tone of voice guidelines April 2021.pdf +0 -0
  68. package/src/static/pdf/Mastersizer 3000.pdf +58 -53069
  69. package/src/static/pdf/PN12316_Digital_brand_quickstart_v06.pdf +45 -19388
  70. package/src/static/ppt/MP Elevator pitch.pptx +0 -0
@@ -10,8 +10,13 @@
10
10
  width: 100%;
11
11
 
12
12
  img {
13
- margin: 0 auto;
14
13
  display: block;
14
+ margin: 0 auto;
15
+
16
+ @supports (object-fit:contain) {
17
+ max-height: 500px;
18
+ object-fit: contain;
19
+ }
15
20
  }
16
21
 
17
22
  &:not(.active) {
@@ -24,29 +29,22 @@
24
29
  @include padding-bottom('s');
25
30
  display: flex;
26
31
  flex-direction: row;
27
- flex-wrap: nowrap;
28
- -webkit-overflow-scrolling: touch;
29
- scroll-behavior: smooth;
30
- scroll-snap-type: x mandatory;
31
- overflow-x: auto;
32
+ flex-wrap: wrap;
33
+ gap: 2%;
34
+ gap: max(8px, 2%);
32
35
 
33
36
  & > * {
34
37
  background: color('grey', 'step-3');
35
- max-width: 25%;
36
- max-height: var(--space-2xl);
37
- min-width: var(--space-l);
38
- min-height: var(--space-l);
39
- width: auto;
40
- scroll-snap-align: start;
41
-
42
- & + * {
43
- margin-left: var(--space-xs-s);
44
- }
38
+ @include space('min-height', 'l');
39
+ @include space('max-height', '2xl');
40
+ @include space('min-width', 'l');
41
+ max-width: 10.75%;
45
42
 
46
43
  img {
47
- min-height: 100%;
48
- opacity: 0.9;
44
+ height: 100%;
45
+ opacity: 0.8;
49
46
  object-fit: cover;
47
+ width: 100%;
50
48
  }
51
49
 
52
50
  &.active img {
@@ -54,54 +52,4 @@
54
52
  }
55
53
  }
56
54
  }
57
- }
58
-
59
- .c-lightbox {
60
- position: fixed;
61
- z-index: 1000;
62
- top: 0;
63
- width: 100%;
64
- height: 100%;
65
- background-color: rgba(color('grey', 'step--1'), .9);
66
- display: flex;
67
- justify-content: center;
68
- align-items: center;
69
-
70
- &__slide {
71
- max-width: 90vw;
72
- margin: auto;
73
- display: none;
74
-
75
- &.active {
76
- display: block;
77
-
78
- img {
79
- max-width: 85vw;
80
- max-height: 90vh;
81
- margin: auto;
82
- display: block;
83
- }
84
- }
85
- }
86
-
87
- &__prev,
88
- &__next {
89
- position: absolute;
90
- height: 2rem;
91
- width: 2rem;
92
- background-repeat: no-repeat;
93
- background-position: center;
94
- padding: 0.5rem;
95
- cursor: pointer;
96
- }
97
-
98
- &__prev {
99
- background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="arrow-left" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12H2M2 12L9 5M2 12L9 19" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
100
- left: 0.5rem;
101
- }
102
-
103
- &__next {
104
- background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="arrow-right" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12H22M22 12L15 5M22 12L15 19" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
105
- right: 0.5rem;
106
- }
107
55
  }
@@ -27,6 +27,8 @@
27
27
  @import '~comp/slat/slat.scss';
28
28
  @import '~comp/hero/hero.scss';
29
29
  @import '~comp/quote/quote.scss';
30
+ @import '~comp/accordion/accordion.scss';
30
31
 
31
32
  @import './headings.scss';
32
33
  @import './gallery.scss';
34
+ @import './lightbox.scss';
@@ -0,0 +1,62 @@
1
+ .c-lightbox {
2
+ position: fixed;
3
+ z-index: 1000;
4
+ top: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ background-color: rgba(color('grey', 'step--1'), .9);
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+
12
+ &__slide {
13
+ max-width: 90vw;
14
+ margin: auto;
15
+ display: none;
16
+
17
+ &.active {
18
+ display: block;
19
+
20
+ img {
21
+ max-width: 85vw;
22
+ max-height: 90vh;
23
+ margin: auto;
24
+ display: block;
25
+ }
26
+ }
27
+ }
28
+
29
+ &__prev,
30
+ &__next {
31
+ position: absolute;
32
+ height: 2rem;
33
+ width: 2rem;
34
+ background-repeat: no-repeat;
35
+ background-position: center;
36
+ padding: 0.5rem;
37
+ cursor: pointer;
38
+ }
39
+
40
+ &__prev {
41
+ background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="arrow-left" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12H2M2 12L9 5M2 12L9 19" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
42
+ left: 0.5rem;
43
+ }
44
+
45
+ &__next {
46
+ background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="arrow-right" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12H22M22 12L15 5M22 12L15 19" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
47
+ right: 0.5rem;
48
+ }
49
+
50
+ &__close {
51
+ position: absolute;
52
+ top: 0.6rem;
53
+ right: 0.6rem;
54
+ color: color('white');
55
+ font-size: 1.6rem;
56
+ cursor: pointer;
57
+ }
58
+
59
+ &__video {
60
+ width: 100%;
61
+ }
62
+ }
@@ -71,7 +71,7 @@
71
71
  @media only screen and (min-width: 600px) {
72
72
  &--components &__body > * {
73
73
  overflow-y: scroll;
74
- height: calc(100vh - 115px);
74
+ height: calc( 100vh - var(--headerHeight) - 1px );
75
75
  }
76
76
  }
77
77
 
@@ -212,7 +212,11 @@
212
212
  }
213
213
 
214
214
  &__main {
215
- overflow-y: scroll;
215
+ overflow-y: auto;
216
+
217
+ @media only screen and (min-width: 600px) {
218
+ overflow-y: scroll;
219
+ }
216
220
  }
217
221
 
218
222
  &__frame {
@@ -3,9 +3,11 @@
3
3
 
4
4
  @mixin breakout($pad: 0) {
5
5
  left: 50%;
6
+ left: calc( 50% + var(--scrollbarWidth)/2.0001 );
6
7
  position: relative;
7
8
  transform: translateX(-50vw);
8
9
  width: 100vw;
10
+ width: calc( 100vw - var(--scrollbarWidth) );
9
11
  padding-left: safe-space($pad);
10
12
  padding-right: safe-space($pad);
11
13
  }
@@ -109,10 +109,12 @@
109
109
  @include gap("s-l");
110
110
  }
111
111
 
112
- .u-16\/9 {
113
- height: 0;
114
- padding-bottom: 56.25%;
115
- position: relative;
112
+ @supports (object-fit: cover) {
113
+ .u-2\/1 {
114
+ aspect-ratio: 2 / 1;
115
+ object-fit: cover;
116
+ object-position: 75% 50%;
117
+ }
116
118
  }
117
119
 
118
120
  @media (min-width: 640px) {
@@ -12,4 +12,8 @@
12
12
 
13
13
  .u-border {
14
14
  border: 1px solid color('petrol', 'step-2');
15
+ }
16
+
17
+ .o-prose hr {
18
+ @extend .u-hr
15
19
  }
@@ -1,3 +1,5 @@
1
+ html body {
2
+
1
3
  @import './typography.scss';
2
4
  @import './link.scss';
3
5
  @import './colour.scss';
@@ -9,3 +11,5 @@
9
11
  @import './hr.scss';
10
12
  @import './ellipsis.scss';
11
13
  @import './scroll-shadows.scss';
14
+
15
+ }
@@ -13,7 +13,7 @@ tags: brand
13
13
  <div class="u-flow--l">
14
14
 
15
15
  {{ twi({
16
- link: "/static/pdf/FINAL Tone of voice guidelines April 2021.pdf",
16
+ link: "https://malvern.sharepoint.com/:b:/r/sites/Intranet/Shared%20Documents/FINAL%20Tone%20of%20voice%20guidelines%20April%202021.pdf?csf=1&web=1&e=vW1Qzs",
17
17
  label: "Tone of voice guidelines",
18
18
  classes: "u-link",
19
19
  icon: "file"
@@ -29,7 +29,7 @@ icon: 'file'
29
29
  <br>
30
30
 
31
31
  {{ twi({
32
- link: "/static/ppt/MP Elevator pitch.pptx",
32
+ link: "https://malvern.sharepoint.com/:p:/r/sites/SVP/Shared%20Documents/Elevator%20Pitch%20(different%20languages)/Elevator%20pitch%20PPT%20(internal-external).pptx?d=w5ae5e5afa8c042f9968f95878a910471&csf=1&web=1&e=ui0qAk",
33
33
  label: "Elevator pitch - Powerpoint presentation",
34
34
  classes: "u-link",
35
35
  icon: "file"
@@ -42,39 +42,39 @@ The images we use can have a great effect on how people perceive our company. Ju
42
42
  <div class="c-library__photo-grid grid-1">
43
43
  <div class="u-bg-petrol u-white"><h2>Captivate</h2></div>
44
44
  <img src="/static/img/grid-captivate-1.jpg" alt="A silhouette of a woman's face, overlaid with plotted lines and charts of data" loading="lazy">
45
- <img src="/static/img/grid-captivate-3.jpg" alt="Looking up through tree branches at the Milky Way, filling the night sky" loading="lazy">
46
- <img src="/static/img/grid-captivate-4.jpg" alt="A glowing Malvern Panalytical logo floats amongst trees in a misty forest " loading="lazy">
47
- <img src="/static/img/grid-captivate-2.jpg" alt="A network of brass pins embedded in a wooden surface, connected with fine wire" loading="lazy">
45
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/f4c97a0a-bb44-417d-a935-adea010bdf70/shutterstock_600381020_Low-res.JPG" alt="Looking up through tree branches at the Milky Way, filling the night sky" loading="lazy">
46
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/519c5d77-203b-433f-a8d6-adf600fd4f42/shutterstock_1729372963_Low-res.JPG" alt="A glowing Malvern Panalytical logo floats amongst trees in a misty forest " loading="lazy">
47
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/d3e8fca9-b331-4798-ac4e-adea010d1c42/shutterstock_455077471_Low-res.JPG" alt="A network of brass pins embedded in a wooden surface, connected with fine wire" loading="lazy">
48
48
  </div>
49
49
 
50
50
  <div class="c-library__photo-grid grid-1">
51
51
  <div class="u-bg-red u-white"><h2>Inspire</h2></div>
52
- <img src="/static/img/grid-inspire-1.jpg" alt="A scientist wearing protective gear leans in, using a pipette to fill a cuvette" loading="lazy">
53
- <img src="/static/img/grid-inspire-2.jpg" alt="An extreme close-up of tiny underwater plants, glowing in sunlight" loading="lazy">
54
- <img src="/static/img/grid-inspire-4.jpg" alt="An industrial pipeline silhouetted against the dawn sky" loading="lazy">
55
- <img src="/static/img/grid-inspire-3.jpg" alt="A CNC machine cuts into a piece of metal, sending sparks flying" loading="lazy">
52
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/981276ff-0ab9-4be9-aedd-adea010bf005/shutterstock_145005193_Low-res.JPG" alt="A scientist wearing protective gear leans in, using a pipette to fill a cuvette" loading="lazy">
53
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/372bcddb-261b-4272-a3fd-adea010c01ad/shutterstock_1408636658_Low-res.JPG" alt="An extreme close-up of tiny underwater plants, glowing in sunlight" loading="lazy">
54
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/d80bfeb7-1b0c-40cf-97e8-adea010bea98/shutterstock_174607778_Low-res.JPG" alt="An industrial pipeline silhouetted against the dawn sky" loading="lazy">
55
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/7f424ea8-8443-444a-8c91-adea010bee72/shutterstock_712297567_Low-res.JPG" alt="A CNC machine cuts into a piece of metal, sending sparks flying" loading="lazy">
56
56
  </div>
57
57
 
58
58
  <div class="c-library__photo-grid grid-2">
59
59
  <div class="u-bg-blue u-white"><h2>Inform - Applications</h2></div>
60
- <img src="/static/img/grid-inform-applications-1.jpg" alt="An engineer in a hard hat crouches down to install solar panels on a roof" loading="lazy">
61
- <img src="/static/img/grid-inform-applications-2.jpg" alt="A deep sea oil rig lit up against the evening sky" loading="lazy">
62
- <img src="/static/img/grid-inform-applications-3.jpg" alt="A scientist collects a water sample from a stream and checks it against a touchscreen device" loading="lazy">
60
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/971f54df-cdb3-43d8-ac63-adea010af455/shutterstock_1515878372_Low-res.JPG" alt="Three engineers in a workshop building a robotic device" loading="lazy">
61
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/1f20be8d-61fc-465b-b67d-adea010a3cad/shutterstock_717797560_Low-res.JPG" alt="A deep sea oil rig lit up against the evening sky" loading="lazy">
62
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/86aad13f-9f20-4a18-8a2e-adea010ae3d9/shutterstock_111870260_Low-res.JPG" alt="An aerial view of a water treatment plant in the sunshine" loading="lazy">
63
63
  </div>
64
64
 
65
65
  <div class="c-library__photo-grid grid-2">
66
66
  <div class="u-bg-blue u-white"><h2>Inform - Technology</h2></div>
67
- <img src="/static/img/grid-inform-tech-2.jpg" alt="An engineer types on a laptop, surrounded by server racks, with cable bundles covering the walls and ceiling" loading="lazy">
68
- <img src="/static/img/grid-inform-tech-1.jpg" alt="A scientist wearing protective gear looks into a microscope" loading="lazy">
69
- <img src="/static/img/grid-inform-tech-4.jpg" alt="A network of glass spheres, some lit from within, connected by metal rods, suspended in darkness" loading="lazy">
67
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/b7f2beab-a7e1-48f7-83e1-adea010ca426/shutterstock_1921649444_Low-res.JPG" alt="An engineer in a data center typing on a laptop, surrounded by server racks" loading="lazy">
68
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/523373f2-3a26-45b4-9b1b-adea010caab1/shutterstock_1073659409_Low-res.JPG" alt="A scientist wearing protective gear looks into a microscope" loading="lazy">
69
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/5b80c088-2b69-4bb9-a705-adea010d0fb1/shutterstock_1770220811_Low-res.JPG" alt="A network of glass spheres, some lit from within, connected by metal rods, suspended in darkness" loading="lazy">
70
70
  </div>
71
71
 
72
72
  <div class="c-library__photo-grid grid-1">
73
73
  <div class="u-bg-green u-white"><h2>Convince</h2></div>
74
- <img src="/static/img/grid-convince-1.jpg" alt="A woman holds a mobile phone to her ear, and smiles at the camera" loading="lazy">
75
- <img src="/static/img/grid-convince-2.jpg" alt="Liquid is mixed inside a scientific machine, lit from within" loading="lazy">
76
- <img src="/static/img/grid-convince-3.jpg" alt="Plants with green leaves growing out of glass containers in a laboratory" loading="lazy">
77
- <img src="/static/img/grid-convince-4.jpg" alt="An aerial view of farmland, with buildings connected by CGI arcs of light in the air" loading="lazy">
74
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/fb25d412-a13c-47fa-8740-adea010b4722/shutterstock_1522368992_Low-res.JPG" alt="A birds-eye view of people raising their glasses around a dinner table" loading="lazy">
75
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/87714d0a-16c8-43f5-a7e0-adea01143f6a/shutterstock_326505566_Low-res.JPG" alt="A barista pours steamed milk into a latte, creating a heart pattern" loading="lazy">
76
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/2d6b4793-692f-4ff8-ab51-adea010c6f71/shutterstock_128581706_Low-res.JPG" alt="Plants with green leaves growing out of glass containers in a laboratory" loading="lazy">
77
+ <img src="https://p3.aprimocdn.net/malvernpanalytical/fe398dc5-a0db-4801-a680-adea010c65e1/shutterstock_1898110876_Low-res.JPG" alt="An aerial view of farmland, with buildings connected by CGI arcs of light in the air" loading="lazy">
78
78
  </div>
79
79
 
80
80
  <div class="u-wrap--content u-margin-top-xl">
@@ -63,17 +63,60 @@ More typography utility classes are documented on the [typography page](/compone
63
63
  ```
64
64
 
65
65
  ```html
66
- <div class="u-sticky">Sticky positioning at the top of the viewport</div>
66
+ <p class="u-sticky">This will "stick" to the top of the screen while scrolling</p>
67
67
  ```
68
68
 
69
69
  ```html
70
- <div class="u-sticky--gutter">Sticky positioning with gutter spacing</div>
70
+ <div class="u-sticky--gutter">Sticky positioning, with a gap above</div>
71
71
  ```
72
72
 
73
73
  ```html
74
74
  <div class="u-split">
75
- <h2>Webinars and events</h2>
76
- <a href>View all</a>
75
+ <p>Split: aligned left</p>
76
+ <a class="u-link">Aligned right</a>
77
77
  </div>
78
78
  The two child items will be aligned in a horizontal row
79
+ ```
80
+ <div class="u-split u-pad-s u-border">
81
+ <p>Split: aligned left</p>
82
+ <a class="u-link">Aligned right</a>
83
+ </div>
84
+
85
+ ## Padding and margins
86
+
87
+ More padding and margin utility classes are documented on the [space page](/components/space).
88
+
89
+ #### Syntax:
90
+ `u`-`(pad or margin)`-`(optional direction)`-`(size)`-`(optional flex size)`
91
+
92
+ Sizes | Directions
93
+ ------|-----------
94
+ 3xs | top
95
+ 2xs | bottom
96
+ xs | left
97
+ s | right
98
+ m | y
99
+ l | x
100
+ xl |
101
+ 2xl |
102
+ 3xl |
103
+ 4xl |
104
+
105
+ N.B. Not all permutations are available in the existing CSS, as that would amount to over 4800 extra lines of code. Currently we've only implemented a handful - but we can add more as needed.
106
+
107
+ ```html
108
+ <div class="u-pad-s">Small padding on all sides</div>
109
+ ```
110
+
111
+ ```html
112
+ <div class="u-margin-y-xl">Extra large margin on top and bottom</div>
113
+ ```
114
+
115
+ ```html
116
+ <div class="u-margin-left-m">Medium margin on left side only</div>
117
+ ```
118
+
119
+ ```html
120
+ <div class="u-pad-x-s-xl">Flexible (small to XL) padding on left and right</div>
121
+ Grows from small padding on small screens, to xl padding on large screens
79
122
  ```
@@ -445,7 +445,7 @@ tags: prototype
445
445
  </div>
446
446
 
447
447
  <div id="tab-events" class="c-tab">
448
- <div class="o-grid o-grid--of-three">
448
+ <div class="o-grid o-grid--of-three o-grid--swipeable">
449
449
  {{ card({
450
450
  theme: {
451
451
  layout: 'single',
@@ -31,7 +31,7 @@ tagTitle: Product
31
31
  <h2 class="c-h c-h--page-subtitle u-margin-top-s-m">Delivering the data you need for outcomes you can trust</h2>
32
32
  <div class="mp o-prose u-margin-top-s-m u-flow--m">
33
33
  <p>From pharma to food, manufacturing to environmental monitoring, organisations the world over trust the Mastersizer 3000 laser diffraction particle size analyser for fast, accurate and reliable analysis. The instrument’s ease of use and versatility means it’s valued for both scientific research and manufacturing quality control.</p>
34
- {{ twi({ classes: 'u-link', label: 'Download brochure', link: '/static/pdf/Mastersizer 3000.pdf', attrs: 'download', icon: 'file', inline: true, colour: 'white' }) }}
34
+ {{ twi({ classes: 'u-link', label: 'Download brochure', link: 'https://www.malvernpanalytical.com/en/assets/Mastersizer%203000%20Brochure%20%28EN%29_tcm50-58994.pdf', attrs: 'download', icon: 'file', inline: true, colour: 'white' }) }}
35
35
  </div>
36
36
  <div class="u-margin-top-s-m">
37
37
  {{ button({ link: '/prototype/request-a-quote', label: 'Request a quote', inline: true }) }}
@@ -84,6 +84,7 @@ tagTitle: Product
84
84
  links: [
85
85
  { link: '#features-and-benefits', label: 'Features and benefits' },
86
86
  { link: '#key-components', label: 'Key components' },
87
+ { link: '#faqs', label: 'FAQs' },
87
88
  { link: '#use-cases', label: 'Use cases' },
88
89
  { link: '#specifications', label: 'Specifications' },
89
90
  { link: '#accessories', label: 'Accessories' },
@@ -150,6 +151,28 @@ tagTitle: Product
150
151
  </ul>
151
152
  </div>
152
153
 
154
+ <div class="mp o-prose u-flow--prose" id="faqs">
155
+ <h2>Frequently asked questions</h2>
156
+ <dl class="c-accordion">
157
+ <div class="c-accordion__item ">
158
+ <dt class="c-accordion__title">Do I need to prepare the workspace prior to installation?</dt>
159
+ <dd class="c-accordion__content o-prose u-flow--prose">All instruments need a power source, and some have additional requirements such as a water supply or waste extraction. Where this the case, we will advise you prior to shipping your instrument.</dd>
160
+ </div>
161
+ <div class="c-accordion__item ">
162
+ <dt class="c-accordion__title">What specialist skills or knowledge are required?</dt>
163
+ <dd class="c-accordion__content o-prose u-flow--prose">You don't need any specialist skills or knowledge to perform a Smart Install. Simply follow the instructions provided.</dd>
164
+ </div>
165
+ <div class="c-accordion__item ">
166
+ <dt class="c-accordion__title">Do I need specialist tools or equipment to Smart Install a new instrument?</dt>
167
+ <dd class="c-accordion__content o-prose u-flow--prose"><ul><li>For installation of a Mastersizer or Zetasizer system, you will need a computer with internet access in order to view the installation guides. For installation of an Epsilon 1 XRF instrument, you will also need a smartphone or tablet to connect with our support personnel via a secure, augmented reality (AR) platform.</li><li>Everything else you need to install your new instrument will be provided.</li></ul></dd>
168
+ </div>
169
+ <div class="c-accordion__item ">
170
+ <dt class="c-accordion__title">What languages are available for the Smart Install guides?</dt>
171
+ <dd class="c-accordion__content o-prose u-flow--prose"><ul><li>Mastersizer: English, Chinese, Korean, French, German and Japanese</li><li>Zetasizer: English, Chinese, Korean, French, German and Japanese</li><li>Epsilon 1: English, French, German and Japanese, Spanish and Portuguese</li></ul></dd>
172
+ </div>
173
+ </dl>
174
+ </div>
175
+
153
176
  <div class="mp o-prose u-flow--prose" id="use-cases">
154
177
  <h2>What customers use the Mastersizer 3000 for</h2>
155
178
  <p>The Mastersizer 3000 lets users find the particle size ‘sweet spot’ for a vast array of processes – helping them create substances that behave more <strong>predictably</strong>, more <strong>safely</strong> and to a higher <strong>quality</strong>. Mastersizers are frequently used for:</p>
@@ -31,7 +31,7 @@ tagTitle: Range
31
31
  },
32
32
  cta: {
33
33
  label: 'Download brochure',
34
- link: '/static/pdf/Mastersizer 3000.pdf',
34
+ link: 'https://www.malvernpanalytical.com/en/assets/Mastersizer%203000%20Brochure%20%28EN%29_tcm50-58994.pdf',
35
35
  attrs: 'download',
36
36
  icon: 'file'
37
37
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file