overlay.wxss 588 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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-overlay {
  29. position: fixed;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. bottom: 0;
  34. background-color: rgba(0, 0, 0, 0.6);
  35. transition: opacity 300ms ease;
  36. }
  37. .t-fade-enter {
  38. opacity: 0;
  39. }
  40. .t-fade-leave-to {
  41. opacity: 0;
  42. }