mp-design-system 1.2.64 → 1.2.65
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +35 -29
- package/dist/build/js/app.js +1 -22
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/main.css +1 -1
- package/package.json +35 -46
- package/src/_data/components.js +0 -104
- package/src/_data/config.js +0 -14
- package/src/_data/helpers.js +0 -6
- package/src/_headers +0 -9
- package/src/_includes/components/accordion/accordion.config.js +0 -28
- package/src/_includes/components/accordion/accordion.md +0 -15
- package/src/_includes/components/accordion/accordion.njk +0 -10
- package/src/_includes/components/accordion/accordion.scss +0 -54
- package/src/_includes/components/accordion/macro.njk +0 -5
- package/src/_includes/components/alert/alert.config.js +0 -65
- package/src/_includes/components/alert/alert.njk +0 -27
- package/src/_includes/components/alert/alert.scss +0 -80
- package/src/_includes/components/alert/macro.njk +0 -5
- package/src/_includes/components/back-to-top/back-to-top.config.js +0 -10
- package/src/_includes/components/back-to-top/back-to-top.njk +0 -7
- package/src/_includes/components/back-to-top/back-to-top.scss +0 -22
- package/src/_includes/components/back-to-top/macro.njk +0 -5
- package/src/_includes/components/breadcrumb/breadcrumb.config.js +0 -20
- package/src/_includes/components/breadcrumb/breadcrumb.njk +0 -19
- package/src/_includes/components/breadcrumb/breadcrumb.scss +0 -69
- package/src/_includes/components/breadcrumb/macro.njk +0 -5
- package/src/_includes/components/button/button.config.js +0 -89
- package/src/_includes/components/button/button.njk +0 -38
- package/src/_includes/components/button/button.scss +0 -178
- package/src/_includes/components/button/macro.njk +0 -5
- package/src/_includes/components/campaign/campaign.config.js +0 -68
- package/src/_includes/components/campaign/campaign.njk +0 -26
- package/src/_includes/components/campaign/campaign.scss +0 -108
- package/src/_includes/components/campaign/macro.njk +0 -5
- package/src/_includes/components/card/card.config.js +0 -1058
- package/src/_includes/components/card/card.njk +0 -206
- package/src/_includes/components/card/card.scss +0 -508
- package/src/_includes/components/card/existing-customer-card.config.js +0 -51
- package/src/_includes/components/card/existing-customer-card.njk +0 -40
- package/src/_includes/components/card/existing-customer-card.scss +0 -100
- package/src/_includes/components/card/industry-card.config.js +0 -51
- package/src/_includes/components/card/industry-card.njk +0 -34
- package/src/_includes/components/card/industry-card.scss +0 -85
- package/src/_includes/components/card/macro.njk +0 -29
- package/src/_includes/components/card/measurement-type-card.config.js +0 -35
- package/src/_includes/components/card/measurement-type-card.njk +0 -35
- package/src/_includes/components/card/measurement-type-card.scss +0 -56
- package/src/_includes/components/card/product-card.config.js +0 -91
- package/src/_includes/components/card/product-card.njk +0 -58
- package/src/_includes/components/card/product-card.scss +0 -88
- package/src/_includes/components/card/search-result-card.config.js +0 -29
- package/src/_includes/components/card/search-result-card.njk +0 -33
- package/src/_includes/components/card/search-result-card.scss +0 -48
- package/src/_includes/components/card/technology-card.config.js +0 -35
- package/src/_includes/components/card/technology-card.njk +0 -35
- package/src/_includes/components/card/technology-card.scss +0 -56
- package/src/_includes/components/card-new/card-new.config.js +0 -95
- package/src/_includes/components/card-new/card-new.md +0 -0
- package/src/_includes/components/card-new/card-new.njk +0 -169
- package/src/_includes/components/card-new/card-new.scss +0 -156
- package/src/_includes/components/card-new/macro.njk +0 -5
- package/src/_includes/components/comparison-table/comparison-table.config.js +0 -92
- package/src/_includes/components/comparison-table/comparison-table.njk +0 -76
- package/src/_includes/components/comparison-table/comparison-table.scss +0 -187
- package/src/_includes/components/comparison-table/macro.njk +0 -5
- package/src/_includes/components/component/categories.js +0 -5
- package/src/_includes/components/component/component.njk +0 -71
- package/src/_includes/components/component/preview-card-example.njk +0 -347
- package/src/_includes/components/component/preview-cards-three-alt.njk +0 -3
- package/src/_includes/components/component/preview-cards-three.njk +0 -3
- package/src/_includes/components/component/preview-cards-two.njk +0 -3
- package/src/_includes/components/component/preview-content-width.njk +0 -5
- package/src/_includes/components/component/preview-default.njk +0 -3
- package/src/_includes/components/component/preview-fixed-width.njk +0 -5
- package/src/_includes/components/component/preview-form.njk +0 -3
- package/src/_includes/components/component/preview-icons.njk +0 -3
- package/src/_includes/components/component/preview-sidebar.njk +0 -5
- package/src/_includes/components/embed/embed.njk +0 -11
- package/src/_includes/components/embed/embed.scss +0 -17
- package/src/_includes/components/embed/macro.njk +0 -9
- package/src/_includes/components/embed/youtube.config.js +0 -19
- package/src/_includes/components/embed/youtube.njk +0 -5
- package/src/_includes/components/event-card/event-card.config.js +0 -108
- package/src/_includes/components/event-card/event-card.njk +0 -1
- package/src/_includes/components/event-card/event-card.scss +0 -49
- package/src/_includes/components/event-card/macro.njk +0 -5
- package/src/_includes/components/eyebrow/eyebrow.config.js +0 -84
- package/src/_includes/components/eyebrow/eyebrow.njk +0 -24
- package/src/_includes/components/eyebrow/eyebrow.scss +0 -71
- package/src/_includes/components/eyebrow/macro.njk +0 -5
- package/src/_includes/components/facet/facet.config.js +0 -110
- package/src/_includes/components/facet/facet.njk +0 -25
- package/src/_includes/components/facet/facet.scss +0 -49
- package/src/_includes/components/facet/macro.njk +0 -5
- package/src/_includes/components/featured-article-card/featured-article-card.config.js +0 -32
- package/src/_includes/components/featured-article-card/featured-article-card.njk +0 -24
- package/src/_includes/components/featured-article-card/featured-article-card.scss +0 -34
- package/src/_includes/components/featured-article-card/macro.njk +0 -5
- package/src/_includes/components/features-table/features-table.config.js +0 -137
- package/src/_includes/components/features-table/features-table.njk +0 -364
- package/src/_includes/components/features-table/features-table.scss +0 -96
- package/src/_includes/components/features-table/macro.njk +0 -5
- package/src/_includes/components/filter-search/filter-search.config.js +0 -16
- package/src/_includes/components/filter-search/filter-search.njk +0 -11
- package/src/_includes/components/filter-search/filter-search.scss +0 -33
- package/src/_includes/components/filter-search/macro.njk +0 -5
- package/src/_includes/components/footer/footer.config.js +0 -7
- package/src/_includes/components/footer/footer.njk +0 -81
- package/src/_includes/components/footer/footer.scss +0 -127
- package/src/_includes/components/footer/macro.njk +0 -5
- package/src/_includes/components/gallery/gallery.config.js +0 -55
- package/src/_includes/components/gallery/gallery.md +0 -1
- package/src/_includes/components/gallery/gallery.njk +0 -51
- package/src/_includes/components/gallery/gallery.scss +0 -54
- package/src/_includes/components/gallery/macro.njk +0 -5
- package/src/_includes/components/header/header.config.js +0 -38
- package/src/_includes/components/header/header.md +0 -4
- package/src/_includes/components/header/header.njk +0 -111
- package/src/_includes/components/header/header.scss +0 -273
- package/src/_includes/components/header/macro.njk +0 -5
- package/src/_includes/components/hero/hero.config.js +0 -144
- package/src/_includes/components/hero/hero.njk +0 -109
- package/src/_includes/components/hero/hero.scss +0 -356
- package/src/_includes/components/hero/macro.njk +0 -5
- package/src/_includes/components/hotspot-image/hotspot-image.config.js +0 -55
- package/src/_includes/components/hotspot-image/hotspot-image.njk +0 -41
- package/src/_includes/components/hotspot-image/hotspot-image.scss +0 -103
- package/src/_includes/components/hotspot-image/macro.njk +0 -5
- package/src/_includes/components/icon/icon.config.js +0 -18
- package/src/_includes/components/icon/icon.md +0 -1
- package/src/_includes/components/icon/icon.njk +0 -13
- package/src/_includes/components/icon/icon.scss +0 -6
- package/src/_includes/components/icon/macro.njk +0 -5
- package/src/_includes/components/input/checkbox.config.js +0 -41
- package/src/_includes/components/input/checkbox.njk +0 -2
- package/src/_includes/components/input/input.config.js +0 -67
- package/src/_includes/components/input/input.njk +0 -15
- package/src/_includes/components/input/input.scss +0 -136
- package/src/_includes/components/input/macro.njk +0 -25
- package/src/_includes/components/input/radio.config.js +0 -41
- package/src/_includes/components/input/radio.njk +0 -2
- package/src/_includes/components/input/radio.scss +0 -143
- package/src/_includes/components/input/select.config.js +0 -70
- package/src/_includes/components/input/select.njk +0 -13
- package/src/_includes/components/input/textarea.config.js +0 -51
- package/src/_includes/components/input/textarea.njk +0 -4
- package/src/_includes/components/input/toggle.config.js +0 -41
- package/src/_includes/components/input/toggle.njk +0 -5
- package/src/_includes/components/input/toggle.scss +0 -75
- package/src/_includes/components/internal-nav/internal-nav.config.js +0 -41
- package/src/_includes/components/internal-nav/internal-nav.njk +0 -24
- package/src/_includes/components/internal-nav/internal-nav.scss +0 -74
- package/src/_includes/components/internal-nav/macro.njk +0 -5
- package/src/_includes/components/meta-box/macro.njk +0 -5
- package/src/_includes/components/meta-box/meta-box.config.js +0 -74
- package/src/_includes/components/meta-box/meta-box.njk +0 -36
- package/src/_includes/components/meta-box/meta-box.scss +0 -10
- package/src/_includes/components/off-canvas/macro.njk +0 -5
- package/src/_includes/components/off-canvas/off-canvas.config.js +0 -28
- package/src/_includes/components/off-canvas/off-canvas.njk +0 -28
- package/src/_includes/components/off-canvas/off-canvas.scss +0 -102
- package/src/_includes/components/option-list/macro.njk +0 -5
- package/src/_includes/components/option-list/option-list.config.js +0 -51
- package/src/_includes/components/option-list/option-list.njk +0 -10
- package/src/_includes/components/option-list/option-list.scss +0 -39
- package/src/_includes/components/post-meta/macro.njk +0 -5
- package/src/_includes/components/post-meta/post-meta.config.js +0 -44
- package/src/_includes/components/post-meta/post-meta.njk +0 -16
- package/src/_includes/components/post-meta/post-meta.scss +0 -7
- package/src/_includes/components/product-card/macro.njk +0 -5
- package/src/_includes/components/product-card/product-card.config.js +0 -84
- package/src/_includes/components/product-card/product-card.njk +0 -1
- package/src/_includes/components/product-card/product-card.scss +0 -36
- package/src/_includes/components/product-signpost/macro.njk +0 -3
- package/src/_includes/components/product-signpost/product-signpost.config.js +0 -43
- package/src/_includes/components/product-signpost/product-signpost.njk +0 -16
- package/src/_includes/components/product-signpost/product-signpost.scss +0 -61
- package/src/_includes/components/prose/macro.njk +0 -11
- package/src/_includes/components/prose/prose.config.js +0 -65
- package/src/_includes/components/prose/prose.md +0 -1
- package/src/_includes/components/prose/prose.njk +0 -17
- package/src/_includes/components/quote/macro.njk +0 -5
- package/src/_includes/components/quote/quote.config.js +0 -19
- package/src/_includes/components/quote/quote.njk +0 -9
- package/src/_includes/components/quote/quote.scss +0 -51
- package/src/_includes/components/resource-card/macro.njk +0 -5
- package/src/_includes/components/resource-card/resource-card.config.js +0 -59
- package/src/_includes/components/resource-card/resource-card.njk +0 -1
- package/src/_includes/components/resource-card/resource-card.scss +0 -0
- package/src/_includes/components/scroll-spy/macro.njk +0 -5
- package/src/_includes/components/scroll-spy/scroll-spy.config.js +0 -24
- package/src/_includes/components/scroll-spy/scroll-spy.md +0 -3
- package/src/_includes/components/scroll-spy/scroll-spy.njk +0 -5
- package/src/_includes/components/scroll-spy/scroll-spy.scss +0 -54
- package/src/_includes/components/series/macro.njk +0 -5
- package/src/_includes/components/series/series.config.js +0 -35
- package/src/_includes/components/series/series.njk +0 -15
- package/src/_includes/components/series/series.scss +0 -20
- package/src/_includes/components/signpost/macro.njk +0 -5
- package/src/_includes/components/signpost/signpost.config.js +0 -36
- package/src/_includes/components/signpost/signpost.njk +0 -21
- package/src/_includes/components/signpost/signpost.scss +0 -66
- package/src/_includes/components/slat/slat.config.js +0 -59
- package/src/_includes/components/slat/slat.njk +0 -15
- package/src/_includes/components/slat/slat.scss +0 -53
- package/src/_includes/components/table/macro.njk +0 -11
- package/src/_includes/components/table/table.config.js +0 -68
- package/src/_includes/components/table/table.md +0 -16
- package/src/_includes/components/table/table.njk +0 -28
- package/src/_includes/components/table/table.scss +0 -157
- package/src/_includes/components/tabs/macro.njk +0 -9
- package/src/_includes/components/tabs/tabs-radio.config.js +0 -32
- package/src/_includes/components/tabs/tabs-radio.njk +0 -9
- package/src/_includes/components/tabs/tabs.config.js +0 -57
- package/src/_includes/components/tabs/tabs.njk +0 -17
- package/src/_includes/components/tabs/tabs.scss +0 -105
- package/src/_includes/components/twi/macro.njk +0 -5
- package/src/_includes/components/twi/twi.config.js +0 -46
- package/src/_includes/components/twi/twi.md +0 -1
- package/src/_includes/components/twi/twi.njk +0 -30
- package/src/_includes/components/twi/twi.scss +0 -44
- package/src/_includes/components/usp/macro.njk +0 -5
- package/src/_includes/components/usp/usp.config.js +0 -55
- package/src/_includes/components/usp/usp.md +0 -101
- package/src/_includes/components/usp/usp.njk +0 -42
- package/src/_includes/components/usp/usp.scss +0 -60
- package/src/_includes/content-page.njk +0 -53
- package/src/_includes/includes/color-swatches.njk +0 -260
- package/src/_includes/includes/related-events.njk +0 -60
- package/src/_includes/includes/resources.njk +0 -78
- package/src/_includes/includes/system-footer.njk +0 -30
- package/src/_includes/includes/system-header.njk +0 -30
- package/src/_includes/includes/system-scripts.njk +0 -88
- package/src/_includes/layout.njk +0 -69
- package/src/_includes/library-navigation/brand-nav.njk +0 -67
- package/src/_includes/library-navigation/components-nav.njk +0 -88
- package/src/_includes/library-navigation/content-nav.njk +0 -53
- package/src/_includes/library-navigation/system-nav.njk +0 -9
- package/src/_includes/library.njk +0 -5
- package/src/_includes/navigation/blog.njk +0 -16
- package/src/_includes/navigation/corporate.njk +0 -25
- package/src/_includes/navigation/store.njk +0 -29
- package/src/_includes/page.njk +0 -14
- package/src/_includes/patterns-page.njk +0 -41
- package/src/_includes/system-home-page.njk +0 -28
- package/src/_includes/system-page.njk +0 -27
- package/src/_includes/system.njk +0 -39
- package/src/_redirects +0 -13
- package/src/assets/fonts/Inter-Bold.woff +0 -0
- package/src/assets/fonts/Inter-Bold.woff2 +0 -0
- package/src/assets/fonts/Inter-Regular.woff +0 -0
- package/src/assets/fonts/Inter-Regular.woff2 +0 -0
- package/src/assets/fonts/Inter-SemiBold.woff +0 -0
- package/src/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/src/assets/js/app.js +0 -40
- package/src/assets/js/imports/accordion.js +0 -17
- package/src/assets/js/imports/carousel.js +0 -22
- package/src/assets/js/imports/clear-form.js +0 -27
- package/src/assets/js/imports/comparison.js +0 -64
- package/src/assets/js/imports/facet.js +0 -23
- package/src/assets/js/imports/gallery.js +0 -87
- package/src/assets/js/imports/hero-pattern.js +0 -94
- package/src/assets/js/imports/hero-video.js +0 -53
- package/src/assets/js/imports/hotspot-image.js +0 -91
- package/src/assets/js/imports/internal-nav.js +0 -41
- package/src/assets/js/imports/off-canvas.js +0 -219
- package/src/assets/js/imports/responsive-table.js +0 -30
- package/src/assets/js/imports/scroll-spy.js +0 -46
- package/src/assets/js/imports/scrollbar-width.js +0 -15
- package/src/assets/js/imports/tabs.js +0 -58
- package/src/assets/js/imports/utilities.js +0 -31
- package/src/assets/scss/components/form.scss +0 -306
- package/src/assets/scss/components/headings.scss +0 -68
- package/src/assets/scss/components/index.scss +0 -52
- package/src/assets/scss/components/lightbox.scss +0 -64
- package/src/assets/scss/components/product-finder.scss +0 -75
- package/src/assets/scss/elements/index.scss +0 -2
- package/src/assets/scss/elements/reset.scss +0 -139
- package/src/assets/scss/elements/typography.scss +0 -25
- package/src/assets/scss/foundations/animation.scss +0 -4
- package/src/assets/scss/foundations/colour.scss +0 -85
- package/src/assets/scss/foundations/index.scss +0 -4
- package/src/assets/scss/foundations/space.scss +0 -57
- package/src/assets/scss/foundations/typography.scss +0 -159
- package/src/assets/scss/library.scss +0 -672
- package/src/assets/scss/main.scss +0 -6
- package/src/assets/scss/objects/button-wrap.scss +0 -18
- package/src/assets/scss/objects/clickable-parent.scss +0 -3
- package/src/assets/scss/objects/grid.scss +0 -329
- package/src/assets/scss/objects/index.scss +0 -4
- package/src/assets/scss/objects/prose.scss +0 -169
- package/src/assets/scss/objects/syntax-highlighting.scss +0 -211
- package/src/assets/scss/tools/breakout.scss +0 -17
- package/src/assets/scss/tools/cutoff.scss +0 -50
- package/src/assets/scss/tools/index.scss +0 -172
- package/src/assets/scss/utilities/colour.scss +0 -10
- package/src/assets/scss/utilities/disabled.scss +0 -8
- package/src/assets/scss/utilities/display.scss +0 -156
- package/src/assets/scss/utilities/divider.scss +0 -6
- package/src/assets/scss/utilities/ellipsis.scss +0 -7
- package/src/assets/scss/utilities/flex.scss +0 -47
- package/src/assets/scss/utilities/flow.scss +0 -69
- package/src/assets/scss/utilities/gap.scss +0 -3
- package/src/assets/scss/utilities/hr.scss +0 -23
- package/src/assets/scss/utilities/index.scss +0 -18
- package/src/assets/scss/utilities/link.scss +0 -26
- package/src/assets/scss/utilities/scroll-shadows.scss +0 -69
- package/src/assets/scss/utilities/space.scss +0 -370
- package/src/assets/scss/utilities/typography.scss +0 -35
- package/src/assets/scss/utilities/wrap.scss +0 -24
- package/src/assets/svg/arc.svg +0 -1
- package/src/assets/svg/concentric.svg +0 -1
- package/src/assets/svg/crystal.svg +0 -1
- package/src/assets/svg/dots-pattern.svg +0 -1
- package/src/brand/colors.njk +0 -69
- package/src/brand/illustration.md +0 -50
- package/src/brand/images.md +0 -101
- package/src/brand/index.njk +0 -147
- package/src/brand/logo.md +0 -107
- package/src/brand/patterns.njk +0 -49
- package/src/brand/requirements.md +0 -98
- package/src/brand/resources.njk +0 -75
- package/src/brand/typography.md +0 -101
- package/src/components/colour.njk +0 -327
- package/src/components/creating-a-component.md +0 -163
- package/src/components/css.md +0 -65
- package/src/components/flow.njk +0 -131
- package/src/components/grid/generic.njk +0 -99
- package/src/components/grid/index.njk +0 -86
- package/src/components/grid/layout.njk +0 -56
- package/src/components/grid/wrap.njk +0 -20
- package/src/components/iconography.njk +0 -92
- package/src/components/index.njk +0 -65
- package/src/components/installation.md +0 -61
- package/src/components/publishing-the-system.md +0 -25
- package/src/components/space.njk +0 -191
- package/src/components/typography.njk +0 -135
- package/src/components/utilities.md +0 -182
- package/src/components-full-pages.njk +0 -24
- package/src/components-pages.njk +0 -103
- package/src/content/and-so/please-write-responsibly.md +0 -15
- package/src/content/and-so/sitting-down.md +0 -13
- package/src/content/big-ideas.md +0 -63
- package/src/content/boilerplate.md +0 -33
- package/src/content/elevator-pitch.md +0 -33
- package/src/content/index.njk +0 -126
- package/src/content/our-voice/1-big-picture.md +0 -37
- package/src/content/our-voice/2-whats-most-important.md +0 -38
- package/src/content/our-voice/3-write-like-we-speak.md +0 -50
- package/src/content/our-voice/4-write-to-be-skimmed.md +0 -50
- package/src/content/our-voice/5-active-sentences.md +0 -73
- package/src/content/our-voice/6-add-energy.md +0 -34
- package/src/content/our-voice/7-small-surprises.md +0 -44
- package/src/content/our-voice/seven-steps.md +0 -21
- package/src/content/our-voice/which-techniques-when.md +0 -39
- package/src/content/real-life-examples/01-who-we-are-boilerplate.md +0 -39
- package/src/content/real-life-examples/02-event-announcement.md +0 -38
- package/src/content/real-life-examples/03-customer-support-letter.md +0 -58
- package/src/content/real-life-examples/04-delay-in-shipment-letter.md +0 -62
- package/src/content/real-life-examples/05-overview-events-training.md +0 -41
- package/src/content/real-life-examples/06-digital-product-description.md +0 -40
- package/src/content/real-life-examples/07-recruitment.md +0 -42
- package/src/content/real-life-examples/08-industry-sector-1.md +0 -43
- package/src/content/real-life-examples/09-industry-sector-2.md +0 -47
- package/src/content/real-life-examples/10-website-information.md +0 -50
- package/src/content/real-life-examples/11-internal-update.md +0 -37
- package/src/content/real-life-examples/12-value-proposition.md +0 -44
- package/src/index.njk +0 -152
- package/src/patterns/form.njk +0 -349
- package/src/patterns/grid-of-cards.njk +0 -66
- package/src/patterns/index.njk +0 -19
- package/src/patterns/mp-form.njk +0 -111
- package/src/patterns/usps.njk +0 -149
- package/src/prototype/blog-post.njk +0 -123
- package/src/prototype/blog.njk +0 -168
- package/src/prototype/card-test.njk +0 -147
- package/src/prototype/creating-a-page.njk +0 -74
- package/src/prototype/events-hub.njk +0 -520
- package/src/prototype/form-altcha.njk +0 -705
- package/src/prototype/form-cloudflare.njk +0 -688
- package/src/prototype/form-hcaptcha.njk +0 -693
- package/src/prototype/home.njk +0 -24
- package/src/prototype/index.njk +0 -893
- package/src/prototype/oma.njk +0 -167
- package/src/prototype/product.njk +0 -480
- package/src/prototype/products.njk +0 -163
- package/src/prototype/range.njk +0 -263
- package/src/prototype/request-a-quote.njk +0 -147
- package/src/prototype/sections.njk +0 -295
- package/src/prototype/spline.njk +0 -16
- package/src/prototype/thanks.njk +0 -31
- package/src/prototype/webinar.njk +0 -118
- package/src/prototype/webinars-3-2-1.njk +0 -397
- package/src/prototype/webinars.njk +0 -405
- package/src/quickstart.md +0 -41
- package/src/robots.txt +0 -5
- package/src/static/adobe/MP Franklin colour swatches.ai +0 -914
- package/src/static/img/aeris.jpg +0 -0
- package/src/static/img/article-1.jpg +0 -0
- package/src/static/img/article-2.jpg +0 -0
- package/src/static/img/blog-image-1.jpg +0 -0
- package/src/static/img/blog-page-image-1.jpg +0 -0
- package/src/static/img/blog-page-image-2.jpg +0 -0
- package/src/static/img/blog-page-image-3.jpg +0 -0
- package/src/static/img/blog-page-image-4.jpg +0 -0
- package/src/static/img/blog-page-image-5.jpg +0 -0
- package/src/static/img/blog-page-image-6.jpg +0 -0
- package/src/static/img/campaign.jpg +0 -0
- package/src/static/img/case-study-1.jpg +0 -0
- package/src/static/img/case-study-2.jpg +0 -0
- package/src/static/img/case-study-3.jpg +0 -0
- package/src/static/img/empyrean.jpg +0 -0
- package/src/static/img/epsilon.jpg +0 -0
- package/src/static/img/favicon-32x32.png +0 -0
- package/src/static/img/favicon.svg +0 -1
- package/src/static/img/featured-blog-post.jpg +0 -0
- package/src/static/img/featured-event-1.jpg +0 -0
- package/src/static/img/featured-event-2.jpg +0 -0
- package/src/static/img/featured-event-3.jpg +0 -0
- package/src/static/img/flow-2.png +0 -0
- package/src/static/img/flow-diagram.png +0 -0
- package/src/static/img/flow.png +0 -0
- package/src/static/img/grid-captivate-1.jpg +0 -0
- package/src/static/img/homepage_1_back.webp +0 -0
- package/src/static/img/homepage_1_back_alt.webp +0 -0
- package/src/static/img/homepage_1_front_full.webp +0 -0
- package/src/static/img/homepage_2_back.webp +0 -0
- package/src/static/img/homepage_2_back_alt.webp +0 -0
- package/src/static/img/homepage_2_front_full.webp +0 -0
- package/src/static/img/itcss.svg +0 -8
- package/src/static/img/leneo.jpg +0 -0
- package/src/static/img/mastersizer.jpg +0 -0
- package/src/static/img/microcal.jpg +0 -0
- package/src/static/img/morphologi.jpg +0 -0
- package/src/static/img/omnisec.jpg +0 -0
- package/src/static/img/open-graph-image.jpg +0 -0
- package/src/static/img/product-accessory-1.jpg +0 -0
- package/src/static/img/product-accessory-2.jpg +0 -0
- package/src/static/img/product-image.jpg +0 -0
- package/src/static/img/products-1.jpg +0 -0
- package/src/static/img/products-2.jpg +0 -0
- package/src/static/img/products-3.jpg +0 -0
- package/src/static/img/products-4.jpg +0 -0
- package/src/static/img/products-5.jpg +0 -0
- package/src/static/img/products-6.jpg +0 -0
- package/src/static/img/qualityspec.jpg +0 -0
- package/src/static/img/range-product-1.jpg +0 -0
- package/src/static/img/range-product-2.jpg +0 -0
- package/src/static/img/range.jpg +0 -0
- package/src/static/img/salt.png +0 -0
- package/src/static/img/sector-1.jpg +0 -0
- package/src/static/img/sector-2.jpg +0 -0
- package/src/static/img/sector-3.jpg +0 -0
- package/src/static/img/sector-4.jpg +0 -0
- package/src/static/img/sector-5.jpg +0 -0
- package/src/static/img/slide-1.jpg +0 -0
- package/src/static/img/slide-2.jpg +0 -0
- package/src/static/img/slide-3.jpg +0 -0
- package/src/static/img/slide-4.webp +0 -0
- package/src/static/img/slide-5.webp +0 -0
- package/src/static/img/slide-6.webp +0 -0
- package/src/static/img/slide-7.webp +0 -0
- package/src/static/img/zetasizer.jpg +0 -0
- package/src/static/pdf/PN12558_Physical_branding_v23.pdf +0 -0
- package/src/static/pdf/Power of One - Malvern Panalytical rebranding guidance.pdf +0 -0
- package/src/static/svg/crop-diagram-1.svg +0 -1
- package/src/static/svg/crop-diagram-2.svg +0 -1
- package/src/static/svg/icon-globe-alt--white.svg +0 -4
- package/src/static/svg/icon-globe-alt.svg +0 -4
- package/src/static/svg/icon-live-webinars--white.svg +0 -6
- package/src/static/svg/icon-live-webinars.svg +0 -6
- package/src/static/svg/icon-recorded-webinars--white.svg +0 -4
- package/src/static/svg/icon-recorded-webinars.svg +0 -4
- package/src/static/svg/icon-user-training--white.svg +0 -5
- package/src/static/svg/icon-user-training.svg +0 -5
- package/src/static/svg/imaging-matrix.svg +0 -56
- package/src/static/svg/large-envelope.svg +0 -1
- package/src/static/svg/large-globe.svg +0 -1
- package/src/static/svg/large-student.svg +0 -1
- package/src/static/svg/logo-black.svg +0 -1
- package/src/static/svg/logo-color-white-text.svg +0 -1
- package/src/static/svg/logo-simple.svg +0 -1
- package/src/static/svg/logo-small.svg +0 -1
- package/src/static/svg/logo-spacing-horizontal.svg +0 -1
- package/src/static/svg/logo-spacing-vertical.svg +0 -1
- package/src/static/svg/logo-stacked.svg +0 -1
- package/src/static/svg/logo-white.svg +0 -1
- package/src/static/svg/logo-x.svg +0 -1
- package/src/static/svg/logo.svg +0 -1
- package/src/static/svg/sprite.svg +0 -48
- package/src/static/svg/typography-spacing.svg +0 -2345
- package/src/static/zip/MP_logo.zip +0 -0
- package/src/static/zip/SVG_patterns.zip +0 -0
@@ -1,75 +0,0 @@
|
|
1
|
-
.c-toggle {
|
2
|
-
position: relative;
|
3
|
-
@include step(-1);
|
4
|
-
display: inline-block;
|
5
|
-
white-space: nowrap;
|
6
|
-
|
7
|
-
&__checkbox {
|
8
|
-
@extend .u-hidden;
|
9
|
-
}
|
10
|
-
|
11
|
-
&__slider {
|
12
|
-
@include margin-right('2xs');
|
13
|
-
@include margin-left('2xs');
|
14
|
-
position: relative;
|
15
|
-
display: inline-block;
|
16
|
-
height: 1.25rem;
|
17
|
-
width: 2.25rem;
|
18
|
-
border: 1px solid color('petrol', 'step-2');
|
19
|
-
border-radius: 1.25rem;
|
20
|
-
vertical-align: text-bottom;
|
21
|
-
|
22
|
-
&::before {
|
23
|
-
position: absolute;
|
24
|
-
content: "";
|
25
|
-
background-color: color('white');
|
26
|
-
border: 1px solid color('petrol', 'step-2');
|
27
|
-
height: 0.75rem;
|
28
|
-
width: 0.75rem;
|
29
|
-
top: 0;
|
30
|
-
bottom: 0;
|
31
|
-
left: 0.25rem;
|
32
|
-
margin: auto 0;
|
33
|
-
border-radius: 50%;
|
34
|
-
transition: .1s;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
&:hover &__slider,
|
39
|
-
&:focus-within &__slider {
|
40
|
-
background-color: color('petrol', 'step-3');
|
41
|
-
}
|
42
|
-
|
43
|
-
&:focus-within &__slider {
|
44
|
-
outline: 2px solid;
|
45
|
-
}
|
46
|
-
|
47
|
-
&__checkbox:checked + &__slider {
|
48
|
-
background-color: color('utility-blue');
|
49
|
-
}
|
50
|
-
|
51
|
-
&:hover &__checkbox:checked + &__slider,
|
52
|
-
&:focus-within &__checkbox:checked + &__slider {
|
53
|
-
background-color: color('utility-blue', 'step--1');
|
54
|
-
}
|
55
|
-
|
56
|
-
&__checkbox:checked + &__slider::before {
|
57
|
-
transform: translateX(1rem);
|
58
|
-
}
|
59
|
-
|
60
|
-
input[disabled] {
|
61
|
-
& + .c-toggle__slider {
|
62
|
-
background-color: color('petrol', 'step-2');
|
63
|
-
cursor: not-allowed;
|
64
|
-
opacity: 0.6;
|
65
|
-
|
66
|
-
&:before {
|
67
|
-
background-color: color('petrol', 'step-3');
|
68
|
-
}
|
69
|
-
}
|
70
|
-
& ~ .c-toggle__label {
|
71
|
-
cursor: not-allowed;
|
72
|
-
opacity: 0.6;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Internal nav',
|
3
|
-
component: {
|
4
|
-
name: 'internal-nav'
|
5
|
-
},
|
6
|
-
context: {
|
7
|
-
links: [
|
8
|
-
{ link: '#product-categories', label: 'Product categories' },
|
9
|
-
{ link: '#product-ranges', label: 'Product ranges' },
|
10
|
-
{ link: '#technologies', label: 'Technologies' },
|
11
|
-
{ link: '#measurement-types', label: 'Measurement types' },
|
12
|
-
{ link: '#industry-standards', label: 'Industry standards' },
|
13
|
-
{ link: '#our-product-brands', label: 'Our product brands' }
|
14
|
-
]
|
15
|
-
},
|
16
|
-
variants: [
|
17
|
-
{
|
18
|
-
title: 'Sticky on scroll',
|
19
|
-
context: {
|
20
|
-
classes: 'c-internal-nav--sticky',
|
21
|
-
title: 'Mastersizer range',
|
22
|
-
links: [
|
23
|
-
{ link: '#overview', label: 'Overview' },
|
24
|
-
{ link: '#products', label: 'Products' },
|
25
|
-
{ link: '#product-comparison-table', label: 'Compare' },
|
26
|
-
],
|
27
|
-
button: {
|
28
|
-
link: '#',
|
29
|
-
label: 'Request a quote',
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
],
|
34
|
-
props: [
|
35
|
-
{
|
36
|
-
table: [
|
37
|
-
['links', 'link[]', '"link" and "label" objects']
|
38
|
-
]
|
39
|
-
}
|
40
|
-
]
|
41
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{%- from "components/button/macro.njk" import button -%}
|
2
|
-
|
3
|
-
<nav class="mp c-internal-nav {{ params.classes }}" aria-label="In-page">
|
4
|
-
<div class="c-internal-nav__wrap">
|
5
|
-
{% if params.title %}
|
6
|
-
<p class="c-internal-nav__title">{{ params.title }}</p>
|
7
|
-
{% endif %}
|
8
|
-
<ul class="c-internal-nav__list">
|
9
|
-
{% for item in params.links %}
|
10
|
-
<li><a href="{{ item.link }}">{{ item.label }}</a></li>
|
11
|
-
{% endfor %}
|
12
|
-
{% if params.button %}
|
13
|
-
<li>
|
14
|
-
{{ button({
|
15
|
-
link: params.button.link,
|
16
|
-
label: params.button.label,
|
17
|
-
colour: 'green',
|
18
|
-
classes: 'c-button--small'
|
19
|
-
}) }}
|
20
|
-
</li>
|
21
|
-
{% endif %}
|
22
|
-
</ul>
|
23
|
-
</div>
|
24
|
-
</nav>
|
@@ -1,74 +0,0 @@
|
|
1
|
-
.c-internal-nav {
|
2
|
-
background-color: transparent;
|
3
|
-
border-bottom: 1px solid transparent;
|
4
|
-
transition: 200ms all;
|
5
|
-
|
6
|
-
&--sticky {
|
7
|
-
position: sticky;
|
8
|
-
top: -1px;
|
9
|
-
}
|
10
|
-
|
11
|
-
&--stuck {
|
12
|
-
@extend .u-bg-white;
|
13
|
-
border-bottom-color: color('grey', 'step-2');
|
14
|
-
z-index: 9999;
|
15
|
-
|
16
|
-
.c-internal-nav__title {
|
17
|
-
opacity: 1;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
&__wrap {
|
22
|
-
@extend .u-wrap;
|
23
|
-
display: flex;
|
24
|
-
gap: var(--space-l);
|
25
|
-
justify-content: space-between;
|
26
|
-
align-items: center;
|
27
|
-
}
|
28
|
-
|
29
|
-
&__title {
|
30
|
-
@include padding('s', 0);
|
31
|
-
flex-shrink: 0;
|
32
|
-
font-weight: bold;
|
33
|
-
transition: 200ms opacity;
|
34
|
-
opacity: 0;
|
35
|
-
}
|
36
|
-
|
37
|
-
&__list {
|
38
|
-
@include padding('s', 0);
|
39
|
-
color: color('utility-blue');
|
40
|
-
white-space: nowrap;
|
41
|
-
overflow-x: auto;
|
42
|
-
display: flex;
|
43
|
-
align-items: center;
|
44
|
-
font-size: var(--step--1);
|
45
|
-
|
46
|
-
& > * + * {
|
47
|
-
@include margin-left('l');
|
48
|
-
}
|
49
|
-
|
50
|
-
li {
|
51
|
-
a:not(.c-button) {
|
52
|
-
@extend .u-link;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
@media (max-width: 44em) {
|
60
|
-
&__title,
|
61
|
-
.c-button {
|
62
|
-
display: none;
|
63
|
-
}
|
64
|
-
|
65
|
-
&__list {
|
66
|
-
@include padding-bottom('s');
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
.c-hero + .c-internal-nav {
|
73
|
-
margin-top: calc(var(--gutter) * -1);
|
74
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Meta box',
|
3
|
-
component: {
|
4
|
-
name: 'meta-box'
|
5
|
-
},
|
6
|
-
preview: 'cards-three',
|
7
|
-
context: {
|
8
|
-
date: {
|
9
|
-
date: new Date(),
|
10
|
-
time: '11:00 – 1200',
|
11
|
-
timezone: 'Eastern Time (US & Canada)'
|
12
|
-
},
|
13
|
-
linkLabel: 'Register for this event',
|
14
|
-
link: '#',
|
15
|
-
meta: [
|
16
|
-
{
|
17
|
-
title: 'Language',
|
18
|
-
term: 'English'
|
19
|
-
},
|
20
|
-
{
|
21
|
-
title: 'Event type',
|
22
|
-
term: 'Webinar - Live'
|
23
|
-
},
|
24
|
-
{
|
25
|
-
title: 'Industry',
|
26
|
-
term: '<a href="/prototype/range/">Pharmaceutical</a>'
|
27
|
-
},
|
28
|
-
{
|
29
|
-
title: 'Products',
|
30
|
-
terms: [
|
31
|
-
'<a href="/prototype/range">Empyrean range</a>',
|
32
|
-
'<a href="/prototype/range">Zetasizer range</a>',
|
33
|
-
'<a href="/prototype/range">X-ray Diffraction (XRD)</a>'
|
34
|
-
]
|
35
|
-
}
|
36
|
-
]
|
37
|
-
},
|
38
|
-
variants: [
|
39
|
-
{
|
40
|
-
title: 'Simple',
|
41
|
-
context: {
|
42
|
-
date: null,
|
43
|
-
linkLabel: null
|
44
|
-
}
|
45
|
-
}
|
46
|
-
],
|
47
|
-
props: [
|
48
|
-
{
|
49
|
-
table: [
|
50
|
-
['date', 'object', 'dateOptions'],
|
51
|
-
['linkLabel', 'string', 'Button label'],
|
52
|
-
['link', 'string'],
|
53
|
-
['meta', 'termGroup[]']
|
54
|
-
]
|
55
|
-
},
|
56
|
-
{
|
57
|
-
title: '<code>dateOptions</code>',
|
58
|
-
table: [
|
59
|
-
['date', 'date', 'Datetime of the instance'],
|
60
|
-
['time', 'string', 'String-based time'],
|
61
|
-
['timezone', 'string', 'String-based timezone'],
|
62
|
-
['duration', 'string', 'Providing this will make it a \'past event\''],
|
63
|
-
]
|
64
|
-
},
|
65
|
-
{
|
66
|
-
title: '<code>termGroup</code>',
|
67
|
-
table: [
|
68
|
-
['title', 'string'],
|
69
|
-
['term', 'string'],
|
70
|
-
['terms', 'string[]'],
|
71
|
-
]
|
72
|
-
}
|
73
|
-
]
|
74
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
{% from "components/button/macro.njk" import button %}
|
2
|
-
|
3
|
-
<div class="mp c-meta-box">
|
4
|
-
{% if params.date %}
|
5
|
-
<h2 class="c-h c-h--event-date">{{ params.date.date | formatLong }}</h2>
|
6
|
-
<div class="u-flow--3xs">
|
7
|
-
<h3 class="c-h c-h--step-0">{{ params.date.time }}</h3>
|
8
|
-
<p>{{ params.date.timezone }}</p>
|
9
|
-
</div>
|
10
|
-
{% endif %}
|
11
|
-
|
12
|
-
{% if params.meta | length %}
|
13
|
-
<div class="u-grey-step-1">
|
14
|
-
<ul class="u-flow--2xs u-link-inside">
|
15
|
-
{% for meta in params.meta %}
|
16
|
-
<li>
|
17
|
-
<strong>{{ meta.title }}:</strong>
|
18
|
-
{% if meta.term %}
|
19
|
-
<span>{{ meta.term | safe }}
|
20
|
-
{% else %}
|
21
|
-
<ul class="u-margin-top-2xs u-margin-left-2xs u-flow--2xs">
|
22
|
-
{% for term in meta.terms %}
|
23
|
-
<li>{{ term | safe }}</li>
|
24
|
-
{% endfor %}
|
25
|
-
</ul>
|
26
|
-
{% endif %}
|
27
|
-
</li>
|
28
|
-
{% endfor %}
|
29
|
-
</ul>
|
30
|
-
</div>
|
31
|
-
{% endif %}
|
32
|
-
|
33
|
-
{% if params.linkLabel %}
|
34
|
-
{{ button({ label: params.linkLabel, link: params.link, classes: 'c-button--wide c-button--tight' }) }}
|
35
|
-
{% endif %}
|
36
|
-
</div>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Off-canvas',
|
3
|
-
component: {
|
4
|
-
name: 'off-canvas',
|
5
|
-
},
|
6
|
-
context: {
|
7
|
-
target: {
|
8
|
-
id: 'areasOfInterest',
|
9
|
-
button: {
|
10
|
-
text: 'Update'
|
11
|
-
}
|
12
|
-
},
|
13
|
-
header: 'Areas of interest',
|
14
|
-
toggle: {
|
15
|
-
text: 'Add areas of interest'
|
16
|
-
},
|
17
|
-
},
|
18
|
-
variants: [
|
19
|
-
{
|
20
|
-
title: 'Mobile only',
|
21
|
-
context: {
|
22
|
-
classes: 'c-off-canvas--mobile'
|
23
|
-
}
|
24
|
-
}
|
25
|
-
],
|
26
|
-
props: [
|
27
|
-
]
|
28
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{% from "components/input/macro.njk" import checkbox %}
|
2
|
-
|
3
|
-
{%- set classNames = "mp c-button c-off-canvas__toggle" -%}
|
4
|
-
|
5
|
-
{%- if params.classes -%}
|
6
|
-
{% set classNames = classNames + " " + params.classes %}
|
7
|
-
{% endif %}
|
8
|
-
|
9
|
-
<div>
|
10
|
-
<div id="{{ params.target.id }}" class="c-checkbox-group u-flow--m">
|
11
|
-
<label class="c-label" data-off-canvas="header">{{ params.header }}</label>
|
12
|
-
<div class="o-grid o-grid--of-three" data-off-canvas="main">
|
13
|
-
{% for _ in ["3D structure / imaging", "Binding affinity", "Binding kinetics", "Chemical identification", "Contaminant detection and analysis", "Crystal structure determination", "Elemental analysis", "Elemental quantification", "Enzyme kinetics", "Epitaxy analysis"] %}
|
14
|
-
<div>
|
15
|
-
{{ checkbox({
|
16
|
-
label: _,
|
17
|
-
name: params.target.id,
|
18
|
-
id: _,
|
19
|
-
value: _
|
20
|
-
})}}
|
21
|
-
</div>
|
22
|
-
{% endfor %}
|
23
|
-
</div>
|
24
|
-
<button class="mp c-button o-off-canvas__update" data-off-canvas="footer" data-off-canvas-close="true" onclick="return false">{{ params.target.button.text }}</button>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<button class="{{ classNames }}" data-target="{{ params.target.id }}" aria-controls="{{ params.target.id }}" aria-expanded="false" aria-label="Toggle {{ params.header }}" onclick="return false">{{ params.toggle.text }}</button>
|
28
|
-
</div>
|
@@ -1,102 +0,0 @@
|
|
1
|
-
.c-off-canvas {
|
2
|
-
position: fixed;
|
3
|
-
top: 0;
|
4
|
-
left: 0;
|
5
|
-
width: 100%;
|
6
|
-
height: 100%;
|
7
|
-
background-color: transparent;
|
8
|
-
opacity: 0;
|
9
|
-
visibility: hidden;
|
10
|
-
transition: opacity 0.3s ease, visibility 0s linear 0.3s;
|
11
|
-
z-index: 9999;
|
12
|
-
|
13
|
-
&> * + * {
|
14
|
-
margin: 0 !important;
|
15
|
-
}
|
16
|
-
|
17
|
-
&__backdrop {
|
18
|
-
position: fixed;
|
19
|
-
top: 0;
|
20
|
-
left: 0;
|
21
|
-
width: 100%;
|
22
|
-
height: 100%;
|
23
|
-
background-color: rgba(color("grey"), 0.5);
|
24
|
-
opacity: 0;
|
25
|
-
visibility: hidden;
|
26
|
-
transition: opacity 0.3s ease;
|
27
|
-
backdrop-filter: blur(5px);
|
28
|
-
}
|
29
|
-
|
30
|
-
&__content {
|
31
|
-
position: fixed;
|
32
|
-
top: 0;
|
33
|
-
right: -100%;
|
34
|
-
width: calc(100% - var(--space-m));
|
35
|
-
height: 100%;
|
36
|
-
background-color: color("white");
|
37
|
-
transition: right 0.3s ease;
|
38
|
-
display: flex;
|
39
|
-
flex-direction: column;
|
40
|
-
}
|
41
|
-
|
42
|
-
&__header {
|
43
|
-
@extend .c-h--step-3;
|
44
|
-
@include padding('s', 's', 0);
|
45
|
-
|
46
|
-
& > * {
|
47
|
-
margin-bottom: 0 !important;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
&__header + &__main {
|
52
|
-
@include margin-top('m');
|
53
|
-
}
|
54
|
-
|
55
|
-
&__main {
|
56
|
-
@include margin-bottom('m');
|
57
|
-
@include padding('3xs', 's');
|
58
|
-
overflow-y: scroll;
|
59
|
-
}
|
60
|
-
|
61
|
-
&__footer {
|
62
|
-
@include margin-top('auto');
|
63
|
-
@include padding(0, 's', 's');
|
64
|
-
display: flex;
|
65
|
-
flex-direction: column;
|
66
|
-
align-items: stretch;
|
67
|
-
}
|
68
|
-
|
69
|
-
&__close {
|
70
|
-
@extend .u-link;
|
71
|
-
@include margin(0, 'auto');
|
72
|
-
@include padding('s');
|
73
|
-
}
|
74
|
-
|
75
|
-
&--active {
|
76
|
-
opacity: 1;
|
77
|
-
visibility: visible;
|
78
|
-
transition: opacity 0.3s ease;
|
79
|
-
|
80
|
-
.c-off-canvas__backdrop {
|
81
|
-
opacity: 1;
|
82
|
-
visibility: visible;
|
83
|
-
}
|
84
|
-
|
85
|
-
.c-off-canvas__content {
|
86
|
-
right: 0;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
@media only screen and (min-width: 40em) {
|
92
|
-
.c-off-canvas--mobile {
|
93
|
-
display: none !important;
|
94
|
-
}
|
95
|
-
|
96
|
-
.c-checkbox-group {
|
97
|
-
[data-off-canvas="header"],
|
98
|
-
[data-off-canvas="footer"] {
|
99
|
-
display: none;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Option list',
|
3
|
-
component: {
|
4
|
-
name: 'option-list'
|
5
|
-
},
|
6
|
-
context: {
|
7
|
-
links: [
|
8
|
-
{ link: '', label: 'Automation solutions' },
|
9
|
-
{ link: '', label: 'Calibration standards' },
|
10
|
-
{ link: '', label: 'CNA cross-belt analyzers' },
|
11
|
-
{ link: '', label: 'Consumables' },
|
12
|
-
{ link: '', label: 'Handheld spectrometers' },
|
13
|
-
{ link: '', label: 'Image analyzers' },
|
14
|
-
{ link: '', label: 'Liquid chromatography' },
|
15
|
-
{ link: '', label: 'Microcalorimeters' },
|
16
|
-
{ link: '', label: 'Near-infrared spectrometers (NIR)' },
|
17
|
-
{ link: '', label: 'Particle size analyzers' },
|
18
|
-
{ link: '', label: 'Sample preparation for XRF and ICP' },
|
19
|
-
{ link: '', label: 'Software for XRF and XRD applications' },
|
20
|
-
{ link: '', label: 'Spectroradiometers' },
|
21
|
-
{ link: '', label: 'X-ray components' },
|
22
|
-
{ link: '', label: 'X-ray diffractometers (XRD)' },
|
23
|
-
{ link: '', label: 'X-ray fluorescence spectrometers (XRF)' },
|
24
|
-
{ link: '', label: 'X-ray metrology' },
|
25
|
-
{ link: '', label: 'X-ray scattering platform' },
|
26
|
-
{ link: '', label: 'X-ray tubes' }
|
27
|
-
]
|
28
|
-
},
|
29
|
-
variants: [
|
30
|
-
{
|
31
|
-
title: 'In columns',
|
32
|
-
context: {
|
33
|
-
columns: true
|
34
|
-
}
|
35
|
-
}
|
36
|
-
],
|
37
|
-
props: [
|
38
|
-
{
|
39
|
-
table: [
|
40
|
-
['links', 'link[]', '"link" and "label" objects'],
|
41
|
-
['columns', 'bool', 'Should the list be displayed in columns']
|
42
|
-
]
|
43
|
-
},
|
44
|
-
{
|
45
|
-
title: 'CSS modifiers',
|
46
|
-
table: [
|
47
|
-
['c-option-list--columns', '', 'Break the content into columns']
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
{% if params.title %}
|
2
|
-
<h3 class="c-h c-h--step-0 c-option-list__title">{{ params.title }}
|
3
|
-
{% if params.viewAllLink != null %}<a class="u-step--1" href="{{ params.viewAllLink }}">View all</a>{% endif %}
|
4
|
-
</h3>
|
5
|
-
{% endif %}
|
6
|
-
<ol class="mp c-option-list {{ 'c-option-list--columns' if params.columns }}">
|
7
|
-
{% for item in params.links %}
|
8
|
-
<li><a href="{{ item.link }}">{{ item.label }}</a></li>
|
9
|
-
{% endfor %}
|
10
|
-
</ol>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
.c-option-list {
|
2
|
-
.mp & {
|
3
|
-
line-height: lh('prose');
|
4
|
-
}
|
5
|
-
|
6
|
-
a {
|
7
|
-
color: color('utility-blue');
|
8
|
-
|
9
|
-
&:hover {
|
10
|
-
text-decoration: underline;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
li {
|
15
|
-
@include margin-bottom('2xs');
|
16
|
-
break-inside: avoid;
|
17
|
-
}
|
18
|
-
|
19
|
-
&--columns {
|
20
|
-
@include space('column-gap', 'gutter');
|
21
|
-
column-width: 200px;
|
22
|
-
|
23
|
-
@media (min-width: 60em) {
|
24
|
-
column-width: 260px;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
&__title {
|
29
|
-
a {
|
30
|
-
font-weight: weight();
|
31
|
-
color: color('utility-blue');
|
32
|
-
@include margin-left('2xs');
|
33
|
-
|
34
|
-
&:hover {
|
35
|
-
text-decoration: underline;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Post meta',
|
3
|
-
component: {
|
4
|
-
name: 'post-meta',
|
5
|
-
},
|
6
|
-
context: {
|
7
|
-
content: '<p>By Malvern Panalytical, Wednesday 6 January 2021</p>',
|
8
|
-
},
|
9
|
-
variants: [
|
10
|
-
{
|
11
|
-
title: 'With series',
|
12
|
-
context: {
|
13
|
-
series: [{
|
14
|
-
link: '/prototype/webinar',
|
15
|
-
label: 'Part 2 of 3',
|
16
|
-
active: true
|
17
|
-
},{
|
18
|
-
link: '/prototype/webinar',
|
19
|
-
label: 'Watch part 1'
|
20
|
-
},
|
21
|
-
{
|
22
|
-
link: '/prototype/webinar',
|
23
|
-
label: 'Register for part 3'
|
24
|
-
}]
|
25
|
-
}
|
26
|
-
},
|
27
|
-
{
|
28
|
-
title: 'With author link',
|
29
|
-
context: {
|
30
|
-
author: {
|
31
|
-
link: '/',
|
32
|
-
label: 'Lauren Ipson'
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
],
|
37
|
-
props: [
|
38
|
-
{
|
39
|
-
table: [
|
40
|
-
['content', 'html']
|
41
|
-
]
|
42
|
-
}
|
43
|
-
]
|
44
|
-
}
|