app.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. /* #ifdef weapp */
  2. page {
  3. background-color: #f5f5f5;
  4. }
  5. @media (prefers-color-scheme:dark) {
  6. page {
  7. background-color: #f5f5f5;
  8. }
  9. }
  10. .container {
  11. display: flex;
  12. flex-direction: column;
  13. flex: 1;
  14. height: '100%';
  15. // height: 100vh;
  16. width: 100vw;
  17. }
  18. /* #endif */
  19. .pure_black {
  20. color: #000000;
  21. }
  22. .pure_white {
  23. color: #ffffff;
  24. }
  25. .gray0 {
  26. color: #1c1c1c;
  27. }
  28. .gray1 {
  29. background-color: #2D2D2F;
  30. }
  31. .pure_black_bg {
  32. background-color: #000000;
  33. }
  34. .pure_white_bg {
  35. background-color: #ffffff;
  36. }
  37. .gray0_bg {
  38. background-color: #1c1c1c;
  39. }
  40. .sleep_color {}
  41. .fast_color {}
  42. .fast_bg_color {}
  43. .metric_tag_bg {
  44. height: 32px;
  45. padding-left: 6px;
  46. padding-right: 6px;
  47. border-radius: 16px;
  48. background-color: #343434;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. flex-shrink: 0;
  53. position: absolute;
  54. right: -2px;
  55. top: 1px;
  56. }
  57. .metric_tag_text {
  58. height: 32px;
  59. line-height: 32px;
  60. font-size: 20px;
  61. }
  62. .px1SperateWidth {
  63. width: 2px;
  64. background-color: #fff;
  65. opacity: 0.1;
  66. margin-left: 100px;
  67. -webkit-transform: scaleX(0.5);
  68. transform: scaleX(0.5);
  69. }
  70. .px1SeperateHeight {
  71. display: flex;
  72. height: 2px;
  73. background-color: #fff;
  74. opacity: 0.1;
  75. -webkit-transform: scaleY(0.5);
  76. transform: scaleY(0.5);
  77. position: absolute;
  78. left: 0;
  79. right: 0;
  80. bottom: 0;
  81. }
  82. //modal
  83. .modal_title {
  84. font-size: 36px;
  85. line-height: 120px;
  86. height: 120px;
  87. font-weight: 500;
  88. width: 750px;
  89. text-align: center;
  90. }
  91. .modal_operate {
  92. display: flex;
  93. flex-direction: row;
  94. width: 750px;
  95. display: flex;
  96. justify-content: center;
  97. align-items: center;
  98. margin-top: 36px;
  99. }
  100. .modal_btn {
  101. width: 260px;
  102. height: 84px;
  103. border-radius: 42px;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. }
  108. .btn_space {
  109. width: 90px;
  110. }
  111. ::-webkit-scrollbar {
  112. display: none;
  113. width: 0;
  114. height: 0;
  115. color: transparent;
  116. }
  117. .box_header {
  118. display: flex;
  119. flex-direction: row;
  120. height: 48px;
  121. overflow: visible;
  122. // justify-content: space-between;
  123. position: relative;
  124. align-items: center;
  125. margin-bottom: 12px;
  126. }
  127. .box_title {
  128. display: flex;
  129. // background-color: red;
  130. height: 48px;
  131. font-weight: bold;
  132. font-size: 48px;
  133. line-height: 48px;
  134. flex: 1;
  135. color: #fff;
  136. }
  137. .box_subtitle {
  138. font-size: 32px;
  139. line-height: 32px;
  140. // font-weight: 400px;
  141. margin-bottom: 20px;
  142. opacity: 0.4;
  143. color: #fff;
  144. // background-color: pink;
  145. }
  146. .flex-expand {
  147. position: absolute;
  148. left: 0;
  149. top: 0;
  150. height: 1px;
  151. background-color: transparent;
  152. width: calc(100vw + 12px);
  153. }
  154. .modal_content {
  155. padding-bottom: 120px;
  156. display: flex;
  157. flex-direction: column;
  158. flex-shrink: 0;
  159. }
  160. .stepper_text {
  161. font-size: 48px;
  162. font-weight: 500;
  163. width: 350px;
  164. text-align: center;
  165. }
  166. .add_more {
  167. width: 320px;
  168. height: 314px;
  169. display: flex;
  170. flex-direction: column;
  171. align-items: center;
  172. justify-content: center;
  173. border-radius: 36px;
  174. // border-radius: $boxBorderRadius;
  175. padding-left: 36px;
  176. padding-right: 36px;
  177. padding-top: 24px;
  178. padding-bottom: 24px;
  179. background-color: #fff;
  180. box-sizing: border-box;
  181. margin-bottom: 20px;
  182. }
  183. .add_more_text {
  184. margin-top: 32px;
  185. // color: #fff;
  186. font-weight: bold;
  187. font-size: 32px;
  188. line-height: 36px;
  189. opacity: 0.8;
  190. }
  191. .cell_header {
  192. color: #fff;
  193. opacity: 0.6;
  194. margin-left: 86px;
  195. font-size: 28px;
  196. line-height: 28px;
  197. margin-bottom: 20px;
  198. }
  199. .cell_footer {
  200. color: #fff;
  201. opacity: 0.2;
  202. margin-left: 86px;
  203. margin-right: 86px;
  204. line-height: 32px;
  205. font-size: 24px;
  206. margin-top: 20px;
  207. display: flex;
  208. }
  209. .cell_bg {
  210. background-color: #1C1C1C;
  211. display: flex;
  212. flex-direction: column;
  213. border-radius: 24px;
  214. margin-left: 46px;
  215. margin-right: 46px;
  216. padding-left: 40px;
  217. padding-right: 40px;
  218. }
  219. .cell_full {
  220. background-color: #1C1C1C;
  221. display: flex;
  222. flex-direction: row;
  223. height: 96px;
  224. // margin-left: 46px;
  225. // margin-right: 46px;
  226. // padding-left: 40px;
  227. // padding-right: 40px;
  228. align-items: center;
  229. border-radius: 24px;
  230. }
  231. .cell_full1 {
  232. background-color: #1C1C1C;
  233. display: flex;
  234. flex-direction: row;
  235. height: 96px;
  236. margin-left: 46px;
  237. margin-right: 46px;
  238. padding-left: 40px;
  239. padding-right: 40px;
  240. align-items: center;
  241. border-radius: 24px;
  242. }
  243. .cell_top {
  244. background-color: #1C1C1C;
  245. display: flex;
  246. flex-direction: row;
  247. height: 96px;
  248. margin-left: 46px;
  249. margin-right: 46px;
  250. padding-left: 40px;
  251. padding-right: 40px;
  252. align-items: center;
  253. border-top-left-radius: 24px;
  254. border-top-right-radius: 24px;
  255. position: relative;
  256. }
  257. .cell_line {
  258. margin-left: 0px;
  259. height: 2px;
  260. background-color: #323232;
  261. transform: scaleY(0.5);
  262. }
  263. .cell_bottom {
  264. background-color: #1C1C1C;
  265. display: flex;
  266. flex-direction: row;
  267. height: 96px;
  268. margin-left: 46px;
  269. margin-right: 46px;
  270. padding-left: 40px;
  271. padding-right: 40px;
  272. align-items: center;
  273. border-bottom-left-radius: 24px;
  274. border-bottom-right-radius: 24px;
  275. }
  276. .cell_center {
  277. position: relative;
  278. background-color: #1C1C1C;
  279. display: flex;
  280. flex-direction: row;
  281. height: 96px;
  282. margin-left: 46px;
  283. margin-right: 46px;
  284. padding-left: 40px;
  285. padding-right: 40px;
  286. align-items: center;
  287. }
  288. .cell_title {
  289. font-size: 28px;
  290. color: #fff;
  291. flex: 1;
  292. }
  293. .cell_value {
  294. font-size: 28px;
  295. color: #fff;
  296. }
  297. .cell_arrow {
  298. width: 40px;
  299. height: 40px;
  300. opacity: 0.2;
  301. }
  302. // @media only screen and (-webkit-min-device-pixel-ratio: 2.0) {
  303. // .px1Width::after {
  304. // -webkit-transform: scaleX(0.5);
  305. // transform: scaleX(0.5);
  306. // }
  307. // .px1Height::after {
  308. // -webkit-transform: scaleY(0.5);
  309. // transform: scaleY(0.5);
  310. // }
  311. // }
  312. // /* 3倍屏 */
  313. // @media only screen and (-webkit-min-device-pixel-ratio: 3.0) {
  314. // .px1Width::after {
  315. // -webkit-transform: scaleX(0.33);
  316. // transform: scaleX(0.33);
  317. // }
  318. // .px1Height::after {
  319. // -webkit-transform: scaleY(0.33);
  320. // transform: scaleY(0.33);
  321. // }
  322. // }
  323. .seperate_line {
  324. height: 2px;
  325. transform: scaleY(0.5);
  326. background-color: #B2B2B2;
  327. opacity: 0.4;
  328. position: absolute;
  329. left: 0;
  330. right: 0;
  331. bottom: 0;
  332. }
  333. .border_header_line {
  334. height: 2px;
  335. transform: scaleY(0.5);
  336. // background-color: red;
  337. background-color: #000;
  338. opacity: 0.1;
  339. position: absolute;
  340. left: 0;
  341. right: 0;
  342. top: 0;
  343. }
  344. .border_footer_line {
  345. height: 2px;
  346. transform: scaleY(0.5);
  347. // background-color: red;
  348. background-color: #000;
  349. opacity: 0.1;
  350. position: absolute;
  351. left: 0;
  352. right: 0;
  353. bottom: 0;
  354. }
  355. .canvas {}
  356. .cell_hover {
  357. background-color: #E5E5E5;
  358. }
  359. .guide_tip {
  360. height: 80px;
  361. display: flex;
  362. align-items: center;
  363. justify-content: center;
  364. background-color: #0080FF1A;
  365. color: #0080FF;
  366. width: 750px;
  367. position: relative;
  368. z-index: 10;
  369. }
  370. .page_container {
  371. display: flex;
  372. flex-direction: column;
  373. flex: 1;
  374. height: 100vh;
  375. }
  376. .card_header {
  377. display: flex;
  378. flex-direction: row;
  379. padding-left: 28px;
  380. padding-right: 28px;
  381. box-sizing: border-box;
  382. align-items: center;
  383. height: 128px;
  384. width: 698px;
  385. flex-shrink: 0;
  386. flex: 1;
  387. position: relative;
  388. }
  389. .card_footer {
  390. height: 108px;
  391. display: flex;
  392. flex-direction: row;
  393. align-items: center;
  394. justify-content: center;
  395. }
  396. .h60{
  397. font-size: 60px;
  398. line-height: 72px;
  399. }
  400. .h50 {
  401. font-size: 50px;
  402. line-height: 60px;
  403. }
  404. .h44 {
  405. font-size: 44px;
  406. line-height: 52px;
  407. }
  408. .h42 {
  409. font-size: 42px;
  410. line-height: 50px;
  411. }
  412. .h36 {
  413. font-size: 36px;
  414. line-height: 44px;
  415. }
  416. .h34 {
  417. font-size: 34px;
  418. line-height: 42px;
  419. }
  420. .h32{
  421. font-size: 32px;
  422. line-height: 38px;
  423. }
  424. .h30 {
  425. font-size: 30px;
  426. line-height: 36px;
  427. }
  428. .h28 {
  429. font-size: 28px;
  430. line-height: 34px;
  431. }
  432. .h26 {
  433. font-size: 26px;
  434. line-height: 32px;
  435. }
  436. .h24 {
  437. font-size: 24px;
  438. line-height: 28px;
  439. }
  440. .h22 {
  441. font-size: 22px;
  442. line-height: 26px;
  443. }
  444. .h20 {
  445. font-size: 20px;
  446. line-height: 24px;
  447. }
  448. .w300{
  449. font-weight: 300;
  450. }
  451. .w400{
  452. font-weight: 400;
  453. }
  454. .w500{
  455. font-weight: 500;
  456. }
  457. // view{
  458. // letter-spacing: 0px;
  459. // }
  460. // text{
  461. // letter-spacing: 0px;
  462. // }
  463. .bold {
  464. font-weight: bold;
  465. }
  466. .main_column_space {
  467. flex-shrink: 0;
  468. height: 36px;
  469. }
  470. /* #ifdef weapp */
  471. .main_footer {
  472. display: flex;
  473. flex-direction: column;
  474. width: 750px;
  475. align-items: center;
  476. justify-content: center;
  477. padding-bottom: 128px;
  478. padding-top: 40px;
  479. position: fixed;
  480. left: 0;
  481. right: 0;
  482. bottom: 0;
  483. z-index: 10;
  484. background-color: #f5f5f5;
  485. }
  486. /* #endif */
  487. /* #ifdef rn */
  488. .main_footer {
  489. display: flex;
  490. width: 750px;
  491. align-items: center;
  492. justify-content: center;
  493. padding-bottom: 128px;
  494. padding-top: 40px;
  495. z-index: 10;
  496. background-color: #f5f5f5;
  497. }
  498. /* #endif */
  499. .cell_footer_title {
  500. margin-top: 24px;
  501. margin-left: 52px;
  502. }
  503. .cell_footer_desc {
  504. margin-left: 52px;
  505. }
  506. .g01 {
  507. color: #595959
  508. }
  509. .g02 {
  510. color: #999999
  511. }
  512. .g03 {
  513. color: #d9d9d9
  514. }
  515. .g04 {
  516. color: #f0f0f0
  517. }
  518. .g05 {
  519. color: #f5f5f5
  520. }
  521. .line1 {
  522. white-space: nowrap;
  523. /* 不换行 */
  524. overflow: hidden;
  525. /* 隐藏超出部分 */
  526. text-overflow: ellipsis;
  527. /* 显示省略号 */
  528. width: 100%;
  529. }
  530. .line2 {
  531. overflow: hidden;
  532. text-overflow: ellipsis;
  533. display: -webkit-box;
  534. -webkit-line-clamp: 2;
  535. -webkit-box-orient: vertical;
  536. }
  537. .line3 {
  538. overflow: hidden;
  539. text-overflow: ellipsis;
  540. display: -webkit-box;
  541. -webkit-line-clamp: 3;
  542. -webkit-box-orient: vertical;
  543. }
  544. .cell_date {
  545. // background-color: pink;
  546. position: relative;
  547. display: flex;
  548. margin-right: 0px;
  549. margin-top: 0px;
  550. width: 122px;
  551. height: 60px;
  552. flex-shrink: 0;
  553. flex-direction: row;
  554. align-items: flex-end;
  555. justify-content: flex-start;
  556. display: flex;
  557. color: #000;
  558. }
  559. .history_year_month {
  560. height: 84px;
  561. padding-left: 40px;
  562. display: flex;
  563. flex-direction: row;
  564. align-items: flex-end;
  565. background-color: #fff;
  566. }
  567. .schedule_border{
  568. border-width: 3px;
  569. border-style: solid;
  570. }
  571. .time_count{
  572. display: flex;
  573. color: #fff;
  574. border-radius: 10px;
  575. min-width: 144px;
  576. padding-left: 9px;
  577. padding-right: 9px;
  578. box-sizing: border-box;
  579. height: 48px;
  580. flex-direction: row;
  581. align-items: center;
  582. justify-content: center;
  583. }
  584. .new_header_bg {
  585. padding-top: 24px;
  586. padding-bottom: 40px;
  587. // margin-bottom: 36px;
  588. display: flex;
  589. flex-direction: column;
  590. padding-left: 40px;
  591. padding-right: 52px;
  592. width: 750px;
  593. box-sizing: border-box;
  594. flex-shrink: 0;
  595. }
  596. .italic{
  597. font-style: italic;
  598. }
  599. .blur_bg{
  600. filter: blur(20px) brightness(50%);
  601. }
  602. .gray_bg{
  603. background-color: #f5f5f5;
  604. }