mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
42be5a07d7
* Replaced addresses by the address component on SignTypedData v4 signatures * Fixing signature-request e2e tests * Modified scss file for signature-request message * Using address component for rendering the addresses and bold label where hex address is not valid * Modify the address component * Added proper BEM syntax for class names and used Box and Typography * FIxing e2e tests * Commited requested changes from George and added storybook * Review requested changes * Created new component for rendering data in signature-request-message.js * Fixing proper usage for getAccountName and getMetadataContractName selectors * Fixing e2e tests
88 lines
1.4 KiB
SCSS
88 lines
1.4 KiB
SCSS
@import 'signature-request-footer/index';
|
|
@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;
|
|
|
|
@include screen-sm-min {
|
|
flex: initial;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
margin-bottom: 25px;
|
|
min-height: min-content;
|
|
|
|
&__title {
|
|
@include H5;
|
|
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__identicon-container {
|
|
padding: 1rem;
|
|
flex: 1;
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
&__identicon-border {
|
|
height: 75px;
|
|
width: 75px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--color-background-default);
|
|
position: absolute;
|
|
}
|
|
|
|
&__identicon-initial {
|
|
position: absolute;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 60px;
|
|
color: var(--color-background-default);
|
|
z-index: 1;
|
|
text-shadow: var(--shadow-size-xs) var(--color-shadow-default);
|
|
}
|
|
|
|
&__info {
|
|
@include H7;
|
|
|
|
padding: 0 12px 4px;
|
|
}
|
|
|
|
&__info--bolded {
|
|
@include Paragraph;
|
|
|
|
font-weight: 500;
|
|
}
|
|
|
|
p {
|
|
@include H6;
|
|
|
|
color: var(--color-text-muted);
|
|
}
|
|
}
|
|
|