swipe-cell.wxss 667 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-swipe-cell {
  29. position: relative;
  30. overflow: hidden;
  31. }
  32. .t-swipe-cell__left,
  33. .t-swipe-cell__right {
  34. position: absolute;
  35. top: 0;
  36. height: 100%;
  37. }
  38. .t-swipe-cell__left {
  39. left: 0;
  40. transform: translate3d(-100%, 0, 0);
  41. }
  42. .t-swipe-cell__right {
  43. right: 0;
  44. transform: translate3d(100%, 0, 0);
  45. }