@tacc/core-styles 0.11.0 → 2.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/README.md +107 -85
- package/dist/branding_logos.css +1 -1
- package/dist/components/README.css +1 -1
- package/dist/components/admonition/demo.css +1 -0
- package/dist/components/admonition.css +1 -0
- package/dist/components/align/demo.css +1 -0
- package/dist/components/align.css +1 -0
- package/dist/components/bootstrap/bootstrap--form.demo.css +1 -0
- package/dist/components/bootstrap/bootstrap--modal.demo.css +1 -0
- package/dist/components/bootstrap/demo.css +1 -0
- package/dist/components/bootstrap.container.css +1 -1
- package/dist/components/bootstrap.css +1 -1
- package/dist/components/bootstrap.figure.css +1 -1
- package/dist/components/bootstrap.form.css +1 -1
- package/dist/components/bootstrap.modal.css +1 -1
- package/dist/components/bootstrap.pagination.css +1 -1
- package/dist/components/c-button/demo.css +1 -0
- package/dist/components/c-button.css +1 -1
- package/dist/components/c-callout.css +1 -1
- package/dist/components/c-card/c-card--frontera.demo.css +1 -0
- package/dist/components/c-card/c-card.demo.css +1 -0
- package/dist/components/c-card--frontera-about-page.css +1 -0
- package/dist/components/c-card.css +1 -1
- package/dist/components/c-card.selectors.css +1 -0
- package/dist/components/c-data-list.css +1 -1
- package/dist/components/c-footer.css +1 -1
- package/dist/components/c-form.css +1 -0
- package/dist/components/c-image-map.css +1 -1
- package/dist/components/c-image-map.skin.css +1 -1
- package/dist/components/c-image-map.structure.css +1 -1
- package/dist/components/c-message/demo.css +1 -0
- package/dist/components/c-message.css +1 -1
- package/dist/components/c-message.portal.css +1 -0
- package/dist/components/c-nav.css +1 -1
- package/dist/components/c-page.css +1 -1
- package/dist/components/c-recognition.css +1 -1
- package/dist/components/c-see-all-link.css +1 -1
- package/dist/components/c-show-more.css +1 -1
- package/dist/components/cortal.icon.css +1 -1
- package/dist/components/cortal.icon.font.css +1 -1
- package/dist/components/demo.css +1 -0
- package/dist/components/django-cms-forms.css +1 -0
- package/dist/components/django-cms-forms.hacks.css +1 -0
- package/dist/components/mui.tabs.css +1 -0
- package/dist/components/tacc-docs.css +1 -0
- package/dist/core-styles.base.css +4 -0
- package/dist/core-styles.cms.css +2 -0
- package/dist/core-styles.demo.css +2 -0
- package/dist/core-styles.docs.css +2 -0
- package/dist/core-styles.header.css +2 -0
- package/dist/core-styles.portal.css +2 -0
- package/dist/core-styles.settings.css +3 -0
- package/dist/elements/README.css +1 -1
- package/dist/elements/bootstrap.css +1 -1
- package/dist/elements/c-card.selectors.css +1 -0
- package/dist/elements/demo.css +1 -0
- package/dist/elements/form.cms.css +1 -1
- package/dist/elements/headings/demo.css +1 -0
- package/dist/elements/headings--cms.css +1 -0
- package/dist/elements/html-elements/demo.css +1 -0
- package/dist/elements/html-elements.cms.css +1 -1
- package/dist/elements/html-elements.css +1 -0
- package/dist/elements/html-elements.docs.css +1 -0
- package/dist/elements/links.css +1 -1
- package/dist/elements/monospace.css +1 -0
- package/dist/elements/root.css +1 -0
- package/dist/elements/sticky-footer.css +1 -0
- package/dist/elements/table--basic.css +1 -1
- package/dist/elements/table--nested.css +1 -1
- package/dist/elements/table.cms.css +1 -0
- package/dist/elements/table.css +1 -1
- package/dist/elements/table.selectors.css +1 -0
- package/dist/elements/tacc-search-bar.css +1 -1
- package/dist/fonts/BentonSans-Black.otf +0 -0
- package/dist/fonts/BentonSans-RegularItalic.otf +0 -0
- package/dist/fractal.server.refresh.css +1 -1
- package/dist/generics/README.css +1 -1
- package/dist/generics/fonts.css +1 -1
- package/dist/objects/README.css +1 -1
- package/dist/objects/o-fixed-header-table/demo.css +1 -0
- package/dist/objects/o-fixed-header-table.css +1 -1
- package/dist/objects/o-flex-item-table-wrap/demo.css +1 -0
- package/dist/objects/o-flex-item-table-wrap.css +1 -1
- package/dist/objects/o-float-content.css +1 -1
- package/dist/objects/o-grid.css +1 -1
- package/dist/objects/o-offset-content.css +1 -1
- package/dist/objects/o-section/demo.css +1 -0
- package/dist/objects/o-section.css +1 -1
- package/dist/objects/o-section.selectors.css +1 -0
- package/dist/objects/o-site.css +1 -1
- package/dist/objects/o-table-wrap/demo.basic.css +1 -0
- package/dist/objects/o-table-wrap/demo.extra.css +1 -0
- package/dist/objects/o-table-wrap/example.flexible-horz.css +1 -0
- package/dist/objects/o-table-wrap/example.overflow-hidden.css +1 -0
- package/dist/objects/o-table-wrap/example.overflow-scroll.css +1 -0
- package/dist/objects/o-table-wrap/o-table-wrap--flexible-horz.css +1 -0
- package/dist/objects/o-table-wrap/o-table-wrap--flexible-vert.css +1 -0
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-hidden.css +1 -0
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.css +1 -0
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll.css +1 -0
- package/dist/objects/o-table-wrap.css +1 -0
- package/dist/settings/README.css +1 -1
- package/dist/settings/border.css +1 -1
- package/dist/settings/color.css +1 -1
- package/dist/settings/demo.css +1 -0
- package/dist/settings/font/demo-family.css +1 -0
- package/dist/settings/font/demo-size.css +1 -0
- package/dist/settings/font/demo-style.css +1 -0
- package/dist/settings/font/demo-weight.css +1 -0
- package/dist/settings/font--cms.css +1 -0
- package/dist/settings/font--docs.css +1 -0
- package/dist/settings/font--portal.css +1 -0
- package/dist/settings/font.css +1 -1
- package/dist/settings/max-width.css +1 -1
- package/dist/settings/space.css +1 -1
- package/dist/tools/README.css +1 -1
- package/dist/tools/media-queries.css +1 -1
- package/dist/tools/selectors.common.css +1 -0
- package/dist/tools/selectors.css +1 -0
- package/dist/tools/selectors.monospace.css +1 -0
- package/dist/tools/x-article-link.css +1 -1
- package/dist/tools/x-center.css +1 -1
- package/dist/tools/x-fake-border.css +1 -1
- package/dist/tools/x-grid.css +1 -1
- package/dist/tools/x-layout.css +1 -1
- package/dist/tools/x-link.css +1 -1
- package/dist/tools/x-mailto-text-replace.css +1 -1
- package/dist/tools/x-overlay.css +1 -1
- package/dist/tools/x-truncate.css +1 -1
- package/dist/trumps/README.css +1 -1
- package/dist/trumps/demo.css +1 -0
- package/dist/trumps/s-affixed-input-wrapper.css +1 -1
- package/dist/trumps/s-article-list.css +1 -1
- package/dist/trumps/s-article-preview.css +1 -1
- package/dist/trumps/s-blockquote.css +1 -1
- package/dist/trumps/s-breadcrumbs.css +1 -1
- package/dist/trumps/s-cms-nav.css +1 -1
- package/dist/trumps/s-document.css +1 -1
- package/dist/trumps/s-footer.css +1 -1
- package/dist/trumps/s-guide-doc.css +1 -1
- package/dist/trumps/s-header.bootstrap.css +1 -0
- package/dist/trumps/s-header.css +1 -1
- package/dist/trumps/s-inline-dl.css +1 -1
- package/dist/trumps/s-irregular-links.css +1 -1
- package/dist/trumps/s-paragraph-table.css +1 -0
- package/dist/trumps/s-portal-nav.css +1 -1
- package/dist/trumps/s-style-guide.css +1 -1
- package/dist/trumps/s-system-specs.css +1 -1
- package/dist/trumps/tacc-search-bar.css +1 -1
- package/dist/trumps/u-empty.css +1 -1
- package/dist/trumps/u-hide.css +1 -1
- package/dist/trumps/u-mailto-text-replace.css +1 -1
- package/dist/trumps/u-nested-text-content.css +1 -1
- package/docs/index.md +13 -5
- package/docs/shortcuts/tables.md +7 -0
- package/fractal.config.js +56 -17
- package/package.json +12 -9
- package/src/.postcssrc.base.yml +12 -2
- package/src/bin/build.js +0 -1
- package/src/lib/_imports/_partials/blockquote.hbs +5 -0
- package/src/lib/_imports/_partials/figure.hbs +15 -0
- package/src/lib/_imports/_partials/img.hbs +5 -0
- package/src/lib/_imports/_partials/loremipsum-paragraphs.hbs +15 -0
- package/src/lib/_imports/_partials/text-and-link-no-href.hbs +1 -0
- package/src/lib/_imports/_partials/text-of-one-paragraph-long.hbs +1 -0
- package/src/lib/_imports/_partials/text-of-one-paragraph-medium.hbs +1 -0
- package/src/lib/_imports/_partials/text-of-one-paragraph-short.hbs +1 -0
- package/src/lib/_imports/_partials/text-of-one-paragraph-with-tags.hbs +1 -0
- package/src/lib/_imports/_partials/text-of-one-sentence.hbs +1 -0
- package/src/lib/_imports/_preview.hbs +111 -40
- package/src/lib/_imports/branding_logos.css +0 -2
- package/src/lib/_imports/components/admonition/admonition.hbs +39 -0
- package/src/lib/_imports/components/admonition/config.yml +2 -0
- package/src/lib/_imports/components/admonition/demo.css +5 -0
- package/src/lib/_imports/components/admonition/readme.md +14 -0
- package/src/lib/_imports/components/admonition.css +35 -0
- package/src/lib/_imports/components/align/align.hbs +51 -0
- package/src/lib/_imports/components/align/config.yml +3 -0
- package/src/lib/_imports/components/align/demo.css +7 -0
- package/src/lib/_imports/components/align/readme.md +31 -0
- package/src/lib/_imports/components/align.css +33 -0
- package/src/lib/_imports/components/bootstrap/bootstrap--container.hbs +1 -1
- package/src/lib/_imports/components/bootstrap/bootstrap--modal.hbs +1 -1
- package/src/lib/_imports/components/bootstrap/bootstrap--modal.readme.md +4 -0
- package/src/lib/_imports/components/bootstrap/config.yml +3 -7
- package/src/lib/_imports/components/bootstrap/{docs.css → demo.css} +2 -2
- package/src/lib/_imports/components/bootstrap.container.css +0 -1
- package/src/lib/_imports/components/bootstrap.form.css +0 -1
- package/src/lib/_imports/components/bootstrap.modal.css +3 -0
- package/src/lib/_imports/components/c-button/{docs.css → demo.css} +0 -5
- package/src/lib/_imports/components/c-button.css +9 -1
- package/src/lib/_imports/components/c-card/_c-card--many-variable.hbs +107 -0
- package/src/lib/_imports/components/c-card/_c-card--one-image.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--one-plain.hbs +4 -0
- package/src/lib/_imports/components/c-card/_c-card--one-standard.hbs +15 -0
- package/src/lib/_imports/components/c-card/_c-card--one-transparent.hbs +4 -0
- package/src/lib/_imports/components/c-card/_c-card--one-with-grid.hbs +26 -0
- package/src/lib/_imports/components/c-card/c-card--frontera.demo.css +5 -0
- package/src/lib/_imports/components/{c-card.html → c-card/c-card--frontera.hbs} +7 -6
- package/src/lib/_imports/components/c-card/c-card--frontera.readme.md +5 -0
- package/src/lib/_imports/components/c-card/c-card.demo.css +11 -0
- package/src/lib/_imports/components/c-card/c-card.hbs +36 -0
- package/src/lib/_imports/components/c-card/c-card.readme.md +33 -0
- package/src/lib/_imports/components/c-card/config.yml +23 -0
- package/src/lib/_imports/components/c-card--frontera-about-page.css +48 -0
- package/src/lib/_imports/components/c-card.css +165 -34
- package/src/lib/_imports/components/c-card.selectors.css +38 -0
- package/src/lib/_imports/components/c-data-list/config.yml +9 -0
- package/src/lib/_imports/components/c-data-list/description-list/config.yml +68 -0
- package/src/lib/_imports/components/c-data-list/description-list/description-list.hbs +4 -0
- package/src/lib/_imports/components/c-data-list/description-list/readme.md +8 -0
- package/src/lib/_imports/components/c-data-list/readme.md +8 -0
- package/src/lib/_imports/components/c-data-list/table/config.yml +68 -0
- package/src/lib/_imports/components/c-data-list/table/readme.md +12 -0
- package/src/lib/_imports/components/c-data-list/table/table.hbs +4 -0
- package/src/lib/_imports/components/c-data-list.css +125 -46
- package/src/lib/_imports/components/c-footer.css +3 -50
- package/src/lib/_imports/components/c-form/c-form.hbs +365 -0
- package/src/lib/_imports/components/c-form/config.yml +3 -0
- package/src/lib/_imports/components/c-form/readme.md +14 -0
- package/src/lib/_imports/components/c-form/toggle-field-errors.js +101 -0
- package/src/lib/_imports/components/c-form/toggle-required-fields.js +85 -0
- package/src/lib/_imports/components/c-form.css +176 -0
- package/src/lib/_imports/components/c-message/_c-message--classes.hbs +5 -0
- package/src/lib/_imports/components/c-message/_c-message--intro.hbs +1 -0
- package/src/lib/_imports/components/c-message/_c-message--single.hbs +3 -0
- package/src/lib/_imports/components/c-message/c-message--scope.hbs +15 -0
- package/src/lib/_imports/components/c-message/c-message--scope.readme.md +14 -0
- package/src/lib/_imports/components/c-message/c-message--type.hbs +15 -0
- package/src/lib/_imports/components/c-message/c-message--type.readme.md +12 -0
- package/src/lib/_imports/components/c-message/c-message.hbs +1 -0
- package/src/lib/_imports/components/c-message/config.yml +35 -0
- package/src/lib/_imports/components/c-message/demo.css +12 -0
- package/src/lib/_imports/components/c-message/readme.md +1 -0
- package/src/lib/_imports/components/c-message.css +97 -31
- package/src/lib/_imports/components/c-message.portal.css +5 -0
- package/src/lib/_imports/components/cortal.icon.css +54 -6
- package/src/lib/_imports/components/demo.css +40 -0
- package/src/lib/_imports/components/django-cms-forms/config.yml +6 -0
- package/src/lib/_imports/components/django-cms-forms/django-cms-forms.hbs +407 -0
- package/src/lib/_imports/components/django-cms-forms/readme.md +20 -0
- package/src/lib/_imports/components/django-cms-forms.css +187 -0
- package/src/lib/_imports/components/django-cms-forms.hacks.css +59 -0
- package/src/lib/_imports/components/mui.tabs.css +30 -0
- package/src/lib/_imports/components/tacc-docs/config.yml +3 -0
- package/src/lib/_imports/components/tacc-docs/readme.md +23 -0
- package/src/lib/_imports/components/tacc-docs/tacc-docs.hbs +43 -0
- package/src/lib/_imports/components/tacc-docs.css +11 -0
- package/src/lib/_imports/core-styles.base.css +49 -0
- package/src/lib/_imports/core-styles.cms.css +46 -0
- package/src/lib/_imports/core-styles.demo.css +23 -0
- package/src/lib/_imports/core-styles.docs.css +36 -0
- package/src/lib/_imports/core-styles.header.css +37 -0
- package/src/lib/_imports/core-styles.portal.css +28 -0
- package/src/lib/_imports/core-styles.settings.css +9 -0
- package/src/lib/_imports/elements/demo.css +92 -0
- package/src/lib/_imports/elements/dl/dl.hbs +6 -0
- package/src/lib/_imports/elements/form.cms/readme.md +16 -0
- package/src/lib/_imports/elements/form.cms.css +5 -23
- package/src/lib/_imports/elements/headings/config.yml +15 -0
- package/src/lib/_imports/elements/headings/demo.css +10 -0
- package/src/lib/_imports/elements/headings/headings--cms.hbs +18 -0
- package/src/lib/_imports/elements/headings/headings.hbs +12 -0
- package/src/lib/_imports/elements/headings/readme.md +12 -0
- package/src/lib/_imports/elements/headings--cms.css +70 -0
- package/src/lib/_imports/elements/html-elements/config.yml +12 -0
- package/src/lib/_imports/elements/html-elements/demo.css +5 -0
- package/src/lib/_imports/elements/html-elements/html-elements.hbs +83 -0
- package/src/lib/_imports/elements/html-elements/readme.md +1 -0
- package/src/lib/_imports/elements/html-elements.cms.css +44 -165
- package/src/lib/_imports/elements/html-elements.css +97 -0
- package/src/lib/_imports/elements/html-elements.docs.css +6 -0
- package/src/lib/_imports/elements/links/links.hbs +7 -1
- package/src/lib/_imports/elements/links.css +7 -3
- package/src/lib/_imports/elements/monospace/config.yml +12 -0
- package/src/lib/_imports/elements/monospace/monospace.hbs +60 -0
- package/src/lib/_imports/elements/monospace.css +95 -0
- package/src/lib/_imports/elements/root.css +41 -0
- package/src/lib/_imports/elements/sticky-footer.css +6 -0
- package/src/lib/_imports/elements/table/config.yml +123 -6
- package/src/lib/_imports/elements/table/table--via-paragraphs.hbs +22 -0
- package/src/lib/_imports/elements/table/table--via-paragraphs.readme.md +17 -0
- package/src/lib/_imports/elements/table/table.hbs +19 -3
- package/src/lib/_imports/elements/table--basic.css +49 -22
- package/src/lib/_imports/elements/table--nested.css +16 -5
- package/src/lib/_imports/elements/table.cms.css +22 -0
- package/src/lib/_imports/elements/table.selectors.css +3 -0
- package/src/lib/_imports/generics/fonts.css +21 -7
- package/src/lib/_imports/objects/o-fixed-header-table/config.yml +62 -0
- package/src/lib/_imports/objects/o-fixed-header-table/demo.css +17 -0
- package/src/lib/_imports/objects/o-fixed-header-table/o-fixed-header-table.hbs +16 -0
- package/src/lib/_imports/objects/o-fixed-header-table/readme.md +22 -0
- package/src/lib/_imports/objects/o-fixed-header-table.css +1 -27
- package/src/lib/_imports/objects/o-flex-item-table-wrap/config.yml +27 -0
- package/src/lib/_imports/objects/o-flex-item-table-wrap/demo.css +7 -0
- package/src/lib/_imports/objects/o-flex-item-table-wrap/o-flex-item-table-wrap.hbs +7 -0
- package/src/lib/_imports/objects/o-flex-item-table-wrap/readme.md +22 -0
- package/src/lib/_imports/objects/o-flex-item-table-wrap.css +0 -34
- package/src/lib/_imports/objects/o-float-content.css +0 -1
- package/src/lib/_imports/objects/o-grid.css +7 -0
- package/src/lib/_imports/objects/o-offset-content.css +16 -17
- package/src/lib/_imports/objects/o-section/_o-section--usage.hbs +1 -0
- package/src/lib/_imports/objects/o-section/config.yml +18 -0
- package/src/lib/_imports/objects/o-section/demo.css +8 -0
- package/src/lib/_imports/objects/o-section/o-section.hbs +57 -0
- package/src/lib/_imports/objects/o-section/readme.md +32 -0
- package/src/lib/_imports/objects/o-section.css +59 -104
- package/src/lib/_imports/objects/o-section.selectors.css +20 -0
- package/src/lib/_imports/objects/o-site.css +1 -0
- package/src/lib/_imports/objects/o-table-wrap/config.yml +84 -0
- package/src/lib/_imports/objects/o-table-wrap/demo.basic.css +18 -0
- package/src/lib/_imports/objects/o-table-wrap/demo.extra.css +31 -0
- package/src/lib/_imports/objects/o-table-wrap/example.flexible-horz.css +23 -0
- package/src/lib/_imports/objects/o-table-wrap/example.overflow-hidden.css +7 -0
- package/src/lib/_imports/objects/o-table-wrap/example.overflow-scroll.css +7 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.css +4 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.hbs +5 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.readme.md +20 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.css +3 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.hbs +5 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.readme.md +18 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.css +3 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.hbs +5 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.readme.md +14 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.css +2 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.hbs +18 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.readme.md +18 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.css +5 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.hbs +5 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.readme.md +20 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap.hbs +11 -0
- package/src/lib/_imports/objects/o-table-wrap/readme.md +24 -0
- package/src/lib/_imports/objects/o-table-wrap.css +5 -0
- package/src/lib/_imports/settings/_settings.config.yml +2 -0
- package/src/lib/_imports/settings/color.css +51 -11
- package/src/lib/_imports/settings/demo.css +5 -0
- package/src/lib/_imports/settings/font/_font--family.hbs +13 -0
- package/src/lib/_imports/settings/font/_font--size.hbs +5 -0
- package/src/lib/_imports/settings/font/_font--weight.hbs +33 -0
- package/src/lib/_imports/settings/font/config.yml +16 -0
- package/src/lib/_imports/settings/font/demo-family.css +10 -0
- package/src/lib/_imports/settings/font/demo-size.css +11 -0
- package/src/lib/_imports/settings/font/demo-style.css +2 -0
- package/src/lib/_imports/settings/font/demo-weight.css +20 -0
- package/src/lib/_imports/settings/font/font.hbs +39 -0
- package/src/lib/_imports/settings/font/readme.md +8 -0
- package/src/lib/_imports/settings/font--cms.css +17 -0
- package/src/lib/_imports/settings/font--docs.css +18 -0
- package/src/lib/_imports/settings/font--portal.css +17 -0
- package/src/lib/_imports/settings/font.css +11 -20
- package/src/lib/_imports/settings/space.css +6 -2
- package/src/lib/_imports/tools/selectors.common.css +13 -0
- package/src/lib/_imports/tools/selectors.css +20 -0
- package/src/lib/_imports/tools/selectors.monospace.css +64 -0
- package/src/lib/_imports/tools/x-link/readme.md +1 -0
- package/src/lib/_imports/tools/x-link/x-link.hbs +2 -0
- package/src/lib/_imports/tools/x-link.css +7 -3
- package/src/lib/_imports/{elements/links/docs.css → trumps/demo.css} +3 -2
- package/src/lib/_imports/trumps/s-affixed-input-wrapper/config.yml +3 -4
- package/src/lib/_imports/trumps/s-affixed-input-wrapper/s-affixed-input-wrapper.hbs +26 -24
- package/src/lib/_imports/trumps/s-affixed-input-wrapper.css +9 -11
- package/src/lib/_imports/trumps/s-blockquote/readme.md +12 -0
- package/src/lib/_imports/trumps/s-blockquote/s-blockquote.hbs +4 -0
- package/src/lib/_imports/trumps/s-blockquote.css +3 -25
- package/src/lib/_imports/trumps/s-breadcrumbs.css +18 -10
- package/src/lib/_imports/trumps/s-cms-nav.css +11 -0
- package/src/lib/_imports/trumps/s-guide-doc.css +0 -39
- package/src/lib/_imports/trumps/s-header.bootstrap.css +30 -0
- package/src/lib/_imports/trumps/s-header.css +2 -1
- package/src/lib/_imports/trumps/s-inline-dl.css +1 -0
- package/src/lib/_imports/trumps/s-irregular-links/config.yml +0 -7
- package/src/lib/_imports/trumps/s-irregular-links/s-irregular-links.hbs +15 -3
- package/src/lib/_imports/trumps/s-paragraph-table/config.yml +7 -0
- package/src/lib/_imports/trumps/s-paragraph-table/readme.md +17 -0
- package/src/lib/_imports/trumps/s-paragraph-table/s-paragraph-table.hbs +7 -0
- package/src/lib/_imports/trumps/s-paragraph-table.css +3 -0
- package/src/lib/_imports/trumps/s-portal-nav.css +11 -1
- package/src/lib/_imports/trumps/u-empty.css +4 -0
- package/src/lib/_imports/trumps/u-mailto-text-replace/config.yml +0 -3
- package/src/lib/_imports/trumps/u-mailto-text-replace/readme.md +1 -1
- package/src/lib/fonts/BentonSans-Black.otf +0 -0
- package/src/lib/fonts/BentonSans-RegularItalic.otf +0 -0
- package/dist/components/bootstrap/bootstrap--form.docs.css +0 -1
- package/dist/components/bootstrap/bootstrap--modal.docs.css +0 -1
- package/dist/components/bootstrap/bootstrap.modal/docs.css +0 -1
- package/dist/components/bootstrap/docs.css +0 -1
- package/dist/components/bootstrap/portal/bootstrap.form/docs.css +0 -1
- package/dist/components/bootstrap--container.css +0 -1
- package/dist/components/bootstrap--form/docs.css +0 -1
- package/dist/components/bootstrap--form.css +0 -1
- package/dist/components/bootstrap--modal/docs.css +0 -1
- package/dist/components/bootstrap--modal.css +0 -1
- package/dist/components/bootstrap.form/docs.css +0 -1
- package/dist/components/bootstrap.modal/docs.css +0 -1
- package/dist/components/c-button/docs.css +0 -1
- package/dist/elements/links/docs.css +0 -1
- package/dist/elements/table/docs.css +0 -1
- package/dist/elements/table/table.docs.css +0 -1
- package/dist/elements/table copy.css +0 -1
- package/dist/fonts/fonts/BentonSans-Bold.otf +0 -0
- package/dist/fonts/fonts/BentonSans-Medium.otf +0 -0
- package/dist/fonts/fonts/BentonSans-MediumItalic.otf +0 -0
- package/dist/fonts/fonts/BentonSans-Regular.otf +0 -0
- package/dist/fractal.server.css +0 -1
- package/dist/fractal.server.reload.css +0 -1
- package/dist/tools/x-link/docs.css +0 -1
- package/dist/trumps/icon.css +0 -1
- package/dist/trumps/icon.fonts.css +0 -1
- package/src/lib/_imports/_partials/bootstrap.css.hbs +0 -1
- package/src/lib/_imports/_partials/bootstrap.js.hbs +0 -2
- package/src/lib/_imports/_partials/cms.css.hbs +0 -3
- package/src/lib/_imports/_partials/css.hbs +0 -27
- package/src/lib/_imports/_partials/loremipsum.hbs +0 -18
- package/src/lib/_imports/_partials/text-of-one-paragraph.hbs +0 -1
- package/src/lib/_imports/_preview.bootstrap-cms.hbs +0 -5
- package/src/lib/_imports/_preview.bootstrap.hbs +0 -5
- package/src/lib/_imports/_preview.cms.hbs +0 -3
- package/src/lib/_imports/components/c-data-list.html +0 -131
- package/src/lib/_imports/elements/links/config.yml +0 -3
- package/src/lib/_imports/objects/o-section.html +0 -134
- package/src/lib/_imports/tools/x-link/docs.css +0 -6
- package/src/lib/_imports/trumps/icon.css +0 -31
- package/src/lib/_imports/trumps/icon.fonts.css +0 -316
- /package/src/lib/_imports/components/bootstrap/{bootstrap--form.docs.css → bootstrap--form.demo.css} +0 -0
- /package/src/lib/_imports/components/bootstrap/{bootstrap--modal.docs.css → bootstrap--modal.demo.css} +0 -0
- /package/src/lib/_imports/elements/table/{table--paragraph.readme.md → table--with-paragraphs.readme.md} +0 -0
- /package/src/lib/_imports/trumps/s-affixed-input-wrapper/{readme.md → README.md} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
label: (Portal) O Flex Item Table Wrap
|
|
2
|
+
order: 2
|
|
3
|
+
status: deprecated
|
|
4
|
+
context:
|
|
5
|
+
data:
|
|
6
|
+
cols:
|
|
7
|
+
- ID
|
|
8
|
+
- Name
|
|
9
|
+
- Description
|
|
10
|
+
- Size
|
|
11
|
+
- Time
|
|
12
|
+
rows:
|
|
13
|
+
- id: n234as
|
|
14
|
+
name: apple-sauce
|
|
15
|
+
sentence: true
|
|
16
|
+
custom-1: 0.5 KB
|
|
17
|
+
time: 12/01/2019 11:04:19
|
|
18
|
+
- id: 56l810
|
|
19
|
+
name: milk-shake-032
|
|
20
|
+
sentence: true
|
|
21
|
+
custom-1: 300.0 KB
|
|
22
|
+
time: 03/22/2021 05:23:01
|
|
23
|
+
- id: 3r56xc
|
|
24
|
+
name: white-candy-5
|
|
25
|
+
sentence: true
|
|
26
|
+
custom-1: 1.5 MB
|
|
27
|
+
time: 12/01/2019 11:04:19
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Make [table]({{path './table' }}) behave like a flex item, for a specific CEPv2 Portal use case.
|
|
2
|
+
|
|
3
|
+
> **?⃝ Explanation**
|
|
4
|
+
>
|
|
5
|
+
> A `<table>` can **not** be a flex item. The trick is to [wrap the table in a `<div>`][source].
|
|
6
|
+
|
|
7
|
+
> **ⓘ Notice**
|
|
8
|
+
>
|
|
9
|
+
> This class can **only** be used on a table wrapper.
|
|
10
|
+
|
|
11
|
+
> **⚠️ Important**
|
|
12
|
+
>
|
|
13
|
+
> This class was used by CEPv2 Portal for a specific use case. It is not generic. Use or reference [`.o-flexible-table-wrap`]({{path './o-flexible-table-wrap' }}) for generic use cases.
|
|
14
|
+
|
|
15
|
+
[source]: https://stackoverflow.com/a/41421700/11817077 "Stack Overflow: Why does flex-box work with a div, but not a table?"
|
|
16
|
+
|
|
17
|
+
<script>
|
|
18
|
+
/* To open external links in new window */
|
|
19
|
+
Array.from(document.links)
|
|
20
|
+
.filter(link => link.hostname != window.location.hostname)
|
|
21
|
+
.forEach(link => link.target = '_blank');
|
|
22
|
+
</script>
|
|
@@ -1,37 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Flex-Item Table-Wrap
|
|
3
|
-
|
|
4
|
-
A wrapper to allow a table to behave like a flex item (because a `<table>` can __not__ be a flex item).
|
|
5
|
-
|
|
6
|
-
Reference:
|
|
7
|
-
- [Why does flex-box work with a div, but not a table?](https://stackoverflow.com/q/41421512/11817077))
|
|
8
|
-
|
|
9
|
-
Markup:
|
|
10
|
-
<section style="display: flex; flex-direction: column">
|
|
11
|
-
<header>Section Title</header>
|
|
12
|
-
<p>Section/Table Description</p>
|
|
13
|
-
<div class="o-flex-item-table-wrap">
|
|
14
|
-
<table>
|
|
15
|
-
<thead>
|
|
16
|
-
<tr>
|
|
17
|
-
<th>A</th>
|
|
18
|
-
<th>B</th>
|
|
19
|
-
<th>C</th>
|
|
20
|
-
</tr>
|
|
21
|
-
</thead>
|
|
22
|
-
<tbody>
|
|
23
|
-
<tr>
|
|
24
|
-
<td>A</td>
|
|
25
|
-
<td>B</td>
|
|
26
|
-
<td>C</td>
|
|
27
|
-
</tr>
|
|
28
|
-
</thead>
|
|
29
|
-
</table>
|
|
30
|
-
</div>
|
|
31
|
-
</section>
|
|
32
|
-
|
|
33
|
-
Styleguide Objects.FlexItemTableWrap
|
|
34
|
-
*/
|
|
35
1
|
/* Constrain stretched <table>'s position and dimension */
|
|
36
2
|
.o-flex-item-table-wrap {
|
|
37
3
|
/* Ensure wrapper has dimensions (which will be remaining space in parent) */
|
|
@@ -47,6 +47,13 @@ Styleguide Objects.Grid
|
|
|
47
47
|
max-width: 100%;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
/* Avoid figure size shrinking */
|
|
51
|
+
/* HELP: Why does this happen to figure only inside a gid? */
|
|
52
|
+
/* SEE: components/c-card--frontera/c-card--frontera.hbs */
|
|
53
|
+
.o-grid figure {
|
|
54
|
+
width: unset; /* undo html-elements.css */
|
|
55
|
+
}
|
|
56
|
+
|
|
50
57
|
/* Hide content that does exceed cell size */
|
|
51
58
|
.o-grid > * {
|
|
52
59
|
overflow: hidden;
|
|
@@ -9,19 +9,15 @@ Styleguide Objects.OffsetContent
|
|
|
9
9
|
*/
|
|
10
10
|
@import url("../tools/media-queries.css");
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
@custom-selector :--o-offset-content
|
|
15
|
-
.o-offset-content--left,
|
|
16
|
-
.o-offset-content--right;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
:--o-offset-content {
|
|
12
|
+
.o-offset-content--left,
|
|
13
|
+
.o-offset-content--right {
|
|
21
14
|
--offset-distance: min(15vw, 410px);
|
|
22
15
|
--buffer: calc( 2 * var(--global-space--grid-gap) );
|
|
16
|
+
|
|
17
|
+
max-width: 85%;
|
|
23
18
|
}
|
|
24
19
|
|
|
20
|
+
/* To merely float content on narrow screens */
|
|
25
21
|
@media only screen and (--medium-and-above) {
|
|
26
22
|
.o-offset-content--right {
|
|
27
23
|
float: right;
|
|
@@ -35,15 +31,18 @@ Styleguide Objects.OffsetContent
|
|
|
35
31
|
}
|
|
36
32
|
.o-offset-content--left + .o-offset-content--left { clear: left; }
|
|
37
33
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
.figure:is(
|
|
35
|
+
.o-offset-content--left,
|
|
36
|
+
.o-offset-content--right
|
|
37
|
+
) .figure-caption {
|
|
38
|
+
padding-right: 125px;
|
|
39
|
+
}
|
|
41
40
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
|
|
42
|
+
/* To offset content only on wide screens */
|
|
43
|
+
/* HELP: Do designers want to prevent offset on mega-wide screens */
|
|
44
|
+
/* FAQ: M.S. did on texascale.org but that may have been only for that site */
|
|
45
|
+
@media only screen and (--medium-and-above)/* and (--max-wide-and-below) */{
|
|
47
46
|
.o-offset-content--right {
|
|
48
47
|
margin-right: calc( var(--offset-distance) * -1);
|
|
49
48
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
To highlight a row of content with extra spacing.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
context:
|
|
2
|
+
shouldLoadCMS: true
|
|
3
|
+
📝 shouldLoadCMS: this pattern is not intended nor expected for use beyond CMS
|
|
4
|
+
shouldLoadBootstrap: true
|
|
5
|
+
📝 shouldLoadBootstrap: so we can test .container.o-section combo
|
|
6
|
+
variants:
|
|
7
|
+
- name: style-light
|
|
8
|
+
label: (Style) Light
|
|
9
|
+
context:
|
|
10
|
+
modifier: style-light
|
|
11
|
+
- name: style-muted
|
|
12
|
+
label: (Style) Muted
|
|
13
|
+
context:
|
|
14
|
+
modifier: style-muted
|
|
15
|
+
- name: style-dark
|
|
16
|
+
label: (Style) Dark
|
|
17
|
+
context:
|
|
18
|
+
modifier: style-dark
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* This CSS is ONLY for the pattern library. It is NOT part of the pattern. */
|
|
2
|
+
|
|
3
|
+
/* To add bottom space that will actually show up demo */
|
|
4
|
+
/* https://github.com/TACC/Core-Styles/blob/823b7b9/src/lib/_imports/elements/html-elements.css#L61-L63 */
|
|
5
|
+
body > main {
|
|
6
|
+
margin-bottom: unset;
|
|
7
|
+
padding-bottom: var(--global-space--section-gap);
|
|
8
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
|
|
2
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
3
|
+
<h2>Section</h2>
|
|
4
|
+
{{render '@o-section--usage'}}
|
|
5
|
+
</section>
|
|
6
|
+
|
|
7
|
+
<hr />
|
|
8
|
+
|
|
9
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
10
|
+
<h2>Section (First of a Pair)</h2>
|
|
11
|
+
<p>{{> @text-of-one-paragraph-medium }}</p>
|
|
12
|
+
</section>
|
|
13
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
14
|
+
<h2>Section (Second of a Pair)</h2>
|
|
15
|
+
<p>{{> @text-of-one-paragraph-medium }}</p>
|
|
16
|
+
</section>
|
|
17
|
+
|
|
18
|
+
<hr />
|
|
19
|
+
|
|
20
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
21
|
+
<h2>Section (before Muted Section)</h2>
|
|
22
|
+
<p>{{> @text-of-one-paragraph-medium }}</p>
|
|
23
|
+
</section>
|
|
24
|
+
<section class="o-section o-section--style-muted">
|
|
25
|
+
<h2>Muted Section</h2>
|
|
26
|
+
<p>{{> @text-of-one-paragraph-medium }}</p>
|
|
27
|
+
</section>
|
|
28
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
29
|
+
<h2>Section (after Muted Section)</h2>
|
|
30
|
+
<p>{{> @text-of-one-paragraph-medium }}</p>
|
|
31
|
+
</section>
|
|
32
|
+
|
|
33
|
+
<hr />
|
|
34
|
+
|
|
35
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
36
|
+
<h2>Section (with Nested Sections)</h2>
|
|
37
|
+
<p>⚠️ These are not used in any design. They are minimally supported only to prevent layouts from breaking if accidentally used.</p>
|
|
38
|
+
<div class="o-section o-section--style-dark">
|
|
39
|
+
<h3>(Nested) Dark Section</h3>
|
|
40
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="o-section o-section--style-muted">
|
|
43
|
+
<h3>(Nested) Muted Section</h3>
|
|
44
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="o-section o-section--style-light">
|
|
47
|
+
<h3>(Nested) Light Section</h3>
|
|
48
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
49
|
+
</div>
|
|
50
|
+
</section>
|
|
51
|
+
|
|
52
|
+
<hr />
|
|
53
|
+
|
|
54
|
+
<section class="o-section o-section--{{this._self.name}}">
|
|
55
|
+
<h2>Section (at Bottom of Page)</h2>
|
|
56
|
+
<p>At the bottom of a CMS page: a <strong>light</strong> Section will stand out above the Footer, a <strong>muted</strong> Section will stand out above the Footer, a <strong>dark</strong> Section will visually merge with the Footer.</p>
|
|
57
|
+
</section>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Add space between major blocks of content. {{render '@o-section--usage'}} A [`<section>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section) is suitable for these wrappers.
|
|
2
|
+
|
|
3
|
+
> **ⓘ Notice**
|
|
4
|
+
>
|
|
5
|
+
> Default sections use margin. Styled sections use padding.
|
|
6
|
+
|
|
7
|
+
| Class (Std.) | Class (Alt.) | Description
|
|
8
|
+
| - | - | - |
|
|
9
|
+
| `.o-section` | `.section` | give extra space to content
|
|
10
|
+
| `.o-section--style-...` | `.section--...` | add full-width background
|
|
11
|
+
| `.o-section--style-light` | `.section--light` | __gently__ highlight content
|
|
12
|
+
| `.o-section--style-muted` | `.section--muted` | __clearly__ highlight content
|
|
13
|
+
| `.o-section--style-dark` | `.section--dark` | __strongly__ highlight content
|
|
14
|
+
|
|
15
|
+
Older features are not illustrated in the demo:
|
|
16
|
+
|
|
17
|
+
| Class (Old) | Description
|
|
18
|
+
| - | - |
|
|
19
|
+
| `.o-section--banner` | has a banner image
|
|
20
|
+
| `.o-section--intro` | utility to hide empty (was only used on Frontera)
|
|
21
|
+
| `.o-section--layout-...` | lays out child elements (is only used on Frontera)
|
|
22
|
+
| `.o-section--layout-a` | (on wider screens) 2 even columns
|
|
23
|
+
| `.o-section--layout-b` | (on wider screens) 1 wide column & 1 narrow column
|
|
24
|
+
| `.o-section--layout-c` | (on wider screens) 1 narrow column & 1 wide column
|
|
25
|
+
| `.o-section--layout-d` | (on wider screens) 3 even columns
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
/* To open external links in new window */
|
|
29
|
+
Array.from(document.links)
|
|
30
|
+
.filter(link => link.hostname != window.location.hostname)
|
|
31
|
+
.forEach(link => link.target = '_blank');
|
|
32
|
+
</script>
|
|
@@ -1,40 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Section
|
|
3
|
-
|
|
4
|
-
A group of related content.
|
|
5
|
-
|
|
6
|
-
_Nested sections are an afterthought. No official design uses them._
|
|
7
|
-
|
|
8
|
-
To Do:
|
|
9
|
-
<details><summary>FP-1463: Extract layout pattern</summary>
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
.o-section--layout-a - lay out children as two even columns
|
|
13
|
-
.o-section--layout-b - lay out children as one wide column & one narrow column
|
|
14
|
-
.o-section--layout-c - lay out children as one narrow column & one wide column
|
|
15
|
-
.o-section--layout-d - lay out children as three even
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
</details>
|
|
19
|
-
<details><summary>FP-1462: Extract banner pattern</summary>
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
.o-section--banner - add banner with background image, overlay, then content
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
</details>
|
|
26
|
-
|
|
27
|
-
.o-section--style-light - light background, dark text
|
|
28
|
-
.o-section--style-muted - dull light background, dark text
|
|
29
|
-
.o-section--style-dark - dark background, light text
|
|
30
|
-
|
|
31
|
-
Markup: o-section.html
|
|
32
|
-
|
|
33
|
-
Styleguide Objects.Section
|
|
34
|
-
*/
|
|
35
|
-
@import url("../tools/media-queries.css");
|
|
36
1
|
@import url("../tools/x-layout.css");
|
|
37
|
-
@import url("../
|
|
2
|
+
@import url("../components/c-card.selectors.css");
|
|
3
|
+
|
|
4
|
+
@import url("./o-section.selectors.css");
|
|
38
5
|
|
|
39
6
|
|
|
40
7
|
|
|
@@ -42,19 +9,30 @@ Styleguide Objects.Section
|
|
|
42
9
|
|
|
43
10
|
/* Block */
|
|
44
11
|
|
|
45
|
-
|
|
46
|
-
/*
|
|
47
|
-
|
|
12
|
+
:--o-section {
|
|
13
|
+
/* Estimates from varying spacing in design specs:
|
|
14
|
+
- TACC Site Mockups
|
|
15
|
+
- CMS-Common-Components
|
|
16
|
+
*/
|
|
17
|
+
--margin-block: var(--global-space--section-gap); /* 60px */
|
|
18
|
+
--padding-top: 50px;
|
|
19
|
+
--padding-bottom: 50px;
|
|
20
|
+
}
|
|
48
21
|
|
|
49
|
-
|
|
22
|
+
/* Basic blocks use margin, for intuitive usage */
|
|
23
|
+
:--o-section:not(:--o-section--style) {
|
|
24
|
+
margin-block: var(--margin-block);
|
|
50
25
|
}
|
|
51
|
-
/* To distinguish nested sections */
|
|
52
|
-
.o-section .o-section {
|
|
53
|
-
padding-block: 1em;
|
|
54
26
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
27
|
+
/* Modified blocks use padding, to support backgrounds */
|
|
28
|
+
:--o-section--style {
|
|
29
|
+
padding-block: var(--padding-top) var(--padding-bottom);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* To distinguish nested sections */
|
|
33
|
+
:--o-section :--o-section {
|
|
34
|
+
padding: var(--padding-top);
|
|
35
|
+
margin-inline: calc(-1 * var(--padding-top));
|
|
58
36
|
}
|
|
59
37
|
|
|
60
38
|
|
|
@@ -70,7 +48,7 @@ Styleguide Objects.Section
|
|
|
70
48
|
.o-section--banner { overflow: hidden; }
|
|
71
49
|
.o-section--banner [class*="o-section--layout"] { gap: 0; }
|
|
72
50
|
.o-section--banner .container { padding-inline: 0; }
|
|
73
|
-
.o-section--banner
|
|
51
|
+
.o-section--banner:--o-section { padding-block: 0; }
|
|
74
52
|
|
|
75
53
|
|
|
76
54
|
|
|
@@ -91,22 +69,22 @@ Styleguide Objects.Section
|
|
|
91
69
|
|
|
92
70
|
/* Modifers: Style: Options */
|
|
93
71
|
|
|
94
|
-
|
|
95
|
-
--color--text: var(--global-color-primary--dark);
|
|
72
|
+
:--o-section--light {
|
|
73
|
+
--color--text: var(--global-color-primary--x-dark);
|
|
96
74
|
--color--text-strong: var(--global-color-primary--xx-dark);
|
|
97
75
|
--color--bkgd: var(--global-color-primary--xx-light);
|
|
98
76
|
--color--line: var(--global-color-primary--normal);
|
|
99
77
|
--color--link: var(--global-color-link-on-light--normal);
|
|
100
78
|
}
|
|
101
|
-
|
|
79
|
+
:--o-section--muted {
|
|
102
80
|
--color--text: var(--global-color-primary--x-dark);
|
|
103
81
|
--color--text-strong: var(--global-color-primary--xx-dark);
|
|
104
82
|
--color--bkgd: var(--global-color-primary--x-light);
|
|
105
83
|
--color--line: var(--global-color-primary--dark);
|
|
106
84
|
--color--link: var(--global-color-link-on-light--normal);
|
|
107
85
|
}
|
|
108
|
-
|
|
109
|
-
--color--text: var(--global-color-primary--
|
|
86
|
+
:--o-section--dark {
|
|
87
|
+
--color--text: var(--global-color-primary--xx-light);
|
|
110
88
|
--color--text-strong: var(--global-color-primary--xx-light);
|
|
111
89
|
--color--bkgd: var(--global-color-primary--xx-dark);
|
|
112
90
|
--color--line: var(--global-color-primary--xx-light);
|
|
@@ -115,8 +93,7 @@ Styleguide Objects.Section
|
|
|
115
93
|
|
|
116
94
|
/* Modifers: Style: Text & Background */
|
|
117
95
|
|
|
118
|
-
|
|
119
|
-
--line-width: var(--global-border-width--normal);
|
|
96
|
+
:--o-section--style {
|
|
120
97
|
--box-shadow--fake-bkgd: 50vw 0 var(--color--bkgd),
|
|
121
98
|
-50vw 0 var(--color--bkgd);
|
|
122
99
|
|
|
@@ -125,55 +102,25 @@ Styleguide Objects.Section
|
|
|
125
102
|
box-shadow: var(--box-shadow--fake-bkgd);
|
|
126
103
|
}
|
|
127
104
|
/* Nested sections must not stretch to page edge */
|
|
128
|
-
|
|
105
|
+
:--o-section--style :--o-section--style {
|
|
129
106
|
box-shadow: none;
|
|
130
107
|
}
|
|
131
108
|
|
|
132
|
-
/* Modifers: Style: Line Between Matching Sections */
|
|
133
|
-
|
|
134
|
-
/* Pure sections can use just a border */
|
|
135
|
-
.o-section--style-light + .o-section--style-light:not(.container),
|
|
136
|
-
.o-section--style-dark + .o-section--style-dark:not(.container) {
|
|
137
|
-
border-top: var(--line-width) solid var(--color--line);
|
|
138
|
-
}
|
|
139
|
-
/* any muted section */ .o-section--style-muted {
|
|
140
|
-
border-top: var(--line-width) solid var(--color--line);
|
|
141
|
-
border-bottom: var(--line-width) solid var(--color--line);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/* Muted sections have border that extends to page edges (like background) */
|
|
145
|
-
.o-section--style-muted {
|
|
146
|
-
--box-shadow--fake-bkgd:
|
|
147
|
-
/* re-build fake background but shorter by two lines' widths */
|
|
148
|
-
50vw 0 0 calc(-1 * var(--line-width)) var(--color--bkgd),
|
|
149
|
-
-50vw 0 0 calc(-1 * var(--line-width)) var(--color--bkgd),
|
|
150
|
-
/* fake top border to page edges using mostly-hidden fake background */
|
|
151
|
-
33vw 0 var(--color--line),
|
|
152
|
-
-33vw 0 var(--color--line),
|
|
153
|
-
/* fake bottom border to page edges using mostly-hidden fake background */
|
|
154
|
-
33vw 0px var(--color--line),
|
|
155
|
-
-33vw 0px var(--color--line);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/* Container-based light and dark sections need a border that ignores padding */
|
|
159
|
-
.o-section--style-light + .o-section--style-light.container,
|
|
160
|
-
.o-section--style-dark + .o-section--style-dark.container {
|
|
161
|
-
@extend %x-fake-border--inset-horz-top;
|
|
162
|
-
|
|
163
|
-
--fb--line-width: var(--global-border-width--normal);
|
|
164
|
-
--fb--line-color: var(--color--line);
|
|
165
|
-
--fb--inset-width: var(--global-space--grid-gap);
|
|
166
|
-
--fb--inset-color: var(--color--bkgd);
|
|
167
|
-
|
|
168
|
-
--fb--shadow-below: var(--box-shadow--fake-bkgd);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
109
|
/* Modifers: Style: Child Text */
|
|
172
110
|
|
|
173
|
-
|
|
111
|
+
/* To color links, but not those within a nested pattern */
|
|
112
|
+
:--o-section--style a:not(
|
|
113
|
+
:--c-card--plain *,
|
|
114
|
+
:--c-card--standard *,
|
|
115
|
+
:--c-card--standard-N *
|
|
116
|
+
) {
|
|
174
117
|
color: var(--color--link);
|
|
175
118
|
}
|
|
176
|
-
|
|
119
|
+
:--o-section--style :is(h1, h2, h3, h4, h5, h6):not(
|
|
120
|
+
:--c-card--plain *,
|
|
121
|
+
:--c-card--standard *,
|
|
122
|
+
:--c-card--standard-N *
|
|
123
|
+
) {
|
|
177
124
|
color: var(--color--text-strong);
|
|
178
125
|
}
|
|
179
126
|
|
|
@@ -201,7 +148,7 @@ Styleguide Objects.Section
|
|
|
201
148
|
/* Modifers: Banner */
|
|
202
149
|
/* FP-1462: Extract to new banner component(s) */
|
|
203
150
|
|
|
204
|
-
|
|
151
|
+
:--o-section--style.o-section--banner + :--o-section--style {
|
|
205
152
|
box-shadow: var(--box-shadow--fake-bkgd);
|
|
206
153
|
}
|
|
207
154
|
|
|
@@ -217,7 +164,7 @@ Styleguide Objects.Section
|
|
|
217
164
|
/* FP-1462: Extract to new banner component(s) */
|
|
218
165
|
|
|
219
166
|
/* Added `.o-section--banner` to require parent modifier class in markup */
|
|
220
|
-
.o-section--banner
|
|
167
|
+
.o-section--banner :--o-section__banner-image {
|
|
221
168
|
|
|
222
169
|
/* To size image to cover section dimensions but maintain ratio */
|
|
223
170
|
/* CAVEAT: This causes image to overflow beyond section */
|
|
@@ -241,7 +188,7 @@ Styleguide Objects.Section
|
|
|
241
188
|
/* FP-1462: Extract to new banner component(s) */
|
|
242
189
|
|
|
243
190
|
/* Added `.o-section--banner` to require parent modifier class in markup */
|
|
244
|
-
.o-section--banner
|
|
191
|
+
.o-section--banner :--o-section__banner-overlay {
|
|
245
192
|
position: relative;
|
|
246
193
|
z-index: 2;
|
|
247
194
|
}
|
|
@@ -259,9 +206,17 @@ Styleguide Objects.Section
|
|
|
259
206
|
/* To prevent visibly extra space beneath certain sections and footer */
|
|
260
207
|
/* FAQ: "extra space" is margin (from <main>) between section and <footer> */
|
|
261
208
|
/* FAQ: 'last-of-type' not 'last-child' cuz hidden elements */
|
|
262
|
-
main > .container
|
|
263
|
-
main > .container >
|
|
264
|
-
main > .container
|
|
265
|
-
main > .container >
|
|
266
|
-
margin-bottom: calc( -1 * var(--
|
|
209
|
+
main > .container:--o-section--light:last-of-type,
|
|
210
|
+
main > .container > :--o-section--light:last-of-type,
|
|
211
|
+
main > .container:--o-section--dark:last-of-type,
|
|
212
|
+
main > .container > :--o-section--dark:last-of-type {
|
|
213
|
+
margin-bottom: calc( -1 * var(--global-space--section-gap) );
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Tricks: Children */
|
|
217
|
+
|
|
218
|
+
/* To hide margin that is likely undesirable */
|
|
219
|
+
/* WARNING: This "feature" was not reviewed by design */
|
|
220
|
+
:--o-section > *:last-child {
|
|
221
|
+
margin-bottom: 0;
|
|
267
222
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@custom-selector :--o-section
|
|
2
|
+
.o-section,
|
|
3
|
+
.section,
|
|
4
|
+
[class*="section--"];
|
|
5
|
+
@custom-selector :--o-section--root
|
|
6
|
+
.o-section:not([class*="o-section--"]),
|
|
7
|
+
.section;
|
|
8
|
+
@custom-selector :--o-section--style
|
|
9
|
+
:--o-section--light,
|
|
10
|
+
:--o-section--muted,
|
|
11
|
+
:--o-section--dark;
|
|
12
|
+
@custom-selector :--o-section--light
|
|
13
|
+
.o-section--style-light,
|
|
14
|
+
.section--dark;
|
|
15
|
+
@custom-selector :--o-section--muted
|
|
16
|
+
.o-section--style-muted,
|
|
17
|
+
.section--muted;
|
|
18
|
+
@custom-selector :--o-section--dark
|
|
19
|
+
.o-section--style-dark,
|
|
20
|
+
.section--dark;
|
|
@@ -13,6 +13,7 @@ Styleguide Objects.Site
|
|
|
13
13
|
/* IDEA: Use or add grid solution */
|
|
14
14
|
/* https://github.com/DesignSafe-CI/portal/blob/215915c/designsafe/static/styles/main.css#L935 */
|
|
15
15
|
|
|
16
|
+
/* WARNING: Some clients have their own implementation of this pattern */
|
|
16
17
|
/*
|
|
17
18
|
.o-site {
|
|
18
19
|
display: grid;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
order: 1
|
|
2
|
+
variants:
|
|
3
|
+
- name: flexible-horz
|
|
4
|
+
label: Flexible, Horz.
|
|
5
|
+
- name: flexible-vert
|
|
6
|
+
label: Flexible, Vert.
|
|
7
|
+
- name: overflow-hidden
|
|
8
|
+
label: Overflow Hidden
|
|
9
|
+
- name: overflow-scroll
|
|
10
|
+
label: Overflow Scroll
|
|
11
|
+
- name: overflow-scroll-extra
|
|
12
|
+
label: Overflow Scroll (Extra)
|
|
13
|
+
context:
|
|
14
|
+
data:
|
|
15
|
+
cols:
|
|
16
|
+
- ID
|
|
17
|
+
- Name
|
|
18
|
+
# - Description
|
|
19
|
+
- Size
|
|
20
|
+
- Time
|
|
21
|
+
rows:
|
|
22
|
+
- id: n234as
|
|
23
|
+
name: apple-sauce
|
|
24
|
+
# sentence: true
|
|
25
|
+
custom-1: 0.5 KB
|
|
26
|
+
time: 12/01/2019 11:04:19
|
|
27
|
+
- id: 56l810
|
|
28
|
+
name: milk-shake-032
|
|
29
|
+
# sentence: true
|
|
30
|
+
custom-1: 300.0 KB
|
|
31
|
+
time: 03/22/2021 05:23:01
|
|
32
|
+
- id: 3r56xc
|
|
33
|
+
name: white-candy-5
|
|
34
|
+
# sentence: true
|
|
35
|
+
custom-1: 1.5 MB
|
|
36
|
+
time: 12/01/2019 11:04:19
|
|
37
|
+
- id: 7ysnw3
|
|
38
|
+
name: butter-balls
|
|
39
|
+
# sentence: true
|
|
40
|
+
custom-1: 0.5 KB
|
|
41
|
+
time: 09/11/2010 10:54:09
|
|
42
|
+
- id: 20ksdf
|
|
43
|
+
name: lemon-cookies-30
|
|
44
|
+
# sentence: true
|
|
45
|
+
custom-1: 250.0 MB
|
|
46
|
+
time: 04/20/2020 15:03:10
|
|
47
|
+
context:
|
|
48
|
+
shouldLoadBootstrap: true
|
|
49
|
+
📝 shouldLoadBootstrap: >-
|
|
50
|
+
not yet tested without Bootstrap
|
|
51
|
+
(known dependencies: <caption> font color)
|
|
52
|
+
data:
|
|
53
|
+
cols:
|
|
54
|
+
- ID
|
|
55
|
+
- Name
|
|
56
|
+
- Description
|
|
57
|
+
- Size
|
|
58
|
+
- Time
|
|
59
|
+
rows:
|
|
60
|
+
- id: n234as
|
|
61
|
+
name: apple-sauce
|
|
62
|
+
sentence: true
|
|
63
|
+
custom-1: 0.5 KB
|
|
64
|
+
time: 12/01/2019 11:04:19
|
|
65
|
+
- id: 56l810
|
|
66
|
+
name: milk-shake-032
|
|
67
|
+
sentence: true
|
|
68
|
+
custom-1: 300.0 KB
|
|
69
|
+
time: 03/22/2021 05:23:01
|
|
70
|
+
- id: 3r56xc
|
|
71
|
+
name: white-candy-5
|
|
72
|
+
sentence: true
|
|
73
|
+
custom-1: 1.5 MB
|
|
74
|
+
time: 12/01/2019 11:04:19
|
|
75
|
+
- id: 7ysnw3
|
|
76
|
+
name: butter-balls
|
|
77
|
+
sentence: true
|
|
78
|
+
custom-1: 0.5 KB
|
|
79
|
+
time: 09/11/2010 10:54:09
|
|
80
|
+
- id: 20ksdf
|
|
81
|
+
name: lemon-cookies-30
|
|
82
|
+
sentence: true
|
|
83
|
+
custom-1: 250.0 MB
|
|
84
|
+
time: 04/20/2020 15:03:10
|