index.less 760 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. @import '../style/var';
  2. .van-contact-card {
  3. padding: @contact-card-padding;
  4. &__value {
  5. margin-left: 5px;
  6. line-height: @contact-card-value-line-height;
  7. }
  8. &--add {
  9. .van-contact-card__value {
  10. line-height: @contact-card-add-icon-size;
  11. }
  12. .van-cell__left-icon {
  13. color: @contact-card-add-icon-color;
  14. font-size: @contact-card-add-icon-size;
  15. }
  16. }
  17. &::before {
  18. position: absolute;
  19. right: 0;
  20. bottom: 0;
  21. left: 0;
  22. height: 2px;
  23. background: repeating-linear-gradient(
  24. -45deg,
  25. #ff6c6c 0,
  26. #ff6c6c 20%,
  27. transparent 0,
  28. transparent 25%,
  29. @blue 0,
  30. @blue 45%,
  31. transparent 0,
  32. transparent 50%
  33. );
  34. background-size: 80px;
  35. content: '';
  36. }
  37. }