Streaks.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. .streaks_title {
  2. display: flex;
  3. font-weight: bold;
  4. font-size: 48px;
  5. line-height: 48px;
  6. margin-top: 60px;
  7. margin-bottom: 20px;
  8. margin-left: 46px;
  9. color: #fff;
  10. }
  11. .streaks_content {
  12. margin-left: 46px;
  13. margin-right: 46px;
  14. display: flex;
  15. flex-direction: row;
  16. justify-content: space-between;
  17. }
  18. .streaks_item {
  19. width: 318px;
  20. background-color: #1C1C1C;
  21. box-sizing: border-box;
  22. border-radius: 36px;
  23. padding-left: 24px;
  24. padding-right: 24px;
  25. padding-top: 24px;
  26. padding-bottom: 32px;
  27. display: flex;
  28. flex-direction: column;
  29. align-items: center;
  30. }
  31. .streaks_item_header {
  32. display: flex;
  33. flex-direction: row;
  34. justify-content: space-between;
  35. align-items: center;
  36. }
  37. .streak_item_type {
  38. font-size: 22px;
  39. line-height: 32px;
  40. color: #fff;
  41. opacity: 0.6;
  42. }
  43. .streak_item_point_bg {
  44. display: flex;
  45. flex-direction: row;
  46. align-items: center;
  47. margin-top: 18px;
  48. // margin-bottom: 58px;
  49. }
  50. .scroll_point_bg {
  51. display: flex;
  52. flex-direction: row;
  53. // align-items: center;
  54. margin-top: 26px;
  55. width: 270px;
  56. box-sizing: border-box;
  57. border-radius: 6px;
  58. transform: translateY(0);
  59. overflow: hidden;
  60. height: 28px;
  61. }
  62. .streak_item_point {
  63. height: 28px;
  64. width: 28px;
  65. border-radius: 14px;
  66. margin-right: 8px;
  67. background: rgba(216, 216, 216, 0.1);
  68. flex-shrink: 0;
  69. }
  70. .streak_item_note {
  71. font-size: 24px;
  72. line-height: 24px;
  73. color: #fff;
  74. opacity: 0.4;
  75. }
  76. .streak_item_value {
  77. font-size: 36px;
  78. line-height: 36px;
  79. font-weight: bold;
  80. margin-left: 6px;
  81. margin-right: 4px;
  82. height: 36px;
  83. }
  84. .streaks_countdown_bg {
  85. padding-left: 46px;
  86. padding-right: 46px;
  87. padding-top: 20px;
  88. padding-bottom: 20px;
  89. display: flex;
  90. flex-direction: column;
  91. }
  92. .streak_countdown_item {
  93. height: 32px;
  94. line-height: 32px;
  95. margin-right: 24px;
  96. display: flex;
  97. flex-direction: row;
  98. align-items: center;
  99. }
  100. .streak_point {
  101. width: 12px;
  102. height: 12px;
  103. border-radius: 6px;
  104. background-color: #fff;
  105. opacity: 0.4;
  106. margin-right: 10px;
  107. }
  108. /* #ifdef weapp */
  109. .streak_countdown_title {
  110. font-size: 18px;
  111. font-weight: bold;
  112. // background: linear-gradient(90deg, $fastColor 0%, $sleepColor 100%);
  113. -webkit-background-clip: text;
  114. background-clip: text;
  115. color: transparent;
  116. }
  117. .streak_line_left{
  118. height: 1px;
  119. margin-right: 10px;
  120. background: linear-gradient(270deg, #2F2F2F 0%, rgba(47, 47, 47, 0) 100%);
  121. // transform: scaleY(0.5);
  122. flex: 1;
  123. }
  124. .streak_line_right{
  125. height: 1px;
  126. margin-left: 10px;
  127. background: linear-gradient(90deg, #2F2F2F 0%, rgba(47, 47, 47, 0) 100%);
  128. // transform: scaleY(0.5);
  129. flex: 1;
  130. }
  131. /* #endif */
  132. /* #ifdef rn */
  133. .streak_countdown_title {
  134. font-size: 18px;
  135. font-weight: bold;
  136. // background: linear-gradient(90deg, $fastColor 0%, $sleepColor 100%);
  137. -webkit-background-clip: text;
  138. background-clip: text;
  139. color: transparent;
  140. }
  141. /* #endif */
  142. .streak_countdown_value {
  143. color: #fff;
  144. opacity: 0.4;
  145. font-size: 18px;
  146. letter-spacing: 0;
  147. }
  148. .streak_index {
  149. font-weight: bold;
  150. font-size: 56px;
  151. line-height: 60px;
  152. }
  153. .streak_index_day{
  154. font-size: 40px;
  155. line-height: 40px;
  156. font-weight: bold;
  157. margin-left: 4px;
  158. margin-bottom: 6px;
  159. }
  160. .streak_next {
  161. display: flex;
  162. flex-direction: row;
  163. margin-top: 24px;
  164. height: 20px;
  165. width: 120%;
  166. align-items: center;
  167. }
  168. .streak_next_text{
  169. font-size: 16px;
  170. line-height: 20px;
  171. color: #2F2F2F;
  172. }
  173. .streak_status {
  174. margin-top: 24px;
  175. display: flex;
  176. flex-direction: row;
  177. align-items: center;
  178. justify-content: center;
  179. color: #fff;
  180. opacity: 0.3;
  181. font-size: 20px;
  182. line-height: 24px;
  183. font-weight: bold;
  184. }
  185. .streak_bottom{
  186. margin-top: 12px;
  187. display: flex;
  188. flex-direction: row;
  189. justify-content: center;
  190. align-items: center;
  191. height: 34px;
  192. }
  193. .streak_bottom_info{
  194. height: 34px;
  195. min-width: 114px;
  196. padding-left: 15px;
  197. padding-right: 15px;
  198. border-radius: 6px;
  199. display: flex;
  200. align-items: center;
  201. justify-content: center;
  202. box-sizing: border-box;
  203. }
  204. .streak_bottom_info_text{
  205. font-size: 20px;
  206. color: #fff;
  207. font-weight: bold;
  208. margin-bottom: 2px;
  209. }
  210. .vip_calendar2{
  211. margin-top: 40px;
  212. margin-left: 46px;
  213. width: 658px;
  214. height: 104px;
  215. background-color: #212121;
  216. border-radius: 24px;
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. }