Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/assets/css/components/_transactions.scss

142 lines
3.1 KiB

.transactions {
@extend %paper;
&__container {
padding: explorer-size(-1) explorer-size(0);
& + & { padding-top: 0; }
&--title { padding-top: explorer-size(0); }
}
&__headline-title,
&__title {
@include explorer-typography("title");
color: explorer-color("slate", "100");
}
&__title { margin: 0; }
&__table {
@extend %table;
@include explorer-typography("body1");
color: explorer-color("slate", "100");
}
&__column-header { @include explorer-typography("body1"); }
&__link {
color: explorer-color("blue", "500");
&--truncated {
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&--next-page {
@include explorer-typography("body1");
display: block;
text-align: center;
padding: explorer-size(-1) 0;
border-top: 1px solid explorer-color("slate", "500");
}
&--long-hash { max-width: explorer-size(2); }
&--hash { max-width: explorer-size(2); }
}
&__pagination {
margin: explorer-size(-1) 0 explorer-size(-2) 0;
.pagination { text-align: right; }
}
&__column-header {
&--optional { display: none; }
}
&__column {
&--optional { display: none; }
}
&__tabs { @extend %section-tabs; }
&__tab {
@extend %section-tabs__tab;
&--active { @extend %section-tabs__tab--active; }
}
&__tab-link {
color: explorer-color("blue", "500");
text-decoration: none;
&--active { color: explorer-color("slate", "100"); }
}
&__hash-container { height: 1rem; }
&__status {
display: flex;
align-items: center;
justify-content: center;
}
&__icon {
height: explorer-size(0)/2;
width: explorer-size(0)/2;
border-radius: explorer-size(0)/2;
&--pending { background-color: explorer-color("slate", "500"); }
&--success { background-color: explorer-color("green", "500"); }
&--failure { background-color: explorer-color("red", "500"); }
&--out_of_gas { background-color: explorer-color("yellow", "500"); }
}
}
@media (min-width: $explorer-breakpoint-sm) {
.transactions {
&__link {
&--long-hash { max-width: explorer-size(3); }
&--hash { max-width: explorer-size(1); }
}
}
}
@media (min-width: $explorer-breakpoint-md) {
.transactions {
&__headline {
display: flex;
align-items: center;
justify-content: center;
}
&__headline-title { flex: 1; }
&__pagination {
margin: explorer-size(-1) 0 explorer-size(-2) 0;
}
&__link {
&--long-hash { max-width: explorer-size(4); }
&--hash { max-width: explorer-size(3); }
}
}
}
@media (min-width: $explorer-breakpoint-lg) {
.transactions {
&__link {
&--long-hash { max-width: explorer-size(5); }
&--hash { max-width: explorer-size(4); }
}
}
}
@media (min-width: $explorer-breakpoint-xl) {
.transactions {
&__column-header {
&--optional { display: table-cell; }
}
&__column {
&--optional { display: table-cell; }
}
&__link {
&--long-hash { max-width: explorer-size(5); }
&--hash { max-width: explorer-size(4); }
}
}
}