mempool/frontend/src/app/components/tracker/tracker.component.scss
2024-04-13 14:18:01 +00:00

145 lines
2.2 KiB
SCSS

.mobile-wrapper {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-container {
width: 100vw;
height: 100vh;
height: 100svh;
max-width: 600px;
max-height: 1000px;
box-sizing: border-box;
margin: 0;
display: flex;
flex-direction: column;
justify-content: start;
& > * {
flex-shrink: 0;
}
}
.heading {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
& > * {
flex-basis: 0;
flex-grow: 1;
}
.heading-label {
text-align: center;
margin: 0 1em;
}
}
.nav-header {
position: relative;
box-shadow: 0 -5px 15px #000;
z-index: 100;
align-items: center;
justify-content: space-between;
.network-label {
font-size: 1.4em;
.network {
display: flex;
flex-direction: row;
align-items: center;
}
}
}
.blockchain-wrapper {
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
overflow: hidden;
pointer-events: none;
}
.panel {
background: var(--bg);
}
.field {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: baseline;
width: 100%;
max-width: 100%;
padding: 1em;
&:nth-child(even) {
background: var(--stat-box-bg);
}
.label {
margin-right: 1em;
}
.value {
flex-shrink: 1;
flex-grow: 1;
width: 0;
white-space: nowrap;
text-align: end;
}
}
.tracker-bar {
padding: 1em 0.5em 0;
}
.accelerate {
display: flex !important;
align-self: auto;
margin-left: 1em;
background-color: var(--tertiary);
}
.confirmations {
margin-left: 1em;
}
.accelerateFullSize {
width: 100%;
height: 100%;
padding: 0.5rem 0.25rem;
background-color: #653b9c;
}
.bottom-panel {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.explainer {
margin: 0 1em;
text-align: center;
}
}
.progress-icon {
font-size: clamp(30px, 20vw, 150px);
}
.footer-link {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
text-align: center;
padding: 0.5em;
background: var(--primary);
color: white;
}