@tacc/core-styles 2.25.1 → 2.25.3
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/dist/branding_logos.css +1 -1
- package/dist/components/README.css +1 -1
- package/dist/components/admonition/demo.css +1 -1
- package/dist/components/admonition.css +1 -1
- package/dist/components/align/demo.css +1 -1
- package/dist/components/align.css +1 -1
- package/dist/components/bootstrap/bootstrap--form.demo.css +1 -1
- package/dist/components/bootstrap/bootstrap--modal.demo.css +1 -1
- package/dist/components/bootstrap/demo.css +1 -1
- package/dist/components/bootstrap.col.css +1 -1
- 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--cms.css +1 -1
- package/dist/components/bootstrap.modal--portal.css +1 -1
- package/dist/components/bootstrap.modal.css +1 -1
- package/dist/components/bootstrap.nav-tabs.css +1 -1
- package/dist/components/bootstrap.pagination.css +1 -1
- package/dist/components/bootstrap.row.css +1 -1
- package/dist/components/c-app-card/demo.css +1 -0
- package/dist/components/c-app-card.css +1 -0
- package/dist/components/c-button/demo.css +1 -1
- package/dist/components/c-button--cms.css +1 -1
- package/dist/components/c-button.css +1 -1
- package/dist/components/c-button.selectors.css +1 -1
- package/dist/components/c-callout.css +1 -1
- package/dist/components/c-card/c-card--frontera.demo.css +1 -1
- package/dist/components/c-card/c-card.demo.css +1 -1
- package/dist/components/c-card/c-card.demo.images.css +1 -1
- package/dist/components/c-card--docs.css +1 -1
- package/dist/components/c-card--from-tup-cms.css +1 -1
- package/dist/components/c-card--frontera-about-page.css +1 -1
- package/dist/components/c-card.css +1 -1
- package/dist/components/c-card.selectors.css +1 -1
- package/dist/components/c-content-block.css +1 -1
- package/dist/components/c-data-list.css +1 -1
- package/dist/components/c-form--cms.css +1 -1
- package/dist/components/c-form--login.css +1 -1
- package/dist/components/c-form--portal.css +1 -1
- package/dist/components/c-form.css +1 -1
- package/dist/components/c-form.selectors.css +1 -1
- 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-island/demo.css +1 -1
- package/dist/components/c-island.css +1 -1
- package/dist/components/c-message/demo.css +1 -1
- package/dist/components/c-message--compact.css +1 -1
- package/dist/components/c-message--expanded.css +1 -1
- package/dist/components/c-message.css +1 -1
- package/dist/components/c-message.selectors.css +1 -1
- package/dist/components/c-nav/demo.css +1 -1
- package/dist/components/c-nav.css +1 -1
- package/dist/components/c-page.css +1 -1
- package/dist/components/c-pill/demo.css +1 -1
- package/dist/components/c-pill.css +1 -1
- package/dist/components/c-pill.selectors.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/c-tag/demo.css +1 -1
- package/dist/components/c-tag.css +1 -1
- package/dist/components/c-tag.selectors.css +1 -1
- package/dist/components/c-update.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 -1
- package/dist/components/django-cms-forms.css +1 -1
- package/dist/components/django-cms-forms.hacks.css +1 -1
- package/dist/components/django-cms-forms.selectors.css +1 -1
- package/dist/components/mui.tabs.css +1 -1
- package/dist/components/pymdownx--tabbed.css +1 -1
- package/dist/components/pymdownx.css +1 -1
- package/dist/components/tacc-docs.css +1 -1
- package/dist/core-styles.base.css +1 -1
- package/dist/core-styles.cms.css +1 -1
- package/dist/core-styles.demo.css +1 -1
- package/dist/core-styles.docs.css +1 -1
- package/dist/core-styles.header.css +2 -2
- package/dist/core-styles.portal.css +1 -1
- package/dist/core-styles.settings.css +1 -1
- package/dist/core-styles.theme.default.css +1 -1
- package/dist/core-styles.theme.has-dark-logo.css +1 -1
- package/dist/core-styles.wysiwyg.css +1 -1
- package/dist/elements/README.css +1 -1
- package/dist/elements/bootstrap.css +1 -1
- package/dist/elements/demo.css +1 -1
- package/dist/elements/form.css +1 -1
- package/dist/elements/headings/demo.css +1 -1
- package/dist/elements/headings--cms.css +1 -1
- package/dist/elements/headings--docs.css +1 -1
- package/dist/elements/html-elements/demo.css +1 -1
- package/dist/elements/html-elements.cms.css +1 -1
- package/dist/elements/html-elements.css +1 -1
- package/dist/elements/html-elements.docs.css +1 -1
- package/dist/elements/irregular-link.css +1 -1
- package/dist/elements/links.css +1 -1
- package/dist/elements/mailto-link.css +1 -1
- package/dist/elements/monospace.css +1 -1
- package/dist/elements/root--cms.css +1 -1
- package/dist/elements/root--demo.css +1 -1
- package/dist/elements/root--docs.css +1 -1
- package/dist/elements/root--portal.css +1 -1
- package/dist/elements/root.css +1 -1
- package/dist/elements/sticky-footer/demo.css +1 -1
- package/dist/elements/sticky-footer.css +1 -1
- package/dist/elements/table--basic.css +1 -1
- package/dist/elements/table--nested.css +1 -1
- package/dist/elements/table.cms.css +1 -1
- package/dist/elements/table.css +1 -1
- package/dist/elements/table.docs.css +1 -1
- package/dist/elements/table.portal.css +1 -1
- package/dist/elements/table.selectors.css +1 -1
- package/dist/elements/tacc-search-bar.css +1 -1
- package/dist/fractal.server.refresh.css +1 -1
- package/dist/generics/README.css +1 -1
- package/dist/generics/attributes/demo.css +1 -1
- package/dist/generics/attributes.css +1 -1
- package/dist/generics/fonts.css +1 -1
- package/dist/generics/pseudo-elements.css +1 -1
- package/dist/objects/README.css +1 -1
- package/dist/objects/o-fixed-header-table/demo.css +1 -1
- package/dist/objects/o-fixed-header-table.css +1 -1
- package/dist/objects/o-flex-item-table-wrap/demo.css +1 -1
- 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-heading-steps.css +1 -1
- package/dist/objects/o-offset-content.css +1 -1
- package/dist/objects/o-section/demo.css +1 -1
- package/dist/objects/o-section--docs.css +1 -1
- package/dist/objects/o-section.css +1 -1
- package/dist/objects/o-section.selectors.css +1 -1
- package/dist/objects/o-site.css +1 -1
- package/dist/objects/o-table-wrap/demo.basic.css +1 -1
- package/dist/objects/o-table-wrap/demo.extra.css +1 -1
- package/dist/objects/o-table-wrap/example.flexible-horz.css +1 -1
- package/dist/objects/o-table-wrap/example.overflow-hidden.css +1 -1
- package/dist/objects/o-table-wrap/example.overflow-scroll.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--flexible-horz.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--flexible-vert.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-hidden.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll.css +1 -1
- package/dist/objects/o-table-wrap.css +1 -1
- package/dist/settings/README.css +1 -1
- package/dist/settings/border.css +1 -1
- package/dist/settings/color/demo.css +1 -1
- package/dist/settings/color--cms.css +1 -1
- package/dist/settings/color--demo.css +1 -1
- package/dist/settings/color--docs.css +1 -1
- package/dist/settings/color--portal.css +1 -1
- package/dist/settings/color.accent--blue.css +1 -1
- package/dist/settings/color.accent--purple.css +1 -1
- package/dist/settings/color.css +1 -1
- package/dist/settings/demo.css +1 -1
- package/dist/settings/font/demo-family.css +1 -1
- package/dist/settings/font/demo-size.css +1 -1
- package/dist/settings/font/demo-style.css +1 -1
- package/dist/settings/font/demo-weight.css +1 -1
- package/dist/settings/font--cms.css +1 -1
- package/dist/settings/font--docs.css +1 -1
- package/dist/settings/font--portal.css +1 -1
- 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/c-app-card/demo.css +1 -0
- package/dist/tools/c-app-card.css +1 -0
- package/dist/tools/media-queries.css +1 -1
- package/dist/tools/s-app-card/demo.css +1 -0
- package/dist/tools/s-app-card.css +1 -0
- package/dist/tools/selectors.common.css +1 -1
- package/dist/tools/selectors.css +1 -1
- package/dist/tools/selectors.form.css +1 -1
- package/dist/tools/selectors.monospace.css +1 -1
- package/dist/tools/x-article-link.css +1 -1
- package/dist/tools/x-blockquote.css +1 -1
- package/dist/tools/x-center.css +1 -1
- package/dist/tools/x-fake-border.css +1 -1
- package/dist/tools/x-figure.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-tabs/demo.css +1 -1
- package/dist/tools/x-tabs.css +1 -1
- package/dist/tools/x-tabs.skin.css +1 -1
- package/dist/tools/x-tabs.structure.css +1 -1
- package/dist/tools/x-truncate.css +1 -1
- package/dist/trumps/README.css +1 -1
- package/dist/trumps/demo.css +1 -1
- package/dist/trumps/s-affixed-input-wrapper/demo.css +1 -1
- package/dist/trumps/s-affixed-input-wrapper.css +1 -1
- package/dist/trumps/s-app-card/demo.css +1 -1
- package/dist/trumps/s-app-card.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-drop-cap.css +1 -1
- package/dist/trumps/s-footer--thick.css +1 -1
- package/dist/trumps/s-footer--thin.css +1 -1
- package/dist/trumps/s-footer.css +1 -1
- package/dist/trumps/s-footer.properties.css +1 -1
- package/dist/trumps/s-form--cms.css +1 -1
- package/dist/trumps/s-form--login.css +1 -1
- package/dist/trumps/s-form--portal.css +1 -1
- package/dist/trumps/s-form-page/demo.css +1 -1
- package/dist/trumps/s-form-page/example.css +1 -1
- package/dist/trumps/s-form-page.css +1 -1
- package/dist/trumps/s-form.css +1 -1
- package/dist/trumps/s-form.selectors.css +1 -1
- package/dist/trumps/s-guide-doc.css +1 -1
- package/dist/trumps/s-header/s-header.demo.css +1 -1
- package/dist/trumps/s-header.bootstrap.css +1 -1
- package/dist/trumps/s-header.css +1 -1
- package/dist/trumps/s-image-grid.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 -1
- 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/s-truncated-table.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-highlight/u-highlight.demo.css +1 -1
- package/dist/trumps/u-highlight.css +1 -1
- package/dist/trumps/u-mailto-text-replace.css +1 -1
- package/dist/trumps/u-nested-text-content.css +1 -1
- package/package.json +1 -1
- package/src/lib/_imports/components/c-app-card/c-app-card.hbs +49 -0
- package/src/lib/_imports/components/c-app-card/config.yml +95 -0
- package/src/lib/_imports/components/c-app-card/demo.css +12 -0
- package/src/lib/_imports/components/c-app-card/readme.md +1 -0
- package/src/lib/_imports/components/c-app-card.css +118 -0
- package/src/lib/_imports/trumps/s-app-card/config.yml +43 -27
- package/src/lib/_imports/trumps/s-app-card/s-app-card.hbs +5 -5
- package/src/lib/_imports/trumps/s-app-card.css +18 -19
- package/src/lib/_imports/trumps/s-header.css +11 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.x-grid--layout-cols-equal-set-count{grid-template-columns:repeat(var(--count),auto)}.x-grid--layout-cols-equal-min-width{grid-template-columns:repeat(auto-fit,minmax(var(--width),1fr))}.s-image-grid,.x-grid--layout-cols-equal-min-width-max-count{--gap:var(--global-space--grid-gap);--max-cols:7;--min-width:250px;--row-height:auto;--gap-count:calc(var(--max-cols) - 1);--total-gap-width:calc(var(--gap-count)*var(--gap));--max-width:calc((100% - var(--total-gap-width))/var(--max-cols));display:grid;gap:var(--gap);grid-auto-rows:var(--row-height);grid-template-columns:repeat(auto-fill,minmax(max(var(--min-width),var(--max-width)),1fr))}.x-grid--layout-rows-equal-max-height{grid-auto-rows:1fr}.x-grid--layout-rows-equal-set-height{grid-auto-rows:var(--height)}.x-grid--content-align-center{align-items:center;justify-items:center}.s-image-grid *{max-height:100%;max-width:100%}ul.s-image-grid{margin-bottom:unset;padding-inline-start:unset}ul.s-image-grid>li{list-style:none}.s-image-grid>a,.s-image-grid>li,.s-image-grid>li>a{align-items:center;display:flex;justify-content:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */dl.s-inline-dl dt{display:block;float:left;font-weight:var(--bold);margin-bottom:0}dl.s-inline-dl dd{clear:right;margin-bottom:0}dl.s-inline-dl dt:after{content:":";margin-inline-end:.25em}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.s-irregular-links [class*=button--as-link],.s-irregular-links a,.x-link,.x-link--irregular{color:var(--global-color-accent--normal);text-decoration:none;text-decoration-thickness:var(--global-border-width--normal);text-underline-offset:.2em}.x-link--disabled,.x-link--irregular--disabled{opacity:.5;pointer-events:none}.s-irregular-links [class*=button--as-link]:hover,.s-irregular-links a:hover,.x-link--hover,.x-link--irregular--hover{color:var(--global-color-accent--normal);text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:var(--global-border-width--normal)}.s-irregular-links [class*=button--as-link]:active,.s-irregular-links a:active,.x-link--active,.x-link--irregular--active{text-decoration-line:underline;text-decoration-style:dotted}.s-irregular-links [class*=button--as-link],.s-irregular-links a,.x-link--irregular{text-decoration-line:underline}.s-irregular-links [class*=button--as-link]:hover,.s-irregular-links a:hover,.x-link--irregular--hover{text-decoration-style:dashed}.s-irregular-links [class*=button--as-link]:active,.s-irregular-links a:active,.x-link--irregular--active{text-decoration-style:dotted}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.s-portal-nav{text-transform:none}ul.s-portal-nav{margin-bottom:0;padding-left:0}.s-portal-nav a:hover{text-decoration:none}.s-portal-nav .icon{font-size:1.5em;margin-right:.25em;vertical-align:middle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.s-style-guide section:not(.o-section)>h1:first-child,.s-style-guide section:not(.o-section)>h2:first-child,.s-style-guide section:not(.o-section)>h3:first-child,.s-style-guide section:not(.o-section)>h4:first-child,.s-style-guide section:not(.o-section)>h5:first-child,.s-style-guide section:not(.o-section)>h6:first-child,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h1,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h2,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h3,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h4,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h5,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h6{margin-top:var(--global-space--x-large)}.s-style-guide section>h1,.s-style-guide section>h2,.s-style-guide section>h3,.s-style-guide section>h4,.s-style-guide section>h5,.s-style-guide section>h6{margin-bottom:var(--global-space--normal)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.s-system-specs{font-size:var(--global-font-size--small);font-weight:var(--global-font-weight--medium)}@media only screen and (min-width:768px){.s-system-specs{display:flow-root}.s-system-specs>*{display:inline-block}.s-system-specs>figure{float:left}}.s-system-specs{--row-height:32px}.s-system-specs>aside{margin-top:var(--row-height)}@media only screen and (max-width:991px){.s-system-specs>figure{margin-bottom:var(--row-height)}}@media only screen and (min-width:992px){.s-system-specs{--col-width--thin:42%;--col-width--wide:48%;--col-gutter:10%;--col-padding:40px;padding-inline:var(--col-padding)}.s-system-specs>aside,.s-system-specs>div{padding-inline:var(--col-padding)}.s-system-specs>div{width:var(--col-width--thin)}.s-system-specs>figure{margin-right:var(--col-gutter);width:var(--col-width--wide)}}@media only screen and (min-width:1200px){.s-system-specs>aside{width:var(--col-width--thin)}}.s-system-specs>figure>img{display:block;width:100%}.s-system-specs>figure>figcaption{margin-top:-40px;position:relative}@media only screen and (max-width:991px){.s-system-specs>figure>img{margin-left:auto;margin-right:auto;width:60%}}@media only screen and (min-width:992px){.s-system-specs>figure>figcaption{margin-left:auto;margin-right:auto;width:80%}}.s-system-specs .c-data-list__key a{font-weight:var(--medium)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.s-truncated-table p,.x-truncate--many-lines{--lines:2;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);display:-webkit-box;overflow:hidden}.x-untruncate--many-lines{-webkit-line-clamp:inherit;overflow:visible}.x-truncate--one-line{overflow:hidden;text-overflow:var(--text-overflow,ellipsis);white-space:nowrap}.x-untruncate--one-line{overflow:visible;white-space:normal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */:host{--button-horz-pad:10px;--input-horz-pad:0.125em;--input-height:26px;--button-font-size:18px;--input-font-size:14px}:host{font-size:0}:host [part=form]{align-items:center;display:flex;font-family:Roboto;position:relative}:host [part=button]{align-items:center;background-color:transparent;border:none;box-sizing:content-box;color:var(--header-text-color);font-size:16px;font-size:var(--button-font-size);height:var(--input-height,38px);left:0;margin:0;padding:0 var(--button-horz-pad);position:absolute;top:50%;transform:translateY(-50%)}:host [part=input]{background-color:var(--header-search-bkgd-color);border:var(--global-border-width--normal) solid var(--header-search-brdr-color);border-radius:5px;color:var(--header-text-color);display:block;font-size:var(--input-font-size);height:var(--input-height);margin:0;padding-bottom:0;padding-left:calc(var(--button-horz-pad) + var(--button-font-size) + var(--button-horz-pad) + var(--input-horz-pad));padding-right:var(--input-horz-pad);padding-top:0;width:100%}:host [part=input]::-moz-placeholder{color:var(--header-text-color);opacity:.5}:host [part=input]::placeholder{color:var(--header-text-color);opacity:.5}
|
package/dist/trumps/u-empty.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */
|
package/dist/trumps/u-hide.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.u-hide--visually:not(:focus,:active){clip:rect(0 0 0 0);border:none;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.u-highlight-container{max-width:800px}.u-highlight{background-color:var(--global-color-primary--xxx-dark);color:var(--global-color-primary--xx-light);line-height:1;padding-inline:10px;text-transform:uppercase}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.u-highlight{-webkit-box-decoration-break:clone;box-decoration-break:clone}:is(h1,h2,h3,h4).u-highlight{display:inline}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.u-mailto-text-replace[data-user][data-domain]{font-size:0;text-underline-offset:.3rem;visibility:hidden}.u-mailto-text-replace[data-user][data-domain]:before{content:attr(data-user) "@" attr(data-domain);display:inline;font-size:initial;visibility:visible}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.25.
|
|
1
|
+
/*! @tacc/core-styles 2.25.3+ | MIT | github.com/TACC/Core-Styles */.u-nested-text-content{padding-left:var(--global-space--list-indent)}
|
package/package.json
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<div class="container">
|
|
2
|
+
<div class="row row-col-stretch-content-y">
|
|
3
|
+
{{#each data}}
|
|
4
|
+
<div class="col col-12 col-md-6 col-xl-4">
|
|
5
|
+
{{#if ../can-wrap-in-a-link}}
|
|
6
|
+
<a href="#" class="c-app-card">
|
|
7
|
+
{{else}}
|
|
8
|
+
<div class="c-app-card">
|
|
9
|
+
{{/if}}
|
|
10
|
+
<h3 class="c-app-card__title">
|
|
11
|
+
{{#if icon}}<i class="icon icon-user"></i>{{/if}}
|
|
12
|
+
{{!-- FAQ: These custom icons are not available in Cortal --}}
|
|
13
|
+
{{!-- {{#if icon}}<i class="icon icon-{{icon}}"></i>{{/if}} --}}
|
|
14
|
+
{{title}}
|
|
15
|
+
</h3>
|
|
16
|
+
<p class="c-app-card__desc">{{desc}}</p>
|
|
17
|
+
<ul class="c-app-card__types">
|
|
18
|
+
{{#each types}}
|
|
19
|
+
<li>{{this}}</li>
|
|
20
|
+
{{else}}
|
|
21
|
+
<li> </li>
|
|
22
|
+
{{/each}}
|
|
23
|
+
</ul>
|
|
24
|
+
<ul class="c-app-card__flags">
|
|
25
|
+
{{#each flags}}
|
|
26
|
+
<li class="
|
|
27
|
+
{{~#if (eq this.type "repo")}}c-app-card__repo{{/if~}}
|
|
28
|
+
{{~#if (eq this.type "other")}}c-app-card__other{{/if~}}
|
|
29
|
+
">
|
|
30
|
+
{{#if this.should-highlight}}
|
|
31
|
+
<strong>{{this.name}}</strong>
|
|
32
|
+
{{else}}
|
|
33
|
+
{{this.name}}
|
|
34
|
+
{{/if}}
|
|
35
|
+
</li>
|
|
36
|
+
{{/each}}
|
|
37
|
+
</ul>
|
|
38
|
+
{{#unless ../can-wrap-in-a-link}}
|
|
39
|
+
<a class="c-app-card__link" href="#">magic link</a>
|
|
40
|
+
{{/unless}}
|
|
41
|
+
{{#if ../can-wrap-in-a-link}}
|
|
42
|
+
</a>
|
|
43
|
+
{{else}}
|
|
44
|
+
</div>
|
|
45
|
+
{{/if}}
|
|
46
|
+
</div>
|
|
47
|
+
{{/each}}
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
status: prototype
|
|
2
|
+
context:
|
|
3
|
+
shouldSkipPattern: false
|
|
4
|
+
📝 shouldSkipPattern: because core-styles.….css does not import this
|
|
5
|
+
shouldLoadBootstrap: true
|
|
6
|
+
📝 shouldLoadBootstrap: to use Bootstrap 4 grid for layout
|
|
7
|
+
supportStyles:
|
|
8
|
+
- ../../assets/components/bootstrap.row.css
|
|
9
|
+
- ../../assets/components/cortal.icon.css
|
|
10
|
+
can-wrap-in-a-link: false
|
|
11
|
+
data:
|
|
12
|
+
- title: ADCIRC
|
|
13
|
+
desc: Widely applied coastal circulation and coastal flooding model.
|
|
14
|
+
types:
|
|
15
|
+
- Storm Surge
|
|
16
|
+
- Hurricane
|
|
17
|
+
- Flood
|
|
18
|
+
flags:
|
|
19
|
+
- name: Popular
|
|
20
|
+
type: other
|
|
21
|
+
should-highlight: true
|
|
22
|
+
- name: Open Source
|
|
23
|
+
type: repo
|
|
24
|
+
- title: ANSYS
|
|
25
|
+
icon: ansys
|
|
26
|
+
desc: Widely applied coastal circulation and coastal flooding model.
|
|
27
|
+
flags:
|
|
28
|
+
- name: Licensed
|
|
29
|
+
type: repo
|
|
30
|
+
- title: ClawPack
|
|
31
|
+
icon: clawpack
|
|
32
|
+
desc: Model and simulate coastal and oceanic processes.
|
|
33
|
+
types:
|
|
34
|
+
- Tsunami
|
|
35
|
+
- Storm Surge
|
|
36
|
+
- Flood
|
|
37
|
+
flags:
|
|
38
|
+
- name: SimCenter
|
|
39
|
+
type: other
|
|
40
|
+
- name: Licensed
|
|
41
|
+
type: repo
|
|
42
|
+
- title: Hazmapper
|
|
43
|
+
icon: hazmapper
|
|
44
|
+
desc: Visualize, analyze, and share geospatial data.
|
|
45
|
+
flags:
|
|
46
|
+
- name: Open Source
|
|
47
|
+
type: repo
|
|
48
|
+
- title: QGIS
|
|
49
|
+
icon: qgis
|
|
50
|
+
desc: Create, edit, visualize and analyze geospatial information.
|
|
51
|
+
flags:
|
|
52
|
+
- name: Licensed
|
|
53
|
+
type: repo
|
|
54
|
+
- title: OpenSEES
|
|
55
|
+
icon: opensees
|
|
56
|
+
desc: Advanced seismic and structural analysis
|
|
57
|
+
types:
|
|
58
|
+
- Earthquake
|
|
59
|
+
flags:
|
|
60
|
+
- name: Popular
|
|
61
|
+
type: other
|
|
62
|
+
should-highlight: true
|
|
63
|
+
- name: Open Source
|
|
64
|
+
type: repo
|
|
65
|
+
- title: LS-DYNA
|
|
66
|
+
icon: lsdyna
|
|
67
|
+
desc: Conduct dynamic finite element analysis of complex physics
|
|
68
|
+
types:
|
|
69
|
+
- Earthquake
|
|
70
|
+
- Landslide
|
|
71
|
+
- Tsunami
|
|
72
|
+
- Storm Surge
|
|
73
|
+
flags:
|
|
74
|
+
- name: Licensed
|
|
75
|
+
type: repo
|
|
76
|
+
- title: OpenFOAM
|
|
77
|
+
icon: openfoam
|
|
78
|
+
desc: Simulate and analyze fluid flow and heat transfer
|
|
79
|
+
types:
|
|
80
|
+
- Tsunami
|
|
81
|
+
- Storm Surge
|
|
82
|
+
- Flood
|
|
83
|
+
- Fire
|
|
84
|
+
flags:
|
|
85
|
+
- name: Open Source
|
|
86
|
+
type: repo
|
|
87
|
+
- title: EE-UQ
|
|
88
|
+
desc: Determine the response of a structure to an earthquake.
|
|
89
|
+
types:
|
|
90
|
+
- Earthquake
|
|
91
|
+
flags:
|
|
92
|
+
- name: SimCenter
|
|
93
|
+
type: other
|
|
94
|
+
- name: Open Source
|
|
95
|
+
type: repo
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* To add vertical gap in Bootstrap 4 grid */
|
|
2
|
+
.col {
|
|
3
|
+
margin-bottom: var(--global-space--bootstrap-gap);
|
|
4
|
+
}
|
|
5
|
+
.row {
|
|
6
|
+
margin-bottom: calc( var(--global-space--bootstrap-gap) * -1 );
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* To stretch app card height to match col */
|
|
10
|
+
.col .c-app-card {
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A card for an application e.g. a DesignSafe application button / card.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
@custom-selector :--c-app-card
|
|
2
|
+
.c-app-card;
|
|
3
|
+
|
|
4
|
+
@custom-selector :--c-app-card__title
|
|
5
|
+
.c-app-card__title;
|
|
6
|
+
|
|
7
|
+
@custom-selector :--c-app-card__desc
|
|
8
|
+
.c-app-card__desc;
|
|
9
|
+
|
|
10
|
+
@custom-selector :--c-app-card__types
|
|
11
|
+
.c-app-card__types;
|
|
12
|
+
|
|
13
|
+
@custom-selector :--c-app-card__flags
|
|
14
|
+
.c-app-card__flags;
|
|
15
|
+
|
|
16
|
+
@custom-selector :--c-app-card__repo
|
|
17
|
+
.c-app-card__repo;
|
|
18
|
+
|
|
19
|
+
@custom-selector :--c-app-card__link
|
|
20
|
+
.c-app-card__link;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/* Layout */
|
|
25
|
+
:--c-app-card {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
|
|
29
|
+
text-align: center;
|
|
30
|
+
|
|
31
|
+
&:is(a) {
|
|
32
|
+
color: inherit;
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
text-decoration: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
:--c-app-card__types {
|
|
40
|
+
flex-grow: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/* Title */
|
|
46
|
+
:--c-app-card__title > .icon {
|
|
47
|
+
vertical-align: middle;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/* Types */
|
|
53
|
+
:--c-app-card__types {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-wrap: wrap;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
|
|
59
|
+
/* To achieve `height: min-content` and `space-around` */
|
|
60
|
+
margin-block: auto;
|
|
61
|
+
flex-grow: 0;
|
|
62
|
+
|
|
63
|
+
&:is(ul) {
|
|
64
|
+
padding-inline-start: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
:--c-app-card__types > :is(li, div, p) {
|
|
68
|
+
display: inline;
|
|
69
|
+
}
|
|
70
|
+
:--c-app-card__types > :not(:last-child)::after {
|
|
71
|
+
content: "•";
|
|
72
|
+
display: inline;
|
|
73
|
+
margin-inline: 0.25em;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/* Flags */
|
|
79
|
+
:--c-app-card__flags {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: row;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
|
|
84
|
+
&:is(ul) {
|
|
85
|
+
list-style: none;
|
|
86
|
+
padding-inline-start: 0;
|
|
87
|
+
margin-block: unset;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
:--c-app-card__flags:not(:--c-app-card__types ~ *) {
|
|
91
|
+
/* To fill parent with this item, but keep text aligned to bottom */
|
|
92
|
+
flex-grow: 1;
|
|
93
|
+
align-items: end;
|
|
94
|
+
}
|
|
95
|
+
:--c-app-card__flags > :--c-app-card__repo {
|
|
96
|
+
margin-left: auto;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
/* Links */
|
|
102
|
+
/* IMPORTANT: IF you CAN put `c-app-card` on an `<a>`, THEN ignore this class */
|
|
103
|
+
/* HACK: IF you can NOT put `c-app-card` on an `<a>`, THEN
|
|
104
|
+
add an `<a class="c-app-card__link">Open</a>` within the component */
|
|
105
|
+
|
|
106
|
+
/* To stretch a child link atop the entire card */
|
|
107
|
+
:--c-app-card:has(:--c-app-card__link) {
|
|
108
|
+
position: relative;
|
|
109
|
+
}
|
|
110
|
+
:--c-app-card__link {
|
|
111
|
+
position: absolute;
|
|
112
|
+
user-select: none;
|
|
113
|
+
color: transparent !important;
|
|
114
|
+
top: 0;
|
|
115
|
+
left: 0;
|
|
116
|
+
right: 0;
|
|
117
|
+
bottom: 0;
|
|
118
|
+
}
|
|
@@ -11,69 +11,85 @@ context:
|
|
|
11
11
|
data:
|
|
12
12
|
- title: ADCIRC
|
|
13
13
|
desc: Widely applied coastal circulation and coastal flooding model.
|
|
14
|
-
|
|
14
|
+
types:
|
|
15
15
|
- Storm Surge
|
|
16
16
|
- Hurricane
|
|
17
17
|
- Flood
|
|
18
|
-
|
|
19
|
-
- Popular
|
|
20
|
-
|
|
18
|
+
flags:
|
|
19
|
+
- name: Popular
|
|
20
|
+
type: other
|
|
21
|
+
should-highlight: true
|
|
22
|
+
- name: Open Source
|
|
23
|
+
type: repo
|
|
21
24
|
- title: ANSYS
|
|
22
25
|
icon: ansys
|
|
23
26
|
desc: Widely applied coastal circulation and coastal flooding model.
|
|
24
|
-
|
|
25
|
-
- Licensed
|
|
27
|
+
flags:
|
|
28
|
+
- name: Licensed
|
|
29
|
+
type: repo
|
|
26
30
|
- title: ClawPack
|
|
27
31
|
icon: clawpack
|
|
28
32
|
desc: Model and simulate coastal and oceanic processes.
|
|
29
|
-
|
|
33
|
+
types:
|
|
30
34
|
- Tsunami
|
|
31
35
|
- Storm Surge
|
|
32
36
|
- Flood
|
|
33
|
-
|
|
34
|
-
-
|
|
37
|
+
flags:
|
|
38
|
+
- name: SimCenter
|
|
39
|
+
type: other
|
|
40
|
+
- name: Licensed
|
|
41
|
+
type: repo
|
|
35
42
|
- title: Hazmapper
|
|
36
43
|
icon: hazmapper
|
|
37
44
|
desc: Visualize, analyze, and share geospatial data.
|
|
38
|
-
|
|
39
|
-
- Open Source
|
|
45
|
+
flags:
|
|
46
|
+
- name: Open Source
|
|
47
|
+
type: repo
|
|
40
48
|
- title: QGIS
|
|
41
49
|
icon: qgis
|
|
42
50
|
desc: Create, edit, visualize and analyze geospatial information.
|
|
43
|
-
|
|
44
|
-
- Licensed
|
|
51
|
+
flags:
|
|
52
|
+
- name: Licensed
|
|
53
|
+
type: repo
|
|
45
54
|
- title: OpenSEES
|
|
46
55
|
icon: opensees
|
|
47
56
|
desc: Advanced seismic and structural analysis
|
|
48
|
-
|
|
57
|
+
types:
|
|
49
58
|
- Earthquake
|
|
50
|
-
|
|
51
|
-
- Popular
|
|
52
|
-
|
|
59
|
+
flags:
|
|
60
|
+
- name: Popular
|
|
61
|
+
type: other
|
|
62
|
+
should-highlight: true
|
|
63
|
+
- name: Open Source
|
|
64
|
+
type: repo
|
|
53
65
|
- title: LS-DYNA
|
|
54
66
|
icon: lsdyna
|
|
55
67
|
desc: Conduct dynamic finite element analysis of complex physics
|
|
56
|
-
|
|
68
|
+
types:
|
|
57
69
|
- Earthquake
|
|
58
70
|
- Landslide
|
|
59
71
|
- Tsunami
|
|
60
72
|
- Storm Surge
|
|
61
|
-
|
|
62
|
-
- Licensed
|
|
73
|
+
flags:
|
|
74
|
+
- name: Licensed
|
|
75
|
+
type: repo
|
|
63
76
|
- title: OpenFOAM
|
|
64
77
|
icon: openfoam
|
|
65
78
|
desc: Simulate and analyze fluid flow and heat transfer
|
|
66
|
-
|
|
79
|
+
types:
|
|
67
80
|
- Tsunami
|
|
68
81
|
- Storm Surge
|
|
69
82
|
- Flood
|
|
70
83
|
- Fire
|
|
71
|
-
|
|
72
|
-
- Open Source
|
|
84
|
+
flags:
|
|
85
|
+
- name: Open Source
|
|
86
|
+
type: repo
|
|
73
87
|
- title: EE-UQ
|
|
74
88
|
desc: Determine the response of a structure to an earthquake.
|
|
75
|
-
|
|
89
|
+
types:
|
|
76
90
|
- Earthquake
|
|
77
|
-
|
|
78
|
-
- SimCenter
|
|
79
|
-
|
|
91
|
+
flags:
|
|
92
|
+
- name: SimCenter
|
|
93
|
+
type: other
|
|
94
|
+
- name: Open Source
|
|
95
|
+
type: repo
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<a href="#" class="app-card">
|
|
6
6
|
{{else}}
|
|
7
7
|
<div class="col col-12 col-md-6 col-xl-4">
|
|
8
|
-
<div class="app-card">
|
|
8
|
+
<div class="s-app-card">
|
|
9
9
|
{{/if}}
|
|
10
10
|
<h3>
|
|
11
11
|
{{#if icon}}<i class="icon icon-user"></i>{{/if}}
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
</h3>
|
|
16
16
|
<p>{{desc}}</p>
|
|
17
17
|
<ul>
|
|
18
|
-
{{#each
|
|
18
|
+
{{#each types}}
|
|
19
19
|
<li>{{this}}</li>
|
|
20
20
|
{{else}}
|
|
21
21
|
<li> </li>
|
|
22
22
|
{{/each}}
|
|
23
23
|
</ul>
|
|
24
24
|
<ul>
|
|
25
|
-
{{#each
|
|
25
|
+
{{#each flags}}
|
|
26
26
|
<li>
|
|
27
|
-
{{#if
|
|
28
|
-
{{else}}{{this}}
|
|
27
|
+
{{#if this.should-highlight}}<strong>{{this.name}}</strong>
|
|
28
|
+
{{else}}{{this.name}}
|
|
29
29
|
{{/if}}
|
|
30
30
|
</li>
|
|
31
31
|
{{/each}}
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
@custom-selector :--s-app-card__desc
|
|
14
14
|
:--s-app-card > p;
|
|
15
15
|
|
|
16
|
-
@custom-selector :--s-app-
|
|
16
|
+
@custom-selector :--s-app-card__types
|
|
17
17
|
:--s-app-card > ul:not(:last-of-type);
|
|
18
18
|
|
|
19
|
-
@custom-selector :--s-app-
|
|
19
|
+
@custom-selector :--s-app-card__flags
|
|
20
20
|
:--s-app-card > ul:last-of-type;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
|
|
22
|
+
@custom-selector :--s-app-card__repo
|
|
23
|
+
:--s-app-card > li:last-of-type;
|
|
23
24
|
|
|
24
25
|
@custom-selector :--s-app-card__link
|
|
25
26
|
:--s-app-card > a:last-child;
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
|
|
34
35
|
text-align: center;
|
|
35
36
|
}
|
|
36
|
-
:--s-app-
|
|
37
|
+
:--s-app-card__types {
|
|
37
38
|
flex-grow: 1;
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
/* Items */
|
|
50
|
-
:--s-app-
|
|
51
|
+
:--s-app-card__types {
|
|
51
52
|
padding-inline-start: 0;
|
|
52
53
|
|
|
53
54
|
display: flex;
|
|
@@ -59,10 +60,10 @@
|
|
|
59
60
|
margin-block: auto;
|
|
60
61
|
flex-grow: 0;
|
|
61
62
|
}
|
|
62
|
-
:--s-app-
|
|
63
|
+
:--s-app-card__types > li {
|
|
63
64
|
display: inline;
|
|
64
65
|
}
|
|
65
|
-
:--s-app-
|
|
66
|
+
:--s-app-card__types > li:not(:last-child)::after {
|
|
66
67
|
content: "•";
|
|
67
68
|
display: inline;
|
|
68
69
|
margin-inline: 0.25em;
|
|
@@ -71,25 +72,23 @@
|
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
/* Tags */
|
|
74
|
-
:--s-app-
|
|
75
|
-
list-style: none;
|
|
76
|
-
padding-inline-start: 0;
|
|
77
|
-
margin-block: unset;
|
|
78
|
-
|
|
75
|
+
:--s-app-card__flags {
|
|
79
76
|
display: flex;
|
|
80
77
|
flex-direction: row;
|
|
81
78
|
justify-content: space-between;
|
|
82
79
|
}
|
|
83
|
-
:--s-app-
|
|
80
|
+
:--s-app-card__flags {
|
|
81
|
+
list-style: none;
|
|
82
|
+
padding-inline-start: 0;
|
|
83
|
+
margin-block: unset;
|
|
84
|
+
}
|
|
85
|
+
:--s-app-card__flags:not(:--s-app-card__types ~ *) {
|
|
84
86
|
/* To fill parent with this item, but keep text aligned to bottom */
|
|
85
87
|
flex-grow: 1;
|
|
86
88
|
align-items: end;
|
|
87
89
|
}
|
|
88
|
-
:--s-app-
|
|
89
|
-
:
|
|
90
|
-
:only-child
|
|
91
|
-
) {
|
|
92
|
-
margin-left: auto;
|
|
90
|
+
:--s-app-card__flags > :only-child {
|
|
91
|
+
margin-left: auto;
|
|
93
92
|
}
|
|
94
93
|
|
|
95
94
|
|
|
@@ -42,13 +42,6 @@ Styleguide Trumps.Scopes.Header
|
|
|
42
42
|
border-bottom: 1px solid var(--header-major-border-color);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
/* To enlarge height for all screen widths */
|
|
46
|
-
@media (--medium-and-above) {
|
|
47
|
-
.s-header {
|
|
48
|
-
height: 60px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
45
|
/* Affiliation */
|
|
53
46
|
|
|
54
47
|
/* SEE: ../branding_logos.css */
|
|
@@ -77,14 +70,6 @@ Styleguide Trumps.Scopes.Header
|
|
|
77
70
|
align-items: stretch;
|
|
78
71
|
}
|
|
79
72
|
|
|
80
|
-
/* On wide viewport, prevent header resize from dynamic content */
|
|
81
|
-
/* CAVEAT: This is only for Portal and Docs which dynamically load content */
|
|
82
|
-
@media (--wide-and-above) {
|
|
83
|
-
.s-header.navbar {
|
|
84
|
-
height: 50px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
73
|
.s-header.navbar {
|
|
89
74
|
/* Make horizontal padding match the horizontal content buffer in Portal */
|
|
90
75
|
/* FAQ: The `calc()` keeps track of disparate source of space values */
|
|
@@ -96,6 +81,17 @@ Styleguide Trumps.Scopes.Header
|
|
|
96
81
|
background-color: var(--header-bkgd-color);
|
|
97
82
|
padding: var(--nav-padding-vert) var(--nav-padding-horz);
|
|
98
83
|
}
|
|
84
|
+
/* On wide viewport, prevent header resize from dynamic content */
|
|
85
|
+
@media (--medium-and-above) {
|
|
86
|
+
.s-header.navbar {
|
|
87
|
+
--logo-height: 60px;
|
|
88
|
+
|
|
89
|
+
min-height: var(--logo-height);
|
|
90
|
+
}
|
|
91
|
+
.s-header > .navbar-brand {
|
|
92
|
+
min-height: calc( var(--logo-height) - var(--nav-padding-vert) * 2 );
|
|
93
|
+
}
|
|
94
|
+
}
|
|
99
95
|
|
|
100
96
|
/* Navigation: Links */
|
|
101
97
|
|