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/apps/block_scout_web/assets/css/components/_stakes.scss

140 lines
2.5 KiB

$stakes-dashboard-copy-icon-color: $copy-icon-color !default;
$stakes-address-color: $primary !default;
$stakes-control-color: $primary !default;
$stakes-banned-color: #ff7986 !default;
$stakes-banned-background: #fff3f7 !default;
.stakes-top {
@include gradient-container();
margin-bottom: 3rem;
padding: 50px 0;
}
.stakes-top-stats {
display: flex;
justify-content: space-between;
@include stats-item();
@include media-breakpoint-down(md) {
column-gap: 30px;
display: grid;
grid-template-columns: 1fr 1fr;
row-gap: 30px;
}
.stakes-top-stats-item {
@include media-breakpoint-down(md) {
&:nth-child(1),
&:nth-child(2),
&:nth-child(3) {
grid-column-start: 1;
}
&:nth-child(4) {
grid-column-start: 2;
grid-row-start: 1;
}
}
@include media-breakpoint-down(sm) {
grid-column-start: auto !important;
grid-row-start: auto !important;
}
}
@include media-breakpoint-down(sm) {
grid-template-columns: 1fr;
}
.copy-icon {
margin-left: 20px;
path {
fill: $stakes-dashboard-copy-icon-color;
}
}
}
.stakes-top-stats-value {
align-items: center;
display: flex;
.stakes-top-stats-item-address & {
white-space: normal;
word-break: break-all;
}
}
.stakes-top-stats-login {
color: $primary;
cursor: pointer;
margin-right: 8px;
}
.stakes-address-container {
display: flex;
cursor: pointer;
justify-content: flex-start;
.stakes-address {
color: $stakes-address-color;
margin-right: 10px;
.stakes-tr-banned & {
color: $stakes-banned-color;
}
}
}
.stakes-controls {
align-items: center;
display: flex;
justify-content: flex-end;
padding-right: 30px;
}
.stakes-control {
cursor: pointer;
display: flex;
justify-content: flex-start;
color: $stakes-control-color;
font-size: 14px;
font-weight: normal;
line-height: 1.2;
margin-right: 25px;
text-align: left;
&:last-child {
margin-right: 0;
}
}
.stakes-control-icon {
margin-right: 10px;
path {
fill: $stakes-control-color;
}
}
.stakes-top-buttons {
align-items: center;
display: flex;
justify-content: center;
flex-direction: column;
.btn-add-full {
margin-bottom: 10px;
}
@include media-breakpoint-down(md) {
grid-column-start: 2;
grid-row-start: 2;
justify-self: end;
}
@include media-breakpoint-down(sm) {
grid-column-start: auto !important;
grid-row-start: auto !important;
justify-self: center;
}
}