mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 10:20:19 +08:00
28 lines
556 B
Plaintext
28 lines
556 B
Plaintext
@import '../style/var';
|
|
|
|
.van-index-bar {
|
|
&__sidebar {
|
|
position: fixed;
|
|
top: 50%;
|
|
right: 0;
|
|
z-index: @index-bar-sidebar-z-index;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
transform: translateY(-50%);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
&__index {
|
|
padding: 0 @padding-base 0 @padding-md;
|
|
font-weight: @font-weight-bold;
|
|
font-size: @index-bar-index-font-size;
|
|
line-height: @index-bar-index-line-height;
|
|
|
|
&--active {
|
|
color: @index-bar-index-active-color;
|
|
}
|
|
}
|
|
}
|