Skip to content

Commit

Permalink
Migrate c-card fixes to core-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Tomas-Gonzalez committed Oct 27, 2023
1 parent 92390ca commit a7a0f58
Showing 1 changed file with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
/* FIX CARD */

/* !!!: When migrated:
1. Remove `:where(:not(…` (e.g. "not in portal").
2. Prevent these styles in apps/tup-ui TicketHistory CSS */
:is(.card, .c-card, [class*="card--"]) p:last-child:where(:not(#page-portal *)) {
margin-bottom: 2rem; /* restore <p> `margin-bottom `*/
}

/* To more specifically control c-card link font weight */
/* !!!: When migrated:
1. Remove `:where(:not(…` (e.g. "not in portal").
2. Prevent these styles in apps/tup-ui TicketHistory CSS */
:is(.card, .c-card, [class*="card--"]) a.c-button:where(:not(#page-portal *)) {
font-weight: var(--bold);
}

/* FAQ: Used on image cards for staff like on /education/k-12-students/ */
:is(.card, .c-card, [class*="card--"]) h4 {
margin-bottom: 0.375em;
}





/* SUPPORT LIST IN CARD */

/* FAQ: The Portal uses Bootstrap ".card" for ticket modal */
Expand Down

0 comments on commit a7a0f58

Please sign in to comment.