style(Sidebar): add less vars

This commit is contained in:
chenjiahan 2020-04-23 10:54:54 +08:00 committed by neverland
parent a31032e0d6
commit e1a7c6668d
2 changed files with 4 additions and 3 deletions

View File

@ -40,10 +40,9 @@
position: absolute;
top: 50%;
left: 0;
width: 4px;
height: 16px;
width: @sidebar-selected-border-width;
height: @sidebar-selected-border-height;
background-color: @sidebar-selected-border-color;
border-radius: @border-radius-md;
transform: translateY(-50%);
content: '';
}

View File

@ -626,6 +626,8 @@
@sidebar-background-color: @background-color;
@sidebar-selected-font-weight: @font-weight-bold;
@sidebar-selected-text-color: @text-color;
@sidebar-selected-border-width: 4px;
@sidebar-selected-border-height: 16px;
@sidebar-selected-border-color: @red;
@sidebar-selected-background-color: @white;