index.css 713 B

123456789101112131415161718192021222324252627
  1. @import '../common/index.css';
  2. .van-index-bar {
  3. position: relative;
  4. }
  5. .van-index-bar__sidebar {
  6. position: fixed;
  7. top: 50%;
  8. right: 0;
  9. display: -webkit-flex;
  10. display: flex;
  11. -webkit-flex-direction: column;
  12. flex-direction: column;
  13. text-align: center;
  14. -webkit-transform: translateY(-50%);
  15. transform: translateY(-50%);
  16. -webkit-user-select: none;
  17. user-select: none;
  18. }
  19. .van-index-bar__index {
  20. font-weight: 500;
  21. padding: 0 4px 0 16px;
  22. padding: 0 var(--padding-base, 4px) 0 var(--padding-md, 16px);
  23. font-size: 10px;
  24. font-size: var(--index-bar-index-font-size, 10px);
  25. line-height: 14px;
  26. line-height: var(--index-bar-index-line-height, 14px);
  27. }