1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- @import "~assets/less/variable";
- .sidebar {
- width: 88px;
- background-color: @body-background;
- background-color: #001529;
- box-shadow: 2px 0px 6px 0px rgba(0, 21, 41, 0.12);
- flex-shrink: 0;
- .option {
- //height: 64px;
- text-align: center;
- cursor: pointer;
- color: #fff;
- &.active {
- background-color: @body-bg;
- background-color: lighten(#001529, 3%);
- color: #fff;
- }
- &:hover:not(.active) {
- background-color: lighten(#001529, 3%);
- }
- a {
- color: inherit;
- display: block;
- > div {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 24px 0;
- > span {
- display: flex;
- align-items: center;
- &:first-child,
- &:only-child {
- height: 30px;
- }
- &:nth-child(2) {
- padding: 8px 0;
- }
- }
- }
- &:focus {
- text-decoration: none;
- }
- }
- i {
- font-size: 30px;
- }
- img {
- height: 30px;
- }
- }
- }
|