react-admin-panel-orient/src/assets/styles/_aside.scss

74 lines
1.2 KiB
SCSS

.aside {
@include transition-std;
overflow: hidden;
max-width: 0;
width: 100%;
&__img {
width: 3rem;
height: 3rem;
}
&.active {
max-width: 25rem;
@include transition-std;
}
&__list {
width: 100%;
padding: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
background: $light-black;
&__element {
min-width: 13.12rem;
@include transition-std;
background: transparent;
display: flex;
gap: 0.6rem;
align-items: center;
font-size: 1.6rem;
cursor: pointer;
a,
div {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1rem;
width: 100%;
padding: 0.8rem 0.4rem 0.8rem 1.2rem;
}
&:hover {
@include transition-std;
background: $base-black;
}
&__img {
width: 2rem;
height: 2rem;
img {
width: 2rem;
height: 2rem;
object-fit: contain;
}
}
&--title {
&:not(:first-child) {
padding-top: 1rem;
margin-top: 1rem;
}
cursor: default !important;
background: transparent !important;
font-size: 1.4rem;
}
}
}
}