1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-11 20:27:12 +01:00
metamask-extension/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-summary/index.scss

101 lines
1.6 KiB
SCSS

.confirm-page-container-summary {
padding: 16px 24px;
background-color: var(--color-background-alternative);
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-evenly;
&__origin,
&__action-row {
padding-bottom: 8px;
}
&__origin {
@include H6;
}
&__action-row {
display: flex;
justify-content: space-between;
}
&__action {
@include H7;
color: var(--color-text-alternative);
padding: 3px 8px;
border: 1px solid var(--color-border-default);
border-radius: 4px;
display: inline-flex;
align-items: center;
&__name {
text-transform: uppercase;
}
.info-tooltip {
margin-inline-start: 4px;
&__tooltip-container {
margin-bottom: -3px;
}
}
&__contract-address {
margin-inline-end: 4px;
}
&__contract-address-btn {
background: none;
border: none;
padding: 0;
margin-inline-end: 4px;
color: var(--color-primary-default);
}
}
&__nonce {
color: var(--color-text-alternative);
}
&__title {
display: flex;
align-items: center;
}
&__icon {
flex: 0 0 auto;
margin-right: 8px;
}
&__title-text {
@include H1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&__title-text-long {
@include H3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&__subtitle {
@include H5;
color: var(--color-text-alternative);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&--border {
border-bottom: 1px solid var(--color-border-muted);
}
}