2024-07-25 12:30:02 +02:00

39 lines
582 B
SCSS

.root {
width: 100%;
.menu-item {
display: flex;
padding: var(--spacing-md, 16px);
justify-content: flex-start;
align-items: center;
gap: var(--spacing-lg, 24px);
cursor: pointer;
}
svg {
width: 24px;
height: 24px;
transition: transform 0.3s ease-in-out;
}
.chevron.open {
transform: rotate(180deg);
}
.separator {
width: 100%;
height: 1px;
background-color: var(--separator-stroke-light, #d7dce0);
}
.dropdown {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out;
}
.dropdown.open {
max-height: 500px;
}
}