refactor: update verified upgrade sections on course dasboard [REV-2129] (#27435)

Update the styling and verbiage used in the course upgrade sections of the course dashboard cards.
This commit is contained in:
JJ
2021-05-06 11:59:19 -04:00
committed by GitHub
parent 6af535f476
commit 30e4b43700
2 changed files with 76 additions and 23 deletions

View File

@@ -778,6 +778,11 @@
// TYPE: upsell
&.message-upsell {
padding-left: $baseline;
padding-top: $baseline;
padding-bottom: $baseline;
background-color: #F2F0EF;
.wrapper-tip {
@include clearfix();
@@ -801,13 +806,61 @@
}
.wrapper-extended {
padding: ($baseline/4) 0;
display: flex;
flex-flow: column wrap;
color: #00262B;
.message-copy {
display: inline-block;
.wrapper-icon-message {
width: 100%;
display: inline-flex;
flex-wrap: wrap;
.message-copy-bold {
font-weight: 600;
svg {
flex-shrink: 0;
width: 43px;
height: 43px;
margin-left: -5px;
}
.message-copy {
margin-left: $baseline/2;
min-width: 15rem;
flex: 2;
.message-copy-bold {
font-weight: $font-weight-bold;
}
}
a.verified-info {
color: #00262B;
text-decoration: underline;
}
}
.action-upgrade-container {
flex-shrink: 0;
flex-grow: 1;
align-self: flex-end;
}
@include media-breakpoint-down(xs) {
.action-upgrade-container {
width: 100%;
margin-top: $baseline;
}
.action-upgrade {
width: 100%;
flex: 2 100%;
}
}
@include media-breakpoint-up(xl) {
flex-flow: nowrap;
.action-upgrade-container {
margin-left: 16px;
}
}
}