feat: add navbar
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m34s

This commit is contained in:
Hewston Fox
2026-03-18 03:26:43 +02:00
parent f93bc7d3e0
commit 1cadf7f1d2
14 changed files with 255 additions and 7 deletions

View File

@@ -0,0 +1,79 @@
:root {
--navigation-height: 74px;
--navigation-total: calc(var(--navigation-height) + var(--tg-safe-area-inset-bottom, 0px));
}
@layer base {
.navigation {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
display: flex;
align-items: flex-end;
justify-content: space-evenly;
overflow: hidden;
}
.barContainer {
display: flex;
align-items: flex-end;
}
.barWrapper {
display: flex;
align-items: flex-end;
}
.bar {
width: 54px;
border-radius: 27px 27px 0 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-bottom: var(--tg-safe-area-inset-bottom, 0px);
}
.barActive {
}
.barInactive {
}
.safeContent {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 64px;
}
.iconPlaceholder {
width: 20px;
height: 20px;
background: rgb(255 255 255 / 0.4);
border-radius: 4px;
flex-shrink: 0;
margin-top: -6px;
margin-bottom: -6px;
}
.label {
font-size: 11px;
text-align: center;
-webkit-text-stroke: 1px #331b01;
text-shadow: 0px 1px 2px 0px #0000008c;
line-height: 1;
}
.labelInactive {
color: white;
}
.labelActive {
color: #ffbd42;
}
}