Streaks.scss 4.5 KB

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