mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
8aa3263b82
* Fixed navigation through multiple unapproved transactions for ERC20 tokens * Fixed tx details activity-log currency * Fixed e2e test failure * Added navigation between multiple sign prompts and reject all sign prompts * Resolving conflicts * Creating SignatureRequestNavigation component and extracting the UI rendering part into a single component * Fixing e2e tests and updating snapshot * Using single component for navigation which shows both messages and transactions requests * Fixing test-unit-jest-main * Added more unit tests * Fixing test-storybook * Fixing test-storybook --------- Co-authored-by: Filip Sekulic <filip.sekulic@consensys.net>
74 lines
1.2 KiB
SCSS
74 lines
1.2 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: 80vh;
|
|
min-height: 570px;
|
|
flex: 0 0 auto;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
&__reject-all-button {
|
|
margin-top: -15px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
|
|
&__title {
|
|
@include H5;
|
|
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__info {
|
|
@include H7;
|
|
|
|
padding: 0 12px 4px;
|
|
}
|
|
|
|
&__info--bolded {
|
|
@include Paragraph;
|
|
|
|
font-weight: 500;
|
|
}
|
|
|
|
p {
|
|
@include H6;
|
|
|
|
color: var(--color-text-muted);
|
|
}
|
|
}
|
|
|
|
a.signature-request-content__verify-contract-details {
|
|
padding: 0;
|
|
}
|