.a-aside-top { height 60px width 100%; display: flex; align-items: center; box-sizing border-box padding-left 18px transition all 0.333s ease-in-out gap 12px overflow hidden max-width 230px cursor pointer & > img { height 32px width 32px } & > div { color: #252F4A; font-weight: 700; font-size: 1.5rem; opacity 1 width 168px; overflow hidden transition all 0.333s ease-in-out text-wrap nowrap letter-spacing 10px } &.a-aside-top-collapse { width 60px; padding-left 14px & > div { opacity 0 width 0 } } } .a-scrollbar { height calc(100% - 60px) width 100%; padding: 0 0 10px 0; box-sizing: border-box; } .a-menus { height: 100%; --el-menu-base-level-padding: 10px; border: none; &:not(:global(.el-menu--collapse)) { width: 230px; } &:global(.el-menu--collapse) { width: 60px; } } :global(.el-menu-item):global(.is-active) { background-color #E8F4FF !important &::after { height: 100%; } } :global(.el-menu-item) { position relative !important transition: background-color, color .3s ease-in-out !important; border-radius 4px !important &::after { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 0; background-color: #1C6EFF; transition height 0.3s ease-in-out } } :global(.el-sub-menu__title), :global(.el-menu-item) { height: 42px !important; line-height: 42px !important; margin-left: 8px !important; margin-right: 8px !important; &:hover { background-color: #F2F4F5 !important; } } .a-icon { vertical-align: middle; margin-right: 5px; width: var(--el-menu-icon-width); text-align: center; font-size: 18px; flex-shrink: 0; } .a-collapse-btn { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; transition right 0.333s ease-in-out; &.a-collapse-btn-collapse { right: calc(50% - 16px); } }