@tacc/core-styles 2.17.5 → 2.18.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/dist/_utils/js/open-ext-links-in-new-window.js +4 -0
- 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-button/demo.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--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-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 -0
- package/dist/components/c-pill.css +1 -0
- package/dist/components/c-pill.selectors.css +1 -0
- 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/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 +2 -2
- 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 +1 -1
- package/dist/core-styles.portal.css +2 -2
- 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/links.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/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-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/media-queries.css +1 -1
- 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-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--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.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-mailto-text-replace.css +1 -1
- package/dist/trumps/u-nested-text-content.css +1 -1
- package/package.json +3 -1
- package/src/lib/_imports/_partials/inline-element-samples.hbs +22 -0
- package/src/lib/_imports/components/admonition/readme.md +1 -6
- package/src/lib/_imports/components/align/readme.md +1 -6
- package/src/lib/_imports/components/bootstrap/bootstrap--container.readme.md +1 -6
- package/src/lib/_imports/components/bootstrap/bootstrap--form.readme.md +1 -6
- package/src/lib/_imports/components/bootstrap/bootstrap--modal.readme.md +1 -6
- package/src/lib/_imports/components/bootstrap/bootstrap--nav-tabs.readme.md +1 -6
- package/src/lib/_imports/components/bootstrap/bootstrap.readme.md +1 -6
- package/src/lib/_imports/components/c-data-list/description-list/readme.md +1 -6
- package/src/lib/_imports/components/c-data-list/readme.md +1 -6
- package/src/lib/_imports/components/c-data-list/table/readme.md +1 -6
- package/src/lib/_imports/components/c-form/readme.md +1 -6
- package/src/lib/_imports/components/c-island/readme.md +1 -6
- package/src/lib/_imports/components/c-pill/01-c-pill--types.hbs +10 -0
- package/src/lib/_imports/components/c-pill/02-c-pill--features.hbs +6 -0
- package/src/lib/_imports/components/c-pill/03-c-pill--html-elements.hbs +1 -0
- package/src/lib/_imports/components/c-pill/c-pill.hbs +1 -0
- package/src/lib/_imports/components/c-pill/config.yml +14 -0
- package/src/lib/_imports/components/c-pill/demo.css +18 -0
- package/src/lib/_imports/components/c-pill/readme.md +13 -0
- package/src/lib/_imports/components/c-pill.css +64 -0
- package/src/lib/_imports/components/c-pill.selectors.css +28 -0
- package/src/lib/_imports/components/c-tag/01-c-tag--types.hbs +14 -0
- package/src/lib/_imports/components/c-tag/02-c-tag--html-elements.hbs +1 -0
- package/src/lib/_imports/components/c-tag/c-tag.hbs +1 -22
- package/src/lib/_imports/components/c-tag/config.yml +6 -0
- package/src/lib/_imports/components/c-tag/demo.css +6 -1
- package/src/lib/_imports/components/c-tag/readme.md +5 -0
- package/src/lib/_imports/components/c-tag.css +1 -1
- package/src/lib/_imports/components/c-tag.selectors.css +0 -2
- package/src/lib/_imports/components/django-cms-forms/readme.md +1 -6
- package/src/lib/_imports/components/pymdownx/pymdownx.readme.md +1 -6
- package/src/lib/_imports/components/tacc-docs/readme.md +1 -6
- package/src/lib/_imports/core-styles.base.css +1 -0
- package/src/lib/_imports/elements/form.cms/readme.md +1 -6
- package/src/lib/_imports/elements/headings/readme.md +1 -6
- package/src/lib/_imports/elements/links/readme.md +1 -6
- package/src/lib/_imports/elements/root/readme.md +1 -6
- package/src/lib/_imports/elements/table/readme.md +1 -6
- package/src/lib/_imports/elements/table/table--via-paragraphs.readme.md +1 -6
- package/src/lib/_imports/elements/table/table--with-paragraphs.readme.md +1 -6
- package/src/lib/_imports/objects/o-fixed-header-table/readme.md +1 -6
- package/src/lib/_imports/objects/o-flex-item-table-wrap/readme.md +1 -6
- package/src/lib/_imports/objects/o-section/readme.md +1 -6
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.readme.md +1 -6
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.readme.md +1 -6
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.readme.md +1 -6
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.readme.md +1 -6
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.readme.md +1 -6
- package/src/lib/_imports/objects/o-table-wrap/readme.md +1 -6
- package/src/lib/_imports/settings/color/readme.md +1 -6
- package/src/lib/_imports/settings/font/readme.md +1 -6
- package/src/lib/_imports/tools/x-link/readme.md +1 -6
- package/src/lib/_imports/tools/x-tabs/readme.md +1 -6
- package/src/lib/_imports/trumps/s-affixed-input-wrapper/README.md +1 -6
- package/src/lib/_imports/trumps/s-blockquote/readme.md +1 -6
- package/src/lib/_imports/trumps/s-form/readme.md +1 -6
- package/src/lib/_imports/trumps/s-form-page/_s-form-page--footer.hbs +13 -0
- package/src/lib/_imports/trumps/s-form-page/s-form-page--login.hbs +1 -8
- package/src/lib/_imports/trumps/s-form-page/s-form-page.hbs +1 -8
- package/src/lib/_imports/trumps/s-form-page.css +15 -0
- package/src/lib/_imports/trumps/s-paragraph-table/readme.md +1 -6
- package/src/lib/_imports/trumps/s-truncated-table/readme.md +1 -6
- package/src/lib/_utils/js/open-ext-links-in-new-window.js +4 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import url("../tools/selectors.css");
|
|
2
|
+
|
|
3
|
+
@custom-selector :--c-pill
|
|
4
|
+
.c-pill,
|
|
5
|
+
[class*="pill--"];
|
|
6
|
+
|
|
7
|
+
@custom-selector :--c-pill--should-truncate
|
|
8
|
+
.c-pill--should-truncate,
|
|
9
|
+
[class*="pill--truncate"];
|
|
10
|
+
|
|
11
|
+
@custom-selector :--c-pill--is-danger
|
|
12
|
+
.c-pill--is-danger,
|
|
13
|
+
[class*="pill--danger"];
|
|
14
|
+
@custom-selector :--c-pill--is-success
|
|
15
|
+
.c-pill--is-success,
|
|
16
|
+
[class*="pill--success"];
|
|
17
|
+
@custom-selector :--c-pill--is-warning
|
|
18
|
+
.c-pill--is-warning,
|
|
19
|
+
[class*="pill--warning"];
|
|
20
|
+
@custom-selector :--c-pill--is-normal
|
|
21
|
+
.c-pill--is-normal,
|
|
22
|
+
[class*="pill--normal"];
|
|
23
|
+
@custom-selector :--c-pill--is-fixed
|
|
24
|
+
.c-pill--is-fixed,
|
|
25
|
+
[class*="pill--fixed"];
|
|
26
|
+
@custom-selector :--c-pill--is-updated
|
|
27
|
+
.c-pill--is-updated,
|
|
28
|
+
[class*="pill--updated"];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<dl>
|
|
2
|
+
<dt>Standard</dt>
|
|
3
|
+
<dd>
|
|
4
|
+
There are no standard tag types.<br />
|
|
5
|
+
<small>Clients must create their own modifier classes.</small>
|
|
6
|
+
</dd>
|
|
7
|
+
<dt>Custom</dt>
|
|
8
|
+
<dd>
|
|
9
|
+
There are <a href="https://github.com/TACC/tup-ui/blob/v1.0.13/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-tup-cms/components/c-tag.css#L11-L63" target="_blank">examples (code) on TACC website</a>.
|
|
10
|
+
</dd>
|
|
11
|
+
<dd>
|
|
12
|
+
{{> @c-tag type="whatever" name="whatever" }}
|
|
13
|
+
</dd>
|
|
14
|
+
</dl>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{> @inline-element-samples class="c-tag" name="tag" }}
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
<
|
|
2
|
-
<dt><code><span></code> <small>e.g. <code>display: inline</code></small></dt>
|
|
3
|
-
<dd>
|
|
4
|
-
<span class="c-tag">i am tag</span>
|
|
5
|
-
</dd>
|
|
6
|
-
<dt><code><span <small>style="display: inline-block"</small>></code></dt>
|
|
7
|
-
<dd>
|
|
8
|
-
<span class="c-tag" style="display: inline-block">i am tag</span>
|
|
9
|
-
</dd>
|
|
10
|
-
<dt><code><div></code> <small>e.g. <code>display: block</code></small></dt>
|
|
11
|
-
<dd>
|
|
12
|
-
<div class="c-tag">i am tag</div>
|
|
13
|
-
</dd>
|
|
14
|
-
<dt><code><a></code></dt>
|
|
15
|
-
<dd>
|
|
16
|
-
<a href="#" class="c-tag">i am tag</a>
|
|
17
|
-
</dd>
|
|
18
|
-
<dt><code><button></code></dt>
|
|
19
|
-
<dd>
|
|
20
|
-
<button class="c-tag">i am tag</button>
|
|
21
|
-
</dd>
|
|
22
|
-
</dl>
|
|
1
|
+
<span class="c-tag c-tag--is-{{ type }}">{{ name }}</span>
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/* This CSS is ONLY for the pattern library. It is NOT part of the pattern. */
|
|
2
2
|
|
|
3
|
-
.c-tag {
|
|
3
|
+
.c-tag:not([class*="c-tag--"]) {
|
|
4
4
|
color: var(--global-color-primary--xx-light);
|
|
5
5
|
background-color: var(--global-color-primary--xxx-dark);
|
|
6
6
|
}
|
|
7
|
+
|
|
8
|
+
.c-tag--is-whatever {
|
|
9
|
+
color: var(--global-color-tertiary--xx-light);
|
|
10
|
+
background-color: var(--global-color-tertiary--dark);
|
|
11
|
+
}
|
|
@@ -12,9 +12,4 @@ To style forms built by [Django CMS forms][djcms-forms].
|
|
|
12
12
|
[djcms-forms-tpl]: https://github.com/avryhof/djangocms-forms/blob/ab38b22/djangocms_forms/templates/djangocms_forms/form_template/default.html "DjangoCMS Forms (Maintained) Template"
|
|
13
13
|
[django-form-widgets]: https://docs.djangoproject.com/en/2.2/ref/forms/widgets/ "Django Form Widgets"
|
|
14
14
|
|
|
15
|
-
<script
|
|
16
|
-
/* To open external links in new window */
|
|
17
|
-
Array.from(document.links)
|
|
18
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
19
|
-
.forEach(link => link.target = '_blank');
|
|
20
|
-
</script>
|
|
15
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
Styles for markup with classes from [PyMdown Extensions](https://facelessuser.github.io/pymdown-extensions/).
|
|
2
2
|
|
|
3
|
-
<script
|
|
4
|
-
/* To open external links in new window */
|
|
5
|
-
Array.from(document.links)
|
|
6
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
7
|
-
.forEach(link => link.target = '_blank');
|
|
8
|
-
</script>
|
|
3
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -15,9 +15,4 @@ Components used on [TACC-Docs].
|
|
|
15
15
|
[TACC-Docs]: https://github.com/TACC/TACC-Docs/
|
|
16
16
|
[Node]: https://nodejs.org/en/
|
|
17
17
|
|
|
18
|
-
<script
|
|
19
|
-
/* To open external links in new window */
|
|
20
|
-
Array.from(document.links)
|
|
21
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
22
|
-
.forEach(link => link.target = '_blank');
|
|
23
|
-
</script>
|
|
18
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
@import url("./components/c-island.css");
|
|
41
41
|
@import url("./components/c-nav.css");
|
|
42
42
|
@import url("./components/c-page.css");
|
|
43
|
+
@import url("./components/c-pill.css");
|
|
43
44
|
@import url("./components/c-see-all-link.css");
|
|
44
45
|
@import url("./components/c-tag.css");
|
|
45
46
|
|
|
@@ -8,9 +8,4 @@
|
|
|
8
8
|
>
|
|
9
9
|
> These overwrite, but may accidentally rely on, [Bootstrap Reboot: Forms](https://getbootstrap.com/docs/4.0/content/reboot/#forms).
|
|
10
10
|
|
|
11
|
-
<script
|
|
12
|
-
/* To open external links in new window */
|
|
13
|
-
Array.from(document.links)
|
|
14
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
15
|
-
.forEach(link => link.target = '_blank');
|
|
16
|
-
</script>
|
|
11
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -4,9 +4,4 @@
|
|
|
4
4
|
<h1> <h2> <h3> <h4> <h5> <h6>
|
|
5
5
|
```
|
|
6
6
|
|
|
7
|
-
<script
|
|
8
|
-
/* To open external links in new window */
|
|
9
|
-
Array.from(document.links)
|
|
10
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
11
|
-
.forEach(link => link.target = '_blank');
|
|
12
|
-
</script>
|
|
7
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
The [`<a>` anchor element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a).
|
|
2
2
|
|
|
3
|
-
<script
|
|
4
|
-
/* To open external links in new window */
|
|
5
|
-
Array.from(document.links)
|
|
6
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
7
|
-
.forEach(link => link.target = '_blank');
|
|
8
|
-
</script>
|
|
3
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
The [`<html>` element (Main root)](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Main_root) and [`<body>` element (Sectioning root)](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Sectioning_root).
|
|
2
2
|
|
|
3
|
-
<script
|
|
4
|
-
/* To open external links in new window */
|
|
5
|
-
Array.from(document.links)
|
|
6
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
7
|
-
.forEach(link => link.target = '_blank');
|
|
8
|
-
</script>
|
|
3
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -4,9 +4,4 @@
|
|
|
4
4
|
<table> <thead> <tbody> <th> <td> <tfoot> <colgroup> <col> <caption>
|
|
5
5
|
```
|
|
6
6
|
|
|
7
|
-
<script
|
|
8
|
-
/* To open external links in new window */
|
|
9
|
-
Array.from(document.links)
|
|
10
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
11
|
-
.forEach(link => link.target = '_blank');
|
|
12
|
-
</script>
|
|
7
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -5,9 +5,4 @@ A [table]({{path './table' }}) that uses [paragraphs](https://developer.mozilla.
|
|
|
5
5
|
> - Text will not truncate. It will wrap.
|
|
6
6
|
> - Only a single column is supported.
|
|
7
7
|
|
|
8
|
-
<script
|
|
9
|
-
/* To open external links in new window */
|
|
10
|
-
Array.from(document.links)
|
|
11
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
12
|
-
.forEach(link => link.target = '_blank');
|
|
13
|
-
</script>
|
|
8
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -4,9 +4,4 @@ A [table]({{path './table' }}) with cells that have [paragraphs](https://develop
|
|
|
4
4
|
>
|
|
5
5
|
> On [Portal tables]({{path './table--with-paragraphs-portal' }}) and [`s-truncated-table`s]({{path './s-data-table' }}), text in a `<p>` tag. will truncate at N lines; see [truncate mixin]({{path './x-truncate' }}) to control line count.
|
|
6
6
|
|
|
7
|
-
<script
|
|
8
|
-
/* To open external links in new window */
|
|
9
|
-
Array.from(document.links)
|
|
10
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
11
|
-
.forEach(link => link.target = '_blank');
|
|
12
|
-
</script>
|
|
7
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -14,9 +14,4 @@ A [table]({{path './table' }}) with its header pinned during vertical scroll.
|
|
|
14
14
|
|
|
15
15
|
[source]: https://css-tricks.com/position-sticky-and-table-headers/ "CSS Tricks: Position Sticky & Table Headers"
|
|
16
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>
|
|
17
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -14,9 +14,4 @@ Make [table]({{path './table' }}) behave like a flex item, for a specific CEPv2
|
|
|
14
14
|
|
|
15
15
|
[source]: https://stackoverflow.com/a/41421700/11817077 "Stack Overflow: Why does flex-box work with a div, but not a table?"
|
|
16
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>
|
|
17
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -24,9 +24,4 @@ Older features are not illustrated in the demo:
|
|
|
24
24
|
| `.o-section--layout-c` | (on wider screens) 1 narrow column & 1 wide column
|
|
25
25
|
| `.o-section--layout-d` | (on wider screens) 3 even columns
|
|
26
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>
|
|
27
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -12,9 +12,4 @@ For extra customization, see relevant <code>extra…</code> "File" from "Assets"
|
|
|
12
12
|
|
|
13
13
|
[source-flex]: https://stackoverflow.com/a/41421700/11817077 "Stack Overflow: Why does flex-box work with a div, but not a table?"
|
|
14
14
|
|
|
15
|
-
<script
|
|
16
|
-
/* To open external links in new window */
|
|
17
|
-
Array.from(document.links)
|
|
18
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
19
|
-
.forEach(link => link.target = '_blank');
|
|
20
|
-
</script>
|
|
15
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -10,9 +10,4 @@ Make [table]({{path './table' }}) width able to <strong>stretch</strong> <em>but
|
|
|
10
10
|
|
|
11
11
|
[source-flex]: https://stackoverflow.com/a/41421700/11817077 "Stack Overflow: Why does flex-box work with a div, but not a table?"
|
|
12
12
|
|
|
13
|
-
<script
|
|
14
|
-
/* To open external links in new window */
|
|
15
|
-
Array.from(document.links)
|
|
16
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
17
|
-
.forEach(link => link.target = '_blank');
|
|
18
|
-
</script>
|
|
13
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -6,9 +6,4 @@ For extra customization, see relevant <code>extra…</code> "File" from "Assets"
|
|
|
6
6
|
>
|
|
7
7
|
> This class can **only** be used on a table wrapper. It has **no** affect when used on table directly.
|
|
8
8
|
|
|
9
|
-
<script
|
|
10
|
-
/* To open external links in new window */
|
|
11
|
-
Array.from(document.links)
|
|
12
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
13
|
-
.forEach(link => link.target = '_blank');
|
|
14
|
-
</script>
|
|
9
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -10,9 +10,4 @@ Make [table]({{path './table' }}) overflow <strong>scrollable</strong> (advanced
|
|
|
10
10
|
|
|
11
11
|
[source-scroll]: https://stackoverflow.com/a/19794391/11817077 "Stack Overflow: Horizontal scroll on overflow of table (answer)"
|
|
12
12
|
|
|
13
|
-
<script
|
|
14
|
-
/* To open external links in new window */
|
|
15
|
-
Array.from(document.links)
|
|
16
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
17
|
-
.forEach(link => link.target = '_blank');
|
|
18
|
-
</script>
|
|
13
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -12,9 +12,4 @@ For extra customization, see relevant <code>extra…</code> "File" from "Assets"
|
|
|
12
12
|
|
|
13
13
|
[source-scroll]: https://stackoverflow.com/a/19794391/11817077 "Stack Overflow: Horizontal scroll on overflow of table (answer)"
|
|
14
14
|
|
|
15
|
-
<script
|
|
16
|
-
/* To open external links in new window */
|
|
17
|
-
Array.from(document.links)
|
|
18
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
19
|
-
.forEach(link => link.target = '_blank');
|
|
20
|
-
</script>
|
|
15
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -16,9 +16,4 @@ For client customization examples, see relevant <code>example.…-….css</code>
|
|
|
16
16
|
[source-flex]: https://stackoverflow.com/a/41421700/11817077 "Stack Overflow: Why does flex-box work with a div, but not a table?"
|
|
17
17
|
[source-scroll]: https://stackoverflow.com/a/19794391/11817077 "Stack Overflow: Horizontal scroll on overflow of table (answer)"
|
|
18
18
|
|
|
19
|
-
<script
|
|
20
|
-
/* To open external links in new window */
|
|
21
|
-
Array.from(document.links)
|
|
22
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
23
|
-
.forEach(link => link.target = '_blank');
|
|
24
|
-
</script>
|
|
19
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Variables) for colors.
|
|
2
2
|
|
|
3
|
-
<script
|
|
4
|
-
/* To open external links in new window */
|
|
5
|
-
Array.from(document.links)
|
|
6
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
7
|
-
.forEach(link => link.target = '_blank');
|
|
8
|
-
</script>
|
|
3
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Variables) for [font](https://developer.mozilla.org/en-US/docs/Web/CSS/font) properties.
|
|
2
2
|
|
|
3
|
-
<script
|
|
4
|
-
/* To open external links in new window */
|
|
5
|
-
Array.from(document.links)
|
|
6
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
7
|
-
.forEach(link => link.target = '_blank');
|
|
8
|
-
</script>
|
|
3
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -7,9 +7,4 @@ UI states of [`<a>` anchor element](https://developer.mozilla.org/en-US/docs/Web
|
|
|
7
7
|
| `.x-link--hover` | `:hover` state
|
|
8
8
|
| `.x-link--active` | `:active` (click) state
|
|
9
9
|
|
|
10
|
-
<script
|
|
11
|
-
/* To open external links in new window */
|
|
12
|
-
Array.from(document.links)
|
|
13
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
14
|
-
.forEach(link => link.target = '_blank');
|
|
15
|
-
</script>
|
|
10
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -14,9 +14,4 @@ Mixins for tab components e.g. [Bootstrap Nav Tabs]({{path './bootstrap--nav-tab
|
|
|
14
14
|
| `.x-tabs__content--active` | visible content
|
|
15
15
|
| `.x-tabs__content--force-active` | to force content to be visible
|
|
16
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>
|
|
17
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -16,9 +16,4 @@ _This is an isolated feature from [Bootstrap Input Group](https://getbootstrap.c
|
|
|
16
16
|
- `<input type="date">` calendar
|
|
17
17
|
- `<input type="time">` clock
|
|
18
18
|
|
|
19
|
-
<script
|
|
20
|
-
/* To open external links in new window */
|
|
21
|
-
Array.from(document.links)
|
|
22
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
23
|
-
.forEach(link => link.target = '_blank');
|
|
24
|
-
</script>
|
|
19
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -4,9 +4,4 @@ A [`<blockquote>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blo
|
|
|
4
4
|
>
|
|
5
5
|
> Should this be implemented as `figure.has-blockquote` (fallback) `figure:has(blockquote)` (actual)? We can retain legacy support for `figure.s-blockquote` as an alternate class name.
|
|
6
6
|
|
|
7
|
-
<script
|
|
8
|
-
/* To open external links in new window */
|
|
9
|
-
Array.from(document.links)
|
|
10
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
11
|
-
.forEach(link => link.target = '_blank');
|
|
12
|
-
</script>
|
|
7
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
To style when mostly raw [Form elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#table_content) are sufficient.
|
|
2
2
|
|
|
3
|
-
<script
|
|
4
|
-
/* To open external links in new window */
|
|
5
|
-
Array.from(document.links)
|
|
6
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
7
|
-
.forEach(link => link.target = '_blank');
|
|
8
|
-
</script>
|
|
3
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<footer>
|
|
2
|
+
<a href="https://tacc.utexas.edu/about/security-and-compliance/">
|
|
3
|
+
Security
|
|
4
|
+
</a>
|
|
5
|
+
<a href="https://tacc.utexas.edu/use-tacc/user-policies/">
|
|
6
|
+
Policies
|
|
7
|
+
</a>
|
|
8
|
+
<a href="https://www.nsf.gov/" target="_blank">
|
|
9
|
+
Funded by:
|
|
10
|
+
<img src="https://cep.tacc.utexas.edu/static/site_cms/img/org_logos/nsf-logo.svg"
|
|
11
|
+
alt="NSF" title="National Science Foundation" height="50px">
|
|
12
|
+
</a>
|
|
13
|
+
</footer>
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
<div class="s-form-page">
|
|
2
2
|
{{ render '@s-form--login' }}
|
|
3
|
-
|
|
4
|
-
<a href="https://tacc.utexas.edu/about/security-and-compliance/">
|
|
5
|
-
Security
|
|
6
|
-
</a>
|
|
7
|
-
<a href="https://tacc.utexas.edu/use-tacc/user-policies/">
|
|
8
|
-
Policies
|
|
9
|
-
</a>
|
|
10
|
-
</footer>
|
|
3
|
+
{{> @s-form-page--footer }}
|
|
11
4
|
</div>
|
|
@@ -2,12 +2,5 @@
|
|
|
2
2
|
<form>
|
|
3
3
|
[ form goes here ]
|
|
4
4
|
</form>
|
|
5
|
-
|
|
6
|
-
<a href="https://tacc.utexas.edu/about/security-and-compliance/">
|
|
7
|
-
Security
|
|
8
|
-
</a>
|
|
9
|
-
<a href="https://tacc.utexas.edu/use-tacc/user-policies/">
|
|
10
|
-
Policies
|
|
11
|
-
</a>
|
|
12
|
-
</footer>
|
|
5
|
+
{{> @s-form-page--footer }}
|
|
13
6
|
</div>
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: 1.5em;
|
|
32
32
|
margin-top: var(--global-space--normal);
|
|
33
|
+
/* In case children are different height (e.g. one has or is an image) */
|
|
34
|
+
align-items: center;
|
|
33
35
|
|
|
34
36
|
font-family: var(--global-font-family--sans--cms);
|
|
35
37
|
font-size: var(--global-font-size--small);
|
|
@@ -46,3 +48,16 @@
|
|
|
46
48
|
color: var(--global-color-primary--x-dark);
|
|
47
49
|
font-weight: var(--bold);
|
|
48
50
|
}
|
|
51
|
+
|
|
52
|
+
/* To allow image inside link wiht a gap between it and text */
|
|
53
|
+
.s-form-page > footer a {
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 0.5em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-width: 768px) {
|
|
60
|
+
.s-form-page>footer {
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -5,9 +5,4 @@ A [table]({{path './table' }}) that uses [paragraphs](https://developer.mozilla.
|
|
|
5
5
|
> - Text will not truncate. It will wrap.
|
|
6
6
|
> - Only a single column is supported.
|
|
7
7
|
|
|
8
|
-
<script
|
|
9
|
-
/* To open external links in new window */
|
|
10
|
-
Array.from(document.links)
|
|
11
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
12
|
-
.forEach(link => link.target = '_blank');
|
|
13
|
-
</script>
|
|
8
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|
|
@@ -4,9 +4,4 @@ A [table]({{path './table' }}) that uses a [table](https://developer.mozilla.org
|
|
|
4
4
|
>
|
|
5
5
|
> - Text will truncate only if it is in a `<p>` tag.
|
|
6
6
|
|
|
7
|
-
<script
|
|
8
|
-
/* To open external links in new window */
|
|
9
|
-
Array.from(document.links)
|
|
10
|
-
.filter(link => link.hostname != window.location.hostname)
|
|
11
|
-
.forEach(link => link.target = '_blank');
|
|
12
|
-
</script>
|
|
7
|
+
<script src="{{path '/assets/_utils/js/open-ext-links-in-new-window.js'}}" />
|