mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
559465574d
* 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 * Revert "siwe: rm unit test" This reverts commit c80a4a2e661609c46c76d1e43e05909b6db3f0f5. --------- Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
81 lines
1.6 KiB
SCSS
81 lines
1.6 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);
|
|
}
|
|
|
|
/** @todo replace ActionableMessage or remove overwritten code. */
|
|
.signature-request-siwe__actionable-message {
|
|
margin: 0 16px;
|
|
flex-direction: row;
|
|
align-items: initial;
|
|
|
|
.icon {
|
|
position: absolute;
|
|
left: 17px;
|
|
top: 13px;
|
|
}
|
|
|
|
.actionable-message__message {
|
|
padding-left: 16px;
|
|
}
|
|
|
|
&.actionable-message--with-icon {
|
|
padding-left: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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);
|
|
}
|
|
}
|
|
}
|