Skip to content

Commit 7da8bbb

Browse files
Migrate card list support to core-styles (#360)
Co-authored-by: Wesley Bomar <wbomar@tacc.utexas.edu>
1 parent 457c6c9 commit 7da8bbb

File tree

1 file changed

+0
-22
lines changed
  • apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components

1 file changed

+0
-22
lines changed

apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/components/c-card.css

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
/* SUPPORT LIST IN CARD */
2-
3-
/* FAQ: The Portal uses Bootstrap ".card" for ticket modal */
4-
:is(.card, .c-card, [class*="card--"]) ul {
5-
/* list-style: none; *//* H.P. restored bullets, M.S. does not know */
6-
padding-left: 1em; /* overwrite core-styles.cms */
7-
}
8-
/* To add space between line items */
9-
/* FAQ: Using margin and li:not(:first-of-type) because of multi-line items */
10-
:is(.card, .c-card, [class*="card--"]) li:not(:first-of-type) {
11-
margin-top: 0.5em;
12-
}
13-
/* TODO: Consider changing this site wide; SEE:
14-
:where([role=main],main) li:not(td li) { line-height: 1.6; } */
15-
:is(.card, .c-card, [class*="card--"]) ul:last-child:where(:not(#page-portal *)) {
16-
margin-bottom: 2rem;
17-
}
18-
19-
20-
21-
22-
231
/* ADD CARD--IMAGE */
242

253
/* Image */

0 commit comments

Comments
 (0)