@tacc/core-styles 0.11.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.
Files changed (260) hide show
  1. package/README.md +107 -85
  2. package/dist/branding_logos.css +1 -1
  3. package/dist/components/README.css +1 -1
  4. package/dist/components/bootstrap/bootstrap--form.demo.css +1 -0
  5. package/dist/components/bootstrap/bootstrap--modal.demo.css +1 -0
  6. package/dist/components/bootstrap/demo.css +1 -0
  7. package/dist/components/bootstrap.container.css +1 -1
  8. package/dist/components/bootstrap.css +1 -1
  9. package/dist/components/bootstrap.figure.css +1 -1
  10. package/dist/components/bootstrap.form.css +1 -1
  11. package/dist/components/bootstrap.modal.css +1 -1
  12. package/dist/components/bootstrap.pagination.css +1 -1
  13. package/dist/components/c-button/demo.css +1 -0
  14. package/dist/components/c-button.css +1 -1
  15. package/dist/components/c-callout.css +1 -1
  16. package/dist/components/c-card.css +1 -1
  17. package/dist/components/c-data-list.css +1 -1
  18. package/dist/components/c-footer.css +1 -1
  19. package/dist/components/c-form.css +1 -0
  20. package/dist/components/c-image-map.css +1 -1
  21. package/dist/components/c-image-map.skin.css +1 -1
  22. package/dist/components/c-image-map.structure.css +1 -1
  23. package/dist/components/c-message.css +1 -1
  24. package/dist/components/c-nav.css +1 -1
  25. package/dist/components/c-page.css +1 -1
  26. package/dist/components/c-recognition.css +1 -1
  27. package/dist/components/c-see-all-link.css +1 -1
  28. package/dist/components/c-show-more.css +1 -1
  29. package/dist/components/cortal.icon.css +1 -1
  30. package/dist/components/cortal.icon.font.css +1 -1
  31. package/dist/components/django-cms-forms.css +1 -0
  32. package/dist/components/django-cms-forms.hacks.css +1 -0
  33. package/dist/components/mui.tabs.css +1 -0
  34. package/dist/core-styles.base.css +4 -0
  35. package/dist/core-styles.cms.css +2 -0
  36. package/dist/core-styles.demo.css +2 -0
  37. package/dist/core-styles.header.css +2 -0
  38. package/dist/core-styles.portal.css +2 -0
  39. package/dist/core-styles.settings.css +3 -0
  40. package/dist/elements/README.css +1 -1
  41. package/dist/elements/bootstrap.css +1 -1
  42. package/dist/elements/demo.css +1 -0
  43. package/dist/elements/form.cms.css +1 -1
  44. package/dist/elements/html-elements.cms.css +1 -1
  45. package/dist/elements/html-elements.css +1 -0
  46. package/dist/elements/links/demo.css +1 -0
  47. package/dist/elements/links.css +1 -1
  48. package/dist/elements/table--basic.css +1 -1
  49. package/dist/elements/table--nested.css +1 -1
  50. package/dist/elements/table.css +1 -1
  51. package/dist/elements/tacc-search-bar.css +1 -1
  52. package/dist/fonts/BentonSans-Black.otf +0 -0
  53. package/dist/fonts/BentonSans-RegularItalic.otf +0 -0
  54. package/dist/fractal.server.refresh.css +1 -1
  55. package/dist/generics/README.css +1 -1
  56. package/dist/generics/fonts.css +1 -1
  57. package/dist/objects/README.css +1 -1
  58. package/dist/objects/o-fixed-header-table/demo.css +1 -0
  59. package/dist/objects/o-fixed-header-table.css +1 -1
  60. package/dist/objects/o-flex-item-table-wrap/demo.css +1 -0
  61. package/dist/objects/o-flex-item-table-wrap.css +1 -1
  62. package/dist/objects/o-float-content.css +1 -1
  63. package/dist/objects/o-grid.css +1 -1
  64. package/dist/objects/o-offset-content.css +1 -1
  65. package/dist/objects/o-section.css +1 -1
  66. package/dist/objects/o-site.css +1 -1
  67. package/dist/objects/o-table-wrap/demo.basic.css +1 -0
  68. package/dist/objects/o-table-wrap/demo.extra.css +1 -0
  69. package/dist/objects/o-table-wrap/extra.flexible-horz.css +1 -0
  70. package/dist/objects/o-table-wrap/extra.overflow-hidden.css +1 -0
  71. package/dist/objects/o-table-wrap/extra.overflow-scroll.css +1 -0
  72. package/dist/objects/o-table-wrap/o-table-wrap--flexible-horz.css +1 -0
  73. package/dist/objects/o-table-wrap/o-table-wrap--flexible-vert.css +1 -0
  74. package/dist/objects/o-table-wrap/o-table-wrap--overflow-hidden.css +1 -0
  75. package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.css +1 -0
  76. package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll.css +1 -0
  77. package/dist/objects/o-table-wrap.css +1 -0
  78. package/dist/settings/README.css +1 -1
  79. package/dist/settings/border.css +1 -1
  80. package/dist/settings/color.css +1 -1
  81. package/dist/settings/font.css +1 -1
  82. package/dist/settings/max-width.css +1 -1
  83. package/dist/settings/space.css +1 -1
  84. package/dist/tools/README.css +1 -1
  85. package/dist/tools/media-queries.css +1 -1
  86. package/dist/tools/x-article-link.css +1 -1
  87. package/dist/tools/x-center.css +1 -1
  88. package/dist/tools/x-fake-border.css +1 -1
  89. package/dist/tools/x-grid.css +1 -1
  90. package/dist/tools/x-layout.css +1 -1
  91. package/dist/tools/x-link/demo.css +1 -0
  92. package/dist/tools/x-link.css +1 -1
  93. package/dist/tools/x-mailto-text-replace.css +1 -1
  94. package/dist/tools/x-overlay.css +1 -1
  95. package/dist/tools/x-truncate.css +1 -1
  96. package/dist/trumps/README.css +1 -1
  97. package/dist/trumps/s-affixed-input-wrapper/demo.css +1 -0
  98. package/dist/trumps/s-affixed-input-wrapper.css +1 -1
  99. package/dist/trumps/s-article-list.css +1 -1
  100. package/dist/trumps/s-article-preview.css +1 -1
  101. package/dist/trumps/s-blockquote.css +1 -1
  102. package/dist/trumps/s-breadcrumbs.css +1 -1
  103. package/dist/trumps/s-cms-nav.css +1 -1
  104. package/dist/trumps/s-document.css +1 -1
  105. package/dist/trumps/s-footer.css +1 -1
  106. package/dist/trumps/s-guide-doc.css +1 -1
  107. package/dist/trumps/s-header.bootstrap.css +1 -0
  108. package/dist/trumps/s-header.css +1 -1
  109. package/dist/trumps/s-inline-dl.css +1 -1
  110. package/dist/trumps/s-irregular-links.css +1 -1
  111. package/dist/trumps/s-portal-nav.css +1 -1
  112. package/dist/trumps/s-style-guide.css +1 -1
  113. package/dist/trumps/s-system-specs.css +1 -1
  114. package/dist/trumps/tacc-search-bar.css +1 -1
  115. package/dist/trumps/u-empty.css +1 -1
  116. package/dist/trumps/u-hide.css +1 -1
  117. package/dist/trumps/u-mailto-text-replace.css +1 -1
  118. package/dist/trumps/u-nested-text-content.css +1 -1
  119. package/docs/index.md +10 -5
  120. package/docs/shortcuts/tables.md +7 -0
  121. package/fractal.config.js +32 -17
  122. package/package.json +11 -7
  123. package/src/.postcssrc.base.yml +11 -2
  124. package/src/bin/build.js +0 -1
  125. package/src/lib/_imports/_partials/text-of-one-sentence.hbs +1 -0
  126. package/src/lib/_imports/_preview.hbs +95 -42
  127. package/src/lib/_imports/branding_logos.css +0 -2
  128. package/src/lib/_imports/components/bootstrap/{bootstrap--form.docs.css → bootstrap--form.demo.css} +0 -0
  129. package/src/lib/_imports/components/bootstrap/{bootstrap--modal.docs.css → bootstrap--modal.demo.css} +0 -0
  130. package/src/lib/_imports/components/bootstrap/bootstrap--modal.readme.md +4 -0
  131. package/src/lib/_imports/components/bootstrap/config.yml +3 -7
  132. package/src/lib/_imports/components/bootstrap/{docs.css → demo.css} +2 -2
  133. package/src/lib/_imports/components/bootstrap.container.css +0 -1
  134. package/src/lib/_imports/components/bootstrap.form.css +0 -1
  135. package/src/lib/_imports/components/bootstrap.modal.css +3 -0
  136. package/src/lib/_imports/components/c-button/{docs.css → demo.css} +0 -5
  137. package/src/lib/_imports/components/c-button.css +3 -0
  138. package/src/lib/_imports/components/c-form/c-form.hbs +362 -0
  139. package/src/lib/_imports/components/c-form/config.yml +2 -0
  140. package/src/lib/_imports/components/c-form/readme.md +14 -0
  141. package/src/lib/_imports/components/c-form/toggle-field-errors.js +101 -0
  142. package/src/lib/_imports/components/c-form/toggle-required-fields.js +85 -0
  143. package/src/lib/_imports/components/c-form.css +176 -0
  144. package/src/lib/_imports/components/c-message.css +61 -24
  145. package/src/lib/_imports/components/cortal.icon.css +15 -6
  146. package/src/lib/_imports/components/django-cms-forms/config.yml +5 -0
  147. package/src/lib/_imports/components/django-cms-forms/django-cms-forms.hbs +404 -0
  148. package/src/lib/_imports/components/django-cms-forms/readme.md +20 -0
  149. package/src/lib/_imports/components/django-cms-forms.css +187 -0
  150. package/src/lib/_imports/components/django-cms-forms.hacks.css +59 -0
  151. package/src/lib/_imports/components/mui.tabs.css +30 -0
  152. package/src/lib/_imports/core-styles.base.css +54 -0
  153. package/src/lib/_imports/core-styles.cms.css +34 -0
  154. package/src/lib/_imports/core-styles.demo.css +23 -0
  155. package/src/lib/_imports/core-styles.header.css +37 -0
  156. package/src/lib/_imports/core-styles.portal.css +25 -0
  157. package/src/lib/_imports/core-styles.settings.css +9 -0
  158. package/src/lib/_imports/elements/demo.css +59 -0
  159. package/src/lib/_imports/elements/form.cms/readme.md +16 -0
  160. package/src/lib/_imports/elements/form.cms.css +5 -23
  161. package/src/lib/_imports/elements/html-elements.cms.css +3 -4
  162. package/src/lib/_imports/elements/html-elements.css +67 -0
  163. package/src/lib/_imports/elements/links/config.yml +1 -1
  164. package/src/lib/_imports/elements/links.css +3 -3
  165. package/src/lib/_imports/elements/table/config.yml +1 -4
  166. package/src/lib/_imports/elements/table/table.hbs +8 -0
  167. package/src/lib/_imports/elements/table--basic.css +13 -2
  168. package/src/lib/_imports/generics/fonts.css +21 -7
  169. package/src/lib/_imports/objects/o-fixed-header-table/config.yml +60 -0
  170. package/src/lib/_imports/objects/o-fixed-header-table/demo.css +18 -0
  171. package/src/lib/_imports/objects/o-fixed-header-table/o-fixed-header-table.hbs +3 -0
  172. package/src/lib/_imports/objects/o-fixed-header-table/readme.md +18 -0
  173. package/src/lib/_imports/objects/o-fixed-header-table.css +1 -27
  174. package/src/lib/_imports/objects/o-flex-item-table-wrap/config.yml +27 -0
  175. package/src/lib/_imports/objects/o-flex-item-table-wrap/demo.css +7 -0
  176. package/src/lib/_imports/objects/o-flex-item-table-wrap/o-flex-item-table-wrap.hbs +7 -0
  177. package/src/lib/_imports/objects/o-flex-item-table-wrap/readme.md +22 -0
  178. package/src/lib/_imports/objects/o-flex-item-table-wrap.css +0 -34
  179. package/src/lib/_imports/objects/o-float-content.css +0 -1
  180. package/src/lib/_imports/objects/o-section.css +0 -1
  181. package/src/lib/_imports/objects/o-site.css +1 -0
  182. package/src/lib/_imports/objects/o-table-wrap/config.yml +82 -0
  183. package/src/lib/_imports/objects/o-table-wrap/demo.basic.css +18 -0
  184. package/src/lib/_imports/objects/o-table-wrap/demo.extra.css +31 -0
  185. package/src/lib/_imports/objects/o-table-wrap/extra.flexible-horz.css +23 -0
  186. package/src/lib/_imports/objects/o-table-wrap/extra.overflow-hidden.css +7 -0
  187. package/src/lib/_imports/objects/o-table-wrap/extra.overflow-scroll.css +7 -0
  188. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.css +4 -0
  189. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.hbs +5 -0
  190. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-horz.readme.md +20 -0
  191. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.css +3 -0
  192. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.hbs +5 -0
  193. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--flexible-vert.readme.md +18 -0
  194. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.css +3 -0
  195. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.hbs +5 -0
  196. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-hidden.readme.md +14 -0
  197. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.css +2 -0
  198. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.hbs +18 -0
  199. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.readme.md +18 -0
  200. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.css +5 -0
  201. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.hbs +5 -0
  202. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap--overflow-scroll.readme.md +20 -0
  203. package/src/lib/_imports/objects/o-table-wrap/o-table-wrap.hbs +11 -0
  204. package/src/lib/_imports/objects/o-table-wrap/readme.md +24 -0
  205. package/src/lib/_imports/objects/o-table-wrap.css +5 -0
  206. package/src/lib/_imports/settings/color.css +29 -11
  207. package/src/lib/_imports/settings/font.css +2 -0
  208. package/src/lib/_imports/{elements/links/docs.css → tools/x-link/demo.css} +0 -0
  209. package/src/lib/_imports/tools/x-link.css +0 -3
  210. package/src/lib/_imports/trumps/s-affixed-input-wrapper/{readme.md → README.md} +0 -0
  211. package/src/lib/_imports/trumps/s-affixed-input-wrapper/config.yml +2 -4
  212. package/src/lib/_imports/trumps/s-affixed-input-wrapper/s-affixed-input-wrapper.hbs +26 -24
  213. package/src/lib/_imports/trumps/s-affixed-input-wrapper.css +9 -11
  214. package/src/lib/_imports/trumps/s-cms-nav.css +11 -0
  215. package/src/lib/_imports/trumps/s-header.bootstrap.css +30 -0
  216. package/src/lib/_imports/trumps/s-header.css +1 -0
  217. package/src/lib/_imports/trumps/s-inline-dl.css +1 -0
  218. package/src/lib/_imports/trumps/s-irregular-links/config.yml +1 -5
  219. package/src/lib/_imports/trumps/s-portal-nav.css +11 -1
  220. package/src/lib/_imports/trumps/u-empty.css +4 -0
  221. package/src/lib/_imports/trumps/u-mailto-text-replace/config.yml +0 -3
  222. package/src/lib/_imports/trumps/u-mailto-text-replace/readme.md +1 -1
  223. package/src/lib/fonts/BentonSans-Black.otf +0 -0
  224. package/src/lib/fonts/BentonSans-RegularItalic.otf +0 -0
  225. package/dist/components/bootstrap/bootstrap--form.docs.css +0 -1
  226. package/dist/components/bootstrap/bootstrap--modal.docs.css +0 -1
  227. package/dist/components/bootstrap/bootstrap.modal/docs.css +0 -1
  228. package/dist/components/bootstrap/docs.css +0 -1
  229. package/dist/components/bootstrap/portal/bootstrap.form/docs.css +0 -1
  230. package/dist/components/bootstrap--container.css +0 -1
  231. package/dist/components/bootstrap--form/docs.css +0 -1
  232. package/dist/components/bootstrap--form.css +0 -1
  233. package/dist/components/bootstrap--modal/docs.css +0 -1
  234. package/dist/components/bootstrap--modal.css +0 -1
  235. package/dist/components/bootstrap.form/docs.css +0 -1
  236. package/dist/components/bootstrap.modal/docs.css +0 -1
  237. package/dist/components/c-button/docs.css +0 -1
  238. package/dist/elements/links/docs.css +0 -1
  239. package/dist/elements/table/docs.css +0 -1
  240. package/dist/elements/table/table.docs.css +0 -1
  241. package/dist/elements/table copy.css +0 -1
  242. package/dist/fonts/fonts/BentonSans-Bold.otf +0 -0
  243. package/dist/fonts/fonts/BentonSans-Medium.otf +0 -0
  244. package/dist/fonts/fonts/BentonSans-MediumItalic.otf +0 -0
  245. package/dist/fonts/fonts/BentonSans-Regular.otf +0 -0
  246. package/dist/fractal.server.css +0 -1
  247. package/dist/fractal.server.reload.css +0 -1
  248. package/dist/tools/x-link/docs.css +0 -1
  249. package/dist/trumps/icon.css +0 -1
  250. package/dist/trumps/icon.fonts.css +0 -1
  251. package/src/lib/_imports/_partials/bootstrap.css.hbs +0 -1
  252. package/src/lib/_imports/_partials/bootstrap.js.hbs +0 -2
  253. package/src/lib/_imports/_partials/cms.css.hbs +0 -3
  254. package/src/lib/_imports/_partials/css.hbs +0 -27
  255. package/src/lib/_imports/_preview.bootstrap-cms.hbs +0 -5
  256. package/src/lib/_imports/_preview.bootstrap.hbs +0 -5
  257. package/src/lib/_imports/_preview.cms.hbs +0 -3
  258. package/src/lib/_imports/tools/x-link/docs.css +0 -6
  259. package/src/lib/_imports/trumps/icon.css +0 -31
  260. package/src/lib/_imports/trumps/icon.fonts.css +0 -316
@@ -0,0 +1,54 @@
1
+ /*! core-styles.base.css */
2
+ /* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */
3
+
4
+ /* Organize via ITCSS */
5
+ /* https://confluence.tacc.utexas.edu/x/IAA9Cw */
6
+
7
+ /* SETTINGS */
8
+ @import url("./core-styles.settings.css");
9
+
10
+ /* GENERICS */
11
+ /* Mostly from Bootstrap */
12
+ /* https://confluence.tacc.utexas.edu/x/b53tDg */
13
+
14
+ /* ELEMENTS */
15
+ /* To override Bootstrap */
16
+ /* NOTE: Load generic html-elements.css before specific elements/….css */
17
+ @import url("./elements/html-elements.css");
18
+ @import url("./elements/links.css");
19
+ @import url("./elements/table.css");
20
+
21
+ /* OBJECTS */
22
+ @import url("./objects/o-fixed-header-table.css");
23
+ @import url("./objects/o-float-content.css");
24
+ @import url("./objects/o-grid.css");
25
+ @import url("./objects/o-offset-content.css");
26
+ @import url("./objects/o-section.css");
27
+ @import url("./objects/o-site.css");
28
+ @import url("./objects/o-table-wrap.css");
29
+
30
+ /* COMPONENTS */
31
+ @import url("./components/bootstrap.container.css");
32
+ @import url("./components/bootstrap.figure.css");
33
+ @import url("./components/bootstrap.modal.css");
34
+ @import url("./components/c-button.css");
35
+ @import url("./components/c-card.css");
36
+ @import url("./components/c-callout.css");
37
+ @import url("./components/c-data-list.css");
38
+ @import url("./components/c-footer.css");
39
+ @import url("./components/c-form.css");
40
+ @import url("./components/c-nav.css");
41
+ @import url("./components/c-page.css");
42
+ @import url("./components/c-message.css");
43
+ @import url("./components/c-recognition.css");
44
+ @import url("./components/c-see-all-link.css");
45
+ @import url("./components/cortal.icon.css");
46
+
47
+ /* TRUMPS */
48
+ @import url("./trumps/s-affixed-input-wrapper.css");
49
+ @import url("./trumps/s-blockquote.css");
50
+ @import url("./trumps/s-breadcrumbs.css");
51
+ @import url("./trumps/s-footer.css");
52
+ @import url("./trumps/u-empty.css");
53
+ @import url("./trumps/s-irregular-links.css");
54
+ @import url("./trumps/u-mailto-text-replace.css");
@@ -0,0 +1,34 @@
1
+ /*! core-styles.cms.css */
2
+ /* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */
3
+
4
+ /* Organize via ITCSS */
5
+ /* https://confluence.tacc.utexas.edu/x/IAA9Cw */
6
+
7
+ /* SETTINGS */
8
+ /* To get these, client should load `./base.css` first */
9
+
10
+ /* GENERICS */
11
+ /* Mostly from Bootstrap */
12
+ /* https://confluence.tacc.utexas.edu/x/b53tDg */
13
+
14
+ /* ELEMENTS */
15
+ /* To override Bootstrap */
16
+ @import url("./elements/html-elements.cms.css");
17
+ @import url("./elements/form.cms.css");
18
+
19
+ /* OBJECTS */
20
+ /* (none) */
21
+
22
+ /* COMPONENTS */
23
+ /* (none) */
24
+
25
+ /* TRUMPS */
26
+ /* To explain the in-limbo Core-CMS doc page styles */
27
+ /* FAQ: Commented out because Core-CMS doc pages load these directly */
28
+ /* IMPORTANT: If CMS docs are moved to TACC-Docs, then kill these stylesheets */
29
+ /*
30
+ @import url("_imports/trumps/s-document.css");
31
+ @import url("_imports/trumps/s-guide-doc.css");
32
+ @import url("_imports/trumps/s-inline-dl.css");
33
+ @import url("_imports/trumps/u-nested-text-content.css");
34
+ */
@@ -0,0 +1,23 @@
1
+ /*! core-styles.demo.css */
2
+ /* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */
3
+
4
+ /* Organize via ITCSS */
5
+ /* https://confluence.tacc.utexas.edu/x/IAA9Cw */
6
+
7
+ /* SETTINGS */
8
+ /* (none) */
9
+
10
+ /* GENERICS */
11
+ /* (none) */
12
+
13
+ /* ELEMENTS */
14
+ @import url("./elements/demo.css");
15
+
16
+ /* OBJECTS */
17
+ /* (none) */
18
+
19
+ /* COMPONENTS */
20
+ /* (none) */
21
+
22
+ /* TRUMPS */
23
+ /* (none) */
@@ -0,0 +1,37 @@
1
+ /*! core-styles.header.css */
2
+ /* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */
3
+
4
+ /* Organize via ITCSS */
5
+ /* https://confluence.tacc.utexas.edu/x/IAA9Cw */
6
+
7
+ /* SETTINGS */
8
+ /* To get these, client should load `./base.css` first */
9
+
10
+ /* GENERICS */
11
+ /* Mostly from Bootstrap */
12
+ /* https://confluence.tacc.utexas.edu/x/b53tDg */
13
+
14
+ /* ELEMENTS */
15
+ /* To override Bootstrap */
16
+ /* (none) */
17
+
18
+ /* OBJECTS */
19
+ /* (none) */
20
+
21
+ /* COMPONENTS */
22
+ /* (none) */
23
+
24
+ /* TRUMPS */
25
+ /* FAQ: Because of third-party code and a rush to style the Frontera header
26
+ (which meant maintaining existing markup), scope classes were used for
27
+ - the header
28
+ - the Portal nav
29
+ - the CMS nav
30
+ */
31
+ @import url("./trumps/s-header.css");
32
+ @import url("./trumps/s-portal-nav.css");
33
+ @import url("./trumps/s-cms-nav.css");
34
+
35
+ /* UNORGANIZED */
36
+ /* TODO: Convert to a component */
37
+ @import url("./branding_logos.css");
@@ -0,0 +1,25 @@
1
+ /*! core-styles.portal.css */
2
+ /* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */
3
+
4
+ /* Organize via ITCSS */
5
+ /* https://confluence.tacc.utexas.edu/x/IAA9Cw */
6
+
7
+ /* SETTINGS */
8
+ /* To get these, client should load `./base.css` first */
9
+
10
+ /* GENERICS */
11
+ /* Mostly from Bootstrap */
12
+ /* https://confluence.tacc.utexas.edu/x/b53tDg */
13
+
14
+ /* ELEMENTS */
15
+ /* To override Bootstrap */
16
+ /* (none) */
17
+
18
+ /* OBJECTS */
19
+ @import url("./objects/o-flex-item-table-wrap.css");
20
+
21
+ /* COMPONENTS */
22
+ @import url("./components/mui.tabs.css");
23
+
24
+ /* TRUMPS */
25
+ /* (none) */
@@ -0,0 +1,9 @@
1
+ /*! core-styles.settings.css → */
2
+ /* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */
3
+
4
+ @import url("./settings/border.css");
5
+ @import url("./settings/color.css");
6
+ @import url("./settings/font.css");
7
+ @import url("./settings/max-width.css");
8
+ @import url("./settings/space.css");
9
+ /*! ← core-styles.settings.css */
@@ -0,0 +1,59 @@
1
+ /* Organize */
2
+
3
+ body > dl dl {
4
+ margin-block: 0;
5
+ }
6
+ body > dl dt,
7
+ body > dl dd {
8
+ font-family: Arial, sans;
9
+ color: #484848;
10
+ line-height: normal;
11
+ }
12
+ body > dl dt {
13
+ font-weight: normal;
14
+ margin-bottom: 10px;
15
+ }
16
+ body > dl dt:not(:first-of-type) {
17
+ margin-top: 20px;
18
+ }
19
+ body > dl dd {
20
+ margin-bottom: 10px;
21
+ margin-left: 25px;
22
+ }
23
+ body > dl dd > * {
24
+ margin-right: 5px;
25
+ vertical-align: middle;
26
+ }
27
+
28
+
29
+
30
+ /* Debug */
31
+
32
+ body > details:last-of-type {
33
+ position: fixed;
34
+ top: 0;
35
+ right: 0;
36
+ z-index: 1;
37
+
38
+ padding: 1em;
39
+ background-color: #222;
40
+ color: lime;
41
+
42
+ text-align: right;
43
+ direction: rtl;
44
+
45
+ font-family: var(--global-font-family--mono);
46
+ }
47
+ body > details[open]:last-of-type { opacity: 1; }
48
+ body > details:not([open]):last-of-type { opacity: 0.5; }
49
+
50
+ body > details:last-of-type summary {
51
+ font-weight: bold;
52
+ }
53
+ body > details:last-of-type dt { font-weight: normal; }
54
+ body > details:last-of-type dd { font-weight: bold; }
55
+ body > details:last-of-type dd {
56
+ line-height: 1.4;
57
+ min-height: 1.4em;
58
+ width: 4ch;
59
+ }
@@ -0,0 +1,16 @@
1
+ [Form elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#forms) allow users to enter and submit data.
2
+
3
+ ```
4
+ <form> <fieldset> <legend> <label> <input> <select> <optgroup> <option> <textarea> <button> <output> <progress> <meter> <datalist>
5
+ ```
6
+
7
+ > **⚠️ WARNING**
8
+ >
9
+ > These overwrite, but may accidentally rely on, [Bootstrap Reboot: Forms](https://getbootstrap.com/docs/4.0/content/reboot/#forms).
10
+
11
+ <script>
12
+ /* To open external links in new window */
13
+ Array.from(document.links)
14
+ .filter(link => link.hostname != window.location.hostname)
15
+ .forEach(link => link.target = '_blank');
16
+ </script>
@@ -1,26 +1,3 @@
1
- /*
2
- Forms
3
-
4
- Elements that create forms which the user can fill out and submit to the Web site or application.
5
-
6
- ```
7
- <form> <fieldset> <legend> <label> <input> <select> <optgroup> <option> <textarea> <button> <output> <progress> <meter> <datalist>
8
- ```
9
-
10
- > **⚠️ Warning**
11
- >
12
- > Relies on Bootstrap.
13
-
14
- Reference:
15
-
16
- - [HTML element reference: Forms | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Forms)
17
- - [Bootstrap Reboot: Forms](https://getbootstrap.com/docs/4.0/content/reboot/#forms)
18
-
19
- Styleguide Elements.Forms
20
- */
21
-
22
-
23
-
24
1
  /* Fonts */
25
2
 
26
3
  /* FAQ: Setting font on form would erroneously apply to links and buttons */
@@ -37,6 +14,7 @@ textarea {
37
14
 
38
15
  label {
39
16
  font-size: var(--global-font-size--small);
17
+ font-weight: var(--medium);
40
18
 
41
19
  line-height: normal;
42
20
  margin-bottom: 0.75em;
@@ -72,6 +50,10 @@ textarea {
72
50
  ::placeholder {
73
51
  color: var(--global-color-primary--dark);
74
52
  }
53
+ input, select {
54
+ height: 1.4em;
55
+ box-sizing: content-box;
56
+ }
75
57
 
76
58
  input[type="time"],
77
59
  input[type="date"] {
@@ -14,9 +14,6 @@ Reference:
14
14
 
15
15
  Styleguide Elements.MainSectioningRoots
16
16
  */
17
- @import url('../settings/color.css');
18
- @import url('../settings/font.css');
19
- @import url('../settings/space.css');
20
17
 
21
18
  html {
22
19
  /* Set base font but support user-defined browser font size */
@@ -31,6 +28,8 @@ body {
31
28
  }
32
29
 
33
30
  body {
31
+ margin: 0;
32
+
34
33
  /* To avoid negative whitespace at right on horz scroll on tiny screen */
35
34
  min-width: 290px; /* developer-decided value */
36
35
 
@@ -206,7 +205,7 @@ code kbd {
206
205
 
207
206
  /* Code (<code>, <samp>, <pre>) */
208
207
 
209
- /* Code: any content or context) */ code,
208
+ /* Code: any content or context */ code,
210
209
  /* Code: content has only output */ pre > samp {
211
210
  /* Undo Bootstrap */
212
211
  color: unset;
@@ -0,0 +1,67 @@
1
+ /*
2
+ Text Content
3
+
4
+ Elements that create forms which allow users to enter and submit data.
5
+
6
+ ```
7
+ <form> <fieldset> <legend> <label> <input> <select> <optgroup> <option> <textarea> <button> <output> <progress> <meter> <datalist>
8
+ ```
9
+
10
+ Reference:
11
+
12
+ - [HTML element reference: Forms | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#forms)
13
+
14
+ Styleguide Elements.Forms
15
+ */
16
+
17
+ /* To mimic Bootstrap */
18
+ button, input, optgroup, select, textarea {
19
+ margin: 0;
20
+ font-family: inherit;
21
+ font-size: inherit;
22
+ line-height: inherit;
23
+ }
24
+
25
+ /*
26
+ Text Content
27
+
28
+ Elements that organize blocks or sections of content placed (includes lists).
29
+
30
+ ```
31
+ <blockquote> <dd> <div> <dl> <dt> <figcaption> <figure> <hr> <li> <ol> <p> <pre> <ul>
32
+ ```
33
+
34
+ Reference:
35
+
36
+ - [HTML element reference: Text content | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Text_content)
37
+
38
+ Styleguide Elements.TextContent
39
+ */
40
+
41
+ /* To mimic Bootstrap */
42
+ dl, ol, ul {
43
+ margin-top: 0;
44
+ margin-bottom: 1rem;
45
+ }
46
+
47
+ /*
48
+ Interactive Elements
49
+
50
+ Elements that help to create interactive user interface objects.
51
+
52
+ ```
53
+ <details> <summary> <dialog> <menu>
54
+ ```
55
+
56
+ Reference:
57
+
58
+ - [HTML element reference: Interactive elements | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Interactive_elements)
59
+
60
+ Styleguide Elements.Interactive
61
+ */
62
+
63
+ /* To mimic Bootstrap's <p> and <ul> margins */
64
+ details {
65
+ margin-top: 0;
66
+ margin-bottom: 1rem;
67
+ }
@@ -1,3 +1,3 @@
1
1
  context:
2
2
  supportStyles:
3
- - /assets/trumps/s-irregular-links.css
3
+ - /assets/tools/x-link/demo.css
@@ -1,11 +1,11 @@
1
1
  @import url('../tools/x-link.css');
2
2
 
3
- a {
3
+ a:not(.c-button) {
4
4
  @extend .x-link;
5
5
  }
6
- a:hover {
6
+ a:not(.c-button):hover {
7
7
  @extend .x-link--hover;
8
8
  }
9
- a:active {
9
+ a:not(.c-button):active {
10
10
  @extend .x-link--active;
11
11
  }
@@ -1,8 +1,5 @@
1
- preview: '@preview.cms'
2
1
  context:
3
- supportStyles:
4
- - /assets/elements/links.css
5
- - /assets/components/c-button.css
2
+ shouldLoadCMS: true # temporary dependence, until proven to work on Portal
6
3
  variants:
7
4
  - name: default
8
5
  label: Basic
@@ -1,4 +1,7 @@
1
1
  <table {{#if data.has-table }}class="has-table"{{/if}}>
2
+ {{#if caption }}
3
+ <caption>{{{ caption }}}</catpion>
4
+ {{/if}}
2
5
  <thead>
3
6
  <tr>
4
7
  {{#each data.cols}}<th>{{ this }}</th>{{/each}}
@@ -15,6 +18,11 @@
15
18
  <p>{{> @text-of-one-paragraph }}</p>
16
19
  </td>
17
20
  {{/if}}
21
+ {{#if sentence}}
22
+ <td title="{{> @text-of-one-sentence }}">
23
+ <span>{{> @text-of-one-sentence }}</span>
24
+ </td>
25
+ {{/if}}
18
26
  {{#if custom-1}}<td>{{{ custom-1 }}}</td>{{/if}}
19
27
  {{#if custom-2}}<td>{{{ custom-2 }}}</td>{{/if}}
20
28
  {{#if custom-3}}<td>{{{ custom-3 }}}</td>{{/if}}
@@ -12,9 +12,15 @@ table {
12
12
 
13
13
  /* To add border to bottom of all rows */
14
14
  /* FAQ: Added to cell, not row, because `border-collapse: separate` */
15
- thead tr :is(td, th),
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
+ }
16
20
  tr:not(:last-of-type) > :is(td, th) {
17
- border-bottom: var(--global-border--normal);
21
+ border-bottom-width: var(--global-border-width--normal);
22
+ border-bottom-style: solid;
23
+ border-bottom-color: var(--global-color-primary--light);
18
24
  }
19
25
 
20
26
  /* To alternate table row colors (by coloring cells, not rows) */
@@ -66,6 +72,11 @@ tbody > tr > th {
66
72
  caption {
67
73
  font-size: var(--global-font-size--small);
68
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;
69
80
  }
70
81
 
71
82
 
@@ -6,9 +6,9 @@ Load standard fonts for a TACC website.
6
6
  Usage:
7
7
  ```
8
8
  .something {
9
- // BentonSans-MediumItalic
9
+ // BentonSans-RegularItalic
10
10
  font-family: 'Benton Sans';
11
- font-weight: 500;
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-Bold.otf") format("opentype");
35
- font-weight: 700;
36
- font-style: normal;
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,3 @@
1
+ <div class="o-fixed-header-table">
2
+ {{> @table data=data caption="Header stays pinned top top of container on scroll." }}
3
+ </div>
@@ -0,0 +1,18 @@
1
+ A [table]({{path './table' }}) with its header pinned during vertical scroll.
2
+
3
+ > **?&#x20DD; 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