refactor: manage CMS assets, delete outdated assets#535
Draft
wesleyboar wants to merge 62 commits into
Draft
Conversation
TACC/Core-CMS#1033 automates redirect logic. #529 was stepping stone. But this PR does not need those steps nor old code.
The ad-hoc.js definitely works. I use it on TACC site live, and other Core-CMS sites.
This has been working via Core-CMS for almost a year. TACC/Core-CMS#838
This file is nto the same code as Core-CMS. No need for it. By deleting this one, it will nto be copied. The default one in Core-CMS image will be used.
Available since TACC/Core-CMS#611. Updated in TACC/Core-CMS#996.
Update TUP-CMS styles to respect new Core-CMS styles: See TACC/Core-CMS#1028 Then TACC/Core-CMS#1029 Delete https://tacc.utexas.edu/admin/djangocms_snippet/snippet/172/
So that CMS nav width does not increase with CMS font.
Core-Styles flipped font to Benton (CMS) then back to Roboto (Portal).
This reverts commit 90be726. Core-CMS brings hover states (color of SVG changes to brand color of that social media).
No reason to override this. If CMS admin wants to use `<small>`, let her. I just tweak font-size.
Core-Styles was updated to also use `--max-width: auto`. Thus, TUP CMS need not set it.
Core-CMS offers —
```css
[class*="logos--"] a svg {
display: block;
}
```
— which makes `vertical-align: middle`[^1] have no effect.
[^1]: Even Bootstrap's `vertical-align: middle` has no effect.
Core-Styles fixed logo vertical alignment.
This reverts commit fcff12f.
Has not been used for a while in favor of Core-CMS. Outdated since TACC/Core-CMS@89355dd6, in which COre-CMS brings over improvements this script had.
- v4.38.4 has important fixes - v4.38.5 has non-breaking features
wesleyboar
added a commit
to TACC/Core-CMS
that referenced
this pull request
Mar 17, 2026
## Overview Greater default size for branding logos (from snippet). ## Related - supports TACC/tup-ui#535 - supports TACC/tup-ui#537 ## Changes - **added** bix width and height constraints into SVG CSS - **deleted** tiny width and height constraints from SVG HTML ## Testing Dimensions of branding logos (from snippet) are constrained by their parent container or their max block size (500px). ## UI | before | after | test max size | | - | - | - | | <img width="900" height="470" alt="before" src="https://github.com/user-attachments/assets/a4007928-612e-468c-af2f-7bf1f2b7c628" /> | <img width="900" height="470" alt="after" src="https://github.com/user-attachments/assets/5a9400e7-5e43-4fc3-a6f2-8055d3dcbba2" /> | <img width="900" height="470" alt="test max size" src="https://github.com/user-attachments/assets/22394a28-c220-4d77-a1c8-621b4f46c1db" /> |
To fix tiny branding logos in footer.
wesleyboar
added a commit
to TACC/Core-CMS
that referenced
this pull request
Mar 18, 2026
## Overview Add TACC styles for [Bootstrap 5 `link` Utility](https://getbootstrap.com/docs/5.3/utilities/link/). ## Related - for [TACC: About > LCCF Internships ](https://tacc.utexas.edu/about/internships/lccf/) - for [ECEP: CS Data > ECEP CS Education](https://ecepalliance.org/cs-data/ecep-cs-education-dashboard/) - tested via TACC/tup-ui#535 ## Changes - **adds** [TACC/Core-Styles:core-styles.bootstrap5.css](https://github.com/TACC/Core-Styles/blob/v2.53.3/src/lib/_imports/core-styles.bootstrap5.css) ## Testing 1. Verify `.link-primary` styles any element link a link e.g. - `<button class="link-primary">` - `<summary class="link-primary">` ## UI https://github.com/user-attachments/assets/353c2b7c-9311-432e-bf5c-5e8360001810
2 tasks
wesleyboar
added a commit
to TACC/Core-Styles
that referenced
this pull request
Apr 1, 2026
## Overview Adds a Bootstrap 4 extension for the [media object](https://getbootstrap.com/docs/4.6/components/media-object/), `.media-link` modifier which aligns thumbnail and body. Demo has variant markup for Bootstrap and TACC. ## Related - used by TACC/tup-ui#535 ## Changes - **added** stylesheet - **added** demo ## Testing 1. Run `npm run build:css` and confirm `dist/core-styles.bootstrap4.css` includes `.media-link`. 2. Run `npm start` (or `npm run build:demo`) and open the Bootstrap 3. [**Media** pattern](http://localhost:3000/components/detail/media); confirm examples match intended layout. ## UI <img width="900" height="475" alt="boostrap media extended by tacc" src="https://github.com/user-attachments/assets/100b5780-146c-4b71-91db-3dfb1e97c6fd" />
Added a temporary link to load Core-Styles for media component. Will be deleted when newer Core-Styles is loaded.
Not legible enough on white background. Was legible enough on black background, and still is.
Core-Styles colors footer text.
Removed obsolete CSS link for Core-Styles and updated TODO comments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Many changes were subsumed into #537.
Note
Optional new tasks:
--fat&__identityCore-Styles#630Caution
Untested.
Note
After deploy:
Related
Changes
c-feed-listmigrated to Core-CMS (Core-Styles@v2.44.0, Core-CMS@v4.33)tup-cms.for-*.cssfrom template toPORTAL_STYLESplain.htmltemplate migrated to Core-CMSsettings_custom.pydetails#cms-footercolormanaged by Core-StylesMany changes were subsumed into #537.
html_page_idfromportaltopage-portalassets_core_projecttoassets_projectsettings_custom.pydetailsmoves styling for footer to new appropriate stylesheetTesting & UI
Core-CMS
verify at least two external articles per page
/about/tours/request/tup-cms.for-core-cms.csstup-cms.for-core-style.csstup-cms.for-tup-cms.css/news/latest-news//systems/all/to test on prod, remove/comment snippet #172
frontera, should not showFronterain HTML of titlesee screenshot of
Lccf(before it was renamed toLCCF)<h2>is brown and an<h3>is white or black(see demo videos)
Core-Styles
#FFFFFFor#F4F4F4.(value uses
var, color depends on Core-Styles version)Otherwise, nothing to test, because the rest is fixes or opt-in features.