1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/app/signature-request/index.scss
Guillaume Roux a3ab204d11
Dark Mode: Fix some colors (#14228)
* fix some colors

* fix test and address requested changes

* address requested changes
2022-03-28 10:23:27 -07:00

91 lines
1.5 KiB
SCSS

@import 'signature-request-footer/index';
@import 'signature-request-header/index';
@import 'signature-request-message/index';
.signature-request {
display: flex;
flex: 1 1 auto;
flex-direction: column;
min-width: 0;
@media screen and (min-width: $break-large) {
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;
box-shadow: 0 2px 2px 0.5px rgba(0, 0, 0, 0.19);
}
&__identicon-initial {
position: absolute;
font-style: normal;
font-weight: 500;
font-size: 60px;
color: var(--color-background-default);
z-index: 1;
text-shadow: 0 4px 6px rgba(0, 0, 0, 0.422);
}
&__info {
@include H7;
}
&__info--bolded {
@include Paragraph;
font-weight: 500;
}
p {
@include H6;
color: var(--color-text-muted);
}
.identicon {}
}
.signature-request-footer {
flex: 1 1 auto;
}