index.css 561 B

1234567891011121314151617181920212223242526
  1. @import '../common/index.css';
  2. .van-rate {
  3. display: -webkit-inline-flex;
  4. display: inline-flex;
  5. -webkit-user-select: none;
  6. user-select: none;
  7. }
  8. .van-rate__item {
  9. position: relative;
  10. padding: 0 2px;
  11. padding: 0 var(--rate-horizontal-padding, 2px);
  12. }
  13. .van-rate__icon {
  14. display: block;
  15. height: 1em;
  16. font-size: 20px;
  17. font-size: var(--rate-icon-size, 20px);
  18. }
  19. .van-rate__icon--half {
  20. position: absolute;
  21. top: 0;
  22. width: 0.5em;
  23. overflow: hidden;
  24. left: 2px;
  25. left: var(--rate-horizontal-padding, 2px);
  26. }