app.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  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. .h50 {
  397. font-size: 50px;
  398. line-height: 60px;
  399. }
  400. .h44 {
  401. font-size: 44px;
  402. line-height: 52px;
  403. }
  404. .h42 {
  405. font-size: 42px;
  406. line-height: 50px;
  407. }
  408. .h36 {
  409. font-size: 36px;
  410. line-height: 44px;
  411. }
  412. .h34 {
  413. font-size: 34px;
  414. line-height: 42px;
  415. }
  416. .h32{
  417. font-size: 32px;
  418. line-height: 38px;
  419. }
  420. .h30 {
  421. font-size: 30px;
  422. line-height: 36px;
  423. }
  424. .h28 {
  425. font-size: 28px;
  426. line-height: 34px;
  427. }
  428. .h26 {
  429. font-size: 26px;
  430. line-height: 32px;
  431. }
  432. .h24 {
  433. font-size: 24px;
  434. line-height: 28px;
  435. }
  436. .h22 {
  437. font-size: 22px;
  438. line-height: 26px;
  439. }
  440. .h20 {
  441. font-size: 20px;
  442. line-height: 24px;
  443. }
  444. .w300{
  445. font-weight: 300;
  446. }
  447. .w400{
  448. font-weight: 400;
  449. }
  450. .w500{
  451. font-weight: 500;
  452. }
  453. // view{
  454. // letter-spacing: 0px;
  455. // }
  456. // text{
  457. // letter-spacing: 0px;
  458. // }
  459. .bold {
  460. font-weight: bold;
  461. }
  462. .main_column_space {
  463. flex-shrink: 0;
  464. height: 36px;
  465. }
  466. /* #ifdef weapp */
  467. .main_footer {
  468. display: flex;
  469. flex-direction: column;
  470. width: 750px;
  471. align-items: center;
  472. justify-content: center;
  473. padding-bottom: 128px;
  474. padding-top: 40px;
  475. position: fixed;
  476. left: 0;
  477. right: 0;
  478. bottom: 0;
  479. z-index: 10;
  480. background-color: #f5f5f5;
  481. }
  482. /* #endif */
  483. /* #ifdef rn */
  484. .main_footer {
  485. display: flex;
  486. width: 750px;
  487. align-items: center;
  488. justify-content: center;
  489. padding-bottom: 128px;
  490. padding-top: 40px;
  491. z-index: 10;
  492. background-color: #f5f5f5;
  493. }
  494. /* #endif */
  495. .cell_footer_title {
  496. margin-top: 24px;
  497. margin-left: 52px;
  498. }
  499. .cell_footer_desc {
  500. margin-left: 52px;
  501. }
  502. .g01 {
  503. color: #595959
  504. }
  505. .g02 {
  506. color: #999999
  507. }
  508. .g03 {
  509. color: #d9d9d9
  510. }
  511. .g04 {
  512. color: #f0f0f0
  513. }
  514. .g05 {
  515. color: #f5f5f5
  516. }
  517. .line1 {
  518. white-space: nowrap;
  519. /* 不换行 */
  520. overflow: hidden;
  521. /* 隐藏超出部分 */
  522. text-overflow: ellipsis;
  523. /* 显示省略号 */
  524. width: 100%;
  525. }
  526. .line2 {
  527. overflow: hidden;
  528. text-overflow: ellipsis;
  529. display: -webkit-box;
  530. -webkit-line-clamp: 2;
  531. -webkit-box-orient: vertical;
  532. }
  533. .line3 {
  534. overflow: hidden;
  535. text-overflow: ellipsis;
  536. display: -webkit-box;
  537. -webkit-line-clamp: 3;
  538. -webkit-box-orient: vertical;
  539. }
  540. .cell_date {
  541. // background-color: pink;
  542. position: relative;
  543. display: flex;
  544. margin-right: 0px;
  545. margin-top: 0px;
  546. width: 122px;
  547. height: 60px;
  548. flex-shrink: 0;
  549. flex-direction: row;
  550. align-items: flex-end;
  551. justify-content: flex-start;
  552. display: flex;
  553. color: #000;
  554. }
  555. .history_year_month {
  556. height: 84px;
  557. padding-left: 40px;
  558. display: flex;
  559. flex-direction: row;
  560. align-items: flex-end;
  561. background-color: #fff;
  562. }
  563. .schedule_border{
  564. border-width: 3px;
  565. border-style: solid;
  566. }
  567. .time_count{
  568. display: flex;
  569. color: #fff;
  570. border-radius: 10px;
  571. min-width: 144px;
  572. padding-left: 9px;
  573. padding-right: 9px;
  574. box-sizing: border-box;
  575. height: 48px;
  576. flex-direction: row;
  577. align-items: center;
  578. justify-content: center;
  579. }
  580. .new_header_bg {
  581. padding-top: 24px;
  582. padding-bottom: 40px;
  583. // margin-bottom: 36px;
  584. display: flex;
  585. flex-direction: column;
  586. padding-left: 40px;
  587. padding-right: 52px;
  588. width: 750px;
  589. box-sizing: border-box;
  590. flex-shrink: 0;
  591. }
  592. .italic{
  593. font-style: italic;
  594. }
  595. .blur_bg{
  596. filter: blur(20px) brightness(50%);
  597. }
  598. .gray_bg{
  599. background-color: #f5f5f5;
  600. }