panorama/app/src/components/Sidebar.module.scss

31 lines
483 B
SCSS
Raw Normal View History

2024-05-27 05:43:09 +00:00
.sidebar {
display: flex;
flex-direction: column;
gap: 6px;
background-color: rgba(204, 201, 255);
padding: 6px;
.item {
display: flex;
align-items: center;
padding: 6px;
font-size: 0.95em;
border-radius: 4px;
2024-05-27 19:44:24 +00:00
border: none;
background-color: unset;
2024-05-27 05:43:09 +00:00
&:hover {
background-color: rgba(255, 255, 255, 0.2);
cursor: pointer;
}
}
&.expanded .item {
gap: 6px;
}
&.collapsed .item .label {
display: none;
}
}