@tacc/core-styles 2.6.1 → 2.7.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 +5 -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.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 -0
- package/dist/components/bootstrap.modal--portal.css +1 -0
- 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/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 -0
- package/dist/components/c-card--from-tup-cms.css +1 -0
- 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-footer.css +1 -1
- package/dist/components/c-form--cms.css +1 -1
- package/dist/components/c-form--portal.css +1 -1
- package/dist/components/c-form.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.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/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--errors-via-c-message.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/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 +3 -3
- package/dist/core-styles.cms.css +2 -2
- package/dist/core-styles.demo.css +2 -2
- package/dist/core-styles.docs.css +2 -2
- package/dist/core-styles.header.css +1 -1
- package/dist/core-styles.header.theme-has-dark-logo.css +1 -1
- package/dist/core-styles.portal.css +2 -2
- package/dist/core-styles.settings.css +2 -2
- package/dist/core-styles.wysiwyg.css +2 -2
- 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.cms.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.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.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/color/_blue.css +1 -0
- package/dist/generics/{color.css → color/_purple.css} +1 -1
- package/dist/generics/color--cms.css +1 -0
- package/dist/generics/color--demo.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-offset-content.css +1 -1
- package/dist/objects/o-section/demo.css +1 -1
- package/dist/objects/o-section--docs.css +1 -0
- 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--docs.css +1 -0
- package/dist/settings/color--portal.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.monospace.css +1 -1
- package/dist/tools/x-article-link.css +1 -1
- package/dist/tools/x-blockquote.css +1 -0
- package/dist/tools/x-center.css +1 -1
- package/dist/tools/x-fake-border.css +1 -1
- package/dist/tools/x-figure.css +1 -0
- 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.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 -1
- package/dist/trumps/s-header.css +1 -1
- package/dist/trumps/s-header.theme-has-dark-logo.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/tacc-search-bar.css +1 -1
- package/dist/trumps/tacc-search-bar.theme-has-dark-logo.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/fractal.config.js +3 -3
- package/fractal.theme.js +1 -1
- package/package.json +1 -1
- package/src/lib/_imports/_partials/figure.hbs +3 -1
- package/src/lib/_imports/_partials/import-client-styles.hbs +17 -0
- package/src/lib/_imports/_partials/message.hbs +16 -0
- package/src/lib/_imports/_preview.hbs +4 -35
- package/src/lib/_imports/components/bootstrap.modal--cms.css +7 -0
- package/src/lib/_imports/components/bootstrap.modal--portal.css +3 -0
- package/src/lib/_imports/components/bootstrap.modal.css +30 -6
- package/src/lib/_imports/components/c-card/_c-card--one-image.hbs +2 -1
- package/src/lib/_imports/components/c-card/_c-card--one-standard.hbs +3 -1
- package/src/lib/_imports/components/c-card/_c-card--one-with-grid.hbs +3 -1
- package/src/lib/_imports/components/c-card/c-card--docs.hbs +50 -0
- package/src/lib/_imports/components/c-card/c-card--docs.readme.md +1 -0
- package/src/lib/_imports/components/c-card/config.yml +6 -0
- package/src/lib/_imports/components/c-card--docs.css +34 -0
- package/src/lib/_imports/components/c-card--from-tup-cms.css +135 -0
- package/src/lib/_imports/components/c-card.selectors.css +16 -2
- package/src/lib/_imports/components/c-form/c-form.hbs +1 -3
- package/src/lib/_imports/components/c-message/_c-message--single.hbs +7 -3
- package/src/lib/_imports/components/django-cms-forms/django-cms-forms.hbs +4 -3
- package/src/lib/_imports/core-styles.base.css +0 -2
- package/src/lib/_imports/core-styles.cms.css +3 -0
- package/src/lib/_imports/core-styles.demo.css +2 -1
- package/src/lib/_imports/core-styles.docs.css +6 -1
- package/src/lib/_imports/core-styles.portal.css +1 -0
- package/src/lib/_imports/elements/demo.css +4 -2
- package/src/lib/_imports/elements/form.cms.css +7 -12
- package/src/lib/_imports/elements/html-elements.cms.css +9 -5
- package/src/lib/_imports/elements/html-elements.docs.css +7 -4
- package/src/lib/_imports/elements/monospace.css +5 -0
- package/src/lib/_imports/generics/color/_blue.css +42 -0
- package/src/lib/_imports/generics/{color.css → color/_purple.css} +2 -9
- package/src/lib/_imports/generics/color--cms.css +1 -0
- package/src/lib/_imports/generics/color--demo.css +1 -0
- package/src/lib/_imports/objects/o-offset-content.css +1 -1
- package/src/lib/_imports/objects/o-section/config.yml +4 -0
- package/src/lib/_imports/objects/o-section/o-section--docs.hbs +20 -0
- package/src/lib/_imports/objects/o-section/o-section.readme.md +8 -0
- package/src/lib/_imports/objects/o-section--docs.css +45 -0
- package/src/lib/_imports/objects/o-section.selectors.css +3 -0
- package/src/lib/_imports/objects/o-table-wrap/o-table-wrap.hbs +6 -1
- package/src/lib/_imports/settings/color--docs.css +11 -0
- package/src/lib/_imports/settings/color--portal.css +10 -0
- package/src/lib/_imports/settings/color.css +14 -14
- package/src/lib/_imports/settings/font/font.hbs +4 -3
- package/src/lib/_imports/settings/space.css +1 -1
- package/src/lib/_imports/tools/x-blockquote.css +27 -0
- package/src/lib/_imports/tools/x-figure.css +25 -0
|
@@ -14,6 +14,12 @@ variants:
|
|
|
14
14
|
status: backup
|
|
15
15
|
# - name: image
|
|
16
16
|
# status: prototype
|
|
17
|
+
- name: docs
|
|
18
|
+
status: ready
|
|
19
|
+
context:
|
|
20
|
+
shouldLoadDocs: true
|
|
21
|
+
supportStyles:
|
|
22
|
+
- ../../assets/objects/o-grid.css
|
|
17
23
|
- name: frontera
|
|
18
24
|
status: deprecated
|
|
19
25
|
📝 name: using "frontera-about-page" breaks the demo
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import url("./c-card.selectors.css");
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* To make card paragraphs match those in Core CMS */
|
|
6
|
+
:--c-card p {
|
|
7
|
+
margin-top: 0; /* mimics Bootstrap _reboot.scss */
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/* To style a linked card */
|
|
13
|
+
:--c-card:not(:--c-card--image) {
|
|
14
|
+
display: block;
|
|
15
|
+
}
|
|
16
|
+
:--c-card,
|
|
17
|
+
:--c-card:hover /* overwrite core-styles.base.css */ {
|
|
18
|
+
color: inherit;
|
|
19
|
+
}
|
|
20
|
+
:--c-card:hover {
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
:--c-card:hover :is( h1, h2, h3, h4, h5, h6 ) {
|
|
24
|
+
/* To mimic TACC/Core-Styles .x-link */
|
|
25
|
+
text-underline-offset: 0.2em;
|
|
26
|
+
text-decoration-line: underline;
|
|
27
|
+
text-decoration-style: solid;
|
|
28
|
+
text-decoration-thickness: var(--global-border-width--normal);
|
|
29
|
+
}
|
|
30
|
+
:--c-card:active :is( h1, h2, h3, h4, h5, h6 ) {
|
|
31
|
+
/* To mimic TACC/Core-Styles .x-link */
|
|
32
|
+
text-decoration-line: underline;
|
|
33
|
+
text-decoration-style: dotted;
|
|
34
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@import url("./c-card.selectors.css");
|
|
2
|
+
|
|
3
|
+
/* FIX CARD */
|
|
4
|
+
|
|
5
|
+
/* XXX: When migrated:
|
|
6
|
+
2. Prevent these styles in apps/tup-ui TicketHistory CSS */
|
|
7
|
+
:--c-card p:last-child {
|
|
8
|
+
margin-bottom: 2rem; /* restore <p> `margin-bottom `*/
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* To more specifically control c-card link font weight */
|
|
12
|
+
/* XXX: When migrated:
|
|
13
|
+
2. Prevent these styles in apps/tup-ui TicketHistory CSS */
|
|
14
|
+
:--c-card a.c-button {
|
|
15
|
+
font-weight: var(--bold);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:--c-card h4 {
|
|
19
|
+
margin-bottom: 1em;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* ADD CARD--IMAGE */
|
|
27
|
+
|
|
28
|
+
/* Image */
|
|
29
|
+
|
|
30
|
+
:--c-card--image {
|
|
31
|
+
display: grid;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:--c-card--image-top {
|
|
35
|
+
padding-top: 0;
|
|
36
|
+
}
|
|
37
|
+
:--c-card--image-left {
|
|
38
|
+
padding-left: 0;
|
|
39
|
+
padding-bottom: var(--global-space--pattern-pad);
|
|
40
|
+
}
|
|
41
|
+
:--c-card--image-right {
|
|
42
|
+
padding-right: 0;
|
|
43
|
+
padding-bottom: var(--global-space--pattern-pad);
|
|
44
|
+
}
|
|
45
|
+
:--c-card--image-bottom {
|
|
46
|
+
padding-bottom: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/* Image: Left & Right */
|
|
52
|
+
|
|
53
|
+
:--c-card--image-left,
|
|
54
|
+
:--c-card--image-right {
|
|
55
|
+
--image-width: 50%;
|
|
56
|
+
|
|
57
|
+
grid-column-gap: var(--global-space--pattern-pad);
|
|
58
|
+
|
|
59
|
+
/* Repeat many times, because element count is unknown */
|
|
60
|
+
grid-template-rows: repeat(10, min-content);
|
|
61
|
+
}
|
|
62
|
+
:--c-card--image-left > img,
|
|
63
|
+
:--c-card--image-right > img {
|
|
64
|
+
grid-row-start: 1;
|
|
65
|
+
grid-row-end: -1;
|
|
66
|
+
|
|
67
|
+
/* To remove card padding */
|
|
68
|
+
margin-block: calc( -1 * var(--global-space--pattern-pad) );
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:--c-card--image-left {
|
|
72
|
+
grid-template-columns: var(--image-width) 1fr; /* to overwrite `.c-card` */
|
|
73
|
+
}
|
|
74
|
+
:--c-card--image-left > img {
|
|
75
|
+
grid-column-start: 1;
|
|
76
|
+
grid-column-end: span 1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:--c-card--image-right {
|
|
80
|
+
grid-template-columns: 1fr var(--image-width); /* to overwrite `.c-card` */
|
|
81
|
+
}
|
|
82
|
+
:--c-card--image-right > img {
|
|
83
|
+
grid-column-start: 2;
|
|
84
|
+
grid-column-end: span 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/* Image: Top & Bottom */
|
|
90
|
+
|
|
91
|
+
:--c-card--image-top,
|
|
92
|
+
:--c-card--image-bottom {
|
|
93
|
+
--image-height: auto;
|
|
94
|
+
--global-space--pattern-pad: 15px;
|
|
95
|
+
|
|
96
|
+
/* Use extra columns to add horizontal padding */
|
|
97
|
+
grid-template-columns: var(--global-space--pattern-pad) 1fr var(--global-space--pattern-pad);
|
|
98
|
+
padding-inline: unset;
|
|
99
|
+
}
|
|
100
|
+
:--c-card--image-top > :not(img),
|
|
101
|
+
:--c-card--image-bottom > :not(img) {
|
|
102
|
+
/* Span only columns for content */
|
|
103
|
+
grid-column-start: 2;
|
|
104
|
+
grid-column-end: -2;
|
|
105
|
+
}
|
|
106
|
+
:--c-card--image-top > img,
|
|
107
|
+
:--c-card--image-bottom > img {
|
|
108
|
+
/* Span all columns, padding and content */
|
|
109
|
+
grid-column-start: 1;
|
|
110
|
+
grid-column-end: -1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:--c-card--image-top {
|
|
114
|
+
/* Repeat many times, because element count is unknown */
|
|
115
|
+
grid-template-rows: repeat(10, min-content) var(--image-height);
|
|
116
|
+
}
|
|
117
|
+
:--c-card--image-top > img {
|
|
118
|
+
grid-row-start: 1;
|
|
119
|
+
margin-bottom: var(--global-space--pattern-pad);
|
|
120
|
+
}
|
|
121
|
+
:--c-card--image-bottom > :is(h1, h2, h3, h4, h5):first-of-type {
|
|
122
|
+
margin-top: unset; /* to avoid combining margin with image */
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:--c-card--image-bottom {
|
|
126
|
+
/* Repeat many times, because element count is unknown */
|
|
127
|
+
grid-template-rows: var(--image-height) repeat(10, min-content);
|
|
128
|
+
}
|
|
129
|
+
:--c-card--image-bottom > img {
|
|
130
|
+
grid-row-end: -1;
|
|
131
|
+
margin-top: var(--global-space--pattern-pad);
|
|
132
|
+
}
|
|
133
|
+
:--c-card--image-bottom > p:last-of-type {
|
|
134
|
+
margin-bottom: unset; /* to avoid combining margin with image */
|
|
135
|
+
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
/* TODO: When Portal does not load core-styles.cms.css remove the :not(…) */
|
|
8
8
|
.card:not(:is(:--portal-content, .modal) *),
|
|
9
9
|
[class*="card--"];
|
|
10
|
+
|
|
10
11
|
@custom-selector :--c-card--standard
|
|
11
12
|
.c-card--standard,
|
|
12
13
|
.card--standard;
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
.c-card--standard-1,
|
|
24
25
|
.c-card--standard-2,
|
|
25
26
|
.c-card--standard-3;
|
|
27
|
+
|
|
26
28
|
@custom-selector :--c-card--plain
|
|
27
29
|
.c-card--plain,
|
|
28
30
|
.card--plain,
|
|
@@ -33,6 +35,18 @@
|
|
|
33
35
|
@custom-selector :--c-card--plain-hr-bottom
|
|
34
36
|
.c-card--plain-hr-bottom,
|
|
35
37
|
.card--plain-hr-bottom;
|
|
38
|
+
|
|
36
39
|
@custom-selector :--c-card--image
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
[class*="card--image-"];
|
|
41
|
+
@custom-selector :--c-card--image-top
|
|
42
|
+
.c-card--image-top,
|
|
43
|
+
.card--image-top;
|
|
44
|
+
@custom-selector :--c-card--image-bottom
|
|
45
|
+
.c-card--image-bottom,
|
|
46
|
+
.card--image-bottom;
|
|
47
|
+
@custom-selector :--c-card--image-left
|
|
48
|
+
.c-card--image-left,
|
|
49
|
+
.card--image-left;
|
|
50
|
+
@custom-selector :--c-card--image-right
|
|
51
|
+
.c-card--image-right,
|
|
52
|
+
.card--image-right;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
{{> @message
|
|
2
|
+
type=this.type
|
|
3
|
+
scope=this.scope
|
|
4
|
+
title=this.title
|
|
5
|
+
content=this.content
|
|
6
|
+
extra_content='<a href="#">Sample link.</a> And a <button class="c-button c-button--as-link">sample button as link</button>.'
|
|
7
|
+
}}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
</
|
|
1
|
+
{{> @message
|
|
2
|
+
tag="p"
|
|
3
|
+
content='This component is maintained simuiltaneously with <a href="../detail/c-form" target="_parent">C Form</code></a> and should look identical. Eventually, the two should have a single source of truth. To learn more, read <a href="https://confluence.tacc.utexas.edu/x/vJd9E" target="_blank">(Confluence) APCD - Form Markup & Styles</a>.'
|
|
4
|
+
}}
|
|
4
5
|
<div class="forms">
|
|
5
6
|
|
|
6
7
|
<h3 class="title">Title of Form</h3>
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
/* GENERICS */
|
|
11
11
|
/* Mostly from Bootstrap */
|
|
12
12
|
/* https://confluence.tacc.utexas.edu/x/b53tDg */
|
|
13
|
-
@import url("./generics/color.css");
|
|
14
13
|
@import url('./generics/fonts.css');
|
|
15
14
|
@import url("./generics/pseudo-elements.css");
|
|
16
15
|
|
|
@@ -41,7 +40,6 @@
|
|
|
41
40
|
@import url("./components/c-island.css");
|
|
42
41
|
@import url("./components/c-nav.css");
|
|
43
42
|
@import url("./components/c-page.css");
|
|
44
|
-
@import url("./components/c-recognition.css");
|
|
45
43
|
@import url("./components/c-see-all-link.css");
|
|
46
44
|
@import url("./components/c-tag.css");
|
|
47
45
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
/* GENERICS */
|
|
12
12
|
/* Mostly from Bootstrap */
|
|
13
13
|
/* https://confluence.tacc.utexas.edu/x/b53tDg */
|
|
14
|
+
@import url("./generics/color--cms.css");
|
|
14
15
|
|
|
15
16
|
/* ELEMENTS */
|
|
16
17
|
@import url("./elements/root--cms.css");
|
|
@@ -28,11 +29,13 @@
|
|
|
28
29
|
@import url("./objects/o-section.css");
|
|
29
30
|
|
|
30
31
|
/* COMPONENTS */
|
|
32
|
+
@import url("./components/bootstrap.modal--cms.css");
|
|
31
33
|
@import url("./components/cortal.icon.css");
|
|
32
34
|
@import url("./components/c-card.css");
|
|
33
35
|
@import url("./components/c-form--cms.css");
|
|
34
36
|
@import url("./components/c-message.css");
|
|
35
37
|
@import url("./components/c-message--expanded.css");
|
|
38
|
+
@import url("./components/c-recognition.css");
|
|
36
39
|
/* TODO: Move to TACC/Core-CMS-Resources:/frontera-cms
|
|
37
40
|
or — alternatively — TACC/Core-CMS */
|
|
38
41
|
@import url("./components/c-card--frontera-about-page.css");
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@import url("./settings/demo.css");
|
|
9
9
|
|
|
10
10
|
/* GENERICS */
|
|
11
|
-
|
|
11
|
+
@import url("./generics/color--demo.css");
|
|
12
12
|
|
|
13
13
|
/* ELEMENTS */
|
|
14
14
|
@import url("./elements/root--demo.css");
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
/* (none) */
|
|
19
19
|
|
|
20
20
|
/* COMPONENTS */
|
|
21
|
+
@import url("./components/c-message.css");
|
|
21
22
|
@import url("./components/demo.css");
|
|
22
23
|
|
|
23
24
|
/* TRUMPS */
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
/* SETTINGS */
|
|
8
8
|
/* To get most settings, client should load `./base.css` first */
|
|
9
9
|
@import url("./settings/font--docs.css");
|
|
10
|
+
@import url("./settings/color--docs.css");
|
|
10
11
|
|
|
11
12
|
/* GENERICS */
|
|
12
13
|
/* (none) */
|
|
@@ -21,12 +22,16 @@
|
|
|
21
22
|
@import url("./elements/table.docs.css");
|
|
22
23
|
|
|
23
24
|
/* OBJECTS */
|
|
24
|
-
|
|
25
|
+
@import url("./objects/o-section.css");
|
|
26
|
+
@import url("./objects/o-section--docs.css");
|
|
25
27
|
|
|
26
28
|
/* COMPONENTS */
|
|
27
29
|
@import url("./components/pymdownx--tabbed.css");
|
|
28
30
|
@import url("./components/admonition.css");
|
|
29
31
|
@import url("./components/align.css");
|
|
32
|
+
@import url("./components/c-card.css");
|
|
33
|
+
@import url("./components/c-card--from-tup-cms.css");
|
|
34
|
+
@import url("./components/c-card--docs.css");
|
|
30
35
|
@import url("./components/tacc-docs.css");
|
|
31
36
|
|
|
32
37
|
/* TRUMPS */
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@import url("./objects/o-flex-item-table-wrap.css");
|
|
22
22
|
|
|
23
23
|
/* COMPONENTS */
|
|
24
|
+
@import url("./components/bootstrap.modal--portal.css");
|
|
24
25
|
@import url("./components/cortal.icon.css");
|
|
25
26
|
@import url("./components/mui.tabs.css");
|
|
26
27
|
@import url("./components/c-form--portal.css");
|
|
@@ -69,8 +69,10 @@ body:has(main > section) {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* To give equal block spacing to rulers */
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
hr {
|
|
73
|
+
margin-top: var(--global-space--hr-buffer-above);
|
|
74
|
+
|
|
75
|
+
margin-bottom: var(--global-space--hr-buffer-below);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
|
|
@@ -59,19 +59,14 @@ input[type="time"],
|
|
|
59
59
|
input[type="date"] {
|
|
60
60
|
font-family: var(--global-font-family--mono);
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
/*
|
|
64
|
-
input:not(
|
|
65
|
-
/* FAQ: These types of fields should not grow to a max */
|
|
66
|
-
[type=time],
|
|
67
|
-
[type=date],
|
|
68
|
-
[type=checkbox],
|
|
69
|
-
[type=radio]
|
|
70
|
-
),
|
|
71
|
-
select,
|
|
72
|
-
textarea {
|
|
73
|
-
max-width: 50ch;
|
|
62
|
+
input[type="search"] {
|
|
63
|
+
outline-offset: revert; /* undo Bootstrap _reboot */
|
|
74
64
|
}
|
|
65
|
+
|
|
66
|
+
/* FAQ: If tempted to set max-width for inputs, change client layout not CSS
|
|
67
|
+
(for APCD, a max-width: 50ch was added here by developer)
|
|
68
|
+
(on TUP-CMS, that max-width was ordered killed by designer) */
|
|
69
|
+
|
|
75
70
|
input:where( /* Use `:where` so rules are easier to override */
|
|
76
71
|
[type=time],
|
|
77
72
|
[type=date],
|
|
@@ -23,10 +23,6 @@ Reference:
|
|
|
23
23
|
Styleguide Elements.ContentSectioning
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
&:is(body > *) {
|
|
27
|
-
margin-bottom: var(--global-space--section-gap);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
26
|
/* Headings */
|
|
31
27
|
|
|
32
28
|
/* SEE: ./headings--cms.css */
|
|
@@ -103,8 +99,16 @@ Styleguide Elements.TextContent
|
|
|
103
99
|
|
|
104
100
|
& hr {
|
|
105
101
|
margin-top: var(--global-space--hr-buffer-above); /* overwrite Bootstrap */
|
|
106
|
-
|
|
102
|
+
|
|
103
|
+
border-top-width: var(--global-border-width--normal);
|
|
104
|
+
border-top-style: solid;
|
|
105
|
+
border-top-clolor: var(--global-color-primary--dark);
|
|
106
|
+
|
|
107
107
|
margin-bottom: var(--global-space--hr-buffer-below); /* overwrite Bootstrap */
|
|
108
|
+
|
|
109
|
+
/* To fix widthless-ness when <hr> is a grid or flex item */
|
|
110
|
+
/* https://dev.to/alvaromontoro/the-disappearing-line-a-css-mystery-3e35 */
|
|
111
|
+
width: 100%;
|
|
108
112
|
}
|
|
109
113
|
|
|
110
114
|
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
@import url("../tools/selectors.css");
|
|
2
|
+
@import url("../tools/x-figure.css");
|
|
3
|
+
@import url("../tools/x-blockquote.css");
|
|
2
4
|
|
|
3
|
-
/* To
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
5
|
+
/* To style elements that have captions */
|
|
6
|
+
figure { @extend .x-figure; }
|
|
7
|
+
figcaption { @extend .x-figure-caption; }
|
|
8
|
+
blockquote { @extend .x-blockquote; }
|
|
9
|
+
blockquote footer { @extend .x-blockquote-caption; }
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@import url("../../objects/o-section.selectors.css");
|
|
2
|
+
@import url("../../components/c-card.selectors.css");
|
|
3
|
+
|
|
4
|
+
@custom-selector :--light-context
|
|
5
|
+
.c-recognition--style-light,
|
|
6
|
+
:--o-section--muted,
|
|
7
|
+
:--o-section--light,
|
|
8
|
+
:--c-card--standard,
|
|
9
|
+
:--c-card--standard-N,
|
|
10
|
+
:--c-card--plain;
|
|
11
|
+
@custom-selector :--dark-context
|
|
12
|
+
.c-recognition--style-dark,
|
|
13
|
+
:--o-section--dark;
|
|
14
|
+
|
|
15
|
+
@custom-selector :--light-context-safe
|
|
16
|
+
:where(:--dark-context :--light-context);
|
|
17
|
+
@custom-selector :--dark-context-safe
|
|
18
|
+
:where(:--dark-context:not(:--light-context *));
|
|
19
|
+
|
|
20
|
+
:--dark-context-safe {
|
|
21
|
+
--global-color-accent--xxx-light: #f3f7fe;
|
|
22
|
+
--global-color-accent--xx-light: #dfeafe;
|
|
23
|
+
--global-color-accent--x-light: #caddfe;
|
|
24
|
+
--global-color-accent--light: #AAC7FF;
|
|
25
|
+
--global-color-accent--normal: #86aeff;
|
|
26
|
+
--global-color-accent--dark: #003399;
|
|
27
|
+
--global-color-accent--x-dark: #002266;
|
|
28
|
+
--global-color-accent--xx-dark: #001133;
|
|
29
|
+
--global-color-accent--xxx-dark: #021230;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:--light-context-safe {
|
|
33
|
+
--global-color-accent--xxx-light: #dfeafe;
|
|
34
|
+
--global-color-accent--xx-light: #caddfe;
|
|
35
|
+
--global-color-accent--x-light: #AAC7FF;
|
|
36
|
+
--global-color-accent--light: #86aeff;
|
|
37
|
+
--global-color-accent--normal: #003399;
|
|
38
|
+
--global-color-accent--dark: #002266;
|
|
39
|
+
--global-color-accent--x-dark: #001133;
|
|
40
|
+
--global-color-accent--xx-dark: #021230;
|
|
41
|
+
--global-color-accent--xxx-dark: #000a22;
|
|
42
|
+
}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Change global colors depending on context.
|
|
5
|
-
|
|
6
|
-
Styleguide Generics.Colors
|
|
7
|
-
*/
|
|
8
|
-
@import url("../objects/o-section.selectors.css");
|
|
9
|
-
@import url("../components/c-card.selectors.css");
|
|
1
|
+
@import url("../../objects/o-section.selectors.css");
|
|
2
|
+
@import url("../../components/c-card.selectors.css");
|
|
10
3
|
|
|
11
4
|
@custom-selector :--light-context
|
|
12
5
|
.c-recognition--style-light,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url("./color/_blue.css");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url("./color/_blue.css");
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{{> @message
|
|
2
|
+
tag="p"
|
|
3
|
+
content="The <code>o-section--has-border</code> feature will be made available for all clients in the future."
|
|
4
|
+
}}
|
|
5
|
+
<section class="o-section o-section--style-light o-section--has-border">
|
|
6
|
+
<h2>Section (Style Light, Has Border)</h2>
|
|
7
|
+
<p>{{> @text-of-one-paragraph-with-actions }}</p>
|
|
8
|
+
</section>
|
|
9
|
+
<section class="o-section o-section--style-muted o-section--has-border">
|
|
10
|
+
<h2>Section (Style Muted, Has Border)</h2>
|
|
11
|
+
<p>{{> @text-of-one-paragraph-with-actions }}</p>
|
|
12
|
+
</section>
|
|
13
|
+
<section class="o-section o-section--style-light o-section--has-border">
|
|
14
|
+
<h2>Section (Style Light, Has Border)</h2>
|
|
15
|
+
<p>{{> @text-of-one-paragraph-with-actions }}</p>
|
|
16
|
+
</section>
|
|
17
|
+
<section class="o-section o-section--style-muted o-section--has-border">
|
|
18
|
+
<h2>Section (Style Muted, Has Border)</h2>
|
|
19
|
+
<p>{{> @text-of-one-paragraph-with-actions }}</p>
|
|
20
|
+
</section>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Adds one fix and one feature to [default sections]({{path './o-section' }}):
|
|
2
|
+
|
|
3
|
+
- Ensures section background is wide enough on "god-wide" viewports.
|
|
4
|
+
- Adds border modifier:
|
|
5
|
+
|
|
6
|
+
| Class (Std.) | Class (Alt.) | Description
|
|
7
|
+
| - | - | - |
|
|
8
|
+
| `.o-section--has-border` | `.section--border` | add top and bottom border
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@import url("./o-section.selectors.css");
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* To fix section background on god-wide screens */
|
|
6
|
+
/* CAVEAT: This just pushes the problem to even wider screens */
|
|
7
|
+
:--o-section--muted {
|
|
8
|
+
/* FAQ: Mimics Core-Styles except changes any "50" to "25" */
|
|
9
|
+
--box-shadow--fake-bkgd:
|
|
10
|
+
25vw 0 var(--color--bkgd), -25vw 0 var(--color--bkgd);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* To add border to .o-section's */
|
|
16
|
+
:--o-section--border {
|
|
17
|
+
--border-width: var(--global-border-width--normal);
|
|
18
|
+
--border-width-neg: calc( -1 * var(--border-width) );
|
|
19
|
+
--border-color: var(--global-color-primary--dark);
|
|
20
|
+
|
|
21
|
+
--line-top:
|
|
22
|
+
0 var(--border-width-neg) var(--border-color);
|
|
23
|
+
--line-top-left:
|
|
24
|
+
-25vw var(--border-width-neg) var(--border-color);
|
|
25
|
+
--line-top-right:
|
|
26
|
+
25vw var(--border-width-neg) var(--border-color);
|
|
27
|
+
|
|
28
|
+
--line-bottom:
|
|
29
|
+
0 var(--border-width) var(--border-color);
|
|
30
|
+
--line-bottom-left:
|
|
31
|
+
-25vw var(--border-width) var(--border-color);
|
|
32
|
+
--line-bottom-right:
|
|
33
|
+
25vw var(--border-width) var(--border-color);
|
|
34
|
+
|
|
35
|
+
--fake-bkgd: var(--box-shadow--fake-bkgd); /* from core-styles o-section */
|
|
36
|
+
|
|
37
|
+
box-shadow:
|
|
38
|
+
var(--fake-bkgd),
|
|
39
|
+
var(--line-top),
|
|
40
|
+
var(--line-top-left),
|
|
41
|
+
var(--line-top-right),
|
|
42
|
+
var(--line-bottom),
|
|
43
|
+
var(--line-bottom-left),
|
|
44
|
+
var(--line-bottom-right);
|
|
45
|
+
}
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
</div>
|
|
4
4
|
{{#> @partial-block}}
|
|
5
5
|
<div>
|
|
6
|
-
|
|
6
|
+
{{> @message
|
|
7
|
+
tag="p"
|
|
8
|
+
type="info"
|
|
9
|
+
scope="section"
|
|
10
|
+
content="To render a table, choose a modifier class from the navigation panel."
|
|
11
|
+
}}
|
|
7
12
|
</div>
|
|
8
13
|
{{/@partial-block}}
|
|
9
14
|
<div>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--global-color-accent--xxx-light: #faf4ff;
|
|
3
|
+
--global-color-accent--xx-light: #f1ebfd;
|
|
4
|
+
--global-color-accent--x-light: #e3d7fd;
|
|
5
|
+
--global-color-accent--light: #a387ed;
|
|
6
|
+
--global-color-accent--normal: #784fe8;
|
|
7
|
+
--global-color-accent--dark: #6039cc;
|
|
8
|
+
--global-color-accent--x-dark: #3d189b;
|
|
9
|
+
--global-color-accent--xx-dark: #281066;
|
|
10
|
+
--global-color-accent--xxx-dark: #1E0C4C;
|
|
11
|
+
}
|
|
@@ -5,6 +5,16 @@
|
|
|
5
5
|
--global-color-info--dark: var(--global-color-primary--x-dark);
|
|
6
6
|
--global-color-info--x-dark: var(--global-color-primary--xx-dark);
|
|
7
7
|
|
|
8
|
+
--global-color-accent--xxx-light: #faf4ff;
|
|
9
|
+
--global-color-accent--xx-light: #f1ebfd;
|
|
10
|
+
--global-color-accent--x-light: #e3d7fd;
|
|
11
|
+
--global-color-accent--light: #a387ed;
|
|
12
|
+
--global-color-accent--normal: #784fe8;
|
|
13
|
+
--global-color-accent--dark: #6039cc;
|
|
14
|
+
--global-color-accent--x-dark: #3d189b;
|
|
15
|
+
--global-color-accent--xx-dark: #281066;
|
|
16
|
+
--global-color-accent--xxx-dark: #1E0C4C;
|
|
17
|
+
|
|
8
18
|
/* DEPRECATED */
|
|
9
19
|
/* TODO: Update clients to use --global-color-accent--xx-light instead */
|
|
10
20
|
--global-color-accent--alt: #d2cce7;
|