mp-design-system 1.2.64 → 1.2.66
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 +13 -4
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main2.css +1 -0
- 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,260 +0,0 @@
|
|
1
|
-
{% set colors = [
|
2
|
-
{
|
3
|
-
name: 'MP Petrol',
|
4
|
-
key: 'Petrol',
|
5
|
-
steps: [
|
6
|
-
{
|
7
|
-
name: "-1",
|
8
|
-
hex: '003039',
|
9
|
-
cmyk: '93.65.57.57',
|
10
|
-
pantone: 'PAN 547'
|
11
|
-
},
|
12
|
-
{
|
13
|
-
name: 0,
|
14
|
-
hex: '005461',
|
15
|
-
cmyk: '93.54.49.27',
|
16
|
-
pantone: 'PAN 3165'
|
17
|
-
},
|
18
|
-
{
|
19
|
-
name: 1,
|
20
|
-
hex: '3d7b87',
|
21
|
-
cmyk: '78.39.40.08'
|
22
|
-
},
|
23
|
-
{
|
24
|
-
name: 2,
|
25
|
-
hex: 'bfd3d6',
|
26
|
-
cmyk: '24.09.13.00'
|
27
|
-
},
|
28
|
-
{
|
29
|
-
name: 3,
|
30
|
-
hex: 'ebf1f2',
|
31
|
-
cmyk: '06.02.03.00'
|
32
|
-
}
|
33
|
-
]
|
34
|
-
},
|
35
|
-
{
|
36
|
-
name: 'MP Blue',
|
37
|
-
key: 'Blue',
|
38
|
-
steps: [
|
39
|
-
{
|
40
|
-
name: "-1",
|
41
|
-
hex: '00758c',
|
42
|
-
cmyk: '89.42.35.07'
|
43
|
-
},
|
44
|
-
{
|
45
|
-
name: 0,
|
46
|
-
hex: '00a2c2',
|
47
|
-
cmyk: '77.17.17.00',
|
48
|
-
pantone: 'PAN 312'
|
49
|
-
},
|
50
|
-
{
|
51
|
-
name: 1,
|
52
|
-
hex: '47bcd3',
|
53
|
-
cmyk: '64.04.15.00'
|
54
|
-
},
|
55
|
-
{
|
56
|
-
name: 2,
|
57
|
-
hex: 'c2e9f0',
|
58
|
-
cmyk: '22.00.05.00'
|
59
|
-
},
|
60
|
-
{
|
61
|
-
name: 3,
|
62
|
-
hex: 'ebf8fa',
|
63
|
-
cmyk: '06.00.01.00'
|
64
|
-
}
|
65
|
-
]
|
66
|
-
},
|
67
|
-
{
|
68
|
-
name: 'MP Green',
|
69
|
-
key: 'Green',
|
70
|
-
steps: [
|
71
|
-
{
|
72
|
-
name: "-1",
|
73
|
-
hex: '0e7a0e',
|
74
|
-
cmyk: '87.27.100.16'
|
75
|
-
},
|
76
|
-
{
|
77
|
-
name: 0,
|
78
|
-
hex: '13aa13',
|
79
|
-
cmyk: '81.04.100.01',
|
80
|
-
pantone: 'PAN 354'
|
81
|
-
},
|
82
|
-
{
|
83
|
-
name: 1,
|
84
|
-
hex: '55c255',
|
85
|
-
cmyk: '66.00.89.00'
|
86
|
-
},
|
87
|
-
{
|
88
|
-
name: 2,
|
89
|
-
hex: 'c6ebc6',
|
90
|
-
cmyk: '22.00.28.00'
|
91
|
-
},
|
92
|
-
{
|
93
|
-
name: 3,
|
94
|
-
hex: 'ecf8ec',
|
95
|
-
cmyk: '06.00.08.00'
|
96
|
-
}
|
97
|
-
]
|
98
|
-
},
|
99
|
-
{
|
100
|
-
name: 'MP Rubine',
|
101
|
-
key: 'Red',
|
102
|
-
steps: [
|
103
|
-
{
|
104
|
-
name: '-1',
|
105
|
-
hex: '9b0042',
|
106
|
-
cmyk: ''
|
107
|
-
},
|
108
|
-
{
|
109
|
-
name: 0,
|
110
|
-
hex: 'ce0058',
|
111
|
-
cmyk: '14.100.50.2',
|
112
|
-
pantone: 'PAN Rubine Red'
|
113
|
-
},
|
114
|
-
{
|
115
|
-
name: 1,
|
116
|
-
hex: 'dc4787',
|
117
|
-
cmyk: ''
|
118
|
-
},
|
119
|
-
{
|
120
|
-
name: 2,
|
121
|
-
hex: 'f3c2d7',
|
122
|
-
cmyk: ''
|
123
|
-
},
|
124
|
-
{
|
125
|
-
name: 3,
|
126
|
-
hex: 'fbebf2',
|
127
|
-
cmyk: ''
|
128
|
-
}
|
129
|
-
]
|
130
|
-
},
|
131
|
-
{
|
132
|
-
name: 'MP Charcoal',
|
133
|
-
key: 'Grey',
|
134
|
-
steps: [
|
135
|
-
|
136
|
-
{
|
137
|
-
name: '-1',
|
138
|
-
hex: '1c1c1c',
|
139
|
-
cmyk: '00.00.00.95'
|
140
|
-
},
|
141
|
-
{
|
142
|
-
name: 0,
|
143
|
-
hex: '333333',
|
144
|
-
cmyk: '00.00.00.91',
|
145
|
-
pantone: 'PAN 447'
|
146
|
-
},
|
147
|
-
{
|
148
|
-
name: 1,
|
149
|
-
hex: '959595',
|
150
|
-
cmyk: '00.00.00.70'
|
151
|
-
},
|
152
|
-
{
|
153
|
-
name: 2,
|
154
|
-
hex: 'cecece',
|
155
|
-
cmyk: '00.00.00.22'
|
156
|
-
},
|
157
|
-
{
|
158
|
-
name: 3,
|
159
|
-
hex: 'efefef',
|
160
|
-
cmyk: '00.00.00.08'
|
161
|
-
}
|
162
|
-
]
|
163
|
-
},
|
164
|
-
{
|
165
|
-
name: 'MP Utility Gold',
|
166
|
-
key: 'Utility-Orange',
|
167
|
-
steps: [
|
168
|
-
|
169
|
-
{
|
170
|
-
name: "-1",
|
171
|
-
hex: 'AE7809',
|
172
|
-
cmyk: '29.51.100.10'
|
173
|
-
},
|
174
|
-
{
|
175
|
-
name: 0,
|
176
|
-
hex: 'F2A60D',
|
177
|
-
cmyk: '04.38.100.00'
|
178
|
-
},
|
179
|
-
{
|
180
|
-
name: 1,
|
181
|
-
hex: 'F6BF51',
|
182
|
-
cmyk: '03.26.79.00'
|
183
|
-
},
|
184
|
-
{
|
185
|
-
name: 2,
|
186
|
-
hex: 'FCEAC5',
|
187
|
-
cmyk: '01.07.25.00'
|
188
|
-
},
|
189
|
-
{
|
190
|
-
name: 3,
|
191
|
-
hex: 'FEF8EC',
|
192
|
-
cmyk: '00.02.06.00'
|
193
|
-
}
|
194
|
-
]
|
195
|
-
},
|
196
|
-
{
|
197
|
-
name: 'MP Utility Blue',
|
198
|
-
key: 'Utility-Blue',
|
199
|
-
steps: [
|
200
|
-
{
|
201
|
-
name: '-1',
|
202
|
-
hex: '004e7e',
|
203
|
-
cmyk: ''
|
204
|
-
},
|
205
|
-
{
|
206
|
-
name: 0,
|
207
|
-
hex: '006daf',
|
208
|
-
cmyk: '86.48.3.5'
|
209
|
-
},
|
210
|
-
{
|
211
|
-
name: 1,
|
212
|
-
hex: '4796c5',
|
213
|
-
cmyk: ''
|
214
|
-
},
|
215
|
-
{
|
216
|
-
name: 2,
|
217
|
-
hex: 'c2dcec',
|
218
|
-
cmyk: ''
|
219
|
-
},
|
220
|
-
{
|
221
|
-
name: 3,
|
222
|
-
hex: 'ebf3f9',
|
223
|
-
cmyk: ''
|
224
|
-
}
|
225
|
-
]
|
226
|
-
}
|
227
|
-
] %}
|
228
|
-
|
229
|
-
{% macro swatches(params) %}
|
230
|
-
<div class="u-flow--2xs">
|
231
|
-
{% for color in colors %}
|
232
|
-
<h3 class="c-h c-h--step-1">{{ color.name }}</h3>
|
233
|
-
<div class="c-library__swatch-grid c-library__swatch-grid--has-labels ">
|
234
|
-
{% for step in color.steps %}
|
235
|
-
{% set classname %}
|
236
|
-
{{- 'c-library__swatch'}}{# Let's build a string #}
|
237
|
-
{{ 'u-bg-'+color.key | slug}}{# Set the background color to color.key -#}
|
238
|
-
{{ '-step-'+step.name if step.name!=0 }} {# If it's not step zero, add the -step-x suffix -#}
|
239
|
-
{# Set the text color to white, or a dark color #}
|
240
|
-
{{ 'u-'+color.key|slug+'-step--1' if (step.name==2) or (step.name==3) else 'u-white' -}}
|
241
|
-
{% endset %}
|
242
|
-
<div class="{{classname}}">
|
243
|
-
<span>Step {{step.name}}</span>
|
244
|
-
</div>
|
245
|
-
<table class="c-table">
|
246
|
-
<tbody>
|
247
|
-
<tr><td>Hex</td><td>#{{step.hex | upper}}</td></tr>
|
248
|
-
{% if params.print %}
|
249
|
-
<tr><td>CMYK</td><td>{{step.cmyk}}</td></tr>
|
250
|
-
<tr class="{{ "u-petrol-step-3" if not step.pantone }}">
|
251
|
-
<td>Pantone</td><td>{{step.pantone if step.pantone}}</td>
|
252
|
-
</tr>
|
253
|
-
{% endif %}
|
254
|
-
</tbody>
|
255
|
-
</table>
|
256
|
-
{% endfor %}
|
257
|
-
</div>
|
258
|
-
{% endfor%}
|
259
|
-
</div>
|
260
|
-
{% endmacro %}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
{% from "components/card/macro.njk" import card %}
|
2
|
-
|
3
|
-
<aside class="c-slat c-slat--grey c-slat--padded">
|
4
|
-
<div class="u-wrap u-flow">
|
5
|
-
<h3 class="c-h c-h--upper">Related events</h3>
|
6
|
-
<div class="o-grid o-grid--of-three o-grid--swipeable">
|
7
|
-
{{ card({
|
8
|
-
theme: {
|
9
|
-
layout: 'single',
|
10
|
-
size: 'medium',
|
11
|
-
corner: true
|
12
|
-
},
|
13
|
-
header: {
|
14
|
-
title: 'Discover how on-line particle sizing optimises mining analytics.',
|
15
|
-
meta: ['English'],
|
16
|
-
date: {
|
17
|
-
date: '2021-03-09' | createDate,
|
18
|
-
time: '10:30 – 11:30',
|
19
|
-
timezone: 'Eastern Time'
|
20
|
-
}
|
21
|
-
},
|
22
|
-
link: '/prototype/webinar'
|
23
|
-
}) }}
|
24
|
-
{{ card({
|
25
|
-
theme: {
|
26
|
-
layout: 'single',
|
27
|
-
size: 'medium',
|
28
|
-
corner: true
|
29
|
-
},
|
30
|
-
header: {
|
31
|
-
title: 'Ask us Anything: The API Edition - API Characterization & Developability',
|
32
|
-
meta: ['English'],
|
33
|
-
date: {
|
34
|
-
date: '2021-04-14' | createDate,
|
35
|
-
time: '10:30 – 11:30',
|
36
|
-
timezone: 'Eastern Time'
|
37
|
-
}
|
38
|
-
},
|
39
|
-
link: '/prototype/webinar'
|
40
|
-
}) }}
|
41
|
-
{{ card({
|
42
|
-
theme: {
|
43
|
-
layout: 'single',
|
44
|
-
size: 'medium',
|
45
|
-
corner: true
|
46
|
-
},
|
47
|
-
header: {
|
48
|
-
title: 'Zetium ED X-ray fluorescence SuperQ application course',
|
49
|
-
meta: ['English'],
|
50
|
-
date: {
|
51
|
-
date: '2021-04-29' | createDate,
|
52
|
-
time: '10:30 – 11:30',
|
53
|
-
timezone: 'EST'
|
54
|
-
}
|
55
|
-
},
|
56
|
-
link: '/prototype/webinar'
|
57
|
-
}) }}
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</aside>
|
@@ -1,78 +0,0 @@
|
|
1
|
-
{% from "components/card/macro.njk" import card %}
|
2
|
-
|
3
|
-
<aside class="mp c-slat c-slat--grey c-slat--padded">
|
4
|
-
<div class="u-wrap u-flow--xl">
|
5
|
-
<h2 class="c-h c-h--step-3">Related resources</h2>
|
6
|
-
<div class="o-grid o-grid--of-three o-grid--swipeable">
|
7
|
-
{{ card({
|
8
|
-
theme: {
|
9
|
-
layout: 'single',
|
10
|
-
size: 'medium'
|
11
|
-
},
|
12
|
-
image: {
|
13
|
-
src: '/static/img/article-1.jpg',
|
14
|
-
alt: ''
|
15
|
-
},
|
16
|
-
header: {
|
17
|
-
title: 'Mixing it with the Mastersizer!'
|
18
|
-
},
|
19
|
-
body: {
|
20
|
-
content: '<p>At a major leading manufacturer of mixing equipment, the Mastersizer particle size analyzer is one of the analytical instruments used by customers during process simulations.</p>'
|
21
|
-
},
|
22
|
-
link: '/prototype/blog-post',
|
23
|
-
tag: 'News'
|
24
|
-
}) }}
|
25
|
-
|
26
|
-
{{ card({
|
27
|
-
theme: {
|
28
|
-
layout: 'single',
|
29
|
-
size: 'medium'
|
30
|
-
},
|
31
|
-
image: {
|
32
|
-
src: '/static/img/article-2.jpg',
|
33
|
-
alt: ''
|
34
|
-
},
|
35
|
-
header: {
|
36
|
-
title: 'Value of the Mastersizer 3000 for pharmaceutical development'
|
37
|
-
},
|
38
|
-
body: {
|
39
|
-
content: '<p>Find out how the Mastersizer range can help keep costs down in formulation development.</p>'
|
40
|
-
},
|
41
|
-
link: '/prototype/blog-post',
|
42
|
-
tag: 'Blog'
|
43
|
-
}) }}
|
44
|
-
|
45
|
-
{{ card({
|
46
|
-
theme: {
|
47
|
-
layout: 'single',
|
48
|
-
size: 'medium',
|
49
|
-
name: 'featured',
|
50
|
-
noHeightMatch: true
|
51
|
-
},
|
52
|
-
image: {
|
53
|
-
src: '/static/img/featured-event-1.jpg',
|
54
|
-
alt: 'Alt'
|
55
|
-
},
|
56
|
-
header: {
|
57
|
-
title: 'Achieving method transfer from Mastersizer 2000 to Mastersizer 3000',
|
58
|
-
meta: ['English'],
|
59
|
-
date: {
|
60
|
-
date: '2016-01-01' | createDate,
|
61
|
-
duration: '36:01'
|
62
|
-
}
|
63
|
-
},
|
64
|
-
footer: {
|
65
|
-
buttons: [
|
66
|
-
{
|
67
|
-
label: 'Watch now',
|
68
|
-
link: '/prototype/oma/',
|
69
|
-
colour: 'outline-white'
|
70
|
-
}
|
71
|
-
]
|
72
|
-
},
|
73
|
-
tag: 'Recorded webinar'
|
74
|
-
}) }}
|
75
|
-
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
</aside>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{% from "components/component/component.njk" import libraryLink %}
|
2
|
-
|
3
|
-
<footer class="mp c-footer" role="contentinfo">
|
4
|
-
<nav class="c-footer__primary u-wrap" aria-label="Footer">
|
5
|
-
<div class="o-grid o-grid--8/3-switch o-grid--push o-grid--layout">
|
6
|
-
<ol class="u-flow--xs u-margin-top-2xs">
|
7
|
-
<li><h3>Quick links</h3></li>
|
8
|
-
<li><a href="/brand/resources">Brand resources</a></li>
|
9
|
-
<li><a href="/quickstart">Quick start guide</a></li>
|
10
|
-
</ol>
|
11
|
-
<div class="mp o-prose u-flow--prose u-step--1">
|
12
|
-
|
13
|
-
{% markdown %}
|
14
|
-
### Get in touch
|
15
|
-
|
16
|
-
This system is maintained by the Design System Team. Any feedback, questions or ideas are welcome, so please share your thoughts.
|
17
|
-
|
18
|
-
For all enquiries please contact Will Wallace at Malvern Panalytical, via email or Teams.
|
19
|
-
{% endmarkdown %}
|
20
|
-
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</nav>
|
24
|
-
<div class="c-footer__secondary">
|
25
|
-
<div class="u-wrap">
|
26
|
-
<span></span>
|
27
|
-
<span>© Copyright {{ helpers.currentYear() }}. Malvern Panalytical Ltd is a <a href="https://www.spectris.com/">Spectris</a> company</span>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
</footer>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{% from "components/twi/macro.njk" import twi %}
|
2
|
-
|
3
|
-
<header class="c-library__header u-split">
|
4
|
-
<a class="c-library__logo" href="/">
|
5
|
-
<img src="/static/svg/logo-small.svg" alt="Home" width="299" height="77" />
|
6
|
-
<span class="c-library__logo-name">
|
7
|
-
{% for item in config.logo %}
|
8
|
-
<span>{{ item }}</span>
|
9
|
-
{% endfor %}
|
10
|
-
</span>
|
11
|
-
</a>
|
12
|
-
<nav>
|
13
|
-
<ul class="u-row">
|
14
|
-
<li><a href="/brand" class="{% if '/brand' in page.url %}c-library-page-active{% endif %}">Brand & visual identity</a></li>
|
15
|
-
<li><a href="/content" class="{% if '/content' in page.url %}c-library-page-active{% endif %}">Tone of voice</a></li>
|
16
|
-
<li><a href="/components" class="{% if '/components' in page.url or '/patterns' in page.url %}c-library-page-active{% endif %}">Component library</a></li>
|
17
|
-
<li class="u-petrol-step-2">V.{{ config.dsVersion }}</li>
|
18
|
-
</ul>
|
19
|
-
</nav>
|
20
|
-
</header>
|
21
|
-
|
22
|
-
{% if sidebar %}
|
23
|
-
{{ twi({
|
24
|
-
icon: 'chevron-down',
|
25
|
-
align: 'right',
|
26
|
-
label: 'Menu',
|
27
|
-
link: "#sidebar",
|
28
|
-
classes: 'c-library__skip-link c-slat--grey u-link u-justify-center' })
|
29
|
-
}}
|
30
|
-
{% endif %}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
<script>
|
2
|
-
(() => {
|
3
|
-
const openItems = JSON.parse(localStorage.getItem('library-open-items') || '[]');
|
4
|
-
openMenus();
|
5
|
-
|
6
|
-
Array.from(document.querySelectorAll('.c-library-accordion')).forEach(parent => {
|
7
|
-
const toggles = Array.from(document.querySelectorAll('.c-library-accordion__toggle'));
|
8
|
-
toggles.forEach(x => {
|
9
|
-
x.addEventListener('click', toggleParent)
|
10
|
-
});
|
11
|
-
|
12
|
-
Array.from(parent.children).forEach(c => c.classList.add('c-library-accordion-parent'));
|
13
|
-
});
|
14
|
-
|
15
|
-
const activeMenu = document.querySelector('.c-library-menu-active');
|
16
|
-
if (activeMenu && window.innerWidth > 600) {
|
17
|
-
setTimeout(() => {
|
18
|
-
activeMenu.scrollIntoView({ block: 'center' });
|
19
|
-
}, 0)
|
20
|
-
|
21
|
-
let parent = activeMenu.closest('.c-library-accordion-parent');
|
22
|
-
|
23
|
-
if (parent) {
|
24
|
-
parent.classList.add('c-library-accordion-open');
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
function toggleParent(event) {
|
29
|
-
event.currentTarget.parentNode.classList.toggle('c-library-accordion-open');
|
30
|
-
gatherOpenMenus();
|
31
|
-
}
|
32
|
-
|
33
|
-
function gatherOpenMenus() {
|
34
|
-
const openItems = Array.from(document.querySelectorAll('.c-library-accordion-open'));
|
35
|
-
const items = JSON.stringify(openItems.filter(x => x.children.length).map(x => x.children[0].id).filter(Boolean));
|
36
|
-
localStorage.setItem('library-open-items', items);
|
37
|
-
}
|
38
|
-
|
39
|
-
function openMenus() {
|
40
|
-
openItems.forEach(id => {
|
41
|
-
const el = document.getElementById(id);
|
42
|
-
if (el) el.parentNode.classList.add('c-library-accordion-open');
|
43
|
-
});
|
44
|
-
}
|
45
|
-
|
46
|
-
// Copying HTML
|
47
|
-
Array.from(document.querySelectorAll('.c-library-copy__trigger')).forEach(t => {
|
48
|
-
t.addEventListener('click', copyCodeSnippet);
|
49
|
-
});
|
50
|
-
|
51
|
-
function copyCodeSnippet(event) {
|
52
|
-
const clipboard = event.currentTarget.parentNode.querySelector('.c-library-copy__clipboard');
|
53
|
-
if (clipboard) {
|
54
|
-
navigator.permissions.query({name: 'clipboard-write'}).then(result => {
|
55
|
-
if (result.state == 'granted' || result.state == 'prompt') {
|
56
|
-
navigator.clipboard.writeText(clipboard.innerText)
|
57
|
-
}
|
58
|
-
});
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
// Toggle iframe background colour
|
63
|
-
Array.from(document.querySelectorAll('.c-library__frame-background')).forEach(t => {
|
64
|
-
t.addEventListener('click', toggleBackgroundColour);
|
65
|
-
});
|
66
|
-
|
67
|
-
function toggleBackgroundColour(event) {
|
68
|
-
const iframe = event.currentTarget.parentNode.parentNode.querySelector('iframe');
|
69
|
-
if (iframe) {
|
70
|
-
iframe.classList.toggle('u-bg-petrol-step-3');
|
71
|
-
iframe.classList.toggle('u-pad-s');
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
// Show iframe width
|
76
|
-
const iframeWrap = document.getElementById('iframe-wrap');
|
77
|
-
function reportIframeWidth(entry){
|
78
|
-
const width = (entry.contentBoxSize) ? entry.contentBoxSize[0].inlineSize : entry.contentRect.width;
|
79
|
-
iframeWrap.style.setProperty('--width',width);
|
80
|
-
};
|
81
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
82
|
-
for (const entry of entries) {
|
83
|
-
reportIframeWidth(entry);
|
84
|
-
}
|
85
|
-
});
|
86
|
-
resizeObserver.observe(iframeWrap);
|
87
|
-
})();
|
88
|
-
</script>
|
package/src/_includes/layout.njk
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
{%- set fullTitle = title + " | " + config.name + " | " + config.creator -%}
|
2
|
-
<!DOCTYPE html>
|
3
|
-
<html lang="en" class="no-js">
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
-
<title>{{ fullTitle }}</title>
|
8
|
-
{% if description %} <meta name="description" content="{{ description }}" /> {% endif %}
|
9
|
-
{% if not index %}<meta name="robots" content="noindex" />{% endif %}
|
10
|
-
<meta name="theme-color" content="#005461">
|
11
|
-
<meta property="og:type" content="website" />
|
12
|
-
<meta property="og:title" content="{{ fullTitle }}" />
|
13
|
-
<meta name="twitter:card" content="summary_large_image" />
|
14
|
-
<meta name="twitter:title" content="{{ fullTitle }}" />
|
15
|
-
<meta property="og:image" content="{{ config.openGraphImage }}" />
|
16
|
-
<meta property="og:image:alt" content="{{ config.name }}" />
|
17
|
-
<meta name="twitter:image" content="{{ config.openGraphImage }}" />
|
18
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
19
|
-
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" as="style">
|
20
|
-
<link rel="icon" type="image/png" sizes="32x32" href="/static/img/favicon.svg">
|
21
|
-
<link rel="stylesheet" href="/build/scss/main.css" />
|
22
|
-
<script>
|
23
|
-
if(document.documentElement){
|
24
|
-
document.documentElement.classList.add('has-js');
|
25
|
-
document.documentElement.classList.remove('no-js');
|
26
|
-
}
|
27
|
-
// Calculate the height of the sidebar so it doesn't cause double scrollbars
|
28
|
-
function debounce(func, wait, immediate) {
|
29
|
-
var timeout;
|
30
|
-
return function() {
|
31
|
-
var context = this, args = arguments;
|
32
|
-
var later = function() {
|
33
|
-
timeout = null;
|
34
|
-
if (!immediate) func.apply(context, args);
|
35
|
-
};
|
36
|
-
var callNow = immediate && !timeout;
|
37
|
-
clearTimeout(timeout);
|
38
|
-
timeout = setTimeout(later, wait);
|
39
|
-
if (callNow) func.apply(context, args);
|
40
|
-
};
|
41
|
-
};
|
42
|
-
var resizeSidebar = debounce(function() {
|
43
|
-
var header = document.querySelector('.c-library__header');
|
44
|
-
var headerHeight = header && header.offsetHeight + 'px';
|
45
|
-
document.documentElement.style.setProperty('--headerHeight', headerHeight)
|
46
|
-
}, 250);
|
47
|
-
</script>
|
48
|
-
<script src="/build/js/app.js" defer></script>
|
49
|
-
<script>window.MSInputMethodContext && document.documentMode && document.write('<script src="https://cdn.jsdelivr.net/gh/nuxodin/ie11CustomProperties@4.1.0/ie11CustomProperties.min.js"><\/script>');</script>
|
50
|
-
{% block head %}{% endblock %}
|
51
|
-
</head>
|
52
|
-
<body class="{{ bodyClass }}">
|
53
|
-
{% block inner %}{% endblock %}
|
54
|
-
|
55
|
-
<script>
|
56
|
-
(function() {
|
57
|
-
// Prevent empty links from jumping to the top of page when clicked
|
58
|
-
var links = document.querySelectorAll('a[href=""],a[href="#"]');
|
59
|
-
for(var i = 0; links.length > i; i++) {
|
60
|
-
links[i].addEventListener('click', function(event) {
|
61
|
-
event.preventDefault();
|
62
|
-
})
|
63
|
-
}
|
64
|
-
window.addEventListener('resize', resizeSidebar);
|
65
|
-
resizeSidebar();
|
66
|
-
})();
|
67
|
-
</script>
|
68
|
-
</body>
|
69
|
-
</html>
|
@@ -1,67 +0,0 @@
|
|
1
|
-
{% from "components/component/component.njk" import libraryList, libraryLink %}
|
2
|
-
{%- from "components/icon/macro.njk" import icon -%}
|
3
|
-
|
4
|
-
<div class="u-flow">
|
5
|
-
<h3>Brand & visual identity</h3>
|
6
|
-
<ul>
|
7
|
-
{{ libraryList('Overview', '/brand/', page.url) }}
|
8
|
-
{{ libraryList('Quick start', '/quickstart/', page.url) }}
|
9
|
-
{{ libraryList('Requirements', '/brand/requirements/', page.url) }}
|
10
|
-
{{ libraryList('Resources', '/brand/resources/', page.url) }}
|
11
|
-
{{ libraryList('Logo', '/brand/logo/', page.url) }}
|
12
|
-
{{ libraryList('Colors', '/brand/colors/', page.url) }}
|
13
|
-
{{ libraryList('Typography', '/brand/typography/', page.url) }}
|
14
|
-
{{ libraryList('Photography', '/brand/images/', page.url) }}
|
15
|
-
{{ libraryList('Illustration', '/brand/illustration/', page.url) }}
|
16
|
-
{{ libraryList('Patterns', '/brand/patterns/', page.url) }}
|
17
|
-
</ul>
|
18
|
-
{# <h3>Brand identity</h3>
|
19
|
-
<ul>
|
20
|
-
{{ libraryList('Our brand identity', '/brand/identity/', page.url) }}
|
21
|
-
{{ libraryList('Brand strategy', '/brand/identity/strategy/', page.url) }}
|
22
|
-
</ul> #}
|
23
|
-
</div>
|
24
|
-
{# <li>
|
25
|
-
<a>Typography</a>
|
26
|
-
<ul>
|
27
|
-
<li><a>Desktop</a></li>
|
28
|
-
<li><a>Office</a></li>
|
29
|
-
<li><a>International</a></li>
|
30
|
-
<li><a>Web fonts</a></li>
|
31
|
-
<li><a>Software fonts</a></li>
|
32
|
-
</ul>
|
33
|
-
<li>
|
34
|
-
<li>
|
35
|
-
<a>Visual elements</a>
|
36
|
-
<ul>
|
37
|
-
<li><a>Petrol bar</a></li>
|
38
|
-
<li><a>Cut-off corner</a></li>
|
39
|
-
<li><a>The X-element</a></li>
|
40
|
-
<li><a>Headers</a></li>
|
41
|
-
<li><a>Bullets</a></li>
|
42
|
-
<li><a>Call to actions</a></li>
|
43
|
-
<li><a>Highlights</a></li>
|
44
|
-
<li><a>Separation</a></li>
|
45
|
-
<li><a>Tables</a></li>
|
46
|
-
<li><a>Graphs</a></li>
|
47
|
-
<li><a>Symbols</a></li>
|
48
|
-
<li><a>Web links</a></li>
|
49
|
-
<li><a>Addresses</a></li>
|
50
|
-
<li><a>Service and support</a></li>
|
51
|
-
<li><a>Sector imaging (DEEP in mining and materials)</a></li>
|
52
|
-
<li><a>Brand identity overview (download)</a></li>
|
53
|
-
</ul>
|
54
|
-
<li>
|
55
|
-
<li><a>Sector messaging</a><li>
|
56
|
-
<li><a>Brand identity overviews</a><li> #}
|
57
|
-
|
58
|
-
{# <div class="u-flow">
|
59
|
-
<h3><a href="/brand">Applications</a></h3>
|
60
|
-
<p>Coming soon</p>
|
61
|
-
<ul>
|
62
|
-
<li><a>Brand strategy</a></li>
|
63
|
-
<li><a>How two organizations become one</a></li>
|
64
|
-
<li><a>Boilerplate</a></li>
|
65
|
-
<li><a>Legal information</a></li>
|
66
|
-
</ul>
|
67
|
-
</div> #}
|