super-contributor-activity.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. /* 超级贡献者活动页专属样式 */
  2. /* ===== 主页 ===== */
  3. .hero-content.super-hero {
  4. padding-top: 228px;
  5. }
  6. .hero-title.super-title {
  7. font-size: 24px;
  8. margin-bottom: 6px;
  9. }
  10. .hero-subtitle {
  11. font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  12. font-size: 13px;
  13. font-weight: 400;
  14. line-height: 1.5;
  15. color: var(--bex-text-secondary, #888888);
  16. text-align: center;
  17. margin-bottom: 24px;
  18. }
  19. /* ===== 主信息卡片 ===== */
  20. .super-card {
  21. width: 343px;
  22. margin: 0 auto 16px;
  23. background: var(--bex-card-bg-action, rgba(255, 255, 255, 0.05));
  24. border-radius: 6px;
  25. padding: 16px;
  26. }
  27. .super-progress {
  28. display: flex;
  29. align-items: center;
  30. gap: 8px;
  31. margin-bottom: 16px;
  32. }
  33. .super-progress-text {
  34. flex: 1;
  35. font-size: 14px;
  36. font-weight: 400;
  37. line-height: 1.5;
  38. color: var(--bex-text-secondary, #888888);
  39. }
  40. .super-progress-text .highlight {
  41. color: var(--bex-brand, #fd6f23);
  42. font-weight: 500;
  43. }
  44. .super-progress-icon {
  45. width: 40px;
  46. height: 40px;
  47. flex-shrink: 0;
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. }
  52. .super-stats {
  53. display: flex;
  54. justify-content: space-between;
  55. align-items: flex-start;
  56. margin-bottom: 16px;
  57. }
  58. .super-stat {
  59. flex: 1;
  60. }
  61. .super-stat-label {
  62. font-size: 12px;
  63. font-weight: 400;
  64. color: var(--bex-text-secondary, #888888);
  65. margin-bottom: 4px;
  66. }
  67. .super-stat-value {
  68. font-family: "HarmonyOS Sans", "DIN Alternate", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  69. font-size: 28px;
  70. font-weight: 700;
  71. color: var(--bex-text-primary, #ffffff);
  72. line-height: 1;
  73. }
  74. .super-stat-value.brand {
  75. color: var(--bex-brand, #fd6f23);
  76. }
  77. .super-stat-value.small {
  78. font-size: 20px;
  79. }
  80. .super-status {
  81. font-size: 13px;
  82. font-weight: 400;
  83. color: var(--bex-text-secondary, #888888);
  84. text-align: center;
  85. margin-bottom: 4px;
  86. }
  87. /* ===== 底部操作行 ===== */
  88. .super-action-grid {
  89. display: flex;
  90. flex-direction: column;
  91. gap: 16px;
  92. margin-bottom: 12px;
  93. }
  94. /* ===== 等级阶梯面板 ===== */
  95. .level-ladder-list {
  96. display: flex;
  97. flex-direction: column;
  98. gap: 12px;
  99. }
  100. .level-ladder-item {
  101. background: var(--bex-card-bg-action, rgba(255, 255, 255, 0.05));
  102. border-radius: 8px;
  103. padding: 14px 16px;
  104. cursor: pointer;
  105. position: relative;
  106. }
  107. .level-ladder-item.current {
  108. border: 1px solid var(--bex-brand, #fd6f23);
  109. }
  110. .level-ladder-header {
  111. display: flex;
  112. align-items: center;
  113. justify-content: space-between;
  114. margin-bottom: 10px;
  115. }
  116. .level-ladder-name {
  117. font-size: 16px;
  118. font-weight: 600;
  119. color: var(--bex-text-primary, #ffffff);
  120. }
  121. .level-ladder-current-tag {
  122. font-size: 11px;
  123. font-weight: 500;
  124. color: var(--bex-brand, #fd6f23);
  125. padding: 2px 6px;
  126. border: 1px solid var(--bex-brand, #fd6f23);
  127. border-radius: 4px;
  128. }
  129. .level-ladder-range {
  130. font-size: 12px;
  131. font-weight: 400;
  132. color: var(--bex-text-secondary, #888888);
  133. margin-bottom: 12px;
  134. }
  135. .level-ladder-rewards {
  136. display: flex;
  137. gap: 8px;
  138. }
  139. .level-ladder-reward {
  140. flex: 1;
  141. background: rgba(255, 255, 255, 0.03);
  142. border-radius: 6px;
  143. padding: 10px;
  144. }
  145. .level-ladder-reward-label {
  146. font-size: 11px;
  147. font-weight: 400;
  148. color: var(--bex-text-secondary, #888888);
  149. margin-bottom: 4px;
  150. }
  151. .level-ladder-reward-value {
  152. font-family: "HarmonyOS Sans", "DIN Alternate", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  153. font-size: 16px;
  154. font-weight: 700;
  155. color: var(--bex-text-primary, #ffffff);
  156. line-height: 1.2;
  157. }
  158. .level-ladder-reward-value .currency {
  159. font-size: 12px;
  160. font-weight: 500;
  161. margin-left: 2px;
  162. }
  163. .level-ladder-users {
  164. display: flex;
  165. align-items: center;
  166. gap: 6px;
  167. margin-top: 12px;
  168. font-size: 12px;
  169. color: var(--bex-text-secondary, #888888);
  170. }
  171. .level-ladder-users .arrow {
  172. margin-left: auto;
  173. width: 16px;
  174. height: 16px;
  175. opacity: 0.5;
  176. }
  177. /* ===== 排行榜面板 ===== */
  178. .leaderboard-header {
  179. display: flex;
  180. align-items: center;
  181. justify-content: space-between;
  182. padding: 12px 16px 16px;
  183. }
  184. .leaderboard-title {
  185. font-size: 16px;
  186. font-weight: 600;
  187. color: var(--bex-text-primary, #ffffff);
  188. }
  189. .leaderboard-back {
  190. font-size: 14px;
  191. color: var(--bex-text-secondary, #888888);
  192. background: transparent;
  193. border: none;
  194. cursor: pointer;
  195. padding: 0;
  196. }
  197. .leaderboard-list {
  198. display: flex;
  199. flex-direction: column;
  200. }
  201. .leaderboard-row {
  202. display: flex;
  203. align-items: center;
  204. gap: 12px;
  205. padding: 12px 0;
  206. position: relative;
  207. }
  208. .leaderboard-row.current {
  209. background: rgba(255, 255, 255, 0.03);
  210. margin: 0 -16px;
  211. padding-left: 16px;
  212. padding-right: 16px;
  213. border-radius: 8px;
  214. }
  215. .leaderboard-rank {
  216. width: 28px;
  217. text-align: center;
  218. font-family: "HarmonyOS Sans", "DIN Alternate", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  219. font-size: 16px;
  220. font-weight: 700;
  221. color: var(--bex-text-secondary, #888888);
  222. flex-shrink: 0;
  223. }
  224. .leaderboard-rank.top {
  225. color: var(--bex-brand, #fd6f23);
  226. }
  227. .leaderboard-avatar {
  228. width: 40px;
  229. height: 40px;
  230. border-radius: 50%;
  231. border: 1px solid var(--bex-border, #1f1f1f);
  232. overflow: hidden;
  233. flex-shrink: 0;
  234. display: flex;
  235. align-items: center;
  236. justify-content: center;
  237. background: #7e7e7e;
  238. }
  239. .leaderboard-avatar img {
  240. width: 100%;
  241. height: 100%;
  242. object-fit: cover;
  243. }
  244. .leaderboard-info {
  245. flex: 1;
  246. min-width: 0;
  247. }
  248. .leaderboard-name {
  249. font-size: 14px;
  250. font-weight: 500;
  251. color: var(--bex-text-primary, #ffffff);
  252. overflow: hidden;
  253. text-overflow: ellipsis;
  254. white-space: nowrap;
  255. margin-bottom: 2px;
  256. }
  257. .leaderboard-tag {
  258. display: inline-block;
  259. font-size: 10px;
  260. font-weight: 500;
  261. color: var(--bex-brand, #fd6f23);
  262. padding: 1px 4px;
  263. border: 1px solid var(--bex-brand, #fd6f23);
  264. border-radius: 3px;
  265. margin-left: 6px;
  266. vertical-align: middle;
  267. }
  268. .leaderboard-count {
  269. font-size: 12px;
  270. color: var(--bex-text-secondary, #888888);
  271. }
  272. .leaderboard-count .highlight {
  273. color: var(--bex-text-primary, #ffffff);
  274. font-weight: 500;
  275. }
  276. .leaderboard-score {
  277. font-family: "HarmonyOS Sans", "DIN Alternate", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  278. font-size: 16px;
  279. font-weight: 700;
  280. color: var(--bex-text-primary, #ffffff);
  281. flex-shrink: 0;
  282. }
  283. /* ===== 浅色主题 ===== */
  284. html.theme-light .hero-subtitle {
  285. color: #888888;
  286. }
  287. html.theme-light .super-card {
  288. background: #ffffff;
  289. border: 1px solid #e8e8e8;
  290. }
  291. html.theme-light .super-progress-text {
  292. color: #888888;
  293. }
  294. html.theme-light .super-stat-label {
  295. color: #888888;
  296. }
  297. html.theme-light .super-stat-value {
  298. color: #121212;
  299. }
  300. html.theme-light .super-status {
  301. color: #888888;
  302. }
  303. html.theme-light .level-ladder-item {
  304. background: #ffffff;
  305. border: 1px solid #e8e8e8;
  306. }
  307. html.theme-light .level-ladder-item.current {
  308. border-color: var(--bex-brand, #fd6f23);
  309. }
  310. html.theme-light .level-ladder-name {
  311. color: #121212;
  312. }
  313. html.theme-light .level-ladder-range,
  314. html.theme-light .level-ladder-reward-label,
  315. html.theme-light .level-ladder-users {
  316. color: #888888;
  317. }
  318. html.theme-light .level-ladder-reward {
  319. background: #f3f3f3;
  320. }
  321. html.theme-light .level-ladder-reward-value {
  322. color: #121212;
  323. }
  324. html.theme-light .leaderboard-title {
  325. color: #121212;
  326. }
  327. html.theme-light .leaderboard-back {
  328. color: #888888;
  329. }
  330. html.theme-light .leaderboard-row.current {
  331. background: rgba(0, 0, 0, 0.03);
  332. }
  333. html.theme-light .leaderboard-rank {
  334. color: #888888;
  335. }
  336. html.theme-light .leaderboard-name {
  337. color: #121212;
  338. }
  339. html.theme-light .leaderboard-score {
  340. color: #121212;
  341. }