mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
0c203d0518
* refactoring signature-request and adding test coverage * adding storybook and removing the reduntant files: * adding new components from * replacing <SiteOrigin/> with <TagUrl/> * updating review comments from Jyoti and George * adding the hook * refactoring in the changes from #18770 MMI PR * adding new hook for the MMISign changes * updating lavamoat * updating lavamoat * removing a commeted line * updating the sign check with accountType conditional * fixing build issues * updating the review comments on the hooks * updating signatureRequestHeader * lint fix * fixing test failure * lint fix * updating review comments * adding the renamed hook * updating the origin url * fixing test failure * migrating changes from #19184 * updating snapshot * fixing e2e failure * fixing e2e failure * addressing review comments from Joao * migrating chnages from #19892 * moving shallowEqual inside of mmi build * migrating changes from #19881 * fixing build failure * migrating changes from #19949 * migrating changes from #19468 * updating snapshot * updating snapshot * updating QA review comments * fixing full screen height issue from develop * migrating changes from #20083 * fixing snapshot
66 lines
1.1 KiB
SCSS
66 lines
1.1 KiB
SCSS
@import 'signature-request-header/index';
|
|
@import 'signature-request-message/index';
|
|
@import 'signature-request-data/index';
|
|
|
|
.signature-request {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
width: 408px;
|
|
height: max-content;
|
|
background-color: var(--color-background-default);
|
|
box-shadow: var(--shadow-size-xs) var(--color-shadow-default);
|
|
border-radius: 8px;
|
|
|
|
@include screen-sm-min {
|
|
max-height: max-content;
|
|
min-height: 570px;
|
|
flex: 0 0 auto;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
&__reject-all-button {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
&__origin {
|
|
margin-top: 16px;
|
|
}
|
|
}
|
|
|
|
.signature-request-header {
|
|
flex: 1;
|
|
|
|
.network-display {
|
|
justify-content: flex-end;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
.signature-request-content {
|
|
flex: 1 40%;
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
min-height: min-content;
|
|
|
|
&__info {
|
|
@include H7;
|
|
|
|
padding: 0 12px 4px;
|
|
}
|
|
|
|
&__info--bolded {
|
|
@include Paragraph;
|
|
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
a.signature-request-content__verify-contract-details {
|
|
padding: 0;
|
|
}
|