radio.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. .limit-title-row {
  29. display: -webkit-box;
  30. -webkit-box-orient: vertical;
  31. overflow: hidden;
  32. }
  33. .t-radio {
  34. display: flex;
  35. flex-direction: row;
  36. padding: 32rpx 32rpx;
  37. font-size: 32rpx;
  38. background: white;
  39. position: relative;
  40. }
  41. .t-radio--right {
  42. flex-direction: row-reverse;
  43. }
  44. .t-radio__icon {
  45. width: 48rpx;
  46. }
  47. .t-radio__icon--left {
  48. margin-right: 20rpx;
  49. }
  50. .t-radio__icon--right {
  51. margin-left: auto;
  52. }
  53. .t-radio__image {
  54. line-height: 48rpx;
  55. }
  56. .t-radio-icon__image {
  57. height: 48rpx;
  58. width: 48rpx;
  59. vertical-align: sub;
  60. }
  61. .t-radio__btn {
  62. font-size: 48rpx;
  63. height: 48rpx;
  64. line-height: 40rpx;
  65. color: #dcdcdc;
  66. display: block;
  67. }
  68. .t-radio__content {
  69. flex: 1;
  70. line-height: 48rpx;
  71. margin-right: 10px;
  72. }
  73. .t-radio__content--disabled {
  74. cursor: not-allowed;
  75. color: rgba(0, 0, 0, 0.26);
  76. }
  77. .t-radio__title {
  78. display: -webkit-box;
  79. -webkit-box-orient: vertical;
  80. overflow: hidden;
  81. }
  82. .t-radio__description {
  83. color: rgba(0, 0, 0, 0.4);
  84. display: -webkit-box;
  85. -webkit-box-orient: vertical;
  86. overflow: hidden;
  87. font-size: 28rpx;
  88. line-height: 44rpx;
  89. }
  90. .t-radio-is-checked {
  91. color: #0052d9;
  92. }
  93. .t-radio-is-disabled {
  94. cursor: not-allowed;
  95. color: #dcdcdc;
  96. }
  97. .t-radio__border {
  98. position: absolute;
  99. bottom: 0;
  100. border-top: 1rpx solid #e7e7e7;
  101. width: 100%;
  102. }
  103. .t-radio__border--left {
  104. left: 80rpx;
  105. width: calc(100% - 80rpx);
  106. }
  107. .t-radio__border--right {
  108. right: 80rpx;
  109. width: calc(100% - 80rpx);
  110. }