mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
7acb33c976
* Add a notification for BSC Swaps * Add a new logo for BSC sources, update an image for BSC notification * Mark a BSC notification as seen when a user clicks on “Start swapping” * Add conditional rendering of notifications * Remove divider for the last notification * Remove a divider for the last notification * Remove ! * Trigger pipeline
68 lines
998 B
SCSS
68 lines
998 B
SCSS
.whats-new-popup {
|
|
&__notifications {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__notification,
|
|
&__first-notification {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 24px 24px 24px;
|
|
border-bottom: 1px solid $Grey-100;
|
|
}
|
|
|
|
&__notification {
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
&__notification-image {
|
|
align-self: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
&__description-and-date {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
&__notification-date {
|
|
color: $Grey-500;
|
|
}
|
|
|
|
&__button {
|
|
margin-right: auto;
|
|
}
|
|
|
|
&__button,
|
|
&__link {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
&__link {
|
|
@include H6;
|
|
|
|
color: $Blue-500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&__notification-title {
|
|
@include H4;
|
|
|
|
font-weight: bold;
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.popover-wrap.whats-new-popup__popover {
|
|
@media screen and (min-width: 576px) {
|
|
max-height: 600px;
|
|
width: 500px;
|
|
}
|
|
|
|
@media screen and (max-width: 575px) {
|
|
max-height: 568px;
|
|
}
|
|
}
|