BREAKING CHANGE: Pre-design-tokens theming is no longer supported. Co-authored-by: Diana Olarte <diana.olarte@edunext.co>
74 lines
1.4 KiB
SCSS
74 lines
1.4 KiB
SCSS
.course-card {
|
|
.card {
|
|
.pgn__card-wrapper-image-cap.vertical {
|
|
display: flex;
|
|
min-height: var(--pgn-size-card-image-vertical-max-height);
|
|
}
|
|
.pgn__card-image-cap {
|
|
border-bottom-left-radius: 0 !important;
|
|
}
|
|
.overflow-visible {
|
|
overflow: visible;
|
|
}
|
|
.pgn__card-header-content {
|
|
margin-top: 1.5rem;
|
|
}
|
|
.pgn__card-footer {
|
|
flex-wrap: nowrap;
|
|
|
|
&.vertical {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.pgn__action-row {
|
|
align-self: flex-end;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.course-card-verify-ribbon-container {
|
|
width: 100%;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
text-align: center;
|
|
|
|
.badge {
|
|
border-radius: 0;
|
|
}
|
|
|
|
> img {
|
|
width: 40px;
|
|
z-index: 1000;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.course-card-banners {
|
|
> .alert {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
padding: var(--pgn-spacing-spacer-3) var(--pgn-spacing-spacer-4);
|
|
|
|
&:last-of-type {
|
|
border-bottom-left-radius: var(--pgn-size-alert-border-radius);
|
|
border-bottom-right-radius: var(--pgn-size-alert-border-radius);
|
|
}
|
|
}
|
|
|
|
.related-programs-banner {
|
|
.related-programs-list-container {
|
|
list-style: none;
|
|
display: inline;
|
|
|
|
> li {
|
|
line-height: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|