Skip to content

Commit

Permalink
learning MFE: update alert styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rediris committed Dec 17, 2024
1 parent ed45b9d commit 2a053db
Showing 1 changed file with 26 additions and 21 deletions.
47 changes: 26 additions & 21 deletions src/scss/mfe-learning.scss
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,11 @@ div.d-flex.ml-auto {
}
}

// Alert stuff (copied from learning_original)
// Alert Stuff
.alert-wrapper {
margin-top: 1rem;
}

.alert {
background-color: var(--mono-100);
border: rem-calc(1) solid var(--mono-300);
Expand All @@ -997,32 +1001,33 @@ div.d-flex.ml-auto {
margin-bottom: 1rem;
padding: 1.4rem;
position: relative;
}
// Theoretically, the last div in the alert that pops up when a user isn't enrolled (could be any alert in that section TBH
.alert .alert-message-content > :last-child {
margin-bottom: 0;
// font-size: 1rem;
line-height: 1;

// Theoretically, the "Enroll Now" button in the alert that pops up
button {
// font: 700 1.25rem/1 var(--font-family-custom);
// padding: 1.05rem;
margin-top: 1.4rem;
margin-inline-end: 0.33rem;
// Hypothetically, the last div in the alert that pops up when a user isn't enrolled (could be any alert in that section TBH
.alert-message-content > :last-child {
margin-bottom: 0;
// font-size: 1rem;
line-height: 1;

// Hypothetically, the "Enroll Now" button in the alert that pops up
button {
// font: 700 1.25rem/1 var(--font-family-custom);
// padding: 1.05rem;
margin-top: 1.4rem;
margin-inline-end: 0.33rem;
}
}
}

.alert .alert-icon {
flex-shrink: 0;
float: left;
height: 1.5rem;
margin-inline-end: 0.8rem;
width: 1.5rem;
.alert-icon {
flex-shrink: 0;
float: left;
height: 1.5rem;
margin-inline-end: 0.8rem;
width: 1.5rem;
}
}

.alert-heading {
color: #000;
color: var(--mono-900);
display: flex;
}

Expand Down

0 comments on commit 2a053db

Please sign in to comment.