feat: create offline indicator

This commit is contained in:
Carlos Valente
2024-12-17 21:31:26 +01:00
committed by Carlos Valente
parent cfcf6a5684
commit c7faab00a3
2 changed files with 58 additions and 45 deletions
@@ -4,6 +4,23 @@
display: flex;
}
.isOffline {
.info {
opacity: $opacity-disabled;
}
&::after {
content: 'Disconnected';
position: absolute;
padding-inline: 0.5rem;
bottom: 0.5rem;
right: 0.5rem;
background-color: $red-700;
border-radius: 2px;
font-size: calc(1rem - 2px);
z-index: 10;
}
}
.nav {
display: flex;
gap: 0.5rem;