Add clock statistics

This commit is contained in:
Mononaut
2023-04-19 09:41:53 +09:00
parent 3ddd51d4cb
commit d3a7950e78
5 changed files with 75 additions and 3 deletions

View File

@@ -10,6 +10,7 @@
flex-direction: column;
justify-content: flex-start;
--chain-height: 60px;
--clock-width: 300px;
.clockchain-bar, .clock-face {
@@ -37,6 +38,38 @@
align-items: center;
z-index: 1;
}
.stats {
position: absolute;
z-index: 3;
p {
margin: 0;
font-size: calc(0.05 * var(--clock-width));
line-height: calc(0.07 * var(--clock-width));
opacity: 0.8;
::ng-deep .symbol {
font-size: inherit;
color: white;
}
}
&.top {
top: calc(var(--chain-height) + 2%);
}
&.bottom {
bottom: 2%;
}
&.left {
left: 5%;
}
&.right {
right: 5%;
text-align: end;
text-align: right;
}
}
}
.title-wrapper {