mempool/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.scss

171 lines
2.4 KiB
SCSS
Raw Normal View History

.bitcoin-block {
width: 125px;
height: 125px;
2020-02-17 20:39:20 +07:00
}
.blockLink {
width: 100%;
height: 100%;
position: absolute;
left: 0;
z-index: 10;
}
.blockLink:hover {
text-decoration: none;
}
.blockLink.disabled {
pointer-events: none;
}
.mined-block {
position: absolute;
top: 0px;
2022-09-29 22:45:40 +00:00
transition: background 2s, left 2s, transform 1s;
}
.mined-block.placeholder-block {
background: none !important;
}
.block-size {
2020-07-20 12:21:08 +07:00
font-size: 16px;
font-weight: bold;
}
.blocks-container {
position: absolute;
top: 0px;
left: 40px;
}
.block-body {
text-align: center;
}
.time-difference {
2020-07-20 12:21:08 +07:00
font-size: 13px;
}
.fees {
2020-07-20 11:03:53 +07:00
font-size: 12px;
margin-top: 10px;
margin-bottom: 2px;
}
.fee-span {
2020-07-20 12:21:08 +07:00
font-size: 11px;
2020-07-21 10:26:43 +07:00
margin-bottom: 5px;
2020-07-20 11:03:53 +07:00
color: #fff000;
}
.transaction-count {
2020-07-20 11:03:53 +07:00
font-size: 10px;
2020-07-21 10:26:43 +07:00
margin-top: 3px;
margin-bottom: 4px;
}
.block-height {
position: absolute;
2020-03-13 22:05:44 +07:00
font-size: 16px;
bottom: 160px;
width: 100%;
2020-03-13 22:05:44 +07:00
left: -12px;
z-index: 1;
}
2020-03-05 16:13:46 +07:00
.bitcoin-block::after {
2020-06-30 18:19:09 +01:00
content: '';
2020-03-05 16:13:46 +07:00
width: 125px;
height: 24px;
position:absolute;
top: -24px;
left: -20px;
background-color: #232838;
transform:skew(40deg);
2020-06-30 18:19:09 +01:00
transform-origin:top;
}
2020-03-05 16:13:46 +07:00
.bitcoin-block::before {
content: '';
width: 20px;
height: 125px;
position: absolute;
top: -12px;
left: -20px;
2020-06-30 18:19:09 +01:00
background-color: #191c27;
2020-03-05 16:13:46 +07:00
transform: skewY(50deg);
2020-06-30 18:19:09 +01:00
transform-origin: top;
}
.bitcoin-block.placeholder-block::after {
content: none;
background: 0;
}
.bitcoin-block.placeholder-block::before {
content: none;
background: 0;
}
.black-background {
background-color: #11131f;
z-index: 100;
position: relative;
}
#arrow-up {
position: relative;
2020-02-24 22:51:27 +07:00
left: 30px;
top: 140px;
2020-06-30 18:19:09 +01:00
width: 0;
height: 0;
border-left: 35px solid transparent;
border-right: 35px solid transparent;
border-bottom: 35px solid #FFF;
}
.flashing {
/* force compositing */
will-change: opacity;
transform: translateZ(0);
/* effective max frame rate = (#keyframes - 1) x steps / duration */
animation: opacityPulse 2s steps(30, end);
2021-11-09 22:25:03 -03:00
animation-iteration-count: infinite;
opacity: 1;
}
.loading .bitcoin-block.mined-block {
background: #2d3348;
}
@keyframes opacityPulse {
0% {opacity: 0.7;}
50% {opacity: 1.0;}
100% {opacity: 0.7;}
2021-11-09 22:25:03 -03:00
}
.badge {
position: relative;
top: 15px;
z-index: 101;
}
.animated {
transition: all 0.15s ease-in-out;
}
.show {
opacity: 1;
}
.hide {
opacity: 0;
pointer-events : none;
}
2022-09-29 22:45:40 +00:00
.time-ltr {
.bitcoin-block {
transform: scaleX(-1);
}
}