TACC / Core-CMS

The Core CMS codebase used by TACC Portals.
https://cep.tacc.utexas.edu
2 stars 1 forks source link

feat: tup-616 c-button migration #729

Closed wesleyboar closed 11 months ago

wesleyboar commented 11 months ago

Important Merged into wrong branch. Expect a new PR to replace this one.

Overview

Migrate button styles from TUP-CMS.

Related

Changes

Testing

  1. Create a page.
  2. Add a button.
  3. Test that the button style matches buttons on TACC CMS.

UI

before bug fix
before button change
before bug fix
after button change
after bug fix
after button change
before bug fix, before button change after bug fix, before button change after bug fix, after button change

Notes

This was supposed to be a migration to core-styles, but Wes was wrong. It belongs in Core-CMS. H.P. confirmed it.

Sample HTML I copied this from https://tacc.utexas.edu/static/ui/components/detail/c-button--primary.html source. ```html
States
<button>
<a>
default --is-busy
 
Icons
<button>
<a>
__icon--before __icon--after X
 
Width
<button>
<a>
--width-short --width-medium --width-long
 
Size
(no small size allowed)
 
```