umami/components/layout/NavBar.module.css

63 lines
922 B
CSS
Raw Normal View History

.navbar {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
background: var(--base75);
height: 100%;
width: 200px;
border-right: 2px solid var(--base200);
}
.header {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 700;
padding: 20px 0;
cursor: pointer;
}
.header:hover .icon {
visibility: visible;
}
.icon {
visibility: hidden;
2023-02-08 07:17:55 +01:00
position: absolute;
right: -10px;
border-radius: 100%;
color: var(--base50);
background: var(--base800);
height: 20px;
width: 20px;
}
.minimized.navbar {
width: 60px;
}
.minimized .text {
display: none;
}
.footer {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 20px;
}
2023-01-21 02:12:53 +01:00
.buttons {
display: flex;
align-items: center;
justify-content: center;
}
.minimized .buttons {
flex-direction: column;
}