mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
40e4a3653f
* WIP commit * Moving copy out of messages.json, styling changes * handling scroll button click and disable logic * moving scrollButton up to popover component, adding logic for accepting terms of use in popover and onboarding flows * adding terms of use to e2e wallet creation/import * adjusting failing unit test * fixing QR code e2e * updating welcome test * setting app state in fixtures * Update app/scripts/controllers/app-state.js removing console log Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Update ui/components/app/terms-of-use-popup/terms-of-use-popup.stories.js adding args to ToU popup storybook Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Update ui/components/app/terms-of-use-popup/terms-of-use-popup.js Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * updating DS components in terms of use * popover styling changes * adding metametrics tracking * editing scrollbutton behavior * adding unit test * code fencing --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
81 lines
1.2 KiB
SCSS
81 lines
1.2 KiB
SCSS
.whats-new-popup {
|
|
&__notifications {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__notification,
|
|
&__first-notification {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 16px 16px 16px;
|
|
border-bottom: 1px solid var(--color-border-muted);
|
|
position: relative;
|
|
}
|
|
|
|
&__last-notification {
|
|
> * {
|
|
&:nth-last-child(2) {
|
|
margin-bottom: 0;
|
|
};
|
|
}
|
|
|
|
.whats-new-popup__intersection-observable {
|
|
bottom: 8px;
|
|
}
|
|
}
|
|
|
|
&__notification {
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
&__notification-image {
|
|
align-self: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
&__description-and-date {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
&__notification-date {
|
|
color: var(--color-text-alternative);
|
|
}
|
|
|
|
&__button {
|
|
margin-right: auto;
|
|
}
|
|
|
|
&__button,
|
|
&__link {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
&__link {
|
|
@include H6;
|
|
|
|
color: var(--color-primary-default);
|
|
cursor: pointer;
|
|
}
|
|
|
|
&__intersection-observable {
|
|
bottom: 22px;
|
|
position: absolute;
|
|
height: 1px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.popover-wrap.whats-new-popup__popover {
|
|
@include screen-sm-min {
|
|
max-height: 750px;
|
|
width: 500px;
|
|
}
|
|
|
|
@include screen-sm-max {
|
|
max-height: 568px;
|
|
}
|
|
}
|