$bg-color:#f8f8f9; $color:#495060; $side-width:180px; $active-bg-color:#59c993; $active-border-color:#f2f2f2; $active-color:#0bb27a; .left-menu-Vg32{ position: fixed; top: 60px; left: 0; height: calc(100% - 104px); width: $side-width; z-index: 199; background: $bg-color; padding-top: 16px; overflow-x: hidden; overflow-y: auto; transition: all 0.5s; .menu-list{ .item{ height: 40px; margin-bottom: 8px; color: #495060; transition: all 0.2s; display: flex; align-items: center; user-select: none; white-space: nowrap; cursor: pointer; position: relative; border-left: 3px solid transparent; &:hover{ border-left-color:$active-bg-color; background: $active-border-color; } .icon-svg{ font-size: 20px; position: absolute; right: 13px; top: 0; bottom: 0; margin: auto; transition: all 0.2s; color: #bbbec4; line-height: 40px; width: 1em; height: 1em; vertical-align: -0.15em; pointer-events: none; } } &>.item.active{ +.item-list{ display: block; } .icon-svg{ transform: rotate(180deg); } } .item-list{ display: none; .item{ .name{ font-size: 13px; } &.active{ border-left-color:$active-bg-color; background: $active-border-color; color: $active-color; } } } } .icon{ margin-left: 13px; width: 20px; height: 20px; } .name{ position: relative; white-space: nowrap; margin-left: 16px; font-size: 14px; } .bottomEntry{ position: fixed; bottom: 0; z-index: 12; width: 180px; height: 45px; border-top: 1px solid #e1e6eb; display: flex; align-items: center; justify-content: center; background: #f8f8f9; img{ margin-right:6px; } a{ color: #80848f; user-select: none; white-space: nowrap; font-size: 12px; cursor: pointer; &:hover{ color: #0bb27a; } } .icon-svg{ font-size: 1em; width: 16px; height: 16px; vertical-align: -0.15em; } } }