1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/ui/components/app/transaction-list-item/index.scss
Alex Donesky 634cf70a71
Enhance reusable SiteOrigin component (#14720)
* extend and reuse SiteOrigin component
2022-05-20 09:35:18 -05:00

62 lines
994 B
SCSS

.transaction-list-item {
&__primary-currency {
color: var(--color-text-default);
overflow: hidden;
text-overflow: ellipsis;
}
&__secondary-currency {
@include H7;
margin-top: 4px;
color: var(--color-text-alternative);
}
& &--unconfirmed {
color: var(--color-text-alternative);
}
&--unconfirmed &__primary-currency {
color: var(--color-text-alternative);
}
&__pending-actions {
padding-top: 12px;
display: flex;
.button {
@include H8;
padding: 8px;
width: 75px;
white-space: nowrap;
}
& > .button:first-child {
margin-right: 6px;
}
&:empty {
padding-top: 0;
}
}
.list-item__subheading > h3 {
overflow: visible;
display: flex;
white-space: nowrap;
text-overflow: initial;
}
.transaction-status::after {
content: "·";
margin: 0 4px;
}
&__address {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}