cell.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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-cell {
  29. position: relative;
  30. display: flex;
  31. box-sizing: border-box;
  32. width: 100%;
  33. padding: 24rpx 32rpx;
  34. font-size: 32rpx;
  35. line-height: 48rpx;
  36. color: rgba(0, 0, 0, 0.9);
  37. background-color: #ffffff;
  38. }
  39. .t-cell::after {
  40. position: absolute;
  41. box-sizing: border-box;
  42. content: ' ';
  43. pointer-events: none;
  44. right: 0;
  45. left: 0;
  46. bottom: 0;
  47. border-bottom: 1px solid #e7e7e7;
  48. transform: scaleY(0.5);
  49. left: 32rpx;
  50. }
  51. .t-cell--borderless::after {
  52. display: none;
  53. }
  54. .t-cell__description {
  55. font-size: 28rpx;
  56. line-height: 44rpx;
  57. color: rgba(0, 0, 0, 0.4);
  58. }
  59. .t-cell__description-text {
  60. margin-top: 8rpx;
  61. }
  62. .t-cell__note {
  63. display: flex;
  64. align-items: center;
  65. justify-content: flex-end;
  66. overflow: hidden;
  67. color: rgba(0, 0, 0, 0.4);
  68. }
  69. .t-cell__title,
  70. .t-cell__note {
  71. flex: 1 1 auto;
  72. }
  73. .t-cell__title:empty,
  74. .t-cell__note:empty {
  75. display: none;
  76. }
  77. .t-cell__title-text {
  78. display: flex;
  79. }
  80. .t-cell__left,
  81. .t-cell__right {
  82. display: flex;
  83. align-items: center;
  84. font-size: 48rpx;
  85. line-height: 48rpx;
  86. }
  87. .t-cell__left :not(:empty) {
  88. margin-right: 16rpx;
  89. }
  90. .t-cell__left-icon {
  91. font-size: 48rpx;
  92. }
  93. .t-cell__left-image {
  94. height: 112rpx;
  95. width: 112rpx;
  96. }
  97. .t-cell__right {
  98. margin-left: 8rpx;
  99. color: #bbb;
  100. }
  101. .t-cell__right-icon {
  102. color: #bbb;
  103. font-size: 48rpx;
  104. line-height: 48rpx;
  105. }
  106. .t-cell--hover.t-cell--hover-class {
  107. background-color: #f2f3f5;
  108. }
  109. .t-cell--required {
  110. font-size: 32rpx;
  111. color: #e34d59;
  112. }
  113. .t-cell--middle {
  114. align-items: center;
  115. }
  116. .t-cell--top {
  117. align-items: flex-start;
  118. }
  119. .t-cell--bottom {
  120. align-items: flex-end;
  121. }