mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
118 lines
2.3 KiB
SCSS
118 lines
2.3 KiB
SCSS
.transaction-list-item {
|
|
box-sizing: border-box;
|
|
min-height: 74px;
|
|
padding: 8px 20px;
|
|
border-bottom: 1px solid $geyser;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding: 8px 20px 12px;
|
|
}
|
|
|
|
&:hover {
|
|
background: rgba($alto, .2);
|
|
}
|
|
|
|
&__grid {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 45px 1fr 1fr 1fr;
|
|
grid-template-areas:
|
|
"identicon action status primary-amount"
|
|
"identicon nonce status secondary-amount";
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
grid-template-columns: 45px 5fr 3fr;
|
|
grid-template-areas:
|
|
"nonce nonce nonce"
|
|
"identicon action primary-amount"
|
|
"identicon status secondary-amount";
|
|
}
|
|
}
|
|
|
|
&__identicon {
|
|
grid-area: identicon;
|
|
grid-row: 1 / span 2;
|
|
align-self: center;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
grid-row: 2 / span 2;
|
|
}
|
|
}
|
|
|
|
&__action {
|
|
text-transform: capitalize;
|
|
padding: 0 8px 2px 0;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
grid-area: action;
|
|
align-self: end;
|
|
}
|
|
|
|
&__status {
|
|
grid-area: status;
|
|
grid-row: 1 / span 2;
|
|
align-self: center;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
grid-row: 3;
|
|
}
|
|
}
|
|
|
|
&__nonce {
|
|
font-size: .75rem;
|
|
color: #5e6064;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
grid-area: nonce;
|
|
align-self: start;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding-bottom: 4px;
|
|
}
|
|
}
|
|
|
|
&__amount {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
&--primary {
|
|
text-align: end;
|
|
grid-area: primary-amount;
|
|
align-self: end;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding-bottom: 2px;
|
|
}
|
|
}
|
|
|
|
&--secondary {
|
|
text-align: end;
|
|
font-size: .75rem;
|
|
color: #5e6064;
|
|
grid-area: secondary-amount;
|
|
align-self: start;
|
|
}
|
|
}
|
|
|
|
&__retry {
|
|
background: #d1edff;
|
|
border-radius: 12px;
|
|
font-size: .75rem;
|
|
padding: 4px 12px;
|
|
cursor: pointer;
|
|
margin-top: 8px;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
font-size: .5rem;
|
|
}
|
|
}
|
|
}
|