74 lines
1.3 KiB
SCSS
74 lines
1.3 KiB
SCSS
@mixin menu-item {
|
|
border-radius: 8px;
|
|
backdrop-filter: blur(100px);
|
|
display: flex;
|
|
align-items: center;
|
|
// justify-content: center;
|
|
padding: 8px 12px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
.label {
|
|
transition: all 0.3s;
|
|
margin-left: 8px;
|
|
flex: auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.ant-menu-title-content {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
&:hover {
|
|
background-color: rgba(109, 76, 254, 0.08) !important;
|
|
color: #6d4cfe !important;
|
|
.label,
|
|
.svg-icon {
|
|
color: #6d4cfe !important;
|
|
}
|
|
}
|
|
&:not(.sub-menu-item) {
|
|
&.active {
|
|
background-color: #fff !important;
|
|
.label,
|
|
.svg-icon {
|
|
color: #6d4cfe !important;
|
|
}
|
|
}
|
|
}
|
|
&:not(:last-child) {
|
|
margin-bottom: 12px;
|
|
}
|
|
&.ant-menu-item-selected {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
.siderBar-wrap {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
color: inherit;
|
|
.cts {
|
|
color: #211f24;
|
|
font-family: $font-family-regular;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 22px;
|
|
}
|
|
.menu-item {
|
|
@include menu-item;
|
|
}
|
|
.line {
|
|
opacity: 0.06;
|
|
}
|
|
.fold-btn {
|
|
&:hover {
|
|
.cts,
|
|
.icon {
|
|
color: #6d4cfe !important;
|
|
}
|
|
}
|
|
}
|
|
}
|