Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added c-card-list support
  • Loading branch information
R-Tomas-Gonzalez committed Oct 26, 2023
commit b5163286c4761d17a6ea8ed6d3d9c5f7f8794027
1 change: 1 addition & 0 deletions dist/components/c-card-list.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions src/lib/_imports/components/c-card-list.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@import url("./c-card.selectors.css");

/* SUPPORT LIST IN CARD */

/* FAQ: The Portal uses Bootstrap ".card" for ticket modal */
:is(.card, :--c-card, [class*="card--"]) ul {
/* list-style: none; *//* H.P. restored bullets, M.S. does not know */
padding-left: 1em; /* overwrite core-styles.cms */
}
/* To add space between line items */
/* FAQ: Using margin and li:not(:first-of-type) because of multi-line items */
:is(.card, :--c-card, [class*="card--"]) li:not(:first-of-type) {
margin-top: 0.5em;
}
/* TODO: Consider changing this site wide; SEE:
:where([role=main],main) li:not(td li) { line-height: 1.6; } */
:is(.card, :--c-card, [class*="card--"]) ul:last-child {
margin-bottom: 2rem;
}
1 change: 1 addition & 0 deletions src/lib/_imports/core-styles.cms.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
@import url("./components/c-content-block.css");
@import url("./components/cortal.icon.css");
@import url("./components/c-card.css");
@import url("./components/c-card-list.css");
@import url("./components/c-form--cms.css");
@import url("./components/c-message.css");
@import url("./components/c-message--expanded.css");
Expand Down