image.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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-image {
  29. color: var(--td-image-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
  30. vertical-align: top;
  31. }
  32. .t-image__mask {
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. background-color: var(--td-image-loading-bg-color, var(--td-gray-color-1, #f3f3f3));
  37. color: var(--td-image-loading-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
  38. }
  39. .t-image--loading-text {
  40. width: 0;
  41. height: 0;
  42. }
  43. .t-image__common {
  44. width: 100%;
  45. height: 100%;
  46. }
  47. .t-image--shape-circle {
  48. border-radius: 50%;
  49. overflow: hidden;
  50. }
  51. .t-image--shape-round {
  52. border-radius: var(--td-image-round-radius, var(--td-radius-default, 12rpx));
  53. overflow: hidden;
  54. }
  55. .t-image--shape-square {
  56. border-radius: 0;
  57. overflow: hidden;
  58. }