76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
/** @format */
|
|
|
|
.sidemenu {
|
|
&-item {
|
|
&-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
position: relative;
|
|
width: 100%;
|
|
color: rgb(255 255 255 / 0.7);
|
|
transition: color $transition-time-fast;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 0.2em;
|
|
margin-bottom: 0.8em;
|
|
|
|
&:hover {
|
|
color: white;
|
|
.material-symbols-rounded {
|
|
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 25,
|
|
"opsz" 40;
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
color: white;
|
|
.sidemenu-item-icon::before {
|
|
opacity: 1;
|
|
transform: scaleX(1);
|
|
}
|
|
.sidemenu-item-text {
|
|
opacity: 1;
|
|
}
|
|
.material-symbols-rounded {
|
|
font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 25,
|
|
"opsz" 40;
|
|
}
|
|
}
|
|
|
|
&-text {
|
|
transition: max-height 0.5s;
|
|
transition-delay: 0.05s;
|
|
|
|
font-size: 0.7em !important;
|
|
}
|
|
|
|
&-icon {
|
|
padding: 0.15em 0.75em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
&::before {
|
|
content: "";
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
background: $clr-gradient-default;
|
|
z-index: -1;
|
|
transform: scaleX(0.25);
|
|
opacity: 0;
|
|
border-radius: 100px;
|
|
transition: opacity $transition-time-fast,
|
|
transform $transition-time-fast;
|
|
transition-delay: 0.1s;
|
|
}
|
|
}
|
|
}
|
|
}
|