mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 23:06:37 +01:00
5e3770eb13
* siwe: re-enable warning UI for mismatched domains - unblocks mismatched domain support - we may re-add error handling here #18184 - reverts logic from #16616 * siwe: fix mismatch domain warning msg UI * lint: rm whitespace EOL * siwe: rm unit test * lint: fix whitespace * Icon: support .mm-icon - apply to SIWE actionable-message - .mm-icon is a <span> * lint: fix newline * Revert "siwe: rm unit test" This reverts commit c80a4a2e661609c46c76d1e43e05909b6db3f0f5. * ActionableMessage: add deprecation * siwe: replace actionable-msg w/ banner-alert * ActionableMessage: add param for lint * revert .mm_icon ActionableMessage support * siwe: create tests * siwe: fix typo in tests * siwe: fix - do not allow nested <p> elements * Update ui/components/app/signature-request-siwe/signature-request-siwe.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/app/signature-request-siwe/signature-request-siwe.js Co-authored-by: George Marshall <george.marshall@consensys.net> * eslint fix --------- Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> Co-authored-by: George Marshall <george.marshall@consensys.net>
60 lines
1.2 KiB
SCSS
60 lines
1.2 KiB
SCSS
@import 'signature-request-siwe-header/index';
|
|
@import 'signature-request-siwe-message/index';
|
|
@import 'signature-request-siwe-icon/index';
|
|
|
|
.signature-request-siwe {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-width: 0;
|
|
background-color: var(--color-background-default);
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
overflow-y: auto;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
width: 408px;
|
|
max-height: 82vh;
|
|
min-height: 570px;
|
|
flex: 0 0 auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08);
|
|
}
|
|
}
|
|
|
|
.signature-request-siwe__warning-popover {
|
|
.page-container__footer {
|
|
border-top: none;
|
|
padding: 0;
|
|
display: block;
|
|
}
|
|
|
|
.popover-footer {
|
|
padding: inherit;
|
|
display: block;
|
|
}
|
|
|
|
&__checkbox-wrapper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
padding: 8px 16px 24px;
|
|
|
|
&__label {
|
|
@include H7;
|
|
|
|
color: var(--color-text-default);
|
|
margin-inline-start: 8px;
|
|
margin-top: 1px;
|
|
user-select: none;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.check-box {
|
|
color: var(--color-error-default);
|
|
}
|
|
}
|
|
}
|