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,206 +0,0 @@
|
|
1
|
-
{%- from "components/prose/macro.njk" import prose -%}
|
2
|
-
{%- from "components/button/macro.njk" import button -%}
|
3
|
-
{%- from "components/twi/macro.njk" import twi -%}
|
4
|
-
{%- from "components/icon/macro.njk" import icon -%}
|
5
|
-
{%- from "components/series/macro.njk" import series -%}
|
6
|
-
|
7
|
-
{% set tag = params.tag %}
|
8
|
-
{% set header = params.header %}
|
9
|
-
{% set body = params.body %}
|
10
|
-
{% set footer = params.footer %}
|
11
|
-
{% set theme = params.theme %}
|
12
|
-
{% set link = params.link or params.footer.buttons[0].link or params.footer.cta.link or '' %}
|
13
|
-
|
14
|
-
{% set hasImage = params.image.src %}
|
15
|
-
{% set isInPast = header.date.duration %}
|
16
|
-
{% set hasDate = header.date.date %}
|
17
|
-
{% set hasFormat = header.date.formatted %}
|
18
|
-
{% set hasTime = header.date.time %}
|
19
|
-
{% set hasTimezone = header.date.timezone %}
|
20
|
-
{% set hasMeta = header.meta | length %}
|
21
|
-
{% set hasFullLink = not theme.noFullLink and link %}
|
22
|
-
{% set hasCorner = theme.corner %}
|
23
|
-
|
24
|
-
{%- set classes = 'mp c-card' -%}
|
25
|
-
|
26
|
-
{% set classes = classes + ' c-card--layout-' + theme.layout %}
|
27
|
-
{% set classes = classes + ' c-card--size-' + (theme.size or 'large') %}
|
28
|
-
|
29
|
-
{%- if theme.border -%}{% set classes = classes + ' c-card--bordered' %}{%- endif -%}
|
30
|
-
{%- if theme.name -%}{% set classes = classes + ' c-card--' + theme.name %}{%- endif -%}
|
31
|
-
{%- if theme.inlineSpecs -%}{% set classes = classes + ' c-card--inline-specs' %}{%- endif -%}
|
32
|
-
{%- if theme.noHeightMatch -%}{% set classes = classes + ' c-card--no-height-match' %}{%- endif -%}
|
33
|
-
{%- if theme.switch -%}{% set classes = classes + ' c-card--switch' %}{%- endif -%}
|
34
|
-
{%- if tag -%}{% set classes = classes + ' c-card--has-tag' %}{%- endif -%}
|
35
|
-
{%- if hasImage -%}{% set classes = classes + ' c-card--has-image' %}{%- endif -%}
|
36
|
-
|
37
|
-
{% macro meta() %}
|
38
|
-
{% if hasTime or hasTimezone or isInPast or hasMeta %}
|
39
|
-
<p class="c-card__meta">
|
40
|
-
{% if isInPast %}
|
41
|
-
{{ twi({ icon: 'play', label: header.date.duration }) }}
|
42
|
-
{% if hasDate %}<span>{{ header.date.date.getMonth() | months }} {{ header.date.date.getFullYear() }}</span>{% endif %}
|
43
|
-
{% else %}
|
44
|
-
{% if hasTime %}
|
45
|
-
<span>{{ header.date.time }} {{ header.date.timezone }}</span>
|
46
|
-
{% endif %}
|
47
|
-
{% endif %}
|
48
|
-
{% for item in header.meta %}
|
49
|
-
<span>{{ item }}</span>
|
50
|
-
{% endfor %}
|
51
|
-
</p>
|
52
|
-
{% endif %}
|
53
|
-
{% endmacro %}
|
54
|
-
|
55
|
-
<article class="{{ classes }}">
|
56
|
-
{% if tag %}
|
57
|
-
<span class="c-card__tag">{{ tag }}</span>
|
58
|
-
{% elseif hasCorner %}
|
59
|
-
<span class="c-card__corner">
|
60
|
-
{{ icon({ id: 'arrow-right' }) }}
|
61
|
-
</span>
|
62
|
-
{% endif %}
|
63
|
-
|
64
|
-
<div class="c-card__wrapper">
|
65
|
-
{% if hasImage %}
|
66
|
-
<figure class="c-card__image">
|
67
|
-
<a href="{{ link }}">
|
68
|
-
<img class="{{ params.image.classes }}" src="{{ params.image.src }}" alt="{{ params.image.alt }}" />
|
69
|
-
</a>
|
70
|
-
</figure>
|
71
|
-
{% endif %}
|
72
|
-
<div class="c-card__primary">
|
73
|
-
{% if header %}
|
74
|
-
<header class="c-card__header u-flow--2xs">
|
75
|
-
{% if hasDate and not isInPast and not hasFormat %}
|
76
|
-
<time class="c-card__datetime">
|
77
|
-
<span class="c-card__day">{{ header.date.date.getDate() }} </span>
|
78
|
-
<span class="c-card__month">{{ header.date.date.getMonth() | months }}</span>
|
79
|
-
</time>
|
80
|
-
{% endif %}
|
81
|
-
|
82
|
-
{% if hasDate and hasFormat %}
|
83
|
-
<time class="c-card__datetime">
|
84
|
-
<span>{{ header.date.date }}</span>
|
85
|
-
</time>
|
86
|
-
{% endif %}
|
87
|
-
|
88
|
-
{% if not params.theme.metaLast and (hasTime or hasTimezone or isInPast or hasMeta) %}
|
89
|
-
{{ meta() }}
|
90
|
-
{% endif %}
|
91
|
-
|
92
|
-
{% if header.title %}<h2 class="c-h c-card__title"><a href="{{ link }}">{{ header.title }}</a></h2>{% endif %}
|
93
|
-
{% if header.subtitle %}<h3 class="c-h c-h--tagline">{{ header.subtitle }}</h2>{% endif %}
|
94
|
-
|
95
|
-
{% if params.theme.metaLast and (hasTime or hasTimezone or isInPast or hasMeta) %}
|
96
|
-
{{ meta() }}
|
97
|
-
{% endif %}
|
98
|
-
|
99
|
-
</header>
|
100
|
-
{% endif %}
|
101
|
-
|
102
|
-
{% if body %}
|
103
|
-
<div class="c-card__content u-flow">
|
104
|
-
{% if body.content %}
|
105
|
-
{{ prose({
|
106
|
-
wrap: '',
|
107
|
-
classes: 'u-step--1',
|
108
|
-
content: body.content
|
109
|
-
}) }}
|
110
|
-
{% endif %}
|
111
|
-
|
112
|
-
{% if body.keySpecs | length %}
|
113
|
-
<div class="c-card__specs">
|
114
|
-
{% for specs in body.keySpecs %}
|
115
|
-
<dl>
|
116
|
-
<dt>{{ specs.title }}:</dt>
|
117
|
-
{% if specs.term %}
|
118
|
-
<dd>{{ specs.term | safe }}</dd>
|
119
|
-
{% else %}
|
120
|
-
{% for term in specs.terms %}
|
121
|
-
<dd>{{ term | safe }}</dd>
|
122
|
-
{% endfor %}
|
123
|
-
{% endif %}
|
124
|
-
</dl>
|
125
|
-
{% endfor %}
|
126
|
-
</div>
|
127
|
-
{% endif %}
|
128
|
-
</div>
|
129
|
-
{% endif %}
|
130
|
-
|
131
|
-
{% if footer %}
|
132
|
-
<footer class="c-card__footer u-flow--2xs">
|
133
|
-
{% if footer.buttons | length %}
|
134
|
-
<div>
|
135
|
-
{% for item in footer.buttons %}
|
136
|
-
{{ button({
|
137
|
-
link: item.link,
|
138
|
-
inline: true,
|
139
|
-
label: item.label,
|
140
|
-
colour: item.colour or ('green' if loop.index0 == 0 else 'outline-green')
|
141
|
-
}) }}
|
142
|
-
{% endfor %}
|
143
|
-
</div>
|
144
|
-
{% endif %}
|
145
|
-
|
146
|
-
{% if footer.cta %}
|
147
|
-
<div>
|
148
|
-
{{ twi({
|
149
|
-
link: footer.cta.link,
|
150
|
-
label: footer.cta.label,
|
151
|
-
classes: 'u-link',
|
152
|
-
icon: footer.cta.icon
|
153
|
-
}) }}
|
154
|
-
</div>
|
155
|
-
{% endif %}
|
156
|
-
</footer>
|
157
|
-
{% endif %}
|
158
|
-
</div>
|
159
|
-
|
160
|
-
{% if hasFullLink %}
|
161
|
-
<a class="u-fill u-fill--link" href="{{ link }}">{{ header.title }}</a>
|
162
|
-
{% endif %}
|
163
|
-
</div>
|
164
|
-
|
165
|
-
{% if params.shop %}
|
166
|
-
<footer class="c-card__shop-footer">
|
167
|
-
<span></span>
|
168
|
-
<div class="u-split u-split--top">
|
169
|
-
<div class="u-flow">
|
170
|
-
<div class="c-card__flex">
|
171
|
-
{% for label in params.shop.labels %}
|
172
|
-
<div class="c-card__shop-footer-space">
|
173
|
-
<span>{{ label.key | safe }}</span>
|
174
|
-
<strong>{{ label.value | safe }}</strong>
|
175
|
-
</div>
|
176
|
-
{% endfor %}
|
177
|
-
</div>
|
178
|
-
{% if params.shop.small %}
|
179
|
-
<p class="c-card__small">{{ params.shop.small }}</p>
|
180
|
-
{% endif %}
|
181
|
-
</div>
|
182
|
-
|
183
|
-
<form class="c-card__shop-footer-form c-card__flex">
|
184
|
-
<div class="c-card__shop-footer-space">
|
185
|
-
<label for="product-{{ params.shop.productId }}">Quantity</label>
|
186
|
-
<input class="c-input" type="number" id="product-{{ params.shop.productId }}" />
|
187
|
-
</div>
|
188
|
-
<div>
|
189
|
-
{{ button({
|
190
|
-
type: 'submit',
|
191
|
-
label: 'Add to basket'
|
192
|
-
}) }}
|
193
|
-
</div>
|
194
|
-
</form>
|
195
|
-
</div>
|
196
|
-
</footer>
|
197
|
-
{% endif %}
|
198
|
-
|
199
|
-
{% if params.series | length %}
|
200
|
-
<nav class="c-card__series">
|
201
|
-
{{ series({
|
202
|
-
links: params.series
|
203
|
-
}) }}
|
204
|
-
</nav>
|
205
|
-
{% endif %}
|
206
|
-
</article>
|
@@ -1,508 +0,0 @@
|
|
1
|
-
.c-card {
|
2
|
-
background: color("white");
|
3
|
-
position: relative;
|
4
|
-
display: flex;
|
5
|
-
flex-direction: column;
|
6
|
-
align-items: stretch;
|
7
|
-
|
8
|
-
&--alt,
|
9
|
-
&--event {
|
10
|
-
background: color("petrol", "step-3");
|
11
|
-
|
12
|
-
&__specs {
|
13
|
-
color: color("grey", "step-1")
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
&--featured {
|
18
|
-
background: color("petrol");
|
19
|
-
color: color("petrol", "step-2");
|
20
|
-
|
21
|
-
.c-card__meta,
|
22
|
-
.mp {
|
23
|
-
color: inherit;
|
24
|
-
}
|
25
|
-
|
26
|
-
.c-button,
|
27
|
-
.c-card__title {
|
28
|
-
color: color("white");
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
&--featured &__day {
|
33
|
-
@include step(5);
|
34
|
-
color: color("white");
|
35
|
-
font-weight: weight("bold");
|
36
|
-
}
|
37
|
-
|
38
|
-
&--featured &__month {
|
39
|
-
@include step(3);
|
40
|
-
color: color("petrol", "step-2");
|
41
|
-
font-weight: weight("bold");
|
42
|
-
}
|
43
|
-
|
44
|
-
&--featured &__wrapper,
|
45
|
-
&--featured &__primary {
|
46
|
-
flex-grow: 1;
|
47
|
-
}
|
48
|
-
|
49
|
-
&--featured {
|
50
|
-
.c-button {
|
51
|
-
width: 100%;
|
52
|
-
margin: 0;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
&--featured &__footer {
|
57
|
-
@include margin-top("auto");
|
58
|
-
@include padding-top("s");
|
59
|
-
}
|
60
|
-
|
61
|
-
&__wrapper,
|
62
|
-
&__primary {
|
63
|
-
display: flex;
|
64
|
-
flex-direction: column;
|
65
|
-
}
|
66
|
-
|
67
|
-
&--layout-multi .c-card__wrapper,
|
68
|
-
&__primary {
|
69
|
-
// Required for IE
|
70
|
-
flex-shrink: 0;
|
71
|
-
width: 100%;
|
72
|
-
}
|
73
|
-
|
74
|
-
&--layout-multi {
|
75
|
-
.c-card__wrapper {
|
76
|
-
@include gap("s-l");
|
77
|
-
}
|
78
|
-
|
79
|
-
&.c-card--featured.c-card--size-large.c-card--has-image {
|
80
|
-
.c-card__wrapper {
|
81
|
-
padding: 0;
|
82
|
-
}
|
83
|
-
|
84
|
-
.c-card__primary {
|
85
|
-
@include padding('s-m');
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
@media (min-width: 55em) {
|
90
|
-
.c-card__wrapper {
|
91
|
-
flex-direction: row;
|
92
|
-
}
|
93
|
-
|
94
|
-
.c-card__image,
|
95
|
-
.c-card__primary:nth-child(2) {
|
96
|
-
width: calc(50% - 18px);
|
97
|
-
}
|
98
|
-
|
99
|
-
&.c-card--small,
|
100
|
-
&.c-card--size-medium {
|
101
|
-
.c-card__image {
|
102
|
-
max-width: 152px;
|
103
|
-
width: 30%;
|
104
|
-
}
|
105
|
-
|
106
|
-
.c-card__primary:nth-child(2) {
|
107
|
-
flex-grow: 1;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
&.c-card--size-large.c-card--featured {
|
112
|
-
img {
|
113
|
-
aspect-ratio: 2;
|
114
|
-
height: 100%;
|
115
|
-
object-fit: cover;
|
116
|
-
}
|
117
|
-
|
118
|
-
@media only screen and (min-width: 55em) {
|
119
|
-
&:not(.c-card--switch) .c-card__primary {
|
120
|
-
padding-left: 0 !important;
|
121
|
-
}
|
122
|
-
|
123
|
-
&.c-card--switch .c-card__primary {
|
124
|
-
padding-right: 0 !important;
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
|
129
|
-
.c-card__shop-footer > :first-child {
|
130
|
-
width: 30%;
|
131
|
-
max-width: 152px;
|
132
|
-
display: block;
|
133
|
-
@include margin-right("l");
|
134
|
-
}
|
135
|
-
}
|
136
|
-
}
|
137
|
-
|
138
|
-
&--layout-multi-30-70 {
|
139
|
-
.c-card__image {
|
140
|
-
width: calc(30% - 18px) !important;
|
141
|
-
width: calc(30% - var(--space-s-m)) !important;
|
142
|
-
}
|
143
|
-
|
144
|
-
@media (min-width: 55em) {
|
145
|
-
.c-card__primary:nth-child(2) {
|
146
|
-
width: calc(70% - 18px) !important;
|
147
|
-
width: calc(70% - var(--space-s-m)) !important;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
&--layout-multi-40-60 {
|
153
|
-
@media (min-width: 55em) {
|
154
|
-
.c-card__image {
|
155
|
-
width: calc(60% - 18px) !important;
|
156
|
-
width: calc(60% - var(--space-s-m)) !important;
|
157
|
-
}
|
158
|
-
|
159
|
-
.c-card__primary {
|
160
|
-
width: calc(40% - 18px) !important;
|
161
|
-
width: calc(40% - var(--space-s-m)) !important;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
&--switch {
|
167
|
-
@media (min-width: 55em) {
|
168
|
-
.c-card__wrapper {
|
169
|
-
flex-direction: row-reverse;
|
170
|
-
}
|
171
|
-
}
|
172
|
-
}
|
173
|
-
|
174
|
-
&__primary {
|
175
|
-
@include flow("s");
|
176
|
-
}
|
177
|
-
|
178
|
-
&--layout-single &__primary,
|
179
|
-
&--layout-multi &__wrapper {
|
180
|
-
@include padding("s-m");
|
181
|
-
width: 100%;
|
182
|
-
justify-content: space-between;
|
183
|
-
}
|
184
|
-
|
185
|
-
&--layout-single.c-card--has-tag:not(.c-card--has-image) &__primary {
|
186
|
-
@include padding-top("m-l");
|
187
|
-
}
|
188
|
-
|
189
|
-
&__datetime {
|
190
|
-
display: block;
|
191
|
-
font-weight: weight("bold");
|
192
|
-
@include step(1);
|
193
|
-
color: color("petrol", "step-1");
|
194
|
-
}
|
195
|
-
|
196
|
-
&__content {
|
197
|
-
@include step(-1);
|
198
|
-
}
|
199
|
-
|
200
|
-
&__title {
|
201
|
-
@include step(2);
|
202
|
-
}
|
203
|
-
|
204
|
-
img {
|
205
|
-
width: 100%;
|
206
|
-
}
|
207
|
-
|
208
|
-
&--size-small &__title,
|
209
|
-
&--size-medium &__title {
|
210
|
-
@include step(0);
|
211
|
-
}
|
212
|
-
|
213
|
-
&--size-medium .c-twi {
|
214
|
-
@include step(-1);
|
215
|
-
}
|
216
|
-
|
217
|
-
&--bordered {
|
218
|
-
border: 1px solid color("petrol", "step-2");
|
219
|
-
}
|
220
|
-
|
221
|
-
&--float-right {
|
222
|
-
@extend .u-float-right;
|
223
|
-
@include margin(0, 0, "xs-l", 0);
|
224
|
-
width: 100%;
|
225
|
-
}
|
226
|
-
|
227
|
-
@media (min-width: 38em) {
|
228
|
-
&--float-right {
|
229
|
-
@include margin-left('xs-l');
|
230
|
-
min-width: 9rem;
|
231
|
-
width: 50%;
|
232
|
-
}
|
233
|
-
}
|
234
|
-
|
235
|
-
&__tag {
|
236
|
-
@include padding("3xs", "2xs");
|
237
|
-
@include step(-1);
|
238
|
-
background: color("blue", "step-2");
|
239
|
-
color: color("petrol");
|
240
|
-
position: absolute;
|
241
|
-
right: 0;
|
242
|
-
top: 0;
|
243
|
-
z-index: 1;
|
244
|
-
}
|
245
|
-
|
246
|
-
&__tag + &__wrapper > &__primary {
|
247
|
-
@include margin-top("xs");
|
248
|
-
}
|
249
|
-
|
250
|
-
&__tag + &__wrapper > &__image + &__primary {
|
251
|
-
@include margin-top(0);
|
252
|
-
}
|
253
|
-
|
254
|
-
&--no-height-match {
|
255
|
-
align-self: flex-start;
|
256
|
-
}
|
257
|
-
|
258
|
-
&__specs {
|
259
|
-
@include flow("xs");
|
260
|
-
|
261
|
-
dt {
|
262
|
-
font-weight: weight("bold");
|
263
|
-
}
|
264
|
-
|
265
|
-
dt,
|
266
|
-
dd {
|
267
|
-
padding: 0;
|
268
|
-
margin: 0;
|
269
|
-
display: block;
|
270
|
-
}
|
271
|
-
|
272
|
-
dl {
|
273
|
-
@include flow("3xs");
|
274
|
-
}
|
275
|
-
}
|
276
|
-
|
277
|
-
&--inline-specs &__specs {
|
278
|
-
dt,
|
279
|
-
dd {
|
280
|
-
display: inline;
|
281
|
-
}
|
282
|
-
|
283
|
-
dd:not(:last-child):after {
|
284
|
-
content: ", ";
|
285
|
-
}
|
286
|
-
}
|
287
|
-
|
288
|
-
&--2-column-specs &__specs {
|
289
|
-
dl {
|
290
|
-
display: grid;
|
291
|
-
grid-template-columns: repeat(2, minmax(min-content, max-content));
|
292
|
-
@include space('gap', '3xs', '2xs');
|
293
|
-
}
|
294
|
-
dt, dd {
|
295
|
-
margin: 0;
|
296
|
-
}
|
297
|
-
dt {
|
298
|
-
grid-column: 1;
|
299
|
-
}
|
300
|
-
dd {
|
301
|
-
grid-column: 2;
|
302
|
-
}
|
303
|
-
}
|
304
|
-
|
305
|
-
.o-prose li + li {
|
306
|
-
@include margin-top("3xs");
|
307
|
-
}
|
308
|
-
|
309
|
-
&__meta {
|
310
|
-
color: color("petrol", "step-1");
|
311
|
-
display: flex;
|
312
|
-
flex-wrap: wrap;
|
313
|
-
align-items: center;
|
314
|
-
@include step(-1);
|
315
|
-
|
316
|
-
& > :not(:last-child) {
|
317
|
-
position: relative;
|
318
|
-
padding-right: 1.5em;
|
319
|
-
|
320
|
-
&:after {
|
321
|
-
content: "";
|
322
|
-
position: absolute;
|
323
|
-
height: 18px;
|
324
|
-
right: 9px;
|
325
|
-
width: 1px;
|
326
|
-
top: 50%;
|
327
|
-
background: color("petrol", "step-1");
|
328
|
-
transform: translateY(-50%);
|
329
|
-
}
|
330
|
-
}
|
331
|
-
|
332
|
-
.mp {
|
333
|
-
font-size: inherit;
|
334
|
-
}
|
335
|
-
|
336
|
-
.c-icon {
|
337
|
-
font-size: 0.875em;
|
338
|
-
}
|
339
|
-
|
340
|
-
& + .c-card__title {
|
341
|
-
@include margin-top("s");
|
342
|
-
}
|
343
|
-
}
|
344
|
-
|
345
|
-
&__corner {
|
346
|
-
position: absolute;
|
347
|
-
color: color("white");
|
348
|
-
right: 0;
|
349
|
-
top: 0;
|
350
|
-
@include space("border-width", "l");
|
351
|
-
border-color: color("green") color("green") transparent transparent;
|
352
|
-
border-style: solid;
|
353
|
-
width: 0;
|
354
|
-
height: 0;
|
355
|
-
text-align: right;
|
356
|
-
font-size: 1.5rem;
|
357
|
-
transition: 300ms color;
|
358
|
-
z-index: 1;
|
359
|
-
|
360
|
-
.c-icon {
|
361
|
-
position: relative;
|
362
|
-
top: -27px;
|
363
|
-
}
|
364
|
-
}
|
365
|
-
|
366
|
-
&:hover &__corner {
|
367
|
-
color: rgba(255, 255, 255, 0.75);
|
368
|
-
}
|
369
|
-
|
370
|
-
&__series {
|
371
|
-
border-top: 1px solid color("petrol", "step-2");
|
372
|
-
@include padding("s", "m");
|
373
|
-
position: relative;
|
374
|
-
z-index: 2;
|
375
|
-
}
|
376
|
-
|
377
|
-
&__shop-footer {
|
378
|
-
@include padding("s", "s-m");
|
379
|
-
background-color: color("petrol", "step-3");
|
380
|
-
display: flex;
|
381
|
-
|
382
|
-
&-space {
|
383
|
-
@include flow("3xs");
|
384
|
-
|
385
|
-
& > * {
|
386
|
-
display: block;
|
387
|
-
}
|
388
|
-
}
|
389
|
-
|
390
|
-
&-form {
|
391
|
-
align-items: flex-end;
|
392
|
-
}
|
393
|
-
|
394
|
-
input {
|
395
|
-
width: 72px;
|
396
|
-
}
|
397
|
-
}
|
398
|
-
|
399
|
-
&__small {
|
400
|
-
@include step(-1);
|
401
|
-
color: color("petrol", "step-1");
|
402
|
-
}
|
403
|
-
|
404
|
-
&__flex {
|
405
|
-
display: flex;
|
406
|
-
flex-wrap: wrap;
|
407
|
-
@include gap("s-l");
|
408
|
-
}
|
409
|
-
|
410
|
-
&--event.c-card--has-image {
|
411
|
-
@extend .c-card--switch;
|
412
|
-
|
413
|
-
&.c-card--has-tag .c-card__tag {
|
414
|
-
z-index: 1;
|
415
|
-
}
|
416
|
-
|
417
|
-
.c-card__wrapper {
|
418
|
-
@include padding(0);
|
419
|
-
|
420
|
-
.c-card__primary {
|
421
|
-
@include padding("s-m");
|
422
|
-
}
|
423
|
-
|
424
|
-
.c-card__image {
|
425
|
-
position: relative;
|
426
|
-
width: 100%;
|
427
|
-
|
428
|
-
img {
|
429
|
-
max-height: 200px;
|
430
|
-
height: 100%;
|
431
|
-
object-fit: cover;
|
432
|
-
aspect-ratio: 16 / 9;
|
433
|
-
}
|
434
|
-
}
|
435
|
-
}
|
436
|
-
|
437
|
-
@media (min-width: 55em) {
|
438
|
-
.c-card__primary {
|
439
|
-
width: calc(70% - 18px);
|
440
|
-
width: calc(70% - var(--space-s-m));
|
441
|
-
}
|
442
|
-
|
443
|
-
.c-card__image {
|
444
|
-
width: calc(30% - 18px);
|
445
|
-
width: calc(30% - var(--space-s-m));
|
446
|
-
|
447
|
-
img {
|
448
|
-
max-height: none !important;
|
449
|
-
}
|
450
|
-
}
|
451
|
-
}
|
452
|
-
}
|
453
|
-
|
454
|
-
&--event-series {
|
455
|
-
box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 20%);
|
456
|
-
|
457
|
-
.c-card__image img {
|
458
|
-
max-height: 252px;
|
459
|
-
aspect-ratio: 2/1;
|
460
|
-
object-fit: cover;
|
461
|
-
}
|
462
|
-
|
463
|
-
.c-card__wrapper,
|
464
|
-
.c-card__primary {
|
465
|
-
height: 100%;
|
466
|
-
}
|
467
|
-
|
468
|
-
.c-card__primary {
|
469
|
-
flex-shrink: 1;
|
470
|
-
}
|
471
|
-
|
472
|
-
.c-card__header > * + * {
|
473
|
-
@include margin('s', 0, 0, 0);
|
474
|
-
}
|
475
|
-
|
476
|
-
.c-card__datetime {
|
477
|
-
font-size: var(--step--1);
|
478
|
-
font-weight: normal;
|
479
|
-
}
|
480
|
-
|
481
|
-
.c-card__title {
|
482
|
-
font-size: var(--step-0);
|
483
|
-
}
|
484
|
-
|
485
|
-
.c-card__footer .u-link,
|
486
|
-
.c-card__footer .u-link svg {
|
487
|
-
color: color('utility-blue', 'step-1');
|
488
|
-
font-size: var(--step--1);
|
489
|
-
}
|
490
|
-
}
|
491
|
-
}
|
492
|
-
|
493
|
-
.grid-view > .c-card--event.c-card--has-image .c-card__wrapper {
|
494
|
-
@include gap("s");
|
495
|
-
flex-direction: column;
|
496
|
-
|
497
|
-
.c-card__primary {
|
498
|
-
width: 100%;
|
499
|
-
}
|
500
|
-
|
501
|
-
.c-card__image {
|
502
|
-
width: 100%;
|
503
|
-
}
|
504
|
-
}
|
505
|
-
|
506
|
-
// IE11 fix
|
507
|
-
// This forces IE11 to use display:block instead of flex for single-column cards
|
508
|
-
_:-ms-fullscreen, :root .c-card, :root .c-card--layout-single .c-card__wrapper { display:block; }
|