@mindful-web/marko-web-theme-monorail 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +1 -0
- package/LICENSE +21 -0
- package/README.md +103 -0
- package/browser/.eslintrc.js +1 -0
- package/browser/block-loader.vue +64 -0
- package/browser/comment-toggle-button.vue +89 -0
- package/browser/company-search.vue +78 -0
- package/browser/content-meter-track.vue +90 -0
- package/browser/i18n-vue.js +11 -0
- package/browser/idx-newsletter-form/index.js +61 -0
- package/browser/idx-newsletter-form/inline.vue +243 -0
- package/browser/idx-newsletter-form/pushdown.vue +249 -0
- package/browser/idx-newsletter-form/toggle-button.vue +65 -0
- package/browser/index.js +170 -0
- package/browser/inline-newsletter-form/step1.vue +159 -0
- package/browser/inline-newsletter-form.vue +129 -0
- package/browser/menu-toggle-button.vue +150 -0
- package/browser/newsletter-close-button.vue +44 -0
- package/browser/newsletter-signup-form/check-icon.vue +13 -0
- package/browser/newsletter-signup-form/form-group.vue +50 -0
- package/browser/newsletter-signup-form/input-form-group.vue +57 -0
- package/browser/newsletter-signup-form/newsletter-checkbox.vue +63 -0
- package/browser/newsletter-signup-form/privacy-policy.vue +38 -0
- package/browser/newsletter-signup-form/select-form-group.vue +59 -0
- package/browser/newsletter-signup-form/sign-up-button.vue +49 -0
- package/browser/newsletter-signup-form/step2.vue +284 -0
- package/browser/newsletter-signup-modal-listener.vue +59 -0
- package/browser/newsletter-toggle-button.vue +42 -0
- package/browser/reveal-ad-handler.vue +195 -0
- package/browser/section-search.vue +89 -0
- package/browser/site-newsletter-menu/step1.vue +189 -0
- package/browser/site-newsletter-menu.vue +176 -0
- package/browser/ssr.js +15 -0
- package/browser/top-stories-menu.vue +58 -0
- package/browser/translations-vue.js +50 -0
- package/browser/wufoo-form.vue +62 -0
- package/components/ads/fixed-ad-bottom.marko +7 -0
- package/components/ads/fixed-ad-bottom.marko.js +36 -0
- package/components/ads/marko.json +20 -0
- package/components/ads/reveal-ad-handler.marko +9 -0
- package/components/ads/reveal-ad-handler.marko.js +38 -0
- package/components/blocks/author-bios.marko +28 -0
- package/components/blocks/author-bios.marko.js +76 -0
- package/components/blocks/callout-cards.marko +15 -0
- package/components/blocks/callout-cards.marko.js +74 -0
- package/components/blocks/company-inquiry-form.marko +30 -0
- package/components/blocks/company-inquiry-form.marko.js +93 -0
- package/components/blocks/company-search.marko +1 -0
- package/components/blocks/company-search.marko.js +29 -0
- package/components/blocks/content-card-deck.marko +142 -0
- package/components/blocks/content-card-deck.marko.js +325 -0
- package/components/blocks/content-meter.marko +85 -0
- package/components/blocks/content-meter.marko.js +132 -0
- package/components/blocks/full-width-native-ad.marko +21 -0
- package/components/blocks/full-width-native-ad.marko.js +62 -0
- package/components/blocks/hero-card.marko +91 -0
- package/components/blocks/hero-card.marko.js +207 -0
- package/components/blocks/latest-content-list.marko +89 -0
- package/components/blocks/latest-content-list.marko.js +146 -0
- package/components/blocks/latest-podcast.marko +64 -0
- package/components/blocks/latest-podcast.marko.js +172 -0
- package/components/blocks/latest-products-feed.marko +58 -0
- package/components/blocks/latest-products-feed.marko.js +166 -0
- package/components/blocks/marko.json +204 -0
- package/components/blocks/more-products.marko +49 -0
- package/components/blocks/more-products.marko.js +135 -0
- package/components/blocks/most-popular-list.marko +75 -0
- package/components/blocks/most-popular-list.marko.js +146 -0
- package/components/blocks/most-popular.marko +97 -0
- package/components/blocks/most-popular.marko.js +190 -0
- package/components/blocks/native-x-card-deck.marko +85 -0
- package/components/blocks/native-x-card-deck.marko.js +221 -0
- package/components/blocks/native-x-promo-card.marko +55 -0
- package/components/blocks/native-x-promo-card.marko.js +135 -0
- package/components/blocks/newsletter-signup-banner-external.marko +33 -0
- package/components/blocks/newsletter-signup-banner-external.marko.js +103 -0
- package/components/blocks/newsletter-signup-banner-large.marko +36 -0
- package/components/blocks/newsletter-signup-banner-large.marko.js +93 -0
- package/components/blocks/newsletter-signup-banner.marko +39 -0
- package/components/blocks/newsletter-signup-banner.marko.js +69 -0
- package/components/blocks/opinion.marko +34 -0
- package/components/blocks/opinion.marko.js +95 -0
- package/components/blocks/primary-image.marko +125 -0
- package/components/blocks/primary-image.marko.js +228 -0
- package/components/blocks/products.marko +57 -0
- package/components/blocks/products.marko.js +157 -0
- package/components/blocks/read-next.marko +42 -0
- package/components/blocks/read-next.marko.js +113 -0
- package/components/blocks/related-stories.marko +74 -0
- package/components/blocks/related-stories.marko.js +165 -0
- package/components/blocks/resource-library.marko +77 -0
- package/components/blocks/resource-library.marko.js +194 -0
- package/components/blocks/section-body-feed.marko +39 -0
- package/components/blocks/section-body-feed.marko.js +99 -0
- package/components/blocks/section-card-deck-featured.marko +37 -0
- package/components/blocks/section-card-deck-featured.marko.js +105 -0
- package/components/blocks/section-card-deck.marko +13 -0
- package/components/blocks/section-card-deck.marko.js +44 -0
- package/components/blocks/section-card-list.marko +102 -0
- package/components/blocks/section-card-list.marko.js +236 -0
- package/components/blocks/section-feed.marko +46 -0
- package/components/blocks/section-feed.marko.js +94 -0
- package/components/blocks/section-forbes.marko +102 -0
- package/components/blocks/section-forbes.marko.js +221 -0
- package/components/blocks/section-list-deck.marko +38 -0
- package/components/blocks/section-list-deck.marko.js +109 -0
- package/components/blocks/section-list.marko +89 -0
- package/components/blocks/section-list.marko.js +179 -0
- package/components/blocks/section-search.marko +14 -0
- package/components/blocks/section-search.marko.js +57 -0
- package/components/blocks/section-title-feed.marko +40 -0
- package/components/blocks/section-title-feed.marko.js +100 -0
- package/components/blocks/top-stories-menu.marko +40 -0
- package/components/blocks/top-stories-menu.marko.js +98 -0
- package/components/blocks/top-stories.marko +76 -0
- package/components/blocks/top-stories.marko.js +186 -0
- package/components/blocks/white-papers.marko +80 -0
- package/components/blocks/white-papers.marko.js +205 -0
- package/components/breadcrumbs/content-page.marko +7 -0
- package/components/breadcrumbs/content-page.marko.js +35 -0
- package/components/breadcrumbs/index.marko +21 -0
- package/components/breadcrumbs/index.marko.js +59 -0
- package/components/breadcrumbs/marko.json +32 -0
- package/components/breadcrumbs/scss/_breadcrumbs.scss +35 -0
- package/components/breadcrumbs/website-section.marko +31 -0
- package/components/breadcrumbs/website-section.marko.js +107 -0
- package/components/breadcrumbs/with-home.marko +13 -0
- package/components/breadcrumbs/with-home.marko.js +65 -0
- package/components/client-side-block-loader.marko +6 -0
- package/components/client-side-block-loader.marko.js +36 -0
- package/components/client-side-blocks/marko.json +8 -0
- package/components/client-side-blocks/most-popular-list.marko +1 -0
- package/components/client-side-blocks/most-popular-list.marko.js +31 -0
- package/components/client-side-blocks/most-popular.marko +1 -0
- package/components/client-side-blocks/most-popular.marko.js +31 -0
- package/components/content/body-with-injection.marko +116 -0
- package/components/content/body-with-injection.marko.js +190 -0
- package/components/content/contact-details/index.marko +95 -0
- package/components/content/contact-details/index.marko.js +274 -0
- package/components/content/contact-details/marko.json +27 -0
- package/components/content/contact-details/section.marko +9 -0
- package/components/content/contact-details/section.marko.js +37 -0
- package/components/content/download/form-dot-com.marko +23 -0
- package/components/content/download/form-dot-com.marko.js +59 -0
- package/components/content/download/identity-x.marko +73 -0
- package/components/content/download/identity-x.marko.js +149 -0
- package/components/content/download/index.marko +43 -0
- package/components/content/download/index.marko.js +113 -0
- package/components/content/download/link.marko +12 -0
- package/components/content/download/link.marko.js +45 -0
- package/components/content/download/marko.json +26 -0
- package/components/content/download/wufoo.marko +23 -0
- package/components/content/download/wufoo.marko.js +59 -0
- package/components/content/link-url/index.marko +16 -0
- package/components/content/link-url/index.marko.js +48 -0
- package/components/content/link-url/marko.json +9 -0
- package/components/content/marko.json +18 -0
- package/components/content/sections-listed-in.marko +26 -0
- package/components/content/sections-listed-in.marko.js +89 -0
- package/components/content-attribution/attribution.marko +1 -0
- package/components/content-attribution/attribution.marko.js +33 -0
- package/components/content-attribution/components/authors.marko +3 -0
- package/components/content-attribution/components/authors.marko.js +42 -0
- package/components/content-attribution/components/byline.marko +1 -0
- package/components/content-attribution/components/byline.marko.js +30 -0
- package/components/content-attribution/components/company.marko +7 -0
- package/components/content-attribution/components/company.marko.js +43 -0
- package/components/content-attribution/components/contributors.marko +3 -0
- package/components/content-attribution/components/contributors.marko.js +42 -0
- package/components/content-attribution/components/photographers.marko +3 -0
- package/components/content-attribution/components/photographers.marko.js +42 -0
- package/components/content-attribution/components/source.marko +1 -0
- package/components/content-attribution/components/source.marko.js +30 -0
- package/components/content-attribution/components/sponsors.marko +3 -0
- package/components/content-attribution/components/sponsors.marko.js +42 -0
- package/components/content-attribution/index.marko +34 -0
- package/components/content-attribution/index.marko.js +81 -0
- package/components/content-attribution/marko.json +27 -0
- package/components/directory-facets/facet-container/facet-container.marko +32 -0
- package/components/directory-facets/facet-container/facet-container.marko.js +65 -0
- package/components/directory-facets/facet-container/marko.json +26 -0
- package/components/directory-facets/facet-list/facet-list.marko +66 -0
- package/components/directory-facets/facet-list/facet-list.marko.js +140 -0
- package/components/directory-facets/facet-list/marko.json +23 -0
- package/components/directory-facets/facet.marko +15 -0
- package/components/directory-facets/facet.marko.js +44 -0
- package/components/directory-facets/find-active-facet.js +22 -0
- package/components/directory-facets/index.marko +29 -0
- package/components/directory-facets/index.marko.js +77 -0
- package/components/directory-facets/marko.json +40 -0
- package/components/facebook-connect.marko +52 -0
- package/components/facebook-connect.marko.js +59 -0
- package/components/flows/card-deck.marko +63 -0
- package/components/flows/card-deck.marko.js +159 -0
- package/components/flows/content/card-deck-col.marko +49 -0
- package/components/flows/content/card-deck-col.marko.js +98 -0
- package/components/flows/content/directory-section.marko +41 -0
- package/components/flows/content/directory-section.marko.js +107 -0
- package/components/flows/content/list.marko +51 -0
- package/components/flows/content/list.marko.js +98 -0
- package/components/flows/content/marko.json +39 -0
- package/components/flows/marko.json +42 -0
- package/components/flows/section-feed.marko +66 -0
- package/components/flows/section-feed.marko.js +118 -0
- package/components/gam/components/define-display-ad.marko +106 -0
- package/components/gam/components/define-display-ad.marko.js +171 -0
- package/components/gam/define-display-ad.marko +27 -0
- package/components/gam/define-display-ad.marko.js +60 -0
- package/components/gam/inject-ads.marko +28 -0
- package/components/gam/inject-ads.marko.js +56 -0
- package/components/gam/marko.json +17 -0
- package/components/gam/utils/increment-pos.js +13 -0
- package/components/gam/wallpaper-ad.marko +18 -0
- package/components/gam/wallpaper-ad.marko.js +75 -0
- package/components/identity-x/comment-stream.marko +33 -0
- package/components/identity-x/comment-stream.marko.js +71 -0
- package/components/identity-x/content-page-gate.marko +85 -0
- package/components/identity-x/content-page-gate.marko.js +171 -0
- package/components/identity-x/marko.json +38 -0
- package/components/identity-x/newsletter-footer.marko +56 -0
- package/components/identity-x/newsletter-footer.marko.js +100 -0
- package/components/identity-x/newsletter-inline.marko +22 -0
- package/components/identity-x/newsletter-inline.marko.js +55 -0
- package/components/identity-x/newsletter-modal.marko +42 -0
- package/components/identity-x/newsletter-modal.marko.js +88 -0
- package/components/identity-x/newsletter-pushdown.marko +66 -0
- package/components/identity-x/newsletter-pushdown.marko.js +113 -0
- package/components/layouts/ad-preview.marko +84 -0
- package/components/layouts/ad-preview.marko.js +166 -0
- package/components/layouts/marko.json +15 -0
- package/components/marko.json +58 -0
- package/components/menu-toggle-button.marko +19 -0
- package/components/menu-toggle-button.marko.js +45 -0
- package/components/native-x/marko.json +5 -0
- package/components/native-x/render.marko +13 -0
- package/components/native-x/render.marko.js +45 -0
- package/components/nodes/author-bio.marko +39 -0
- package/components/nodes/author-bio.marko.js +121 -0
- package/components/nodes/author-card.marko +42 -0
- package/components/nodes/author-card.marko.js +115 -0
- package/components/nodes/author-published.marko +41 -0
- package/components/nodes/author-published.marko.js +105 -0
- package/components/nodes/author.marko +28 -0
- package/components/nodes/author.marko.js +92 -0
- package/components/nodes/components/attribution.marko +13 -0
- package/components/nodes/components/attribution.marko.js +49 -0
- package/components/nodes/components/authors.marko +7 -0
- package/components/nodes/components/authors.marko.js +43 -0
- package/components/nodes/components/company-name.marko +1 -0
- package/components/nodes/components/company-name.marko.js +33 -0
- package/components/nodes/components/dates.marko +11 -0
- package/components/nodes/components/dates.marko.js +58 -0
- package/components/nodes/components/section-sponsor.marko +14 -0
- package/components/nodes/components/section-sponsor.marko.js +56 -0
- package/components/nodes/content-published.marko +46 -0
- package/components/nodes/content-published.marko.js +89 -0
- package/components/nodes/content.marko +175 -0
- package/components/nodes/content.marko.js +327 -0
- package/components/nodes/directory-section-feed-content.marko +161 -0
- package/components/nodes/directory-section-feed-content.marko.js +387 -0
- package/components/nodes/featured-products-card.marko +52 -0
- package/components/nodes/featured-products-card.marko.js +110 -0
- package/components/nodes/marko.json +83 -0
- package/components/nodes/product-feed-content.marko +52 -0
- package/components/nodes/product-feed-content.marko.js +137 -0
- package/components/nodes/section-feed-content.marko +256 -0
- package/components/nodes/section-feed-content.marko.js +624 -0
- package/components/nodes/standard-promo.marko +39 -0
- package/components/nodes/standard-promo.marko.js +111 -0
- package/components/nodes/youtube-card.marko +53 -0
- package/components/nodes/youtube-card.marko.js +120 -0
- package/components/page/attribution.marko +1 -0
- package/components/page/attribution.marko.js +33 -0
- package/components/page/contact-details.marko +1 -0
- package/components/page/contact-details.marko.js +33 -0
- package/components/page/content.marko +27 -0
- package/components/page/content.marko.js +68 -0
- package/components/page/contents.marko +1 -0
- package/components/page/contents.marko.js +33 -0
- package/components/page/dates.marko +1 -0
- package/components/page/dates.marko.js +33 -0
- package/components/page/default.marko +25 -0
- package/components/page/default.marko.js +67 -0
- package/components/page/marko.json +51 -0
- package/components/page/website-section.marko +30 -0
- package/components/page/website-section.marko.js +83 -0
- package/components/pagination-controls.marko +53 -0
- package/components/pagination-controls.marko.js +122 -0
- package/components/query-total-count.marko +8 -0
- package/components/query-total-count.marko.js +45 -0
- package/components/reveal-ad-handler.marko +9 -0
- package/components/reveal-ad-handler.marko.js +38 -0
- package/components/site-footer/container.marko +11 -0
- package/components/site-footer/container.marko.js +39 -0
- package/components/site-footer/copyright.marko +21 -0
- package/components/site-footer/copyright.marko.js +66 -0
- package/components/site-footer/index.marko +130 -0
- package/components/site-footer/index.marko.js +338 -0
- package/components/site-footer/marko.json +14 -0
- package/components/site-footer/social-icons.marko +24 -0
- package/components/site-footer/social-icons.marko.js +64 -0
- package/components/site-header.marko +104 -0
- package/components/site-header.marko.js +221 -0
- package/components/site-menu/components/search.marko +27 -0
- package/components/site-menu/components/search.marko.js +80 -0
- package/components/site-menu/components/social-icons.marko +1 -0
- package/components/site-menu/components/social-icons.marko.js +32 -0
- package/components/site-menu/header.marko +10 -0
- package/components/site-menu/header.marko.js +38 -0
- package/components/site-menu/index.marko +117 -0
- package/components/site-menu/index.marko.js +201 -0
- package/components/site-menu/marko.json +11 -0
- package/components/site-menu/section.marko +26 -0
- package/components/site-menu/section.marko.js +67 -0
- package/components/site-navbar/brand.marko +8 -0
- package/components/site-navbar/brand.marko.js +43 -0
- package/components/site-navbar/index.marko +13 -0
- package/components/site-navbar/index.marko.js +49 -0
- package/components/site-navbar/item.marko +96 -0
- package/components/site-navbar/item.marko.js +182 -0
- package/components/site-navbar/items.marko +27 -0
- package/components/site-navbar/items.marko.js +80 -0
- package/components/site-navbar/logo.marko +15 -0
- package/components/site-navbar/logo.marko.js +41 -0
- package/components/site-navbar/marko.json +20 -0
- package/components/site-navbar/search.marko +20 -0
- package/components/site-navbar/search.marko.js +73 -0
- package/components/site-navbar/utils/get-nav-items.js +21 -0
- package/components/site-navbar/utils/is-active-link.js +1 -0
- package/components/site-newsletter-menu.marko +11 -0
- package/components/site-newsletter-menu.marko.js +37 -0
- package/components/social/get-provider.js +5 -0
- package/components/social/icon-link.marko +22 -0
- package/components/social/icon-link.marko.js +63 -0
- package/components/social/icons.marko +22 -0
- package/components/social/icons.marko.js +62 -0
- package/components/social/marko.json +15 -0
- package/components/social-follow.marko +32 -0
- package/components/social-follow.marko.js +95 -0
- package/components/ssr-html-inject.marko +102 -0
- package/components/ssr-html-inject.marko.js +133 -0
- package/graphql/fragments/category-sections.js +25 -0
- package/graphql/fragments/company-search.js +13 -0
- package/graphql/fragments/content-card-deck-block.js +27 -0
- package/graphql/fragments/content-list.js +45 -0
- package/graphql/fragments/content-meter.js +20 -0
- package/graphql/fragments/content-page.js +192 -0
- package/graphql/fragments/dynamic-page.js +15 -0
- package/graphql/fragments/featured-companies.js +16 -0
- package/graphql/fragments/latest-podcast-block.js +14 -0
- package/graphql/fragments/latest-products-feed-block.js +28 -0
- package/graphql/fragments/mindful-advertising-post-by-id.js +55 -0
- package/graphql/fragments/most-popular-block.js +21 -0
- package/graphql/fragments/native-x-image.js +12 -0
- package/graphql/fragments/native-x-story.js +28 -0
- package/graphql/fragments/opinion-block.js +41 -0
- package/graphql/fragments/products-block.js +27 -0
- package/graphql/fragments/read-next-block.js +28 -0
- package/graphql/fragments/related-stories-block.js +27 -0
- package/graphql/fragments/resource-library-block.js +20 -0
- package/graphql/fragments/section-body-feed-block.js +30 -0
- package/graphql/fragments/section-card-deck-featured-block.js +21 -0
- package/graphql/fragments/section-card-list-block.js +22 -0
- package/graphql/fragments/section-feed-block.js +86 -0
- package/graphql/fragments/section-info.js +13 -0
- package/graphql/fragments/section-list-block.js +21 -0
- package/graphql/fragments/section-list-card-block.js +27 -0
- package/graphql/fragments/sections-search.js +46 -0
- package/graphql/fragments/top-stories-block.js +34 -0
- package/graphql/fragments/top-stories-menu-block.js +21 -0
- package/graphql/fragments/website-section-page.js +16 -0
- package/graphql/fragments/white-papers-block.js +27 -0
- package/i18n.js +11 -0
- package/marko.json +5 -0
- package/middleware/content-gating.js +13 -0
- package/middleware/content-metering.js +156 -0
- package/middleware/i18n.js +12 -0
- package/middleware/newsletter-modal-state.js +11 -0
- package/middleware/newsletter-state.js +22 -0
- package/middleware/pagination.js +24 -0
- package/package.json +56 -0
- package/routes/ad-preview.js +11 -0
- package/routes/advertising-post.js +25 -0
- package/routes/company-search.js +27 -0
- package/routes/native-x.js +9 -0
- package/routes/print.js +11 -0
- package/routes/render-block.js +32 -0
- package/routes/search.js +28 -0
- package/routes/taxonomy.js +29 -0
- package/scss/_functions.scss +164 -0
- package/scss/_mixins.scss +503 -0
- package/scss/_variables.scss +328 -0
- package/scss/components/_ad-container.scss +237 -0
- package/scss/components/_author-bio-node.scss +47 -0
- package/scss/components/_author-node.scss +23 -0
- package/scss/components/_author-published-node.scss +43 -0
- package/scss/components/_bootstrap.scss +19 -0
- package/scss/components/_breadcrumbs.scss +1 -0
- package/scss/components/_comments.scss +275 -0
- package/scss/components/_content-meter.scss +147 -0
- package/scss/components/_content-page-gate.scss +37 -0
- package/scss/components/_content-page.scss +351 -0
- package/scss/components/_default-theme.scss +1 -0
- package/scss/components/_embedded-media.scss +100 -0
- package/scss/components/_identity-x.scss +71 -0
- package/scss/components/_lazyload.scss +15 -0
- package/scss/components/_load-more.scss +65 -0
- package/scss/components/_magazine-publication-buttons.scss +65 -0
- package/scss/components/_newsletter-signup-modal.scss +133 -0
- package/scss/components/_node-list.scss +26 -0
- package/scss/components/_node.scss +173 -0
- package/scss/components/_page-attribution.scss +102 -0
- package/scss/components/_page-contact-details.scss +23 -0
- package/scss/components/_page-dates.scss +24 -0
- package/scss/components/_page-image.scss +92 -0
- package/scss/components/_page-rail.scss +7 -0
- package/scss/components/_page-wrapper.scss +146 -0
- package/scss/components/_page.scss +3 -0
- package/scss/components/_pagination-controls.scss +38 -0
- package/scss/components/_reveal-ad.scss +28 -0
- package/scss/components/_search-page.scss +188 -0
- package/scss/components/_site-footer.scss +247 -0
- package/scss/components/_site-header.scss +9 -0
- package/scss/components/_site-menu.scss +327 -0
- package/scss/components/_site-navbar-b.scss +128 -0
- package/scss/components/_site-navbar.scss +107 -0
- package/scss/components/_site-newsletter-menu.scss +561 -0
- package/scss/components/_social-icons.scss +12 -0
- package/scss/components/_spec-guide.scss +79 -0
- package/scss/components/_sponsor-logo.scss +31 -0
- package/scss/components/_sticky-top.scss +8 -0
- package/scss/components/_wallpaper-ad.scss +36 -0
- package/scss/components/blocks/_callout-cards.scss +19 -0
- package/scss/components/blocks/_company-inquiry-form.scss +41 -0
- package/scss/components/blocks/_company-search.scss +57 -0
- package/scss/components/blocks/_content-card-deck.scss +143 -0
- package/scss/components/blocks/_directory-facets.scss +112 -0
- package/scss/components/blocks/_hero-card.scss +59 -0
- package/scss/components/blocks/_latest-content-list.scss +13 -0
- package/scss/components/blocks/_latest-podcast.scss +69 -0
- package/scss/components/blocks/_latest-products-feed.scss +97 -0
- package/scss/components/blocks/_magazine-publication-card.scss +30 -0
- package/scss/components/blocks/_more-products.scss +35 -0
- package/scss/components/blocks/_most-popular.scss +70 -0
- package/scss/components/blocks/_newsletter-signup-banner-large.scss +51 -0
- package/scss/components/blocks/_newsletter-signup-banner.scss +99 -0
- package/scss/components/blocks/_newsletter-signup-site-footer.scss +11 -0
- package/scss/components/blocks/_node-author.scss +27 -0
- package/scss/components/blocks/_opinion.scss +76 -0
- package/scss/components/blocks/_primary-image.scss +98 -0
- package/scss/components/blocks/_products.scss +71 -0
- package/scss/components/blocks/_promo-card.scss +67 -0
- package/scss/components/blocks/_read-next.scss +53 -0
- package/scss/components/blocks/_related-native-x-stories.scss +14 -0
- package/scss/components/blocks/_related-stories.scss +102 -0
- package/scss/components/blocks/_resource-library.scss +79 -0
- package/scss/components/blocks/_section-card-deck-featured.scss +22 -0
- package/scss/components/blocks/_section-card-list.scss +81 -0
- package/scss/components/blocks/_section-feed.scss +253 -0
- package/scss/components/blocks/_section-forbes.scss +32 -0
- package/scss/components/blocks/_section-list.scss +80 -0
- package/scss/components/blocks/_section-search.scss +40 -0
- package/scss/components/blocks/_social-follow.scss +28 -0
- package/scss/components/blocks/_top-stories-menu.scss +38 -0
- package/scss/components/blocks/_top-stories.scss +179 -0
- package/scss/components/blocks/_white-papers.scss +60 -0
- package/scss/components/default-theme/site-navbar.scss +187 -0
- package/scss/components/flows/_card-deck.scss +47 -0
- package/scss/components/flows/_column-list.scss +28 -0
- package/scss/components/flows/_featured.scss +29 -0
- package/scss/components/flows/_hero.scss +44 -0
- package/scss/components/flows/_incremented-nodes.scss +21 -0
- package/scss/core.scss +125 -0
- package/scss/critical/_bootstrap.scss +15 -0
- package/scss/critical/_core.scss +27 -0
- package/scss/critical/_theme.scss +23 -0
- package/scss/variables/_buttons.scss +66 -0
- package/scss/variables/_default-theme.scss +715 -0
- package/scss/variables/_inputs.scss +24 -0
- package/scss/variables/_typography.scss +525 -0
- package/templates/ad-preview.marko +79 -0
- package/templates/ad-preview.marko.js +151 -0
- package/templates/content/components/presented-by.marko +22 -0
- package/templates/content/components/presented-by.marko.js +72 -0
- package/templates/content/native-x-story.marko +82 -0
- package/templates/content/native-x-story.marko.js +248 -0
- package/templates/content/print.marko +188 -0
- package/templates/content/print.marko.js +434 -0
- package/templates/search.marko +136 -0
- package/templates/search.marko.js +335 -0
- package/templates/taxonomy.marko +71 -0
- package/templates/taxonomy.marko.js +194 -0
- package/translations.js +14 -0
- package/utils/content-iframe.js +34 -0
- package/utils/content-meter-helpers.js +58 -0
- package/utils/convert-mindful-ad-preview.js +34 -0
- package/utils/get-child-sections-by-id.js +11 -0
- package/utils/get-content-preview.js +7 -0
- package/utils/get-sections-from-schedules.js +10 -0
- package/utils/has-omeda-id.js +11 -0
- package/utils/query-total-count.js +90 -0
- package/utils/render-site-idx-newsletter-menu.js +26 -0
- package/utils/render-site-newsletter-menu.js +16 -0
- package/utils/set-section-name-from-label.js +14 -0
- package/utils/shuffle-array.js +9 -0
- package/utils/site-idx-newsletter-menu-props.js +61 -0
- package/utils/site-newsletter-menu-props.js +41 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
$input-bg: #f8f8f8 !default;
|
|
2
|
+
$input-border-color: $gray-500 !default;
|
|
3
|
+
$custom-select-border-radius: $input-border-radius;
|
|
4
|
+
$input-border-width: 1px !default;
|
|
5
|
+
$input-box-shadow: none !default;
|
|
6
|
+
$input-color: $gray-800 !default;
|
|
7
|
+
$input-font-family: $skin-font-family-primary !default;
|
|
8
|
+
$input-font-size: 16px !default;
|
|
9
|
+
$input-font-weight: $font-weight-normal !default;
|
|
10
|
+
$input-line-height: 1 !default;
|
|
11
|
+
$input-padding-y: .9375rem;
|
|
12
|
+
$input-padding-x: 1.125rem;
|
|
13
|
+
$input-placeholder-color: $gray-700 !default;
|
|
14
|
+
|
|
15
|
+
$input-focus-border-color: $blue !default;
|
|
16
|
+
$input-focus-box-shadow: 0 0 0 1px $blue !default;
|
|
17
|
+
|
|
18
|
+
// custom
|
|
19
|
+
$skin-input-letter-spacing: .25px !default;
|
|
20
|
+
$skin-input-hover-border-color: $gray-900 !default;
|
|
21
|
+
|
|
22
|
+
$custom-select-focus-box-shadow: $input-focus-box-shadow !default;
|
|
23
|
+
|
|
24
|
+
$custom-control-indicator-size: 1.25rem !default;
|
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
$typography: () !default;
|
|
2
|
+
$typography: non-destructive-map-merge(
|
|
3
|
+
(
|
|
4
|
+
"header-1": (
|
|
5
|
+
"color": $gray-800,
|
|
6
|
+
"font-family": $skin-font-family-secondary,
|
|
7
|
+
"font-weight": $font-weight-bold,
|
|
8
|
+
"font-size": 40px,
|
|
9
|
+
"font-size-mobile": 28px,
|
|
10
|
+
"line-height": 1.15,
|
|
11
|
+
"line-height-mobile": 1.15,
|
|
12
|
+
"letter-spacing": .5px,
|
|
13
|
+
"text-transform": none,
|
|
14
|
+
),
|
|
15
|
+
"header-2": (
|
|
16
|
+
"color": $gray-800,
|
|
17
|
+
"font-family": $skin-font-family-secondary,
|
|
18
|
+
"font-weight": $font-weight-bold,
|
|
19
|
+
"font-size": 22px,
|
|
20
|
+
"font-size-mobile": 22px,
|
|
21
|
+
"line-height": 1.27,
|
|
22
|
+
"line-height-mobile": 1.27,
|
|
23
|
+
"letter-spacing": .5px,
|
|
24
|
+
"text-transform": none,
|
|
25
|
+
),
|
|
26
|
+
"header-3": (
|
|
27
|
+
"color": $gray-800,
|
|
28
|
+
"font-family": $skin-font-family-secondary,
|
|
29
|
+
"font-weight": $font-weight-bold,
|
|
30
|
+
"font-size": 18px,
|
|
31
|
+
"font-size-mobile": 18px,
|
|
32
|
+
"line-height": 1.33,
|
|
33
|
+
"line-height-mobile": 1.33,
|
|
34
|
+
"letter-spacing": .25px,
|
|
35
|
+
"text-transform": none,
|
|
36
|
+
),
|
|
37
|
+
"article-text": (
|
|
38
|
+
"color": $gray-800,
|
|
39
|
+
"font-family": $skin-font-family-primary,
|
|
40
|
+
"font-weight": $font-weight-normal,
|
|
41
|
+
"font-size": 20px,
|
|
42
|
+
"font-size-mobile": 18px,
|
|
43
|
+
"line-height": 1.5,
|
|
44
|
+
"line-height-mobile": 1.44,
|
|
45
|
+
"letter-spacing": .25px,
|
|
46
|
+
"text-transform": none,
|
|
47
|
+
),
|
|
48
|
+
"small-body-text": (
|
|
49
|
+
"color": $gray-800,
|
|
50
|
+
"font-family": $skin-font-family-primary,
|
|
51
|
+
"font-weight": $font-weight-normal,
|
|
52
|
+
"font-size": 16px,
|
|
53
|
+
"font-size-mobile": 16px,
|
|
54
|
+
"line-height": 1.5,
|
|
55
|
+
"line-height-mobile": 1.5,
|
|
56
|
+
"letter-spacing": .25px,
|
|
57
|
+
"text-transform": none,
|
|
58
|
+
),
|
|
59
|
+
"credit-disclaimer": (
|
|
60
|
+
"color": $gray-700,
|
|
61
|
+
"font-family": $skin-font-family-primary,
|
|
62
|
+
"font-weight": $font-weight-normal,
|
|
63
|
+
"font-size": 14px,
|
|
64
|
+
"font-size-mobile": 14px,
|
|
65
|
+
"line-height": 1.28,
|
|
66
|
+
"line-height-mobile": 1.28,
|
|
67
|
+
"letter-spacing": .25px,
|
|
68
|
+
"text-transform": none,
|
|
69
|
+
),
|
|
70
|
+
"section-header": (
|
|
71
|
+
"color": $gray-800,
|
|
72
|
+
"font-family": $skin-font-family-primary,
|
|
73
|
+
"font-weight": $font-weight-bold,
|
|
74
|
+
"font-size": 32px,
|
|
75
|
+
"font-size-mobile": 28px,
|
|
76
|
+
"line-height": 1.13,
|
|
77
|
+
"line-height-mobile": 1.14,
|
|
78
|
+
"letter-spacing": 1px,
|
|
79
|
+
"text-transform": uppercase,
|
|
80
|
+
),
|
|
81
|
+
"section-header-small": (
|
|
82
|
+
"color": $gray-800,
|
|
83
|
+
"font-family": $skin-font-family-primary,
|
|
84
|
+
"font-weight": $font-weight-bold,
|
|
85
|
+
"font-size": 22px,
|
|
86
|
+
"font-size-mobile": 22px,
|
|
87
|
+
"line-height": 1.27,
|
|
88
|
+
"line-height-mobile": 1.27,
|
|
89
|
+
"letter-spacing": .75px,
|
|
90
|
+
"text-transform": uppercase,
|
|
91
|
+
),
|
|
92
|
+
"slug-medium": (
|
|
93
|
+
"color": $primary,
|
|
94
|
+
"font-family": $skin-font-family-primary,
|
|
95
|
+
"font-weight": $font-weight-semibold,
|
|
96
|
+
"font-size": 18px,
|
|
97
|
+
"font-size-mobile": 18px,
|
|
98
|
+
"line-height": 1,
|
|
99
|
+
"line-height-mobile": 1,
|
|
100
|
+
"letter-spacing": .5px,
|
|
101
|
+
"text-transform": uppercase,
|
|
102
|
+
),
|
|
103
|
+
"slug-small": (
|
|
104
|
+
"color": $primary,
|
|
105
|
+
"font-family": $skin-font-family-primary,
|
|
106
|
+
"font-weight": $font-weight-semibold,
|
|
107
|
+
"font-size": 14px,
|
|
108
|
+
"font-size-mobile": 14px,
|
|
109
|
+
"line-height": 1,
|
|
110
|
+
"line-height-mobile": 1,
|
|
111
|
+
"letter-spacing": .5px,
|
|
112
|
+
"text-transform": uppercase,
|
|
113
|
+
),
|
|
114
|
+
"sponsored-by": (
|
|
115
|
+
"color": $blue,
|
|
116
|
+
"font-family": $skin-font-family-primary,
|
|
117
|
+
"font-weight": $font-weight-medium,
|
|
118
|
+
"font-size": 14px,
|
|
119
|
+
"font-size-mobile": 14px,
|
|
120
|
+
"line-height": 1,
|
|
121
|
+
"line-height-mobile": 1,
|
|
122
|
+
"letter-spacing": .5px,
|
|
123
|
+
"text-transform": uppercase,
|
|
124
|
+
),
|
|
125
|
+
"input-label": (
|
|
126
|
+
"color": $gray-800,
|
|
127
|
+
"font-family": $skin-font-family-primary,
|
|
128
|
+
"font-weight": $font-weight-medium,
|
|
129
|
+
"font-size": 16px,
|
|
130
|
+
"font-size-mobile": 16px,
|
|
131
|
+
"line-height": 1,
|
|
132
|
+
"line-height-mobile": 1,
|
|
133
|
+
"letter-spacing": .25px,
|
|
134
|
+
"text-transform": none,
|
|
135
|
+
),
|
|
136
|
+
"date": (
|
|
137
|
+
"color": $gray-700,
|
|
138
|
+
"font-family": $skin-font-family-primary,
|
|
139
|
+
"font-weight": $font-weight-medium,
|
|
140
|
+
"font-size": 14px,
|
|
141
|
+
"font-size-mobile": 14px,
|
|
142
|
+
"line-height": 1,
|
|
143
|
+
"line-height-mobile": 1,
|
|
144
|
+
"letter-spacing": .25px,
|
|
145
|
+
"text-transform": uppercase,
|
|
146
|
+
),
|
|
147
|
+
// added
|
|
148
|
+
"date-content-page": (
|
|
149
|
+
"color": $gray-700,
|
|
150
|
+
"font-family": $skin-font-family-primary,
|
|
151
|
+
"font-weight": $font-weight-normal,
|
|
152
|
+
"font-size": 16px,
|
|
153
|
+
"font-size-mobile": 16px,
|
|
154
|
+
"line-height": 1.3125,
|
|
155
|
+
"line-height-mobile": 1.3125,
|
|
156
|
+
"letter-spacing": .25px,
|
|
157
|
+
"text-transform": none,
|
|
158
|
+
),
|
|
159
|
+
"author-content-page": (
|
|
160
|
+
"color": $gray-800,
|
|
161
|
+
"font-family": $skin-font-family-primary,
|
|
162
|
+
"font-weight": $font-weight-medium,
|
|
163
|
+
"font-size": 16px,
|
|
164
|
+
"font-size-mobile": 16px,
|
|
165
|
+
"line-height": 1.3125,
|
|
166
|
+
"line-height-mobile": 1.3125,
|
|
167
|
+
"letter-spacing": .25px,
|
|
168
|
+
"text-transform": none,
|
|
169
|
+
),
|
|
170
|
+
"author-name-list": (
|
|
171
|
+
"color": $gray-800,
|
|
172
|
+
"font-family": $skin-font-family-primary,
|
|
173
|
+
"font-weight": $font-weight-semibold,
|
|
174
|
+
"font-size": 16px,
|
|
175
|
+
"font-size-mobile": 16px,
|
|
176
|
+
"line-height": 1,
|
|
177
|
+
"line-height-mobile": 1,
|
|
178
|
+
"letter-spacing": .5px,
|
|
179
|
+
"text-transform": none,
|
|
180
|
+
),
|
|
181
|
+
"author-title-list": (
|
|
182
|
+
"color": $gray-800,
|
|
183
|
+
"font-family": $skin-font-family-primary,
|
|
184
|
+
"font-weight": $font-weight-normal,
|
|
185
|
+
"font-size": 16px,
|
|
186
|
+
"font-size-mobile": 16px,
|
|
187
|
+
"line-height": 1,
|
|
188
|
+
"line-height-mobile": 1,
|
|
189
|
+
"letter-spacing": .25px,
|
|
190
|
+
"text-transform": none,
|
|
191
|
+
),
|
|
192
|
+
"view-more": (
|
|
193
|
+
"color": $primary,
|
|
194
|
+
"font-family": $skin-font-family-primary,
|
|
195
|
+
"font-weight": $font-weight-bold,
|
|
196
|
+
"font-size": 14px,
|
|
197
|
+
"font-size-mobile": 14px,
|
|
198
|
+
"line-height": 1,
|
|
199
|
+
"line-height-mobile": 1,
|
|
200
|
+
"letter-spacing": .5px,
|
|
201
|
+
"text-transform": uppercase,
|
|
202
|
+
),
|
|
203
|
+
"footer-header-1": (
|
|
204
|
+
"color": $white,
|
|
205
|
+
"font-family": $skin-font-family-primary,
|
|
206
|
+
"font-weight": $font-weight-bold,
|
|
207
|
+
"font-size": 18px,
|
|
208
|
+
"font-size-mobile": 18px,
|
|
209
|
+
"line-height": 1.33,
|
|
210
|
+
"line-height-mobile": 1.33,
|
|
211
|
+
"letter-spacing": .5px,
|
|
212
|
+
"text-transform": none,
|
|
213
|
+
),
|
|
214
|
+
"footer-text": (
|
|
215
|
+
"color": $white,
|
|
216
|
+
"font-family": $skin-font-family-primary,
|
|
217
|
+
"font-weight": $font-weight-normal,
|
|
218
|
+
"font-size": 16px,
|
|
219
|
+
"font-size-mobile": 16px,
|
|
220
|
+
"line-height": 1.5,
|
|
221
|
+
"line-height-mobile": 1.5,
|
|
222
|
+
"letter-spacing": .25px,
|
|
223
|
+
"text-transform": none,
|
|
224
|
+
),
|
|
225
|
+
"teaser-text-1": (
|
|
226
|
+
"color": $gray-800,
|
|
227
|
+
"font-family": $skin-font-family-primary,
|
|
228
|
+
"font-weight": $font-weight-normal,
|
|
229
|
+
"font-size": 18px,
|
|
230
|
+
"font-size-mobile": 18px,
|
|
231
|
+
"line-height": 1.44,
|
|
232
|
+
"line-height-mobile": 1.44,
|
|
233
|
+
"letter-spacing": .25px,
|
|
234
|
+
"text-transform": none,
|
|
235
|
+
),
|
|
236
|
+
"header-1.5": (
|
|
237
|
+
"color": $gray-800,
|
|
238
|
+
"font-family": $skin-font-family-secondary,
|
|
239
|
+
"font-weight": $font-weight-bold,
|
|
240
|
+
"font-size": 24px,
|
|
241
|
+
"font-size-mobile": 18px,
|
|
242
|
+
"line-height": 1.2,
|
|
243
|
+
"line-height-mobile": 1.33,
|
|
244
|
+
"letter-spacing": .5px,
|
|
245
|
+
"text-transform": none,
|
|
246
|
+
),
|
|
247
|
+
"section-header-xs": (
|
|
248
|
+
"color": $gray-800,
|
|
249
|
+
"font-family": $skin-font-family-primary,
|
|
250
|
+
"font-weight": $font-weight-bold,
|
|
251
|
+
"font-size": 18px,
|
|
252
|
+
"font-size-mobile": 18px,
|
|
253
|
+
"line-height": 1,
|
|
254
|
+
"line-height-mobile": 1,
|
|
255
|
+
"letter-spacing": .75px,
|
|
256
|
+
"text-transform": uppercase,
|
|
257
|
+
),
|
|
258
|
+
"social-follow-header": (
|
|
259
|
+
"color": $gray-800,
|
|
260
|
+
"font-family": $skin-font-family-primary,
|
|
261
|
+
"font-weight": $font-weight-bold,
|
|
262
|
+
"font-size": 18px,
|
|
263
|
+
"font-size-mobile": 18px,
|
|
264
|
+
"line-height": 1,
|
|
265
|
+
"line-height-mobile": 1,
|
|
266
|
+
"letter-spacing": .5px,
|
|
267
|
+
"text-transform": none,
|
|
268
|
+
),
|
|
269
|
+
"menu-item-primary": (
|
|
270
|
+
"color": $gray-800,
|
|
271
|
+
"font-family": $skin-font-family-primary,
|
|
272
|
+
"font-weight": $font-weight-semibold,
|
|
273
|
+
"font-size": 20px,
|
|
274
|
+
"font-size-mobile": 20px,
|
|
275
|
+
"line-height": 1,
|
|
276
|
+
"line-height-mobile": 1,
|
|
277
|
+
"letter-spacing": .25px,
|
|
278
|
+
"text-transform": none,
|
|
279
|
+
),
|
|
280
|
+
"menu-item-primary-header": (
|
|
281
|
+
"color": $gray-800,
|
|
282
|
+
"font-family": $skin-font-family-primary,
|
|
283
|
+
"font-weight": $font-weight-bold,
|
|
284
|
+
"font-size": 24px,
|
|
285
|
+
"font-size-mobile": 24px,
|
|
286
|
+
"line-height": 1,
|
|
287
|
+
"line-height-mobile": 1,
|
|
288
|
+
"letter-spacing": .5px,
|
|
289
|
+
"text-transform": none,
|
|
290
|
+
),
|
|
291
|
+
"menu-item-secondary": (
|
|
292
|
+
"color": $gray-800,
|
|
293
|
+
"font-family": $skin-font-family-primary,
|
|
294
|
+
"font-weight": $font-weight-medium,
|
|
295
|
+
"font-size": 16px,
|
|
296
|
+
"font-size-mobile": 16px,
|
|
297
|
+
"line-height": 1,
|
|
298
|
+
"line-height-mobile": 1,
|
|
299
|
+
"letter-spacing": .25px,
|
|
300
|
+
"text-transform": none,
|
|
301
|
+
),
|
|
302
|
+
"menu-item-secondary-header": (
|
|
303
|
+
"color": $gray-800,
|
|
304
|
+
"font-family": $skin-font-family-primary,
|
|
305
|
+
"font-weight": $font-weight-bold,
|
|
306
|
+
"font-size": 18px,
|
|
307
|
+
"font-size-mobile": 18px,
|
|
308
|
+
"line-height": 1,
|
|
309
|
+
"line-height-mobile": 1,
|
|
310
|
+
"letter-spacing": .5px,
|
|
311
|
+
"text-transform": none,
|
|
312
|
+
),
|
|
313
|
+
"overlay-header-2": (
|
|
314
|
+
"color": $white,
|
|
315
|
+
"font-family": $skin-font-family-secondary,
|
|
316
|
+
"font-weight": $font-weight-bold,
|
|
317
|
+
"font-size": 22px,
|
|
318
|
+
"font-size-mobile": 22px,
|
|
319
|
+
"line-height": 1.27,
|
|
320
|
+
"line-height-mobile": 1.27,
|
|
321
|
+
"letter-spacing": .5px,
|
|
322
|
+
"text-transform": none,
|
|
323
|
+
),
|
|
324
|
+
"pib-title": (
|
|
325
|
+
"color": $gray-800,
|
|
326
|
+
"font-family": $skin-font-family-primary,
|
|
327
|
+
"font-weight": $font-weight-bold,
|
|
328
|
+
"font-size": 40px,
|
|
329
|
+
"font-size-mobile": 40px,
|
|
330
|
+
"line-height": 1.1,
|
|
331
|
+
"line-height-mobile": 1.1,
|
|
332
|
+
"letter-spacing": .5px,
|
|
333
|
+
"text-transform": none,
|
|
334
|
+
),
|
|
335
|
+
"pib-description": (
|
|
336
|
+
"color": $gray-800,
|
|
337
|
+
"font-family": $skin-font-family-primary,
|
|
338
|
+
"font-weight": $font-weight-bold,
|
|
339
|
+
"font-size": 22px,
|
|
340
|
+
"font-size-mobile": 22px,
|
|
341
|
+
"line-height": 1.1,
|
|
342
|
+
"line-height-mobile": 1.1,
|
|
343
|
+
"letter-spacing": .5px,
|
|
344
|
+
"text-transform": none,
|
|
345
|
+
),
|
|
346
|
+
"pib-partners": (
|
|
347
|
+
"color": $gray-800,
|
|
348
|
+
"font-family": $skin-font-family-secondary,
|
|
349
|
+
"font-weight": $font-weight-bold,
|
|
350
|
+
"font-size": 15px,
|
|
351
|
+
"font-size-mobile": 15px,
|
|
352
|
+
"line-height": 1.33,
|
|
353
|
+
"line-height-mobile": 1.33,
|
|
354
|
+
"letter-spacing": .25px,
|
|
355
|
+
"text-transform": uppercase,
|
|
356
|
+
),
|
|
357
|
+
"content-meter-header": (
|
|
358
|
+
"color": $white,
|
|
359
|
+
"font-family": $skin-font-family-secondary,
|
|
360
|
+
"font-weight": $font-weight-bold,
|
|
361
|
+
"font-size": 28px,
|
|
362
|
+
"font-size-mobile": 28px,
|
|
363
|
+
"line-height": 1,
|
|
364
|
+
"line-height-mobile": 1.15,
|
|
365
|
+
"letter-spacing": .3px,
|
|
366
|
+
"text-transform": none,
|
|
367
|
+
),
|
|
368
|
+
"content-meter-cta": (
|
|
369
|
+
"color": $white,
|
|
370
|
+
"font-family": $skin-font-family-secondary,
|
|
371
|
+
"font-weight": $font-weight-medium,
|
|
372
|
+
"font-size": 22px,
|
|
373
|
+
"font-size-mobile": 20px,
|
|
374
|
+
"line-height": 1,
|
|
375
|
+
"line-height-mobile": 1.1,
|
|
376
|
+
"letter-spacing": .24px,
|
|
377
|
+
"text-transform": none,
|
|
378
|
+
),
|
|
379
|
+
),
|
|
380
|
+
$typography
|
|
381
|
+
);
|
|
382
|
+
|
|
383
|
+
$typography-links: () !default;
|
|
384
|
+
$typography-links: non-destructive-map-merge(
|
|
385
|
+
(
|
|
386
|
+
"header-1": (
|
|
387
|
+
"primary": (
|
|
388
|
+
"max-lines": 4,
|
|
389
|
+
"text-decoration": none,
|
|
390
|
+
"hover-text-decoration": underline,
|
|
391
|
+
),
|
|
392
|
+
),
|
|
393
|
+
"header-2": (
|
|
394
|
+
"primary": (
|
|
395
|
+
"max-lines": 3,
|
|
396
|
+
"text-decoration": none,
|
|
397
|
+
"hover-text-decoration": underline,
|
|
398
|
+
),
|
|
399
|
+
),
|
|
400
|
+
"overlay-header-2": (
|
|
401
|
+
"primary": (
|
|
402
|
+
"max-lines": 2,
|
|
403
|
+
"text-decoration": none,
|
|
404
|
+
"hover-text-decoration": underline,
|
|
405
|
+
),
|
|
406
|
+
),
|
|
407
|
+
"header-3": (
|
|
408
|
+
"primary": (
|
|
409
|
+
"max-lines": 3,
|
|
410
|
+
"text-decoration": none,
|
|
411
|
+
"hover-text-decoration": underline,
|
|
412
|
+
),
|
|
413
|
+
),
|
|
414
|
+
"section-header-small": (
|
|
415
|
+
"primary": (
|
|
416
|
+
"max-lines": false,
|
|
417
|
+
"text-decoration": none,
|
|
418
|
+
"hover-color": $primary,
|
|
419
|
+
"hover-text-decoration": none,
|
|
420
|
+
),
|
|
421
|
+
),
|
|
422
|
+
"article-text": (
|
|
423
|
+
"primary": (
|
|
424
|
+
"max-lines": 3,
|
|
425
|
+
"text-decoration": none,
|
|
426
|
+
"hover-color": map-deep-get($typography, "article-text", "color"),
|
|
427
|
+
"hover-text-decoration": none,
|
|
428
|
+
),
|
|
429
|
+
"content-body": (
|
|
430
|
+
"max-lines": false,
|
|
431
|
+
"text-decoration": underline,
|
|
432
|
+
"color": $primary,
|
|
433
|
+
"hover-color": $skin-primary-hover-color,
|
|
434
|
+
"hover-text-decoration": underline,
|
|
435
|
+
),
|
|
436
|
+
),
|
|
437
|
+
"small-body-text": (
|
|
438
|
+
"primary": (
|
|
439
|
+
"max-lines": 3,
|
|
440
|
+
"text-decoration": none,
|
|
441
|
+
"hover-color": map-deep-get($typography, "small-body-text", "color"),
|
|
442
|
+
"hover-text-decoration": none,
|
|
443
|
+
),
|
|
444
|
+
"with-hover-color": (
|
|
445
|
+
"max-lines": 3,
|
|
446
|
+
"text-decoration": underline,
|
|
447
|
+
"color": $primary,
|
|
448
|
+
"hover-color": $skin-primary-hover-color,
|
|
449
|
+
"hover-text-decoration": underline,
|
|
450
|
+
),
|
|
451
|
+
),
|
|
452
|
+
"slug-medium": (
|
|
453
|
+
"primary": (
|
|
454
|
+
"max-lines": false,
|
|
455
|
+
"text-decoration": none,
|
|
456
|
+
"hover-color": $skin-primary-hover-color,
|
|
457
|
+
"hover-text-decoration": none,
|
|
458
|
+
),
|
|
459
|
+
),
|
|
460
|
+
"slug-small": (
|
|
461
|
+
"primary": (
|
|
462
|
+
"max-lines": false,
|
|
463
|
+
"text-decoration": none,
|
|
464
|
+
"hover-color": $skin-primary-hover-color,
|
|
465
|
+
"hover-text-decoration": none,
|
|
466
|
+
),
|
|
467
|
+
),
|
|
468
|
+
"author-name-list": (
|
|
469
|
+
"primary": (
|
|
470
|
+
"max-lines": false,
|
|
471
|
+
"text-decoration": none,
|
|
472
|
+
"hover-color": $primary,
|
|
473
|
+
"hover-text-decoration": none,
|
|
474
|
+
),
|
|
475
|
+
),
|
|
476
|
+
"author-content-page": (
|
|
477
|
+
"primary": (
|
|
478
|
+
"max-lines": false,
|
|
479
|
+
"text-decoration": none,
|
|
480
|
+
"hover-color": $primary,
|
|
481
|
+
"hover-text-decoration": none,
|
|
482
|
+
),
|
|
483
|
+
),
|
|
484
|
+
"view-more": (
|
|
485
|
+
"primary": (
|
|
486
|
+
"max-lines": false,
|
|
487
|
+
"text-decoration": none,
|
|
488
|
+
"hover-color": $skin-primary-hover-color,
|
|
489
|
+
"hover-text-decoration": none,
|
|
490
|
+
),
|
|
491
|
+
),
|
|
492
|
+
"teaser-text-1": (
|
|
493
|
+
"primary": (
|
|
494
|
+
"max-lines": 3,
|
|
495
|
+
"text-decoration": none,
|
|
496
|
+
"hover-color": map-deep-get($typography, "teaser-text-1", "color"),
|
|
497
|
+
"hover-text-decoration": none,
|
|
498
|
+
),
|
|
499
|
+
),
|
|
500
|
+
"header-1.5": (
|
|
501
|
+
"primary": (
|
|
502
|
+
"max-lines": 3,
|
|
503
|
+
"text-decoration": none,
|
|
504
|
+
"hover-text-decoration": underline,
|
|
505
|
+
),
|
|
506
|
+
),
|
|
507
|
+
"menu-item-primary": (
|
|
508
|
+
"primary": (
|
|
509
|
+
"max-lines": false,
|
|
510
|
+
"text-decoration": none,
|
|
511
|
+
"hover-color": $primary,
|
|
512
|
+
"hover-text-decoration": none,
|
|
513
|
+
),
|
|
514
|
+
),
|
|
515
|
+
"menu-item-secondary": (
|
|
516
|
+
"primary": (
|
|
517
|
+
"max-lines": false,
|
|
518
|
+
"text-decoration": none,
|
|
519
|
+
"hover-color": $primary,
|
|
520
|
+
"hover-text-decoration": none,
|
|
521
|
+
),
|
|
522
|
+
),
|
|
523
|
+
),
|
|
524
|
+
$typography-links,
|
|
525
|
+
);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { get } from "@mindful-web/object-path";
|
|
2
|
+
import converter from "../utils/convert-mindful-ad-preview";
|
|
3
|
+
|
|
4
|
+
$ const { creativeId, namespace } = input;
|
|
5
|
+
<theme-ad-preview-layout
|
|
6
|
+
creative-id=creativeId
|
|
7
|
+
namespace=namespace
|
|
8
|
+
>
|
|
9
|
+
<@section|{creative}| >
|
|
10
|
+
$ const creativeNode = converter(creative);
|
|
11
|
+
<if(creative && get(creative, '_form.label') === 'Native Website')>
|
|
12
|
+
<div class="node-list node-list--latest-content-list node-list--flush-x">
|
|
13
|
+
<div class="node-list__header">Preview #1</div>
|
|
14
|
+
</div>
|
|
15
|
+
<theme-section-feed-flow nodes=[creativeNode]>
|
|
16
|
+
<@node-list inner-justified=false />
|
|
17
|
+
<@node with-dates=false with-section/>
|
|
18
|
+
</theme-section-feed-flow>
|
|
19
|
+
<hr>
|
|
20
|
+
</if>
|
|
21
|
+
</@section>
|
|
22
|
+
|
|
23
|
+
<@section|{creative}| >
|
|
24
|
+
$ const creativeNode = converter(creative);
|
|
25
|
+
<if(creative && get(creative, '_form.label') === 'Native Website')>
|
|
26
|
+
<div class="row">
|
|
27
|
+
<div class="col-lg-4" >
|
|
28
|
+
<theme-latest-content-list-block
|
|
29
|
+
title="Preview #2"
|
|
30
|
+
alias="home"
|
|
31
|
+
nodes=[creativeNode]
|
|
32
|
+
/>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<hr>
|
|
36
|
+
</if>
|
|
37
|
+
</@section>
|
|
38
|
+
|
|
39
|
+
<@section|{creative}| >
|
|
40
|
+
$ const creativeNode = converter(creative);
|
|
41
|
+
<if(creative && get(creative, '_form.label') === 'Native Website')>
|
|
42
|
+
<div class="node-list node-list--latest-content-list node-list--flush-x">
|
|
43
|
+
<div class="node-list__header">Preview #3<span class="small">(with/without teaser)</span></div>
|
|
44
|
+
</div>
|
|
45
|
+
<theme-card-deck-flow
|
|
46
|
+
cols=3
|
|
47
|
+
nodes=[creativeNode, creativeNode]
|
|
48
|
+
>
|
|
49
|
+
<@slot|{ node, index }|>
|
|
50
|
+
<if(index === 0)>
|
|
51
|
+
<theme-content-node
|
|
52
|
+
node=node
|
|
53
|
+
with-teaser=true
|
|
54
|
+
image-position="top"
|
|
55
|
+
card=true
|
|
56
|
+
flush=true
|
|
57
|
+
modifiers=["section-tag"]
|
|
58
|
+
>
|
|
59
|
+
<@image fluid=true width=330 ar="3:2" />
|
|
60
|
+
</theme-content-node>
|
|
61
|
+
</if>
|
|
62
|
+
<else>
|
|
63
|
+
<theme-content-node
|
|
64
|
+
node=node
|
|
65
|
+
with-teaser=false
|
|
66
|
+
image-position="top"
|
|
67
|
+
card=true
|
|
68
|
+
flush=true
|
|
69
|
+
modifiers=["section-tag"]
|
|
70
|
+
>
|
|
71
|
+
<@image fluid=true width=330 ar="3:2" />
|
|
72
|
+
</theme-content-node>
|
|
73
|
+
</else>
|
|
74
|
+
</@slot>
|
|
75
|
+
</theme-card-deck-flow>
|
|
76
|
+
</if>
|
|
77
|
+
</@section>
|
|
78
|
+
|
|
79
|
+
</theme-ad-preview-layout>
|