@tacc/core-styles 0.10.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -85
- package/dist/branding_logos.css +1 -1
- package/dist/components/README.css +1 -1
- 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 -0
- 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.css +1 -1
- 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.css +1 -1
- 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/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/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.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/demo.css +1 -0
- package/dist/elements/form.cms.css +1 -1
- package/dist/elements/html-elements.cms.css +1 -1
- package/dist/elements/html-elements.css +1 -0
- package/dist/elements/links/demo.css +1 -0
- package/dist/elements/links.css +1 -1
- package/dist/elements/table--basic.css +1 -1
- package/dist/elements/table--nested.css +1 -1
- package/dist/elements/table.css +1 -1
- 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.css +1 -1
- 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/extra.flexible-horz.css +1 -0
- package/dist/objects/o-table-wrap/extra.overflow-hidden.css +1 -0
- package/dist/objects/o-table-wrap/extra.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/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/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/demo.css +1 -0
- 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/s-affixed-input-wrapper/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-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 +10 -5
- package/docs/shortcuts/tables.md +7 -0
- package/fractal.config.js +33 -17
- package/package.json +11 -7
- package/src/.postcssrc.base.yml +11 -2
- package/src/bin/build.js +0 -1
- package/src/lib/_imports/_partials/text-of-one-paragraph.hbs +1 -0
- package/src/lib/_imports/_partials/text-of-one-sentence.hbs +1 -0
- package/src/lib/_imports/_preview.hbs +95 -42
- package/src/lib/_imports/branding_logos.css +0 -2
- package/src/lib/_imports/components/bootstrap/{bootstrap.container/bootstrap.container.hbs → bootstrap--container.hbs} +0 -0
- package/src/lib/_imports/components/bootstrap/{bootstrap.container/readme.md → bootstrap--container.readme.md} +0 -0
- package/src/lib/_imports/components/bootstrap/{portal/bootstrap.form/docs.css → bootstrap--form.demo.css} +0 -0
- package/src/lib/_imports/components/bootstrap/{portal/bootstrap.form/bootstrap.form.hbs → bootstrap--form.hbs} +0 -2
- package/src/lib/_imports/components/bootstrap/{portal/bootstrap.form/readme.md → bootstrap--form.readme.md} +0 -0
- package/src/lib/_imports/components/bootstrap/{bootstrap.modal/docs.css → bootstrap--modal.demo.css} +0 -0
- package/src/lib/_imports/components/bootstrap/{bootstrap.modal/bootstrap.modal.hbs → bootstrap--modal.hbs} +0 -2
- package/src/lib/_imports/components/bootstrap/{bootstrap.modal/readme.md → bootstrap--modal.readme.md} +4 -0
- package/src/lib/_imports/components/bootstrap/bootstrap.hbs +6 -0
- package/src/lib/_imports/components/bootstrap/bootstrap.readme.md +14 -0
- package/src/lib/_imports/components/bootstrap/config.yml +12 -0
- package/src/lib/_imports/components/bootstrap/demo.css +7 -0
- package/src/lib/_imports/components/bootstrap.container.css +0 -1
- package/src/lib/_imports/components/bootstrap.css +3 -0
- 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/c-button.hbs +12 -18
- package/src/lib/_imports/components/c-button/{docs.css → demo.css} +0 -5
- package/src/lib/_imports/components/c-button.css +15 -6
- package/src/lib/_imports/components/c-form/c-form.hbs +362 -0
- package/src/lib/_imports/components/c-form/config.yml +2 -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.css +61 -24
- package/src/lib/_imports/components/cortal.icon.css +15 -6
- package/src/lib/_imports/components/django-cms-forms/config.yml +5 -0
- package/src/lib/_imports/components/django-cms-forms/django-cms-forms.hbs +404 -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/core-styles.base.css +54 -0
- package/src/lib/_imports/core-styles.cms.css +34 -0
- package/src/lib/_imports/core-styles.demo.css +23 -0
- package/src/lib/_imports/core-styles.header.css +37 -0
- package/src/lib/_imports/core-styles.portal.css +25 -0
- package/src/lib/_imports/core-styles.settings.css +9 -0
- package/src/lib/_imports/elements/demo.css +59 -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/html-elements.cms.css +6 -53
- package/src/lib/_imports/elements/html-elements.css +67 -0
- package/src/lib/_imports/elements/links/config.yml +3 -0
- package/src/lib/_imports/elements/links/links.hbs +0 -2
- package/src/lib/_imports/elements/links.css +3 -3
- package/src/lib/_imports/elements/table/config.yml +146 -0
- package/src/lib/_imports/elements/table/readme.md +12 -0
- package/src/lib/_imports/elements/table/table--nested.readme.md +12 -0
- package/src/lib/_imports/elements/table/table--paragraph.readme.md +12 -0
- package/src/lib/_imports/elements/table/table.hbs +52 -0
- package/src/lib/_imports/elements/table--basic.css +113 -0
- package/src/lib/_imports/elements/table--nested.css +61 -0
- package/src/lib/_imports/elements/table.css +2 -0
- package/src/lib/_imports/generics/fonts.css +21 -7
- package/src/lib/_imports/objects/o-fixed-header-table/config.yml +60 -0
- package/src/lib/_imports/objects/o-fixed-header-table/demo.css +18 -0
- package/src/lib/_imports/objects/o-fixed-header-table/o-fixed-header-table.hbs +3 -0
- package/src/lib/_imports/objects/o-fixed-header-table/readme.md +18 -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-section.css +0 -1
- package/src/lib/_imports/objects/o-site.css +1 -0
- package/src/lib/_imports/objects/o-table-wrap/config.yml +82 -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/extra.flexible-horz.css +23 -0
- package/src/lib/_imports/objects/o-table-wrap/extra.overflow-hidden.css +7 -0
- package/src/lib/_imports/objects/o-table-wrap/extra.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/color.css +29 -11
- package/src/lib/_imports/settings/font.css +2 -0
- package/src/lib/_imports/{elements/links/docs.css → tools/x-link/demo.css} +0 -0
- package/src/lib/_imports/tools/x-link/x-link.hbs +13 -2
- package/src/lib/_imports/tools/x-link.css +20 -3
- package/src/lib/_imports/trumps/s-affixed-input-wrapper/{readme.md → README.md} +0 -0
- package/src/lib/_imports/trumps/s-affixed-input-wrapper/config.yml +3 -2
- package/src/lib/_imports/trumps/s-affixed-input-wrapper/s-affixed-input-wrapper.hbs +26 -26
- package/src/lib/_imports/trumps/s-affixed-input-wrapper.css +9 -11
- package/src/lib/_imports/trumps/s-cms-nav.css +11 -0
- package/src/lib/_imports/trumps/s-header.bootstrap.css +30 -0
- package/src/lib/_imports/trumps/s-header.css +1 -0
- package/src/lib/_imports/trumps/s-inline-dl.css +1 -0
- package/src/lib/_imports/trumps/s-irregular-links/config.yml +1 -5
- package/src/lib/_imports/trumps/s-irregular-links.css +7 -12
- 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.modal/docs.css +0 -1
- package/dist/components/bootstrap/portal/bootstrap.form/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/_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/bootstrap/bootstrap.container/config.yml +0 -3
- package/src/lib/_imports/components/bootstrap/bootstrap.modal/config.yml +0 -2
- package/src/lib/_imports/components/bootstrap/portal/bootstrap.form/config.yml +0 -3
- 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/_tests/README.md +0 -38
- package/src/lib/_tests/postcss-extend.css +0 -80
- package/src/lib/_tests/postcss-preset-env.css +0 -75
- package/src/lib/_tests.css +0 -12
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
A [table]({{path './table' }}) with cells that have [paragraphs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p).
|
|
2
|
+
|
|
3
|
+
> **ⓘ Notice**
|
|
4
|
+
>
|
|
5
|
+
> Text will truncate at N lines; see [truncate mixin]({{path './x-truncate' }}) to control line count.
|
|
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>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<table {{#if data.has-table }}class="has-table"{{/if}}>
|
|
2
|
+
{{#if caption }}
|
|
3
|
+
<caption>{{{ caption }}}</catpion>
|
|
4
|
+
{{/if}}
|
|
5
|
+
<thead>
|
|
6
|
+
<tr>
|
|
7
|
+
{{#each data.cols}}<th>{{ this }}</th>{{/each}}
|
|
8
|
+
</tr>
|
|
9
|
+
</thead>
|
|
10
|
+
<tbody>
|
|
11
|
+
{{#each data.rows}}
|
|
12
|
+
<tr>
|
|
13
|
+
{{#if id}}<th>{{ id }}</th>{{/if}}
|
|
14
|
+
{{#if name}}<th>{{ name }}</th>{{/if}}
|
|
15
|
+
{{#if name-link}}<th><a href="#">{{ name-link }}</a></th>{{/if}}
|
|
16
|
+
{{#if paragraph}}
|
|
17
|
+
<td title="{{> @text-of-one-paragraph }}">
|
|
18
|
+
<p>{{> @text-of-one-paragraph }}</p>
|
|
19
|
+
</td>
|
|
20
|
+
{{/if}}
|
|
21
|
+
{{#if sentence}}
|
|
22
|
+
<td title="{{> @text-of-one-sentence }}">
|
|
23
|
+
<span>{{> @text-of-one-sentence }}</span>
|
|
24
|
+
</td>
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{#if custom-1}}<td>{{{ custom-1 }}}</td>{{/if}}
|
|
27
|
+
{{#if custom-2}}<td>{{{ custom-2 }}}</td>{{/if}}
|
|
28
|
+
{{#if custom-3}}<td>{{{ custom-3 }}}</td>{{/if}}
|
|
29
|
+
{{#if time}}<td><time>{{ time }}</time></td>{{/if}}
|
|
30
|
+
{{#if acts}}
|
|
31
|
+
<td>
|
|
32
|
+
<ul>
|
|
33
|
+
{{#each acts}}
|
|
34
|
+
{{#if is-link }}<li><a href="#">{{ text }}</a></li>{{/if}}
|
|
35
|
+
{{#if is-button}}<li>
|
|
36
|
+
<button class="c-button c-button--as-link">
|
|
37
|
+
{{ text }}
|
|
38
|
+
</button>
|
|
39
|
+
</li>{{/if}}
|
|
40
|
+
{{/each}}
|
|
41
|
+
</ul>
|
|
42
|
+
</td>
|
|
43
|
+
{{/if}}
|
|
44
|
+
{{#if table}}
|
|
45
|
+
<td class="has-table">
|
|
46
|
+
{{> @table data=table }}
|
|
47
|
+
</td>
|
|
48
|
+
{{/if}}
|
|
49
|
+
</tr>
|
|
50
|
+
{{/each}}
|
|
51
|
+
</tbody>
|
|
52
|
+
</table>
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@import url("../tools/x-truncate.css");
|
|
2
|
+
|
|
3
|
+
table {
|
|
4
|
+
/* To prevent borders from being hidden */
|
|
5
|
+
/* NOTE: Specifically, the right border of pinned columns (narrow windows) */
|
|
6
|
+
border-collapse: separate; /* overwrite Bootstrap */
|
|
7
|
+
border-spacing: 0;
|
|
8
|
+
|
|
9
|
+
font-family: var(--global-font-family--sans--portal);
|
|
10
|
+
font-size: var(--global-font-size--small);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* To add border to bottom of all rows */
|
|
14
|
+
/* FAQ: Added to cell, not row, because `border-collapse: separate` */
|
|
15
|
+
thead tr :is(td, th) {
|
|
16
|
+
border-bottom-width: var(--global-border-width--normal);
|
|
17
|
+
border-bottom-style: solid;
|
|
18
|
+
border-bottom-color: var(--global-color-primary--x-dark);
|
|
19
|
+
}
|
|
20
|
+
tr:not(:last-of-type) > :is(td, th) {
|
|
21
|
+
border-bottom-width: var(--global-border-width--normal);
|
|
22
|
+
border-bottom-style: solid;
|
|
23
|
+
border-bottom-color: var(--global-color-primary--light);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* To alternate table row colors (by coloring cells, not rows) */
|
|
27
|
+
/* FAQ: Colored cells hide sibling column cells scrolled underneath */
|
|
28
|
+
/* NOTE: On narrow screens, first column is pinned and others scroll under it */
|
|
29
|
+
tr:nth-child(odd) :is(th, td) {
|
|
30
|
+
background: var(--global-color-background--app);
|
|
31
|
+
}
|
|
32
|
+
tr:nth-child(even) :is(th, td) {
|
|
33
|
+
background: var(--global-color-primary--x-light);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:is(td, th) {
|
|
37
|
+
vertical-align: top;
|
|
38
|
+
padding-block: 8px;
|
|
39
|
+
padding-inline: 16px;
|
|
40
|
+
|
|
41
|
+
color: var(--global-color-primary--dark);
|
|
42
|
+
}
|
|
43
|
+
/* To ensure <thead> height matches between browsers */
|
|
44
|
+
:is(td, th) {
|
|
45
|
+
/* FAQ: Line-height > font-size accomodates ascender & descender letters */
|
|
46
|
+
/* HACK: Units for line-height are discouraged */
|
|
47
|
+
/* NOTE: If line-height unitless, Firefox & Chrome give different height */
|
|
48
|
+
/* IMPORTANT: More than for consistency; `table--nested.css` requires this */
|
|
49
|
+
line-height: var(--global-font-size--medium);
|
|
50
|
+
}
|
|
51
|
+
/* To pin first column to left of table even during scroll */
|
|
52
|
+
/* WARNING: Design has not reviewed this (but not designed responsive table) */
|
|
53
|
+
:is(th, td):first-child {
|
|
54
|
+
position: sticky;
|
|
55
|
+
left: 0;
|
|
56
|
+
|
|
57
|
+
border-right: var(--global-border-width--normal) solid var(--global-color-primary--light);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
th {
|
|
61
|
+
color: var(--global-color-primary--x-dark);
|
|
62
|
+
|
|
63
|
+
text-align: inherit; /* copied from Bootstrap 4.0.0 */
|
|
64
|
+
}
|
|
65
|
+
thead > tr > th {
|
|
66
|
+
font-weight: var(--bold);
|
|
67
|
+
}
|
|
68
|
+
tbody > tr > th {
|
|
69
|
+
font-weight: var(--normal);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
caption {
|
|
73
|
+
font-size: var(--global-font-size--small);
|
|
74
|
+
text-align: unset; /* undo Bootstrap _reboot.css */
|
|
75
|
+
caption-side: top; /* override Bootstrap */
|
|
76
|
+
|
|
77
|
+
/* To mimic table cell */
|
|
78
|
+
padding-block: 8px;
|
|
79
|
+
padding-inline: 16px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
/* Cell Content */
|
|
85
|
+
|
|
86
|
+
/* To override browser */
|
|
87
|
+
td ul {
|
|
88
|
+
list-style: none;
|
|
89
|
+
padding-inline-start: 0;
|
|
90
|
+
margin-block: 0;
|
|
91
|
+
}
|
|
92
|
+
td li:not(:last-of-type) {
|
|
93
|
+
/* To match line-height of other cells, but still allow space between items */
|
|
94
|
+
margin-bottom: 0.5em;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* To override browser */
|
|
98
|
+
td button {
|
|
99
|
+
/* To match font-size of table cell text and links */
|
|
100
|
+
font-size: inherit;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* To override `site.css` or browser */
|
|
104
|
+
table p {
|
|
105
|
+
margin-top: 0;
|
|
106
|
+
}
|
|
107
|
+
table p:last-child {
|
|
108
|
+
margin-bottom: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
table p {
|
|
112
|
+
@extend %x-truncate--many-lines;
|
|
113
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import url('../tools/x-truncate.css');
|
|
2
|
+
|
|
3
|
+
@supports selector(:has(table)) {
|
|
4
|
+
/* To ensure matching row height of nested table and parent table */
|
|
5
|
+
table:has(table) :is(td, th) { white-space: nowrap; }
|
|
6
|
+
|
|
7
|
+
/* To move even row background to nested table only */
|
|
8
|
+
table:has(table) tr:nth-child(even) :is(th, td) {
|
|
9
|
+
background: var(--global-color-background--app);
|
|
10
|
+
}
|
|
11
|
+
td:has(table) tr:nth-child(even) :is(th, td) {
|
|
12
|
+
background: var(--global-color-primary--x-light);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* To align nested table cells with parent table cells */
|
|
16
|
+
td:has(table) { padding: 0; }
|
|
17
|
+
}
|
|
18
|
+
@supports not selector(:has(table)) {
|
|
19
|
+
/* To ensure matching row height of nested table and parent table */
|
|
20
|
+
table.has-table :is(td, th) { white-space: nowrap; }
|
|
21
|
+
|
|
22
|
+
/* To move even row background to nested table only */
|
|
23
|
+
table.has-table tr:nth-child(even) :is(th, td) {
|
|
24
|
+
background: var(--global-color-background--app);
|
|
25
|
+
}
|
|
26
|
+
td.has-table tr:nth-child(even) :is(th, td) {
|
|
27
|
+
background: var(--global-color-primary--x-light);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* To align nested table cells with parent table cells */
|
|
31
|
+
td.has-table { padding: 0; }
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* To replace parent table columns above with nested table columns */
|
|
35
|
+
/* FAQ: Pulls nested table up by the height of the parent table head */
|
|
36
|
+
tr table {
|
|
37
|
+
--offset: calc(-1 * 33px); /* WARNING: manually calculated */
|
|
38
|
+
|
|
39
|
+
transform: translateY(var(--offset));
|
|
40
|
+
margin-bottom: var(--offset);
|
|
41
|
+
}
|
|
42
|
+
/* FAQ: Hides any parent table head underneath nested table head */
|
|
43
|
+
tr:first-of-type thead {
|
|
44
|
+
background: var(--global-color-background--app);
|
|
45
|
+
}
|
|
46
|
+
/* FAQ: Hides all successive (thus redundant) nested table heads */
|
|
47
|
+
tr:not(:first-of-type) thead {
|
|
48
|
+
visibility: hidden;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* To reduce inline padding
|
|
52
|
+
at start and end of nested table
|
|
53
|
+
unless at start or end of parent table */
|
|
54
|
+
td:not(:first-child) th:first-child,
|
|
55
|
+
td:not(:first-child) td:first-child {
|
|
56
|
+
padding-inline-start: 8px;
|
|
57
|
+
}
|
|
58
|
+
td:not(:last-child) th:last-child,
|
|
59
|
+
td:not(:last-child) td:last-child {
|
|
60
|
+
padding-inline-end: 8px;
|
|
61
|
+
}
|
|
@@ -6,9 +6,9 @@ Load standard fonts for a TACC website.
|
|
|
6
6
|
Usage:
|
|
7
7
|
```
|
|
8
8
|
.something {
|
|
9
|
-
// BentonSans-
|
|
9
|
+
// BentonSans-RegularItalic
|
|
10
10
|
font-family: 'Benton Sans';
|
|
11
|
-
font-weight:
|
|
11
|
+
font-weight: 400;
|
|
12
12
|
font-style: italic;
|
|
13
13
|
}
|
|
14
14
|
```
|
|
@@ -28,12 +28,11 @@ Styleguide Generics.Fonts
|
|
|
28
28
|
font-style: normal;
|
|
29
29
|
font-display: swap;
|
|
30
30
|
}
|
|
31
|
-
|
|
32
31
|
@font-face {
|
|
33
32
|
font-family: 'Benton Sans';
|
|
34
|
-
src: url("../../fonts/BentonSans-
|
|
35
|
-
font-weight:
|
|
36
|
-
font-style:
|
|
33
|
+
src: url("../../fonts/BentonSans-RegularItalic.otf") format("opentype");
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
font-style: italic;
|
|
37
36
|
font-display: swap;
|
|
38
37
|
}
|
|
39
38
|
|
|
@@ -44,7 +43,6 @@ Styleguide Generics.Fonts
|
|
|
44
43
|
font-style: normal;
|
|
45
44
|
font-display: swap;
|
|
46
45
|
}
|
|
47
|
-
|
|
48
46
|
@font-face {
|
|
49
47
|
font-family: 'Benton Sans';
|
|
50
48
|
src: url("../../fonts/BentonSans-MediumItalic.otf") format("opentype");
|
|
@@ -52,3 +50,19 @@ Styleguide Generics.Fonts
|
|
|
52
50
|
font-style: italic;
|
|
53
51
|
font-display: swap;
|
|
54
52
|
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Benton Sans';
|
|
56
|
+
src: url("../../fonts/BentonSans-Bold.otf") format("opentype");
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-display: swap;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'Benton Sans';
|
|
64
|
+
src: url("../../fonts/BentonSans-Black.otf") format("opentype");
|
|
65
|
+
font-weight: 800;
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-display: swap;
|
|
68
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
status: ready
|
|
2
|
+
order: 1
|
|
3
|
+
context:
|
|
4
|
+
shouldLoadBootstrap: true # not yet tested without Bootstrap
|
|
5
|
+
shouldLoadCMS: true # temporary dependence, until proven to work on Portal
|
|
6
|
+
data:
|
|
7
|
+
cols:
|
|
8
|
+
- ID
|
|
9
|
+
- Name
|
|
10
|
+
- Size
|
|
11
|
+
- Time
|
|
12
|
+
rows:
|
|
13
|
+
- id: n234as
|
|
14
|
+
name: apple-sauce
|
|
15
|
+
custom-1: 0.5 KB
|
|
16
|
+
time: 12/01/2019 11:04:19
|
|
17
|
+
- id: 56l810
|
|
18
|
+
name: milk-shake-032
|
|
19
|
+
custom-1: 300.0 KB
|
|
20
|
+
time: 03/22/2021 05:23:01
|
|
21
|
+
- id: 3r56xc
|
|
22
|
+
name: white-candy-5
|
|
23
|
+
custom-1: 1.5 MB
|
|
24
|
+
time: 12/01/2019 11:04:19
|
|
25
|
+
- id: 7ysnw3
|
|
26
|
+
name: butter-balls
|
|
27
|
+
custom-1: 0.5 KB
|
|
28
|
+
time: 09/11/2010 10:54:09
|
|
29
|
+
- id: 20ksdf
|
|
30
|
+
name: lemon-cookies-30
|
|
31
|
+
custom-1: 250.0 MB
|
|
32
|
+
time: 04/20/2020 15:03:10
|
|
33
|
+
- id: 7uys9e
|
|
34
|
+
name: purple-turnips-6
|
|
35
|
+
custom-1: 10.5 GB
|
|
36
|
+
time: 10/31/2017 19:59:41
|
|
37
|
+
- id: 98eeui
|
|
38
|
+
name: nightmare-treats
|
|
39
|
+
custom-1: 0.5 KB
|
|
40
|
+
time: 12/01/2019 11:04:19
|
|
41
|
+
- id: 54rr0s
|
|
42
|
+
name: toffe-pimples-12
|
|
43
|
+
custom-1: 300.0 KB
|
|
44
|
+
time: 03/22/2021 05:23:01
|
|
45
|
+
- id: 12dsds
|
|
46
|
+
name: cartesian-dumpling
|
|
47
|
+
custom-1: 1.5 MB
|
|
48
|
+
time: 12/01/2019 11:04:19
|
|
49
|
+
- id: 2gesee
|
|
50
|
+
name: crunchy-noodles
|
|
51
|
+
custom-1: 0.5 KB
|
|
52
|
+
time: 09/11/2010 10:54:09
|
|
53
|
+
- id: wr435e
|
|
54
|
+
name: ripe-mango-220
|
|
55
|
+
custom-1: 250.0 MB
|
|
56
|
+
time: 04/20/2020 15:03:10
|
|
57
|
+
- id: 76rgd3
|
|
58
|
+
name: purple-turnips-6
|
|
59
|
+
custom-1: 10.5 GB
|
|
60
|
+
time: 10/31/2017 19:59:41
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* This CSS is ONLY for the pattern library. It is NOT part of the pattern. */
|
|
2
|
+
|
|
3
|
+
/* To manage scrollbars to illustrate feature */
|
|
4
|
+
div {
|
|
5
|
+
/* To force render of vertical scrollbar */
|
|
6
|
+
max-height: 300px;
|
|
7
|
+
overflow-y: scroll;
|
|
8
|
+
|
|
9
|
+
/* To avoid duplicate vertical scrollbars */
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* To illustrate that scrollbar is for the table (not the window) */
|
|
14
|
+
body {
|
|
15
|
+
display: grid;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-items: center;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
A [table]({{path './table' }}) with its header pinned during vertical scroll.
|
|
2
|
+
|
|
3
|
+
> **?⃝ Explanation**
|
|
4
|
+
>
|
|
5
|
+
> [You can’t position: sticky; a `<thead>`. Nor a `<tr>`. But you can sticky a `<th>`…][source]
|
|
6
|
+
|
|
7
|
+
> **ⓘ Notice**
|
|
8
|
+
>
|
|
9
|
+
> This class can be used on a table **or** a table wrapper.
|
|
10
|
+
|
|
11
|
+
[source]: https://css-tricks.com/position-sticky-and-table-headers/ "CSS Tricks: Position Sticky & Table Headers"
|
|
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>
|
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Fixed Header Table
|
|
3
|
-
|
|
4
|
-
A table with a header that does not move, and a body that scrolls.
|
|
5
|
-
|
|
6
|
-
Markup:
|
|
7
|
-
<table class="o-fixed-header-table">
|
|
8
|
-
<thead>
|
|
9
|
-
<tr>
|
|
10
|
-
<th>A</th>
|
|
11
|
-
<th>B</th>
|
|
12
|
-
<th>C</th>
|
|
13
|
-
</tr>
|
|
14
|
-
</thead>
|
|
15
|
-
<tbody>
|
|
16
|
-
<tr>
|
|
17
|
-
<td>A</td>
|
|
18
|
-
<td>B</td>
|
|
19
|
-
<td>C</td>
|
|
20
|
-
</tr>
|
|
21
|
-
</thead>
|
|
22
|
-
</table>
|
|
23
|
-
|
|
24
|
-
Styleguide Objects.FixedHeaderTable
|
|
25
|
-
*/
|
|
26
|
-
/* SEE: https://css-tricks.com/position-sticky-and-table-headers/ */
|
|
27
|
-
.o-fixed-header-table th {
|
|
1
|
+
.o-fixed-header-table thead :is(td, th) {
|
|
28
2
|
position: sticky;
|
|
29
3
|
top: 0;
|
|
30
4
|
|
|
@@ -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) */
|
|
@@ -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,82 @@
|
|
|
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 # not yet tested without Bootstrap
|
|
49
|
+
shouldLoadCMS: true # temporary dependence, until proven to work on Portal
|
|
50
|
+
data:
|
|
51
|
+
cols:
|
|
52
|
+
- ID
|
|
53
|
+
- Name
|
|
54
|
+
- Description
|
|
55
|
+
- Size
|
|
56
|
+
- Time
|
|
57
|
+
rows:
|
|
58
|
+
- id: n234as
|
|
59
|
+
name: apple-sauce
|
|
60
|
+
sentence: true
|
|
61
|
+
custom-1: 0.5 KB
|
|
62
|
+
time: 12/01/2019 11:04:19
|
|
63
|
+
- id: 56l810
|
|
64
|
+
name: milk-shake-032
|
|
65
|
+
sentence: true
|
|
66
|
+
custom-1: 300.0 KB
|
|
67
|
+
time: 03/22/2021 05:23:01
|
|
68
|
+
- id: 3r56xc
|
|
69
|
+
name: white-candy-5
|
|
70
|
+
sentence: true
|
|
71
|
+
custom-1: 1.5 MB
|
|
72
|
+
time: 12/01/2019 11:04:19
|
|
73
|
+
- id: 7ysnw3
|
|
74
|
+
name: butter-balls
|
|
75
|
+
sentence: true
|
|
76
|
+
custom-1: 0.5 KB
|
|
77
|
+
time: 09/11/2010 10:54:09
|
|
78
|
+
- id: 20ksdf
|
|
79
|
+
name: lemon-cookies-30
|
|
80
|
+
sentence: true
|
|
81
|
+
custom-1: 250.0 MB
|
|
82
|
+
time: 04/20/2020 15:03:10
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* This CSS is ONLY for the pattern library. It is NOT part of the pattern. */
|
|
2
|
+
|
|
3
|
+
/* IMPORTANT: See `example.….css` code to learn how to adapt this pattern. */
|
|
4
|
+
|
|
5
|
+
/* To force overflow */
|
|
6
|
+
.o-table-wrap--overflow-hidden:not(.demo-advanced *),
|
|
7
|
+
.o-table-wrap--overflow-scroll:not(.demo-advanced *) {
|
|
8
|
+
width: 400px;
|
|
9
|
+
height: 175px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* To illustrate table behavior is because of flex item wrapper (not window) */
|
|
13
|
+
body {
|
|
14
|
+
display: flex;
|
|
15
|
+
gap: 25px;
|
|
16
|
+
padding-inline: 25px;
|
|
17
|
+
}
|
|
18
|
+
body > * { flex-basis: 33%; }
|