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

123 lines
1.7 KiB
SCSS
Raw Normal View History

.bitcoin-block {
width: 125px;
height: 125px;
transition: 2s;
}
.block-size {
2020-07-20 07:21:08 +02:00
font-size: 16px;
font-weight: bold;
}
.mempool-blocks-container {
position: absolute;
top: 0px;
right: 0px;
left: 0px;
2020-02-23 21:42:29 +01:00
}
2020-02-23 21:42:29 +01:00
.flashing {
animation: opacityPulse 2s ease-out;
animation-iteration-count: infinite;
opacity: 1;
}
.mempool-block {
position: absolute;
top: 0;
}
.block-body {
text-align: center;
}
@keyframes opacityPulse {
0% {opacity: 0.7;}
50% {opacity: 1.0;}
100% {opacity: 0.7;}
}
.time-difference {
2020-07-20 07:21:08 +02:00
font-size: 13px;
}
.fees {
2020-07-20 06:03:53 +02:00
font-size: 12px;
margin-top: 10px;
margin-bottom: 2px;
}
.fee-span {
2020-07-20 07:21:08 +02:00
font-size: 11px;
2020-07-21 05:26:43 +02:00
margin-bottom: 5px;
2020-07-20 06:03:53 +02:00
color: #fff000;
}
.transaction-count {
2020-07-20 06:03:53 +02:00
font-size: 10px;
2020-07-21 05:26:43 +02:00
margin-top: 3px;
margin-bottom: 4px;
}
2020-03-05 10:13:46 +01:00
.bitcoin-block::after {
content: '';
width: 125px;
height: 24px;
position:absolute;
top: -24px;
left: -20px;
background-color: #232838;
transform:skew(40deg);
transform-origin:top;
}
2020-03-05 10:13:46 +01:00
.bitcoin-block::before {
content: '';
width: 20px;
height: 125px;
position: absolute;
top: -12px;
left: -20px;
background-color: #191c27;
transform: skewY(50deg);
transform-origin: top;
}
2020-03-05 10:13:46 +01:00
.mempool-block.bitcoin-block::after {
background-color: #403834;
}
2020-03-05 10:13:46 +01:00
.mempool-block.bitcoin-block::before {
background-color: #2d2825;
}
.black-background {
background-color: #11131f;
z-index: 100;
position: relative;
}
#arrow-up {
position: relative;
right: 75px;
top: 140px;
width: 0;
height: 0;
border-left: 35px solid transparent;
border-right: 35px solid transparent;
border-bottom: 35px solid #FFF;
}
.blockLink {
width: 100%;
height: 100%;
position: absolute;
left: 0;
z-index: 10;
}
.blockLink:hover {
text-decoration: none;
}