mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 23:49:14 +08:00
style(Sidebar): add less vars
This commit is contained in:
parent
a31032e0d6
commit
e1a7c6668d
@ -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: '';
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user