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,57 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Tabs',
|
3
|
-
component: {
|
4
|
-
name: 'tabs',
|
5
|
-
folder: 'tabs'
|
6
|
-
},
|
7
|
-
figma: 'https://www.figma.com/file/rUQ6aPQAfBX55o3hH0Lqb3/Design-exploration?node-id=678%3A21661',
|
8
|
-
context: {
|
9
|
-
type: 'anchor',
|
10
|
-
tabs: [
|
11
|
-
{ id: 'tab-1', label: 'Primary materials', content: '<strong>Primary materials</strong> lorem ipsum a maecenas parturient ipsum at nisl id nisi a imperdiet platea dui venenatis sit euismod.', active: true },
|
12
|
-
{ id: 'tab-2', label: 'Pharmaceuticals', content: '<strong>Pharmaceuticals</strong> lorem ipsum parturient a ullamcorper nisl parturient cum ullamcorper augue arcu a feugiat mus imperdiet curae suspendisse rhoncus sit id parturient cubilia adipiscing ad ullamcorper aliquet mi.' },
|
13
|
-
{ id: 'tab-3', label: 'Advanced materials', content: '<strong>Advanced materials</strong> lorem ipsum fringilla eros cum facilisis id ullamcorper pretium sociosqu a eu vestibulum cras vivamus inceptos sed potenti a.' },
|
14
|
-
{ id: 'tab-4', label: 'Academia', content: '<strong>Academia</strong> lorem ipsum augue et vestibulum ut luctus ut vestibulum proin eros mauris sodales penatibus euismod a sem eleifend suspendisse litora fringilla habitasse suspendisse.' },
|
15
|
-
{ id: 'tab-5', label: 'Connected world', content: '<strong>Connected world</strong> lorem ipsum eros a parturient libero ullamcorper natoque vestibulum turpis egestas suspendisse parturient et adipiscing arcu a.' },
|
16
|
-
]
|
17
|
-
},
|
18
|
-
props: [
|
19
|
-
{
|
20
|
-
table: [
|
21
|
-
['type', 'string', 'The type of tab, eg: "anchor"'],
|
22
|
-
['tabs', 'tab[]', 'An array of tabs']
|
23
|
-
]
|
24
|
-
},
|
25
|
-
{
|
26
|
-
title: '<code>tab</code>',
|
27
|
-
table: [
|
28
|
-
['id', 'string', 'Unique ID for each tab'],
|
29
|
-
['label', 'string', 'Label for the tab control'],
|
30
|
-
['content', 'html', 'HTML for the tab content'],
|
31
|
-
['active', 'bool', 'Is this tab active?']
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
title: 'CSS modifiers',
|
36
|
-
table: [
|
37
|
-
['c-tabs--flex', '', 'Instead of \'block\', display the active tabs as \'flex\''],
|
38
|
-
['c-tabs--persist', '', 'Add a URL fragment (aka hashtag) to the browser URL']
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
title: 'Utilities',
|
43
|
-
table: [
|
44
|
-
['u-scroll-shadows--h','','When the tab row is too wide for the screen, scroll indicators are displayed']
|
45
|
-
]
|
46
|
-
}
|
47
|
-
],
|
48
|
-
variants: [
|
49
|
-
{
|
50
|
-
title: 'Scroll shadows',
|
51
|
-
context: {
|
52
|
-
shadows: true
|
53
|
-
},
|
54
|
-
preview: 'cards-three'
|
55
|
-
}
|
56
|
-
]
|
57
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<div class="mp c-tabs {{ 'c-tabs--' + params.type if params.type }}">
|
2
|
-
<nav class="c-tabs__controls {{ "u-scroll-shadows--h" if params.shadows }}">
|
3
|
-
<ul class="c-tabs__controls-list">
|
4
|
-
{% for tab in params.tabs %}
|
5
|
-
<li><a class="c-tabs__control {{ 'c-tabs__control--active' if tab.active }}" href="#{{ tab.id }}">{{ tab.label }}</a></li>
|
6
|
-
{% endfor %}
|
7
|
-
</ul>
|
8
|
-
</nav>
|
9
|
-
|
10
|
-
<div class="c-tabs__content">
|
11
|
-
{% for tab in params.tabs %}
|
12
|
-
<div id="{{ tab.id }}" class="c-tab {{ 'c-tab--active' if tab.active }}">
|
13
|
-
<div class="o-prose"><p>{{ tab.content | safe }}</p></div>
|
14
|
-
</div>
|
15
|
-
{% endfor %}
|
16
|
-
</div>
|
17
|
-
</div>
|
@@ -1,105 +0,0 @@
|
|
1
|
-
.c-tabs {
|
2
|
-
.no-js &__content > * {
|
3
|
-
display: none;
|
4
|
-
|
5
|
-
&:target {
|
6
|
-
display: block;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
.no-js &__content > * + * {
|
11
|
-
@include margin-top('gutter');
|
12
|
-
}
|
13
|
-
|
14
|
-
&__content > * {
|
15
|
-
display: none;
|
16
|
-
|
17
|
-
&.c-tab--active {
|
18
|
-
display: block;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
.no-js &--flex &__content > * {
|
23
|
-
display: none;
|
24
|
-
|
25
|
-
&:target {
|
26
|
-
display: flex;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
&--flex &__content > * {
|
31
|
-
display: none;
|
32
|
-
|
33
|
-
&.c-tab--active {
|
34
|
-
display: flex;
|
35
|
-
justify-content: stretch;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
&__controls {
|
40
|
-
@include margin-bottom('m');
|
41
|
-
overflow-x: auto;
|
42
|
-
|
43
|
-
&-list {
|
44
|
-
border-bottom: 4px solid color('utility-blue', 'step-3');
|
45
|
-
display: flex;
|
46
|
-
width: 100%;
|
47
|
-
min-width: min-content;
|
48
|
-
|
49
|
-
li {
|
50
|
-
display: flex;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
&__control {
|
56
|
-
.mp & {
|
57
|
-
color: color('utility-blue');
|
58
|
-
}
|
59
|
-
|
60
|
-
font-weight: weight('bold');
|
61
|
-
@include step(-1);
|
62
|
-
@include padding(0, 0 , 's-m');
|
63
|
-
@include margin-right('m');
|
64
|
-
display: block;
|
65
|
-
border-bottom: 4px solid color('utility-blue', 'step-3');
|
66
|
-
margin-bottom: -4px;
|
67
|
-
position: relative;
|
68
|
-
z-index: 1;
|
69
|
-
|
70
|
-
@media screen and (max-width:55em) {
|
71
|
-
white-space: nowrap;
|
72
|
-
}
|
73
|
-
|
74
|
-
.c-tabs__controls-list > li:last-child & {
|
75
|
-
@include margin-right(0);
|
76
|
-
}
|
77
|
-
|
78
|
-
&.c-twi {
|
79
|
-
display: flex;
|
80
|
-
padding-right: 1.875rem;
|
81
|
-
|
82
|
-
svg {
|
83
|
-
position: absolute;
|
84
|
-
right: 0;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
:checked + &__control,
|
90
|
-
&__control--active {
|
91
|
-
border-bottom-color: color('utility-blue');
|
92
|
-
}
|
93
|
-
|
94
|
-
:focus + &__control {
|
95
|
-
outline: 2px solid;
|
96
|
-
}
|
97
|
-
|
98
|
-
.c-tab {
|
99
|
-
width: 100%;
|
100
|
-
|
101
|
-
&:focus {
|
102
|
-
outline: none;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'Text with icon',
|
3
|
-
component: {
|
4
|
-
name: 'twi',
|
5
|
-
},
|
6
|
-
figma: 'https://www.figma.com/file/rUQ6aPQAfBX55o3hH0Lqb3/Design-exploration?node-id=312%3A341',
|
7
|
-
docs: true,
|
8
|
-
context: {
|
9
|
-
label: 'Test',
|
10
|
-
icon: 'arrow-right',
|
11
|
-
},
|
12
|
-
// version: '0.6',
|
13
|
-
status: 'Ready',
|
14
|
-
variants: [
|
15
|
-
{
|
16
|
-
title: 'As link',
|
17
|
-
context: {
|
18
|
-
classes: 'u-link',
|
19
|
-
link: '#',
|
20
|
-
}
|
21
|
-
},
|
22
|
-
{
|
23
|
-
title: 'Align right',
|
24
|
-
context: {
|
25
|
-
align: 'right'
|
26
|
-
}
|
27
|
-
}
|
28
|
-
],
|
29
|
-
props: [
|
30
|
-
{
|
31
|
-
table: [
|
32
|
-
['label', 'string'],
|
33
|
-
['link', 'string'],
|
34
|
-
['icon', 'string', 'The id for the <a href="/components/icons">icon</a> component'],
|
35
|
-
['classes', 'string', 'Additional class attributes'],
|
36
|
-
['align', 'string', '"left" or "right"']
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
title: 'CSS modifiers',
|
41
|
-
table: [
|
42
|
-
['c-twi--[align]', 'left, right', 'Which side is the icon rendered? (defaults to right)']
|
43
|
-
]
|
44
|
-
}
|
45
|
-
]
|
46
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
Text with icon, or `twi` is a helper component to compose an icon with a label. Commonly used for [breadcrumbs](/components/breadcrumb), this pattern allows you to pass in an icon `id` and a `label`, along with a few additional styling options.
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{%- from "components/icon/macro.njk" import icon -%}
|
2
|
-
|
3
|
-
{%- set classNames = "mp c-twi" -%}
|
4
|
-
{%- set align = params.align or 'left' -%}
|
5
|
-
|
6
|
-
{%- if params.classes %}
|
7
|
-
{% set classNames = classNames + " " + params.classes %}
|
8
|
-
{%- endif -%}
|
9
|
-
|
10
|
-
{%- set classNames = classNames + " c-twi--" + align -%}
|
11
|
-
|
12
|
-
{%- set attrs = '' -%}
|
13
|
-
{%- if params.attrs -%}
|
14
|
-
{% set attrs = ' ' + params.attrs %}
|
15
|
-
{%- endif -%}
|
16
|
-
|
17
|
-
{%- if params.link != null -%}
|
18
|
-
<a href="{{ params.link }}" class="{{ classNames }}"{{ attrs }}>
|
19
|
-
{%- else -%}
|
20
|
-
<span class="{{ classNames }}" {{ attrs }}>
|
21
|
-
{%- endif -%}
|
22
|
-
|
23
|
-
<span>{{ params.label }}</span>
|
24
|
-
{{ icon({ id: params.icon or 'arrow-right' }) }}
|
25
|
-
|
26
|
-
{%- if params.link != null -%}
|
27
|
-
</a>
|
28
|
-
{%- else -%}
|
29
|
-
</span>
|
30
|
-
{%- endif -%}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
.c-twi {
|
2
|
-
$twi-space: 0.5em;
|
3
|
-
display: inline-flex;
|
4
|
-
justify-content: flex-start;
|
5
|
-
align-items: center;
|
6
|
-
color: inherit;
|
7
|
-
text-decoration: none;
|
8
|
-
|
9
|
-
&:hover,
|
10
|
-
&:focus {
|
11
|
-
text-decoration: inherit;
|
12
|
-
}
|
13
|
-
|
14
|
-
svg {
|
15
|
-
margin-left: $twi-space;
|
16
|
-
font-size: 1.25em;
|
17
|
-
position: static !important;
|
18
|
-
flex-shrink: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
&--left svg {
|
22
|
-
margin-right: $twi-space;
|
23
|
-
margin-left: 0;
|
24
|
-
order: -1;
|
25
|
-
}
|
26
|
-
|
27
|
-
&--small {
|
28
|
-
@include step(-1);
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
.c-twi--grey {
|
33
|
-
color: color('grey', 'step-1');
|
34
|
-
|
35
|
-
svg {
|
36
|
-
color: color('grey', 'step-2');
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.c-twi--green {
|
41
|
-
svg {
|
42
|
-
color: color('green');
|
43
|
-
}
|
44
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
title: 'USP',
|
3
|
-
component: {
|
4
|
-
name: 'usp',
|
5
|
-
},
|
6
|
-
docs: true,
|
7
|
-
figma: 'https://www.figma.com/file/rUQ6aPQAfBX55o3hH0Lqb3/Design-exploration?node-id=686%3A17868',
|
8
|
-
preview: 'cards-three',
|
9
|
-
context: {
|
10
|
-
title: 'Superior speed. Peerless precision.',
|
11
|
-
content: '<p>Class-leading particle sizing performance that generates the robust, reliable data you need</p>'
|
12
|
-
},
|
13
|
-
variants: [
|
14
|
-
{
|
15
|
-
title: 'Bordered',
|
16
|
-
context: {
|
17
|
-
classes: 'c-usp c-usp--bordered'
|
18
|
-
}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
title: 'With icon',
|
22
|
-
context: {
|
23
|
-
classes: 'c-usp c-usp--center',
|
24
|
-
content: false,
|
25
|
-
icon: {
|
26
|
-
url: 'https://p3.aprimocdn.net/malvernpanalytical/7da9e7e5-edca-4d49-bc7f-b11401123c52/icon-stopwatch_Original%20file.svg'
|
27
|
-
}
|
28
|
-
}
|
29
|
-
},
|
30
|
-
{
|
31
|
-
title: 'With eyebrow',
|
32
|
-
context: {
|
33
|
-
eyebrow: 'Improve efficiency'
|
34
|
-
}
|
35
|
-
},
|
36
|
-
{
|
37
|
-
title: 'With link',
|
38
|
-
context: {
|
39
|
-
link: 'https://www.brand.malvernpanalytical.com'
|
40
|
-
}
|
41
|
-
}
|
42
|
-
],
|
43
|
-
props: [
|
44
|
-
{
|
45
|
-
table: [
|
46
|
-
['title', 'string'],
|
47
|
-
['content', 'html', 'HTML passed to the prose field'],
|
48
|
-
['link', 'string (deprecated)'],
|
49
|
-
['eyebrow', 'string'],
|
50
|
-
['icon.svg', 'svg', 'HTML/SVG which is output raw'],
|
51
|
-
['icon.url', 'string', 'image url']
|
52
|
-
]
|
53
|
-
}
|
54
|
-
]
|
55
|
-
}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
# Blank HTML templates
|
2
|
-
|
3
|
-
{% accordion %}
|
4
|
-
|
5
|
-
{% accordionItem "Grid of four, icon & text, left-aligned" %}
|
6
|
-
|
7
|
-
```html
|
8
|
-
<div class="o-grid o-grid--of-four">
|
9
|
-
|
10
|
-
<!-- First USP block: duplicate this -->
|
11
|
-
<div class="mp c-usp">
|
12
|
-
<div class="u-flow">
|
13
|
-
<div class="c-usp__icon">
|
14
|
-
<img src="https://p3.aprimocdn.net/malvernpanalytical/etc" />
|
15
|
-
</div>
|
16
|
-
<h3 class="c-h c-h--step-1 c-usp__title">Handles the toughest conditions</h3>
|
17
|
-
<div class="mp o-prose u-step--1">
|
18
|
-
<p>FORJ is designed for less thermal stress and reduced risk of contamination - which means low maintenance and high productivity.</p>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<!-- etc. -->
|
24
|
-
|
25
|
-
</div>
|
26
|
-
```
|
27
|
-
|
28
|
-
{% endaccordionItem %}
|
29
|
-
|
30
|
-
{% accordionItem "Grid of three, eyebrow & text, left-aligned" %}
|
31
|
-
|
32
|
-
```html
|
33
|
-
<div class="o-grid o-grid--of-three">
|
34
|
-
|
35
|
-
<!-- First USP block: duplicate this -->
|
36
|
-
<div class="mp c-usp">
|
37
|
-
<div class="u-flow ">
|
38
|
-
<span class="c-usp__eyebrow">Greater flexibility</span>
|
39
|
-
<h3 class="c-h c-h--step-2 c-usp__title">Impressive particle sizing performance</h3>
|
40
|
-
<div class="mp o-prose u-step--1">
|
41
|
-
<p>High sample throughput and a measurement size range from 10nm to 3.5mm</p>
|
42
|
-
</div>
|
43
|
-
</div>
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<!-- etc. -->
|
47
|
-
|
48
|
-
</div>
|
49
|
-
```
|
50
|
-
|
51
|
-
{% endaccordionItem %}
|
52
|
-
|
53
|
-
{% accordionItem "Grid of seven (or more), icons only, centered" %}
|
54
|
-
|
55
|
-
```html
|
56
|
-
<div class="o-grid o-grid--of-three u-justify-center">
|
57
|
-
|
58
|
-
<!-- First USP block: duplicate this -->
|
59
|
-
<div class="mp c-usp c-usp c-usp--center">
|
60
|
-
<div class="u-flow u-text-center">
|
61
|
-
<div class="c-usp__icon">
|
62
|
-
<img src="https://p3.aprimocdn.net/malvernpanalytical/etc" />
|
63
|
-
</div>
|
64
|
-
<h3 class="c-h c-h--step-1 c-usp__title">Handles the toughest conditions</h3>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
|
68
|
-
<!-- etc. -->
|
69
|
-
|
70
|
-
</div>
|
71
|
-
```
|
72
|
-
|
73
|
-
{% endaccordionItem %}
|
74
|
-
|
75
|
-
{% endaccordion %}
|
76
|
-
|
77
|
-
---
|
78
|
-
|
79
|
-
A USP can include a few elements:
|
80
|
-
- Icon (optional)
|
81
|
-
- Eyebrow (optional)
|
82
|
-
- Title (required)
|
83
|
-
- Body text (optional)
|
84
|
-
|
85
|
-
When using USPs, please follow these guidelines:
|
86
|
-
|
87
|
-
- Keep the same layout for all USPs within a group
|
88
|
-
- Icon and eyebrow are mutually exclusive - you can have one or the other, not both
|
89
|
-
- **Grid**
|
90
|
-
- Use a three- or four-column grid depending on the number of USPs
|
91
|
-
- 2, 3, 5, or 6 USPs: three columns
|
92
|
-
- 4, 7, or 7+ USPs: four columns
|
93
|
-
- **Alignment**
|
94
|
-
- If body text or eyebrow is present, all elements in the USP are left-aligned
|
95
|
-
- If there's no body text or eyebrow, the USP may be centered
|
96
|
-
- **Font size**
|
97
|
-
- Body text font size is always step -1
|
98
|
-
- Title text is step 2 when using a three-column grid
|
99
|
-
- or step 1 when using a four-column grid
|
100
|
-
|
101
|
-
---
|
@@ -1,42 +0,0 @@
|
|
1
|
-
{% set classNames = "c-usp" %}
|
2
|
-
{%- if params.classes -%}
|
3
|
-
{% set classNames = classNames + " " + params.classes %}
|
4
|
-
{%- endif -%}
|
5
|
-
|
6
|
-
{% set align = "" %}
|
7
|
-
{% if not params.content %}
|
8
|
-
{% set align = "u-text-center" %}
|
9
|
-
{% endif %}
|
10
|
-
|
11
|
-
{% set size = "c-h--step-2" %}
|
12
|
-
{% if params.size %}
|
13
|
-
{% set size = params.size %}
|
14
|
-
{% endif %}
|
15
|
-
|
16
|
-
<div class="mp {{classNames}}">
|
17
|
-
<div class="u-flow {{align}}">
|
18
|
-
{% if params.eyebrow %}
|
19
|
-
<span class="c-usp__eyebrow">
|
20
|
-
{{ params.eyebrow }}
|
21
|
-
</span>
|
22
|
-
{% endif %}
|
23
|
-
{% if params.icon %}
|
24
|
-
<div class="c-usp__icon">
|
25
|
-
{% if params.icon.svg %}
|
26
|
-
{{params.icon.svg | safe}}
|
27
|
-
{% elseif params.icon.url %}
|
28
|
-
<img src="{{params.icon.url}}"/>
|
29
|
-
{% endif %}
|
30
|
-
</div>
|
31
|
-
{% endif %}
|
32
|
-
<h3 class="c-h {{size}} c-usp__title">{{ params.title }}</h3>
|
33
|
-
{% if params.content %}
|
34
|
-
<div class="mp o-prose u-step--1">
|
35
|
-
{{ params.content | safe }}
|
36
|
-
</div>
|
37
|
-
{% endif %}
|
38
|
-
</div>
|
39
|
-
{% if params.link %}
|
40
|
-
<a href="{{ params.link }}" class="c-usp__link">{{ params.title }}</a>
|
41
|
-
{% endif %}
|
42
|
-
</div>
|
@@ -1,60 +0,0 @@
|
|
1
|
-
.c-usp {
|
2
|
-
@include padding-top('s-m');
|
3
|
-
@include padding-bottom('s-m');
|
4
|
-
position: relative;
|
5
|
-
|
6
|
-
&--bordered {
|
7
|
-
@include padding('s-m');
|
8
|
-
border: 1px solid;
|
9
|
-
border-image-slice: 1;
|
10
|
-
border-image-source: linear-gradient(to right, rgba(color('blue'),0.5), rgba(color('green'),0.5));
|
11
|
-
}
|
12
|
-
|
13
|
-
&--center {
|
14
|
-
.c-usp__icon,
|
15
|
-
.c-usp__title {
|
16
|
-
margin-left: auto;
|
17
|
-
margin-right: auto;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
&__title {
|
22
|
-
max-width: 300px;
|
23
|
-
color: color('petrol');
|
24
|
-
|
25
|
-
@supports(-webkit-text-fill-color:transparent) {
|
26
|
-
background-image: linear-gradient(to right, color('petrol'), color('blue') );
|
27
|
-
-webkit-background-clip: text;
|
28
|
-
-webkit-text-fill-color: transparent;
|
29
|
-
// display: inline-block;
|
30
|
-
|
31
|
-
&::selection {
|
32
|
-
-webkit-background-clip: none;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
&__link {
|
38
|
-
@extend .u-fill, .u-fill--link;
|
39
|
-
margin-top: 0;
|
40
|
-
}
|
41
|
-
|
42
|
-
&__icon {
|
43
|
-
@include space('height','l');
|
44
|
-
@include space('width','l');
|
45
|
-
|
46
|
-
.c-usp--center & {
|
47
|
-
@include space('height','xl');
|
48
|
-
@include space('width','xl');
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
&__eyebrow {
|
53
|
-
@include padding('3xs', 'xs');
|
54
|
-
@include step(-1);
|
55
|
-
border-radius: 2em;
|
56
|
-
background: #c2e9f0;
|
57
|
-
color: #005461;
|
58
|
-
display: inline-block;
|
59
|
-
}
|
60
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sidebar: components
|
3
|
-
---
|
4
|
-
|
5
|
-
{% from "components/twi/macro.njk" import twi %}
|
6
|
-
|
7
|
-
{% extends "library.njk" %}
|
8
|
-
|
9
|
-
{% block content %}
|
10
|
-
<div class="u-wrap u-flow u-pad-y-m-l">
|
11
|
-
<div class="u-split">
|
12
|
-
<h1 class="c-h c-h--page-title">{{ title }}</h1>
|
13
|
-
{% if version or status %}
|
14
|
-
<div>
|
15
|
-
{% if version %}<span class="c-library-version">Version {{ version }}</span>{% endif %}
|
16
|
-
{% if status %}<span class="u-margin-left-xs c-library-status c-library-status--{{ status | slug }}">{{ status }}</span>{% endif %}
|
17
|
-
</div>
|
18
|
-
{% endif %}
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="mp o-prose o-prose--left-blockquote u-flow--prose u-wrap--content">
|
22
|
-
{{ content | safe }}
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div class="u-wrap--content">
|
26
|
-
{% if sidebar == 'content' %}
|
27
|
-
{% set previousPost = collections.content | getPreviousCollectionItem(page) %}
|
28
|
-
{% set nextPost = collections.content | getNextCollectionItem(page) %}
|
29
|
-
|
30
|
-
<div class="u-split u-pad-top-l">
|
31
|
-
{% if previousPost %}
|
32
|
-
{{ twi({
|
33
|
-
link: previousPost.url,
|
34
|
-
label: previousPost.data.title,
|
35
|
-
classes: "u-link u-step--1",
|
36
|
-
icon: "arrow-left"
|
37
|
-
})}}
|
38
|
-
{% endif %}
|
39
|
-
{% if nextPost %}
|
40
|
-
{{ twi({
|
41
|
-
link: nextPost.url,
|
42
|
-
label: nextPost.data.title,
|
43
|
-
classes: "u-link u-step--1",
|
44
|
-
icon: "arrow-right",
|
45
|
-
align: 'right'
|
46
|
-
})}}
|
47
|
-
{% endif %}
|
48
|
-
</div>
|
49
|
-
{% endif %}
|
50
|
-
</div>
|
51
|
-
|
52
|
-
</div>
|
53
|
-
{% endblock %}
|