app.scss 12 KB

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