mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
00bad7b8a8
* Added code fencing in transaction list * Fixed import * Fixed tests * Fixed indentation * Fixed code fences * Removed custody icon in favor of svg * Fix prettier * lint * Fixed prettier issue * adds check before set state with variable _mounted * lint * check for address in selectedIdentity * review fix * lint * updates test * lint * clean up * prettier * adds missing locale * Added tests and improved code * Fixed code --------- Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
80 lines
1.3 KiB
SCSS
80 lines
1.3 KiB
SCSS
.transaction-list-item {
|
|
border-top: none;
|
|
|
|
&__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 {
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.list-item__subheading > h3 {
|
|
overflow: visible;
|
|
display: flex;
|
|
white-space: nowrap;
|
|
text-overflow: initial;
|
|
}
|
|
|
|
.transaction-status-label::after {
|
|
content: "·";
|
|
margin: 0 4px;
|
|
}
|
|
|
|
&__address {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
|
&__icon-badge {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 18px;
|
|
transform: scale(0.8);
|
|
}
|
|
///: END:ONLY_INCLUDE_IN
|
|
}
|