mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 12:47:14 +01:00
66ceeefae3
This commit fixes a few issues with ConfirmPageContainerSummary (which holds the contract being used or action being performed and the money being sent): * Remove fixed height so that the secondary currency doesn't get cut off or spill over * Add missing padding * Fix font size of primary and secondary currencies * Add top border when there is a "address not in your address book" alert at the top Co-authored-by: Ariella <ariellavu@gmail.com>
104 lines
1.6 KiB
SCSS
104 lines
1.6 KiB
SCSS
@import 'confirm-page-container-warning/index';
|
|
@import 'confirm-page-container-summary/index';
|
|
|
|
.confirm-page-container-content {
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
&--with-top-border {
|
|
border-top: 1px solid var(--geyser);
|
|
}
|
|
|
|
&__error-container {
|
|
padding: 0 16px 16px 16px;
|
|
}
|
|
|
|
&__details {
|
|
box-sizing: border-box;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
&__data {
|
|
padding: 16px;
|
|
color: var(--oslo-gray);
|
|
|
|
& > .disclosure {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
&__data-box {
|
|
@include H7;
|
|
|
|
background-color: #f9fafa;
|
|
padding: 12px;
|
|
word-wrap: break-word;
|
|
overflow-y: auto;
|
|
|
|
&-label {
|
|
@include H7;
|
|
|
|
text-transform: uppercase;
|
|
padding: 8px 0 12px;
|
|
}
|
|
}
|
|
|
|
&__data-field {
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
&-label {
|
|
font-weight: 500;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
&__gas-fee {
|
|
border-bottom: 1px solid var(--geyser);
|
|
|
|
.advanced-gas-inputs__gas-edit-rows {
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
&__function-type {
|
|
@include H6;
|
|
|
|
font-weight: 500;
|
|
text-transform: capitalize;
|
|
color: var(--black);
|
|
padding-left: 5px;
|
|
}
|
|
|
|
&__tab {
|
|
@include H7;
|
|
|
|
color: #8c8e94;
|
|
text-transform: uppercase;
|
|
margin: 0 8px;
|
|
|
|
& button {
|
|
font-size: unset;
|
|
color: #8c8e94;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
.page-container__footer {
|
|
margin-top: auto;
|
|
}
|
|
|
|
&__currency-container,
|
|
&__total-amount,
|
|
&__total-value {
|
|
position: relative;
|
|
}
|
|
}
|