count-down.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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-count-down {
  29. color: #323233;
  30. font-size: 24rpx;
  31. line-height: 34rpx;
  32. font-family: 'DIN Alternate', 'Courier New', Courier, monospace;
  33. }
  34. .t-count-down--square .t-count-down__item {
  35. border-radius: 8rpx;
  36. }
  37. .t-count-down--round .t-count-down__item {
  38. border-radius: 50%;
  39. }
  40. .t-count-down--square .t-count-down__item,
  41. .t-count-down--round .t-count-down__item {
  42. display: inline-flex;
  43. align-items: center;
  44. justify-content: center;
  45. color: #fff;
  46. background: #e34d59;
  47. }
  48. .t-count-down--square .t-count-down__split,
  49. .t-count-down--round .t-count-down__split {
  50. display: inline-flex;
  51. align-items: center;
  52. height: 40rpx;
  53. margin: 0 8rpx;
  54. font-size: 28rpx;
  55. color: #e34d59;
  56. font-weight: 600;
  57. }
  58. .t-count-down--square .t-count-down__split--text,
  59. .t-count-down--round .t-count-down__split--text {
  60. color: #333;
  61. margin: 0 10rpx;
  62. font-size: 20rpx;
  63. font-weight: normal;
  64. }
  65. .t-count-down--small .t-count-down__item {
  66. width: 40rpx;
  67. height: 40rpx;
  68. font-size: 24rpx;
  69. }
  70. .t-count-down--middle .t-count-down__item {
  71. width: 48rpx;
  72. height: 48rpx;
  73. font-size: 28rpx;
  74. }
  75. .t-count-down--middle .t-count-down__split {
  76. font-size: 32rpx;
  77. font-weight: 600;
  78. }
  79. .t-count-down--large .t-count-down__item {
  80. width: 56rpx;
  81. height: 56rpx;
  82. font-size: 32rpx;
  83. }
  84. .t-count-down--large .t-count-down__split {
  85. font-size: 36rpx;
  86. font-weight: 600;
  87. }
  88. .t-count-down--highlight .t-count-down__item {
  89. width: 40rpx;
  90. height: 48rpx;
  91. color: #e34d59;
  92. display: inline-flex;
  93. align-items: center;
  94. justify-content: center;
  95. font-size: 32rpx;
  96. }
  97. .t-count-down--highlight .t-count-down__split {
  98. color: #333;
  99. height: 48rpx;
  100. display: inline-flex;
  101. align-items: center;
  102. margin: 0 6rpx;
  103. font-size: 20rpx;
  104. }
  105. .base-time-square-l .item-dot {
  106. color: #e34d59;
  107. height: 56rpx;
  108. display: inline-flex;
  109. align-items: center;
  110. margin: 0 8rpx;
  111. font-size: 36rpx;
  112. font-weight: 600;
  113. }
  114. .base-time-square-m .item-dot {
  115. color: #e34d59;
  116. height: 48rpx;
  117. display: inline-flex;
  118. align-items: center;
  119. margin: 0 8rpx;
  120. font-size: 32rpx;
  121. font-weight: 600;
  122. }