@import '../common/index.wxss';

.van-index-bar {
  position: relative;
}

.van-index-bar__sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-user-select: none;
  user-select: none;
}

.van-index-bar__index {
  font-weight: 500;
  padding: 0 8rpx 0 32rpx;
  padding: 0 var(--padding-base,8rpx) 0 var(--padding-md,32rpx);
  font-size: 20rpx;
  font-size: var(--index-bar-index-font-size,20rpx);
  line-height: 28rpx;
  line-height: var(--index-bar-index-line-height,28rpx);
}