@tacc/core-styles 2.18.0 → 2.20.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 +9 -6
- 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--images/c-card--images.demo.css +1 -0
- package/dist/components/c-card/c-card--images.css +1 -0
- package/dist/components/c-card/c-card--images.demo.css +1 -0
- package/dist/components/c-card/c-card-images.demo.css +1 -0
- package/dist/components/c-card/c-card.demo.css +1 -1
- package/dist/components/c-card/c-card.demo.images.css +1 -0
- package/dist/components/c-card/card-images/c-card--images.demo.css +1 -0
- 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 -0
- 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 -0
- 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 +2 -2
- package/dist/core-styles.demo.css +1 -1
- package/dist/core-styles.docs.css +2 -2
- 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/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/attributes/attributes.css +1 -0
- package/dist/generics/attributes/demo.css +1 -0
- package/dist/generics/attributes.css +1 -0
- 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 -0
- 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/s-header--with-branding.demo.css +1 -0
- package/dist/trumps/s-header/s-header.demo.css +1 -0
- 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 +1 -1
- package/src/lib/_imports/components/c-button/c-button.hbs +137 -142
- package/src/lib/_imports/components/c-button.css +0 -5
- package/src/lib/_imports/components/c-card/_c-card--image-bottom-plain.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-bottom-transparent.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-left-plain.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-left-transparent.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-right-plain.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-right-transparent.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-top-plain.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--image-top-staff-plain.hbs +8 -0
- package/src/lib/_imports/components/c-card/_c-card--image-top-staff-transparent.hbs +8 -0
- package/src/lib/_imports/components/c-card/_c-card--image-top-transparent.hbs +6 -0
- package/src/lib/_imports/components/c-card/_c-card--many-variable.hbs +4 -0
- package/src/lib/_imports/components/c-card/_c-card--one-with-grid.hbs +0 -1
- package/src/lib/_imports/components/c-card/c-card--frontera.hbs +4 -0
- package/src/lib/_imports/components/c-card/c-card--images.hbs +107 -0
- package/src/lib/_imports/components/c-card/c-card.demo.images.css +36 -0
- package/src/lib/_imports/components/c-card/config.yml +0 -3
- package/src/lib/_imports/components/c-card--from-tup-cms.css +1 -116
- package/src/lib/_imports/components/c-card--frontera-about-page.css +2 -0
- package/src/lib/_imports/components/c-card.css +127 -6
- package/src/lib/_imports/components/c-content-block/c-content-block.hbs +33 -0
- package/src/lib/_imports/components/c-content-block.css +9 -0
- package/src/lib/_imports/components/c-update/c-update.hbs +27 -0
- package/src/lib/_imports/components/c-update/config.yml +3 -0
- package/src/lib/_imports/components/c-update/readme.md +2 -0
- package/src/lib/_imports/components/c-update.css +10 -0
- package/src/lib/_imports/core-styles.base.css +2 -1
- package/src/lib/_imports/core-styles.cms.css +5 -0
- package/src/lib/_imports/core-styles.docs.css +0 -1
- package/src/lib/_imports/generics/attributes/attributes.hbs +3 -0
- package/src/lib/_imports/generics/attributes/demo.css +0 -0
- package/src/lib/_imports/generics/attributes/readme.md +1 -0
- package/src/lib/_imports/generics/attributes.css +12 -0
- package/src/lib/_imports/objects/o-heading-steps/config.yml +3 -0
- package/src/lib/_imports/objects/o-heading-steps/o-heading-steps.hbs +14 -0
- package/src/lib/_imports/objects/o-heading-steps/readme.md +2 -0
- package/src/lib/_imports/objects/o-heading-steps.css +17 -0
- package/src/lib/_imports/trumps/{s-cms-nav.html → _s-cms-nav/_s-cms-nav.hbs} +1 -1
- package/src/lib/_imports/trumps/{s-portal-nav.html → _s-portal-nav/_s-portal-nav.hbs} +3 -9
- package/src/lib/_imports/trumps/s-header/config.yml +11 -0
- package/src/lib/_imports/trumps/s-header/s-header--with-branding.hbs +32 -0
- package/src/lib/_imports/trumps/s-header/s-header.demo.css +10 -0
- package/src/lib/_imports/trumps/s-header/s-header.hbs +14 -0
- package/src/lib/_imports/trumps/s-header.bootstrap.css +2 -2
- package/src/lib/_imports/trumps/s-header.css +39 -5
- package/src/lib/_imports/trumps/s-portal-nav.css +8 -0
- package/src/lib/_imports/components/c-card/_c-card--one-image.hbs +0 -7
- package/src/lib/_imports/trumps/s-header.html +0 -43
- /package/src/lib/_imports/trumps/{tacc-search-bar.html → _tacc-search-bar/_tacc-search-bar.hbs} +0 -0
|
@@ -1,162 +1,159 @@
|
|
|
1
1
|
<dl>
|
|
2
2
|
{{#if supports.type}}
|
|
3
3
|
<dt>Type</dt>
|
|
4
|
-
<dd
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
{{#if disabled}}disabled{{/if}}>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<small>(no small primary allowed)</small>
|
|
13
|
-
{{else}}
|
|
14
|
-
<button class="c-button c-button--{{this._self.name}} c-button--primary"
|
|
15
|
-
{{#if disabled}}disabled{{/if}}>
|
|
4
|
+
<dd>
|
|
5
|
+
<dl>
|
|
6
|
+
<dt><code><button></code></dt>
|
|
7
|
+
<dd>
|
|
8
|
+
<button class="c-button c-button--{{this._self.name}} c-button--secondary" {{#if disabled}}disabled{{/if}}>
|
|
9
|
+
<span class="c-button__text">--secondary</span>
|
|
10
|
+
</button>
|
|
11
|
+
<button class="c-button c-button--{{this._self.name}} c-button--primary" {{#if disabled}}disabled{{/if}}>
|
|
16
12
|
<span class="c-button__text">--primary</span>
|
|
17
13
|
</button>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</button>
|
|
23
|
-
</dd>
|
|
14
|
+
<button class="c-button c-button--{{this._self.name}} c-button--tertiary" {{#if disabled}}disabled{{/if}}>
|
|
15
|
+
<span class="c-button__text">--tertiary</span>
|
|
16
|
+
</button>
|
|
17
|
+
</dd>
|
|
24
18
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
{{else}}
|
|
35
|
-
<a href="#" class="c-button c-button--{{this._self.name}} c-button--primary"
|
|
36
|
-
{{#if disabled}}disabled tabindex="-1"{{/if}}>
|
|
19
|
+
{{#if supports.link-tag}}
|
|
20
|
+
<dt><code><a></code></dt>
|
|
21
|
+
<dd>
|
|
22
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--secondary" {{#if disabled}}disabled
|
|
23
|
+
tabindex="-1" {{/if}}>
|
|
24
|
+
<span class="c-button__text">--secondary</span>
|
|
25
|
+
</a>
|
|
26
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--primary" {{#if disabled}}disabled
|
|
27
|
+
tabindex="-1" {{/if}}>
|
|
37
28
|
<span class="c-button__text">--primary</span>
|
|
38
29
|
</a>
|
|
30
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--tertiary" {{#if disabled}}disabled
|
|
31
|
+
tabindex="-1" {{/if}}>
|
|
32
|
+
<span class="c-button__text">--tertiary</span>
|
|
33
|
+
</a>
|
|
34
|
+
</dd>
|
|
39
35
|
{{/if}}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<span class="c-button__text">--tertiary</span>
|
|
43
|
-
</a>
|
|
44
|
-
</dd>
|
|
36
|
+
</dl>
|
|
37
|
+
<dd>
|
|
45
38
|
{{/if}}
|
|
46
|
-
</dl><dd>
|
|
47
|
-
{{/if}}
|
|
48
39
|
|
|
49
|
-
|
|
40
|
+
{{#if supports.states}}
|
|
50
41
|
<dt>States</dt>
|
|
51
|
-
<dd
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
{{#if disabled}}disabled{{/if}}>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{{#if type}}{{type}}{{/if}}"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
42
|
+
<dd>
|
|
43
|
+
<dl>
|
|
44
|
+
<dt><code><button></code></dt>
|
|
45
|
+
<dd>
|
|
46
|
+
<button class="c-button c-button--{{this._self.name}}
|
|
47
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled{{/if}}>
|
|
48
|
+
<span class="c-button__text">default</span>
|
|
49
|
+
</button>
|
|
50
|
+
<button class="c-button c-button--{{this._self.name}}
|
|
51
|
+
{{#if type}}{{type}}{{/if}}" disabled>
|
|
52
|
+
<span class="c-button__text">disabled-attr</span>
|
|
53
|
+
</button>
|
|
54
|
+
<button class="c-button c-button--{{this._self.name}} c-button--is-busy
|
|
55
|
+
{{#if type}}{{type}}{{/if}}" disabled>
|
|
56
|
+
<span class="c-button__text">--is-busy</span>
|
|
57
|
+
</dd>
|
|
64
58
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
{{#if type}}{{type}}{{/if}}"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
59
|
+
{{#if supports.link-tag}}
|
|
60
|
+
<dt><code><a></code></dt>
|
|
61
|
+
<dd>
|
|
62
|
+
<a href="#" class="c-button c-button--{{this._self.name}}
|
|
63
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled tabindex="-1" {{/if}}>
|
|
64
|
+
<span class="c-button__text">default</span>
|
|
65
|
+
</a>
|
|
66
|
+
<a disabled href="#" class="c-button c-button--{{this._self.name}}
|
|
67
|
+
{{#if type}}{{type}}{{/if}}">
|
|
68
|
+
<span class="c-button__text">disabled-attr</span>
|
|
69
|
+
</a>
|
|
70
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--is-busy
|
|
71
|
+
{{#if type}}{{type}}{{/if}}" disabled tabindex="-1">
|
|
72
|
+
<span class="c-button__text">--is-busy</span>
|
|
73
|
+
</a>
|
|
74
|
+
</dd>
|
|
75
|
+
{{/if}}
|
|
76
|
+
</dl>
|
|
77
|
+
<dd>
|
|
79
78
|
{{/if}}
|
|
80
|
-
</dl><dd>
|
|
81
|
-
{{/if}}
|
|
82
79
|
|
|
83
|
-
|
|
80
|
+
{{#if supports.icons}}
|
|
84
81
|
<dt>Icons</dt>
|
|
85
|
-
<dd
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
{{#if disabled}}disabled{{/if}}>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
{{#if type}}{{type}}{{/if}}"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</dd>
|
|
82
|
+
<dd>
|
|
83
|
+
<dl>
|
|
84
|
+
<dt><code><button></code></dt>
|
|
85
|
+
<dd>
|
|
86
|
+
<button class="c-button c-button--{{this._self.name}}
|
|
87
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled{{/if}}>
|
|
88
|
+
<i class="c-button__icon--before" aria-description="validate input">…</i>
|
|
89
|
+
<span class="c-button__text">__icon--before</span>
|
|
90
|
+
</button>
|
|
91
|
+
<button class="c-button c-button--{{this._self.name}}
|
|
92
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled{{/if}}>
|
|
93
|
+
<span class="c-button__text">__icon--after</span>
|
|
94
|
+
<i class="c-button__icon--after" aria-description="exit page">X</i>
|
|
95
|
+
</dd>
|
|
100
96
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
{{#if type}}{{type}}{{/if}}"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</
|
|
97
|
+
{{#if supports.link-tag}}
|
|
98
|
+
<dt><code><a></code></dt>
|
|
99
|
+
<dd>
|
|
100
|
+
<a href="#" class="c-button c-button--{{this._self.name}}
|
|
101
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled tabindex="-1" {{/if}}>
|
|
102
|
+
<i class="c-button__icon--before" aria-description="validate input">…</i>
|
|
103
|
+
<span class="c-button__text">__icon--before</span>
|
|
104
|
+
</a>
|
|
105
|
+
<a href="#" class="c-button c-button--{{this._self.name}}
|
|
106
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled tabindex="-1" {{/if}}>
|
|
107
|
+
<span class="c-button__text">__icon--after</span>
|
|
108
|
+
<i class="c-button__icon--after" aria-description="exit page">X</i>
|
|
109
|
+
</a>
|
|
110
|
+
</dd>
|
|
111
|
+
{{/if}}
|
|
112
|
+
</dl>
|
|
113
|
+
<dd>
|
|
117
114
|
{{/if}}
|
|
118
|
-
</dl><dd>
|
|
119
|
-
{{/if}}
|
|
120
115
|
|
|
121
|
-
|
|
116
|
+
{{#if supports.width}}
|
|
122
117
|
<dt>Width</dt>
|
|
123
|
-
<dd
|
|
124
|
-
<
|
|
125
|
-
|
|
126
|
-
<
|
|
127
|
-
{{#if
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
{{#if
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
{{#if
|
|
136
|
-
|
|
137
|
-
|
|
118
|
+
<dd>
|
|
119
|
+
<dl>
|
|
120
|
+
<dt><code><button></code></dt>
|
|
121
|
+
<dd>
|
|
122
|
+
<button class="c-button c-button--{{this._self.name}} c-button--width-short {{#if type}}{{type}}{{/if}}" {{#if
|
|
123
|
+
disabled}}disabled{{/if}}>
|
|
124
|
+
<span class="c-button__text">--width-short</span>
|
|
125
|
+
</button>
|
|
126
|
+
<button class="c-button c-button--{{this._self.name}} c-button--width-medium {{#if type}}{{type}}{{/if}}" {{#if
|
|
127
|
+
disabled}}disabled{{/if}}>
|
|
128
|
+
<span class="c-button__text">--width-medium</span>
|
|
129
|
+
</button>
|
|
130
|
+
<button class="c-button c-button--{{this._self.name}} c-button--width-long {{#if type}}{{type}}{{/if}}" {{#if
|
|
131
|
+
disabled}}disabled{{/if}}>
|
|
132
|
+
<span class="c-button__text">--width-long</span>
|
|
133
|
+
</dd>
|
|
138
134
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
135
|
+
{{#if supports.link-tag}}
|
|
136
|
+
<dt><code><a></code></dt>
|
|
137
|
+
<dd>
|
|
138
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--width-short {{#if type}}{{type}}{{/if}}"
|
|
139
|
+
{{#if disabled}}disabled tabindex="-1" {{/if}}>
|
|
140
|
+
<span class="c-button__text">--width-short</span>
|
|
141
|
+
</a>
|
|
142
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--width-medium {{#if type}}{{type}}{{/if}}"
|
|
143
|
+
{{#if disabled}}disabled tabindex="-1" {{/if}}>
|
|
144
|
+
<span class="c-button__text">--width-medium</span>
|
|
145
|
+
</a>
|
|
146
|
+
<a href="#" class="c-button c-button--{{this._self.name}} c-button--width-long {{#if type}}{{type}}{{/if}}"
|
|
147
|
+
{{#if disabled}}disabled tabindex="-1" {{/if}}>
|
|
148
|
+
<span class="c-button__text">--width-long</span>
|
|
149
|
+
</a>
|
|
150
|
+
</dd>
|
|
151
|
+
{{/if}}
|
|
152
|
+
</dl>
|
|
153
|
+
<dd>
|
|
155
154
|
{{/if}}
|
|
156
|
-
</dl><dd>
|
|
157
|
-
{{/if}}
|
|
158
155
|
|
|
159
|
-
|
|
156
|
+
{{#if supports.size}}
|
|
160
157
|
<dt>Size</dt>
|
|
161
158
|
<dd>
|
|
162
159
|
{{#if supports.size-small}}
|
|
@@ -164,8 +161,7 @@
|
|
|
164
161
|
<dt><code><button></code></dt>
|
|
165
162
|
<dd>
|
|
166
163
|
<button class="c-button c-button--{{this._self.name}} c-button--size-small
|
|
167
|
-
{{#if type}}{{type}}{{/if}}"
|
|
168
|
-
{{#if disabled}}disabled{{/if}}>
|
|
164
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled{{/if}}>
|
|
169
165
|
<span class="c-button__text">--size-small</span>
|
|
170
166
|
</button>
|
|
171
167
|
</dd>
|
|
@@ -174,8 +170,7 @@
|
|
|
174
170
|
<dt><code><a></code></dt>
|
|
175
171
|
<dd>
|
|
176
172
|
<a href="#" class="c-button c-button--{{this._self.name}} c-button--size-small
|
|
177
|
-
{{#if type}}{{type}}{{/if}}"
|
|
178
|
-
{{#if disabled}}disabled{{/if}}>
|
|
173
|
+
{{#if type}}{{type}}{{/if}}" {{#if disabled}}disabled{{/if}}>
|
|
179
174
|
<span class="c-button__text">--size-small</span>
|
|
180
175
|
</a>
|
|
181
176
|
</dd>
|
|
@@ -185,5 +180,5 @@
|
|
|
185
180
|
<small>(no small size allowed)</small>
|
|
186
181
|
{{/if}}
|
|
187
182
|
<dd>
|
|
188
|
-
|
|
189
|
-
</dl>
|
|
183
|
+
{{/if}}
|
|
184
|
+
</dl>
|
|
@@ -32,9 +32,6 @@
|
|
|
32
32
|
:--c-button:where(:not(:--disabled)) {
|
|
33
33
|
cursor: pointer; /* WARNING: Opinionated */
|
|
34
34
|
}
|
|
35
|
-
:--c-button:where(:not(:--c-button--as-link)) {
|
|
36
|
-
font-weight: var(--medium);
|
|
37
|
-
}
|
|
38
35
|
|
|
39
36
|
a:--c-button {
|
|
40
37
|
text-decoration: none;
|
|
@@ -53,8 +50,6 @@ a:--c-button--is-busy {
|
|
|
53
50
|
) {
|
|
54
51
|
color: var(--global-color-primary--dark);
|
|
55
52
|
border-color: var(--global-color-primary--dark);
|
|
56
|
-
|
|
57
|
-
pointer-events: none;
|
|
58
53
|
}
|
|
59
54
|
:--c-button:--disabled:not(
|
|
60
55
|
:--c-button--is-busy,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image-bottom c-card--plain">
|
|
2
|
+
<h3><a href="#">Card - Image Bottom</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/43/1a/431abd68-5142-4fa2-a5d1-0644a19361b9/main-skeletalai-feature-1200x800-c-default.jpg__992x992_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image card--image-bottom">
|
|
2
|
+
<h3><a href="#">Card - Image Bottom</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/43/1a/431abd68-5142-4fa2-a5d1-0644a19361b9/main-skeletalai-feature-1200x800-c-default.jpg__992x992_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image-left c-card--plain">
|
|
2
|
+
<h3><a href="#">Card - Image Left</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/1e/bb/1ebb892b-a975-43ee-af7b-9fdb254cc439/rattler-crop.jpg__576x576_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image card--image-left">
|
|
2
|
+
<h3><a href="#">Card - Image Left</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/1e/bb/1ebb892b-a975-43ee-af7b-9fdb254cc439/rattler-crop.jpg__576x576_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image-right c-card--plain">
|
|
2
|
+
<h3><a href="#">Card - Image Right</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/1e/bb/1ebb892b-a975-43ee-af7b-9fdb254cc439/rattler-crop.jpg__576x576_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image card--image-right">
|
|
2
|
+
<h3><a href="#">Card - Image Right</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/1e/bb/1ebb892b-a975-43ee-af7b-9fdb254cc439/rattler-crop.jpg__576x576_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image-top c-card--plain">
|
|
2
|
+
<h3><a href="#">Card - Image Top</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/43/1a/431abd68-5142-4fa2-a5d1-0644a19361b9/main-skeletalai-feature-1200x800-c-default.jpg__992x992_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<article class="card--image card--image-top c-card--plain">
|
|
2
|
+
<h4><a href="#">Bender Rodríguez</a></h4>
|
|
3
|
+
<p>Planet Express Worker</p>
|
|
4
|
+
<p>Anti-hero in Futurama</p>
|
|
5
|
+
<img class="img-fluid" width="234px" height="293px"
|
|
6
|
+
src="https://cohro.ukzn.ac.za/wp-content/uploads/2019/02/profile-placeholder.png"
|
|
7
|
+
title="University of Texas at Austin" class="img-fluid">
|
|
8
|
+
</article>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<article class="card--image card--image-top">
|
|
2
|
+
<h4><a href="#">Bender Rodríguez</a></h4>
|
|
3
|
+
<p>Planet Express Worker</p>
|
|
4
|
+
<p>Anti-hero in Futurama</p>
|
|
5
|
+
<img class="img-fluid" width="234px" height="293px"
|
|
6
|
+
src="https://cohro.ukzn.ac.za/wp-content/uploads/2019/02/profile-placeholder.png"
|
|
7
|
+
title="University of Texas at Austin" class="img-fluid">
|
|
8
|
+
</article>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<article class="card--image card--image-top">
|
|
2
|
+
<h3><a href="#">Card - Image Top</a></h3>
|
|
3
|
+
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
4
|
+
<img
|
|
5
|
+
src="https://www.tacc.utexas.edu/media/filer_public_thumbnails/filer_public/43/1a/431abd68-5142-4fa2-a5d1-0644a19361b9/main-skeletalai-feature-1200x800-c-default.jpg__992x992_q85_subsampling-2.jpg" />
|
|
6
|
+
</article>
|
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
<h3>Card - {{this._self.label}}</h3>
|
|
36
36
|
|
|
37
37
|
<p>Any <button class="c-button c-button--as-link">button--as-link</button> and any <a href="#">link</a> are <em>not</em> considered card actions and should <em>not</em> be affected by card styles.</p>
|
|
38
|
+
|
|
39
|
+
<li><a href="#">List Item A</a></li>
|
|
40
|
+
<li><a href="#">List Item B</a></li>
|
|
41
|
+
<li><a href="#">List Item C</a></li>
|
|
38
42
|
</article>
|
|
39
43
|
<article class="c-card c-card--{{this._self.name}}">
|
|
40
44
|
<h3>Card - {{this._self.label}}</h3>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<section class="o-section">
|
|
2
|
+
|
|
1
3
|
<!-- FAQ: Not using {{this._self.name}} because class is frontera-about-page -->
|
|
2
4
|
<div class="o-grid o-grid--col-min-width">
|
|
3
5
|
<a href="#" class="c-card c-card--frontera-about-page">
|
|
@@ -46,3 +48,5 @@
|
|
|
46
48
|
<h3>Style ▸ Image + Text</h3>
|
|
47
49
|
</div>
|
|
48
50
|
</div>
|
|
51
|
+
|
|
52
|
+
</section>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<h2 id="section--null">Section (Default a.k.a Unstyled a.k.a Transparent)</h2>
|
|
2
|
+
<section class="o-section">
|
|
3
|
+
<h3>Transparent Card Image</h3>
|
|
4
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
5
|
+
{{> @c-card--image-top-transparent }}
|
|
6
|
+
{{> @c-card--image-bottom-transparent }}
|
|
7
|
+
{{> @c-card--image-right-transparent }}
|
|
8
|
+
{{> @c-card--image-left-transparent }}
|
|
9
|
+
</section>
|
|
10
|
+
<h3>Contact Card with Image - Transparent</h3>
|
|
11
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
12
|
+
{{> @c-card--image-top-staff-transparent }}
|
|
13
|
+
</section>
|
|
14
|
+
|
|
15
|
+
<h3>Plain Card Image</h3>
|
|
16
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
17
|
+
{{> @c-card--image-top-plain }}
|
|
18
|
+
{{> @c-card--image-bottom-plain }}
|
|
19
|
+
{{> @c-card--image-right-plain }}
|
|
20
|
+
{{> @c-card--image-left-plain }}
|
|
21
|
+
</section>
|
|
22
|
+
<h3>Contact Card with Image - Plain</h3>
|
|
23
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
24
|
+
{{> @c-card--image-top-staff-plain }}
|
|
25
|
+
</section>
|
|
26
|
+
</section>
|
|
27
|
+
<hr>
|
|
28
|
+
<h2 id="section--null">Section - Light</h2>
|
|
29
|
+
<section class="o-section o-section--style-light">
|
|
30
|
+
<h3>Transparent Card Image</h3>
|
|
31
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
32
|
+
{{> @c-card--image-top-transparent }}
|
|
33
|
+
{{> @c-card--image-bottom-transparent }}
|
|
34
|
+
{{> @c-card--image-right-transparent }}
|
|
35
|
+
{{> @c-card--image-left-transparent }}
|
|
36
|
+
</section>
|
|
37
|
+
<h3>Contact Card with Image - Transparent</h3>
|
|
38
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
39
|
+
{{> @c-card--image-top-staff-transparent }}
|
|
40
|
+
</section>
|
|
41
|
+
|
|
42
|
+
<h3>Plain Card Image</h3>
|
|
43
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
44
|
+
{{> @c-card--image-top-plain }}
|
|
45
|
+
{{> @c-card--image-bottom-plain }}
|
|
46
|
+
{{> @c-card--image-right-plain }}
|
|
47
|
+
{{> @c-card--image-left-plain }}
|
|
48
|
+
</section>
|
|
49
|
+
<h3>Contact Card with Image - Plain</h3>
|
|
50
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
51
|
+
{{> @c-card--image-top-staff-plain }}
|
|
52
|
+
</section>
|
|
53
|
+
</section>
|
|
54
|
+
<hr>
|
|
55
|
+
<h2 id="section--null">Section - Muted</h2>
|
|
56
|
+
<section class="o-section o-section--style-muted">
|
|
57
|
+
<h3>Transparent Card Image</h3>
|
|
58
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
59
|
+
{{> @c-card--image-top-transparent }}
|
|
60
|
+
{{> @c-card--image-bottom-transparent }}
|
|
61
|
+
{{> @c-card--image-right-transparent }}
|
|
62
|
+
{{> @c-card--image-left-transparent }}
|
|
63
|
+
</section>
|
|
64
|
+
<h3>Contact Card with Image - Transparent</h3>
|
|
65
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
66
|
+
{{> @c-card--image-top-staff-transparent }}
|
|
67
|
+
</section>
|
|
68
|
+
|
|
69
|
+
<h3>Plain Card Image</h3>
|
|
70
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
71
|
+
{{> @c-card--image-top-plain }}
|
|
72
|
+
{{> @c-card--image-bottom-plain }}
|
|
73
|
+
{{> @c-card--image-right-plain }}
|
|
74
|
+
{{> @c-card--image-left-plain }}
|
|
75
|
+
</section>
|
|
76
|
+
<h3>Contact Card with Image - Plain</h3>
|
|
77
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
78
|
+
{{> @c-card--image-top-staff-plain }}
|
|
79
|
+
</section>
|
|
80
|
+
</section>
|
|
81
|
+
<hr>
|
|
82
|
+
<h2 id="section--null">Section - Dark</h2>
|
|
83
|
+
<section class="o-section o-section--style-dark">
|
|
84
|
+
<h3>Transparent Card Image</h3>
|
|
85
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
86
|
+
{{> @c-card--image-top-transparent }}
|
|
87
|
+
{{> @c-card--image-bottom-transparent }}
|
|
88
|
+
{{> @c-card--image-right-transparent }}
|
|
89
|
+
{{> @c-card--image-left-transparent }}
|
|
90
|
+
</section>
|
|
91
|
+
<h3>Contact Card with Image - Transparent</h3>
|
|
92
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
93
|
+
{{> @c-card--image-top-staff-transparent }}
|
|
94
|
+
</section>
|
|
95
|
+
|
|
96
|
+
<h3>Plain Card Image</h3>
|
|
97
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
98
|
+
{{> @c-card--image-top-plain }}
|
|
99
|
+
{{> @c-card--image-bottom-plain }}
|
|
100
|
+
{{> @c-card--image-right-plain }}
|
|
101
|
+
{{> @c-card--image-left-plain }}
|
|
102
|
+
</section>
|
|
103
|
+
<h3>Contact Card with Image - Plain</h3>
|
|
104
|
+
<section class="o-section o-grid o-grid--col-min-width" id="image-cards">
|
|
105
|
+
{{> @c-card--image-top-staff-plain }}
|
|
106
|
+
</section>
|
|
107
|
+
</section>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* This CSS is ONLY for the pattern library. It is NOT part of the pattern. */
|
|
2
|
+
|
|
3
|
+
/* To allow the image max-height to not be 100% for the demo */
|
|
4
|
+
.o-grid img {
|
|
5
|
+
max-height: unset;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Rid margin-bottom on last section */
|
|
9
|
+
.o-section>:last-child {
|
|
10
|
+
margin-bottom: var(--global-space--bootstrap-gap);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* create a two column grid (cleaner look) */
|
|
14
|
+
#image-cards {
|
|
15
|
+
grid-template-columns: 1fr 1fr;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* get rid of margin for inner-sections */
|
|
19
|
+
section > section {
|
|
20
|
+
margin: unset;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Contact card adjustments */
|
|
24
|
+
:is(.card, .c-card, [class*="card--"]) h4 {
|
|
25
|
+
margin-bottom: 0.375em;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:is(.card, .c-card, [class*="card--"]) p {
|
|
29
|
+
margin-top: 0px;
|
|
30
|
+
margin-bottom: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.card--image-top {
|
|
34
|
+
max-width: fit-content;
|
|
35
|
+
}
|
|
36
|
+
|