learning-page.component.scss 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  1. .learning-page {
  2. min-height: 100%;
  3. padding-bottom: 76px;
  4. }
  5. button {
  6. font: inherit;
  7. }
  8. .readonly-word-list {
  9. transition: opacity 160ms ease;
  10. }
  11. .readonly-word-list.is-updating {
  12. opacity: .48;
  13. pointer-events: none;
  14. }
  15. .word-preview-pagination {
  16. display: grid;
  17. align-items: center;
  18. padding: 15px 16px;
  19. background: white;
  20. border-top: 1px solid var(--line);
  21. grid-template-columns: auto minmax(0, 1fr) auto;
  22. gap: 10px;
  23. }
  24. .word-preview-pagination button {
  25. display: inline-flex;
  26. min-width: 34px;
  27. height: 34px;
  28. align-items: center;
  29. justify-content: center;
  30. padding: 0 9px;
  31. color: var(--ink-soft);
  32. background: var(--surface-muted);
  33. border: 1px solid var(--line);
  34. border-radius: 9px;
  35. font-size: 12px;
  36. font-weight: 700;
  37. gap: 3px;
  38. }
  39. .word-preview-pagination button:hover:not(:disabled),
  40. .word-preview-pagination button.active {
  41. color: white;
  42. background: var(--brand-strong);
  43. border-color: var(--brand-strong);
  44. }
  45. .word-preview-pagination button:disabled {
  46. cursor: not-allowed;
  47. opacity: .45;
  48. }
  49. .page-numbers {
  50. display: flex;
  51. min-width: 0;
  52. align-items: center;
  53. justify-content: center;
  54. gap: 5px;
  55. }
  56. .word-preview-pagination > span {
  57. grid-column: 1 / -1;
  58. color: var(--ink-soft);
  59. font-size: 11px;
  60. text-align: center;
  61. }
  62. .node-intro {
  63. display: flex;
  64. align-items: center;
  65. padding: 20px 16px;
  66. color: white;
  67. background: var(--brand-strong);
  68. gap: 12px;
  69. }
  70. .node-intro h2 {
  71. margin: 0;
  72. font-size: 18px;
  73. letter-spacing: 0;
  74. }
  75. .node-intro p {
  76. display: block;
  77. margin: 4px 0 0;
  78. font-size: 12px;
  79. opacity: .82;
  80. }
  81. .memory-overview {
  82. position: relative;
  83. display: flex;
  84. min-height: 390px;
  85. overflow: hidden;
  86. padding: 22px 20px 18px;
  87. color: white;
  88. background: #126c5d;
  89. border-bottom: 1px solid var(--line);
  90. box-shadow: var(--shadow-brand);
  91. flex-direction: column;
  92. }
  93. .memory-overview > header {
  94. position: relative;
  95. display: flex;
  96. align-items: center;
  97. justify-content: space-between;
  98. gap: 12px;
  99. z-index: 1;
  100. }
  101. .memory-stats {
  102. display: grid;
  103. position: relative;
  104. margin: auto 0 0;
  105. padding: 13px 0 0;
  106. grid-template-columns: repeat(3, minmax(0, 1fr));
  107. z-index: 2;
  108. }
  109. .memory-stats span {
  110. min-width: 0;
  111. padding: 0 8px;
  112. text-align: center;
  113. border-right: 1px solid rgb(255 255 255 / 18%);
  114. }
  115. .memory-stats span:last-child { border-right: 0; }
  116. .memory-stats strong, .memory-stats small { display: block; }
  117. .memory-stats strong { font-size: 17px; }
  118. .memory-stats small { margin-top: 3px; color: rgb(255 255 255 / 72%); font-size: 10px; }
  119. .memory-calendar {
  120. margin: 12px 12px 0;
  121. padding: 14px;
  122. background: white;
  123. border: 1px solid var(--line);
  124. border-radius: var(--radius-md);
  125. box-shadow: var(--shadow-soft);
  126. }
  127. .memory-calendar > header,
  128. .memory-date-tasks > header {
  129. display: flex;
  130. align-items: center;
  131. justify-content: space-between;
  132. gap: 12px;
  133. }
  134. .memory-calendar > header span,
  135. .memory-calendar > header strong,
  136. .memory-date-tasks > header span,
  137. .memory-date-tasks > header strong {
  138. display: block;
  139. }
  140. .memory-calendar > header span,
  141. .memory-date-tasks > header span {
  142. color: var(--ink-soft);
  143. font-size: 11px;
  144. }
  145. .memory-calendar > header strong,
  146. .memory-date-tasks > header strong {
  147. margin-top: 3px;
  148. color: var(--ink);
  149. font-size: 18px;
  150. }
  151. .memory-calendar nav {
  152. display: flex;
  153. align-items: center;
  154. gap: 2px;
  155. }
  156. .memory-calendar nav button {
  157. display: grid;
  158. width: 36px;
  159. height: 36px;
  160. padding: 0;
  161. color: var(--ink-soft);
  162. background: transparent;
  163. border: 0;
  164. place-items: center;
  165. }
  166. .memory-calendar nav .current-month {
  167. width: auto;
  168. padding: 0 7px;
  169. color: var(--brand-strong);
  170. font-size: 12px;
  171. font-weight: 700;
  172. }
  173. .memory-week,
  174. .memory-month-grid {
  175. display: grid;
  176. grid-template-columns: repeat(7, minmax(0, 1fr));
  177. }
  178. .memory-week {
  179. margin: 12px 0 6px;
  180. color: var(--ink-soft);
  181. font-size: 10px;
  182. text-align: center;
  183. }
  184. .memory-month-grid {
  185. gap: 5px;
  186. }
  187. .memory-date {
  188. display: flex;
  189. min-width: 0;
  190. height: 44px;
  191. align-items: center;
  192. justify-content: center;
  193. padding: 3px 0;
  194. color: #69736f;
  195. background: #f4f6f5;
  196. border: 1px solid transparent;
  197. border-radius: 6px;
  198. flex-direction: column;
  199. }
  200. .memory-date span { font-size: 12px; font-weight: 700; }
  201. .memory-date small { margin-top: 1px; font-size: 8px; line-height: 1; }
  202. .memory-date.outside { opacity: .35; }
  203. .memory-date.completed { color: #125a47; background: #c7e7dc; border-color: #70b59f; }
  204. .memory-date.due { color: #8d570b; background: #fff0d8; border-color: #e7bd72; }
  205. .memory-date.scheduled { color: #315d96; background: #eaf1fb; border-color: #b8cce7; }
  206. .memory-date.today { box-shadow: inset 0 0 0 1px #e39a2b; }
  207. .memory-date.selected { outline: 2px solid var(--brand-strong); outline-offset: 1px; }
  208. .memory-calendar > footer {
  209. display: flex;
  210. margin-top: 11px;
  211. color: var(--ink-soft);
  212. font-size: 9px;
  213. gap: 10px;
  214. }
  215. .memory-calendar > footer span {
  216. display: inline-flex;
  217. align-items: center;
  218. gap: 5px;
  219. }
  220. .memory-calendar > footer i {
  221. width: 8px;
  222. height: 8px;
  223. background: #e5e9e7;
  224. border-radius: 50%;
  225. }
  226. .memory-calendar > footer i.completed { background: #78bca6; }
  227. .memory-calendar > footer i.due { background: #dfa34a; }
  228. .memory-calendar > footer i.scheduled { background: #7fa4d2; }
  229. .memory-date-tasks {
  230. margin: 12px 12px 0;
  231. overflow: hidden;
  232. background: white;
  233. border: 1px solid var(--line);
  234. border-radius: var(--radius-md);
  235. box-shadow: var(--shadow-soft);
  236. }
  237. .memory-date-tasks > header {
  238. min-height: 64px;
  239. padding: 10px 16px;
  240. border-bottom: 1px solid var(--line);
  241. }
  242. .memory-date-tasks > header b {
  243. color: var(--brand-strong);
  244. font-size: 13px;
  245. }
  246. .node-list,
  247. .word-select-list,
  248. .repeat-list,
  249. .calendar-list,
  250. .record-list {
  251. background: white;
  252. }
  253. .node-list > button,
  254. .repeat-list > button {
  255. display: flex;
  256. width: 100%;
  257. min-height: 68px;
  258. align-items: center;
  259. justify-content: space-between;
  260. padding: 11px 16px;
  261. color: var(--ink);
  262. text-align: left;
  263. background: transparent;
  264. border: 0;
  265. border-bottom: 1px solid var(--line);
  266. gap: 12px;
  267. }
  268. .node-list button .node-copy,
  269. .repeat-list button > span:first-child {
  270. display: flex;
  271. min-width: 0;
  272. flex-direction: column;
  273. gap: 4px;
  274. }
  275. .node-list button small,
  276. .repeat-list button small {
  277. color: var(--ink-soft);
  278. }
  279. .selection-header {
  280. position: sticky;
  281. z-index: 15;
  282. top: 52px;
  283. display: flex;
  284. align-items: center;
  285. justify-content: space-between;
  286. padding: 11px 14px;
  287. background: white;
  288. border-bottom: 1px solid var(--line);
  289. gap: 10px;
  290. }
  291. .selection-header > div:first-child {
  292. display: flex;
  293. min-width: 92px;
  294. flex-direction: column;
  295. gap: 3px;
  296. }
  297. .selection-header span {
  298. color: var(--ink-soft);
  299. font-size: 11px;
  300. }
  301. .header-actions {
  302. display: flex;
  303. align-items: center;
  304. gap: 7px;
  305. }
  306. .header-actions button {
  307. min-height: 38px;
  308. padding: 0 11px;
  309. white-space: nowrap;
  310. }
  311. .header-actions .primary-button {
  312. display: flex;
  313. align-items: center;
  314. gap: 5px;
  315. }
  316. .quiet-button {
  317. color: var(--brand-strong);
  318. background: transparent;
  319. border: 0;
  320. }
  321. .word-select-list > button {
  322. display: grid;
  323. width: 100%;
  324. min-height: 68px;
  325. grid-template-columns: 24px minmax(0, 1fr) 36px;
  326. align-items: center;
  327. padding: 9px 14px;
  328. color: var(--ink);
  329. text-align: left;
  330. background: white;
  331. border: 0;
  332. border-bottom: 1px solid var(--line);
  333. gap: 10px;
  334. }
  335. .word-select-list > button.selected {
  336. background: var(--brand-pale);
  337. }
  338. .word-select-list .check,
  339. .record-check,
  340. .anti-check {
  341. display: grid;
  342. width: 20px;
  343. height: 20px;
  344. padding: 0;
  345. color: white;
  346. background: white;
  347. border: 1px solid var(--line);
  348. border-radius: 4px;
  349. place-items: center;
  350. }
  351. .word-select-list button.selected .check,
  352. .record-list article.selected .record-check,
  353. .anti-check.active {
  354. background: var(--brand-strong);
  355. border-color: var(--brand-strong);
  356. }
  357. .word-select-list button > span:nth-child(2) {
  358. display: flex;
  359. min-width: 0;
  360. flex-direction: column;
  361. gap: 4px;
  362. }
  363. .word-select-list strong {
  364. font-size: 16px;
  365. }
  366. .word-select-list small {
  367. overflow: hidden;
  368. color: var(--ink-soft);
  369. text-overflow: ellipsis;
  370. white-space: nowrap;
  371. }
  372. .word-select-list .audio {
  373. display: grid;
  374. width: 34px;
  375. height: 34px;
  376. color: var(--brand-strong);
  377. place-items: center;
  378. }
  379. .stage-banner,
  380. .game-heading,
  381. .anti-heading,
  382. .exam-status {
  383. display: flex;
  384. min-height: 68px;
  385. align-items: center;
  386. justify-content: space-between;
  387. padding: 13px 16px;
  388. background: white;
  389. border-bottom: 1px solid var(--line);
  390. gap: 12px;
  391. }
  392. .stage-banner > div,
  393. .anti-heading > div {
  394. display: flex;
  395. flex-direction: column;
  396. gap: 3px;
  397. }
  398. .stage-banner span,
  399. .anti-heading span,
  400. .game-heading span {
  401. color: var(--ink-soft);
  402. font-size: 12px;
  403. }
  404. .stage-banner strong,
  405. .anti-heading strong {
  406. font-size: 17px;
  407. }
  408. .stage-banner > button {
  409. display: grid;
  410. width: 40px;
  411. height: 40px;
  412. padding: 0;
  413. color: var(--brand-strong);
  414. background: var(--brand-pale);
  415. border: 0;
  416. border-radius: 50%;
  417. place-items: center;
  418. }
  419. .repeat-dots {
  420. display: flex;
  421. flex-direction: row !important;
  422. gap: 5px !important;
  423. }
  424. .repeat-dots i {
  425. width: 9px;
  426. height: 9px;
  427. background: var(--line);
  428. border-radius: 50%;
  429. }
  430. .repeat-dots i.done {
  431. background: #df9e2b;
  432. }
  433. .sticky-actions {
  434. position: fixed;
  435. z-index: 20;
  436. right: 0;
  437. bottom: 0;
  438. left: 0;
  439. display: grid;
  440. grid-template-columns: repeat(2, minmax(0, 1fr));
  441. padding: 10px max(14px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  442. background: rgb(255 255 255 / 96%);
  443. border-top: 1px solid var(--line);
  444. box-shadow: 0 -5px 18px rgb(18 49 43 / 7%);
  445. gap: 9px;
  446. }
  447. .sticky-actions.single {
  448. grid-template-columns: minmax(0, 1fr);
  449. }
  450. .sticky-actions button {
  451. display: flex;
  452. min-height: 48px;
  453. align-items: center;
  454. justify-content: center;
  455. gap: 6px;
  456. }
  457. .danger-button {
  458. color: white;
  459. background: var(--danger);
  460. border: 1px solid var(--danger);
  461. border-radius: var(--radius-md);
  462. }
  463. .game-heading strong {
  464. color: var(--brand-strong);
  465. }
  466. .match-grid {
  467. display: grid;
  468. grid-template-columns: repeat(2, minmax(0, 1fr));
  469. padding: 14px;
  470. gap: 10px;
  471. }
  472. .match-grid > div {
  473. display: grid;
  474. align-content: start;
  475. gap: 9px;
  476. }
  477. .match-grid button {
  478. display: flex;
  479. min-height: 58px;
  480. align-items: center;
  481. justify-content: center;
  482. padding: 8px 10px;
  483. overflow-wrap: anywhere;
  484. color: var(--ink);
  485. background: white;
  486. border: 1px solid var(--line);
  487. border-radius: var(--radius-md);
  488. gap: 6px;
  489. }
  490. .match-grid button.active {
  491. color: white;
  492. background: var(--brand-strong);
  493. border-color: var(--brand-strong);
  494. }
  495. .study-progress {
  496. display: grid;
  497. grid-template-columns: minmax(0, 1fr) auto;
  498. align-items: center;
  499. padding: 18px 18px 0;
  500. gap: 12px;
  501. }
  502. .study-progress > div {
  503. height: 6px;
  504. overflow: hidden;
  505. background: var(--line);
  506. border-radius: 3px;
  507. }
  508. .study-progress > div span {
  509. display: block;
  510. height: 100%;
  511. background: var(--brand-strong);
  512. transition: width .2s ease;
  513. }
  514. .study-progress strong {
  515. color: var(--ink-soft);
  516. font-size: 12px;
  517. }
  518. .listen-panel {
  519. display: flex;
  520. min-height: 210px;
  521. align-items: center;
  522. justify-content: center;
  523. padding: 24px;
  524. flex-direction: column;
  525. gap: 15px;
  526. }
  527. .listen-button {
  528. display: grid;
  529. width: 82px;
  530. height: 82px;
  531. padding: 0;
  532. color: white;
  533. background: var(--brand-strong);
  534. border: 0;
  535. border-radius: 50%;
  536. box-shadow: 0 9px 22px rgb(39 125 105 / 24%);
  537. place-items: center;
  538. }
  539. .listen-panel p {
  540. margin: 0;
  541. color: var(--ink-soft);
  542. }
  543. .option-list {
  544. display: grid;
  545. padding: 0 16px 22px;
  546. gap: 9px;
  547. }
  548. .option-list button,
  549. .exam-options button {
  550. min-height: 52px;
  551. padding: 10px 14px;
  552. color: var(--ink);
  553. text-align: left;
  554. background: white;
  555. border: 1px solid var(--line);
  556. border-radius: var(--radius-md);
  557. }
  558. .spelling-card {
  559. position: relative;
  560. display: flex;
  561. min-height: 340px;
  562. align-items: center;
  563. justify-content: center;
  564. margin: 18px;
  565. padding: 38px 20px 24px;
  566. text-align: center;
  567. background: white;
  568. border: 1px solid var(--line);
  569. border-radius: 8px;
  570. box-shadow: 0 10px 28px rgb(30 60 52 / 8%);
  571. flex-direction: column;
  572. }
  573. .spelling-card > p {
  574. margin: 0 46px 22px;
  575. color: var(--ink-soft);
  576. line-height: 1.6;
  577. }
  578. .audio-main {
  579. position: absolute;
  580. top: 14px;
  581. right: 14px;
  582. display: grid;
  583. width: 42px;
  584. height: 42px;
  585. padding: 0;
  586. color: var(--brand-strong);
  587. background: var(--brand-pale);
  588. border: 0;
  589. border-radius: 50%;
  590. place-items: center;
  591. }
  592. .assembled {
  593. width: min(100%, 320px);
  594. min-height: 55px;
  595. margin-bottom: 24px;
  596. padding: 10px 12px;
  597. color: #8a5b12;
  598. font-size: 28px;
  599. font-weight: 750;
  600. line-height: 35px;
  601. background: #fff7e7;
  602. border-bottom: 2px solid #df9e2b;
  603. overflow-wrap: anywhere;
  604. }
  605. .assembled.correct {
  606. color: var(--brand-strong);
  607. background: var(--brand-pale);
  608. border-color: var(--brand-strong);
  609. }
  610. .letter-grid {
  611. display: flex;
  612. max-width: 360px;
  613. justify-content: center;
  614. flex-wrap: wrap;
  615. gap: 8px;
  616. }
  617. .letter-grid button {
  618. width: 46px;
  619. height: 46px;
  620. padding: 0;
  621. color: var(--ink);
  622. font-size: 20px;
  623. font-weight: 700;
  624. background: white;
  625. border: 1px solid var(--line);
  626. border-radius: var(--radius-md);
  627. }
  628. .letter-grid button:disabled {
  629. color: transparent;
  630. background: #f2f4f3;
  631. }
  632. .review-summary,
  633. .report-numbers {
  634. display: grid;
  635. grid-template-columns: repeat(3, 1fr);
  636. padding: 18px 0;
  637. background: white;
  638. border-bottom: 1px solid var(--line);
  639. }
  640. .review-summary div,
  641. .report-numbers div {
  642. display: flex;
  643. align-items: center;
  644. justify-content: center;
  645. flex-direction: column;
  646. gap: 4px;
  647. }
  648. .review-summary strong,
  649. .report-numbers strong {
  650. color: var(--brand-strong);
  651. font-size: 22px;
  652. }
  653. .review-summary span,
  654. .report-numbers span {
  655. color: var(--ink-soft);
  656. font-size: 11px;
  657. }
  658. .review-list {
  659. display: grid;
  660. padding: 12px;
  661. gap: 10px;
  662. }
  663. .review-list article {
  664. background: white;
  665. border: 1px solid var(--line);
  666. border-radius: var(--radius-md);
  667. }
  668. .word-audio {
  669. display: flex;
  670. width: 100%;
  671. min-height: 62px;
  672. align-items: center;
  673. justify-content: space-between;
  674. padding: 10px 13px;
  675. color: var(--ink);
  676. text-align: left;
  677. background: transparent;
  678. border: 0;
  679. border-bottom: 1px solid var(--line);
  680. }
  681. .word-audio span {
  682. display: flex;
  683. min-width: 0;
  684. flex-direction: column;
  685. gap: 3px;
  686. }
  687. .word-audio small {
  688. overflow: hidden;
  689. color: var(--ink-soft);
  690. text-overflow: ellipsis;
  691. white-space: nowrap;
  692. }
  693. .review-buttons {
  694. display: grid;
  695. grid-template-columns: repeat(2, minmax(0, 1fr));
  696. }
  697. .review-buttons button {
  698. display: flex;
  699. min-height: 43px;
  700. align-items: center;
  701. justify-content: center;
  702. color: var(--ink-soft);
  703. background: transparent;
  704. border: 0;
  705. gap: 5px;
  706. }
  707. .review-buttons button + button {
  708. border-left: 1px solid var(--line);
  709. }
  710. .review-buttons button:first-child.active {
  711. color: var(--brand-strong);
  712. background: var(--brand-pale);
  713. }
  714. .review-buttons button:last-child.active {
  715. color: var(--danger);
  716. background: #fff0ef;
  717. }
  718. .calendar-list > button,
  719. .calendar-list > article {
  720. display: grid;
  721. width: 100%;
  722. min-height: 78px;
  723. grid-template-columns: 76px minmax(0, 1fr) auto;
  724. align-items: center;
  725. padding: 10px 14px;
  726. color: var(--ink);
  727. text-align: left;
  728. background: white;
  729. border: 0;
  730. border-bottom: 1px solid var(--line);
  731. gap: 10px;
  732. }
  733. .memory-date-tasks .calendar-list article {
  734. grid-template-columns: 68px minmax(0, 1fr) auto;
  735. }
  736. .memory-date-tasks .calendar-list article:last-child {
  737. border-bottom: 0;
  738. }
  739. .memory-date-tasks .calendar-list article > div {
  740. min-width: 0;
  741. }
  742. .memory-date-tasks .calendar-list article > div > small {
  743. display: block;
  744. }
  745. .task-heading {
  746. display: flex;
  747. min-width: 0;
  748. align-items: center;
  749. gap: 7px;
  750. }
  751. .task-heading > strong {
  752. min-width: 0;
  753. overflow: hidden;
  754. font-size: 14px;
  755. text-overflow: ellipsis;
  756. white-space: nowrap;
  757. }
  758. .review-sequence {
  759. flex: none;
  760. padding: 2px 6px;
  761. color: var(--brand-strong);
  762. font-size: 10px;
  763. font-style: normal;
  764. font-weight: 700;
  765. background: var(--brand-pale);
  766. border-radius: 4px;
  767. }
  768. .memory-date-tasks .calendar-list article > div > small {
  769. margin-top: 5px;
  770. overflow: hidden;
  771. color: var(--ink-soft);
  772. font-size: 11px;
  773. text-overflow: ellipsis;
  774. white-space: nowrap;
  775. }
  776. .memory-date-tasks .calendar-list .first-learned-at {
  777. margin-top: 3px;
  778. color: var(--brand-strong);
  779. font-weight: 650;
  780. }
  781. .memory-date-tasks .calendar-list article > div em {
  782. margin-left: 6px;
  783. font-style: normal;
  784. }
  785. .task-state {
  786. color: var(--ink-soft);
  787. font-size: 11px;
  788. }
  789. .task-state i {
  790. display: inline-block;
  791. width: 7px;
  792. height: 7px;
  793. margin-right: 5px;
  794. background: #aeb7b3;
  795. border-radius: 50%;
  796. }
  797. .calendar-list article.ready .task-state { color: #956114; }
  798. .calendar-list article.ready .task-state i { background: #dfa34a; }
  799. .calendar-list article.completed .task-state { color: var(--brand-strong); }
  800. .calendar-list article.completed .task-state i { background: #78bca6; }
  801. .memory-date-tasks .calendar-list article > button {
  802. min-height: 36px;
  803. padding: 0 12px;
  804. color: white;
  805. font-size: 12px;
  806. font-weight: 700;
  807. background: var(--brand-strong);
  808. border: 0;
  809. border-radius: 6px;
  810. }
  811. .memory-date-tasks .calendar-list article > button:disabled {
  812. color: var(--ink-soft);
  813. background: #eef1f0;
  814. }
  815. .memory-empty {
  816. display: flex;
  817. min-height: 150px;
  818. align-items: center;
  819. justify-content: center;
  820. padding: 28px 20px;
  821. color: var(--ink-soft);
  822. text-align: center;
  823. flex-direction: column;
  824. }
  825. .memory-empty strong {
  826. margin-top: 9px;
  827. color: var(--ink);
  828. font-size: 14px;
  829. }
  830. .memory-empty span {
  831. margin-top: 5px;
  832. font-size: 11px;
  833. }
  834. .calendar-list .date {
  835. color: var(--ink-soft);
  836. font-size: 12px;
  837. white-space: nowrap;
  838. }
  839. .calendar-list button > span:nth-child(2) {
  840. display: flex;
  841. min-width: 0;
  842. flex-direction: column;
  843. gap: 4px;
  844. }
  845. .calendar-list small {
  846. overflow: hidden;
  847. color: var(--ink-soft);
  848. text-overflow: ellipsis;
  849. white-space: nowrap;
  850. }
  851. .calendar-list em {
  852. color: var(--ink-soft);
  853. font-size: 12px;
  854. font-style: normal;
  855. }
  856. .calendar-list button.ready em {
  857. color: var(--brand-strong);
  858. font-weight: 700;
  859. }
  860. .record-overview {
  861. padding: 18px 16px 14px;
  862. color: white;
  863. background: linear-gradient(135deg, var(--brand-deep), var(--brand-strong));
  864. }
  865. .record-overview > header {
  866. display: flex;
  867. align-items: center;
  868. justify-content: space-between;
  869. gap: 12px;
  870. }
  871. .record-overview header span,
  872. .record-overview header strong {
  873. display: block;
  874. }
  875. .record-overview header span {
  876. color: rgb(255 255 255 / 72%);
  877. font-size: 11px;
  878. }
  879. .record-overview header strong {
  880. margin-top: 3px;
  881. font-size: 19px;
  882. }
  883. .record-overview header b {
  884. font-size: 18px;
  885. }
  886. .record-overview > div {
  887. display: grid;
  888. margin-top: 14px;
  889. padding-top: 12px;
  890. border-top: 1px solid rgb(255 255 255 / 18%);
  891. grid-template-columns: repeat(2, minmax(0, 1fr));
  892. }
  893. .record-overview > div span {
  894. text-align: center;
  895. border-right: 1px solid rgb(255 255 255 / 18%);
  896. }
  897. .record-overview > div span:last-child { border-right: 0; }
  898. .record-overview > div strong,
  899. .record-overview > div small { display: block; }
  900. .record-overview > div strong { font-size: 18px; }
  901. .record-overview > div small { margin-top: 2px; color: rgb(255 255 255 / 72%); font-size: 10px; }
  902. .record-tip {
  903. padding: 14px 16px;
  904. color: #6a4a11;
  905. font-size: 13px;
  906. line-height: 1.6;
  907. background: #fff7e7;
  908. border-bottom: 1px solid #f3d697;
  909. }
  910. .record-list article {
  911. display: grid;
  912. min-height: 76px;
  913. grid-template-columns: 24px minmax(0, 1fr);
  914. align-items: center;
  915. padding: 8px 14px;
  916. border-bottom: 1px solid var(--line);
  917. gap: 10px;
  918. }
  919. .record-word {
  920. color: var(--ink);
  921. text-align: left;
  922. background: transparent;
  923. border: 0;
  924. }
  925. .record-word {
  926. display: grid;
  927. width: 100%;
  928. min-width: 0;
  929. min-height: 58px;
  930. grid-template-columns: 28px minmax(0, 1fr) 28px;
  931. align-items: center;
  932. padding: 5px 0;
  933. gap: 8px;
  934. }
  935. .record-index {
  936. color: var(--ink-soft);
  937. font-size: 12px;
  938. text-align: center;
  939. }
  940. .record-copy {
  941. display: flex;
  942. min-width: 0;
  943. flex-direction: column;
  944. gap: 3px;
  945. }
  946. .record-copy small {
  947. overflow: hidden;
  948. color: var(--ink-soft);
  949. font-size: 10px;
  950. text-overflow: ellipsis;
  951. white-space: nowrap;
  952. }
  953. .record-copy strong {
  954. overflow-wrap: anywhere;
  955. font-size: 16px;
  956. line-height: 1.45;
  957. }
  958. .record-word lucide-icon {
  959. color: var(--brand-strong);
  960. justify-self: center;
  961. }
  962. .record-list article.revealed {
  963. background: var(--brand-pale);
  964. }
  965. .record-list article.selected {
  966. box-shadow: inset 3px 0 0 var(--brand-strong);
  967. }
  968. .anti-heading > span {
  969. max-width: 145px;
  970. text-align: right;
  971. line-height: 1.5;
  972. }
  973. .anti-grid {
  974. display: grid;
  975. grid-template-columns: repeat(2, minmax(0, 1fr));
  976. padding: 12px;
  977. gap: 9px;
  978. }
  979. .anti-grid article {
  980. position: relative;
  981. min-height: 78px;
  982. overflow: hidden;
  983. background: white;
  984. border: 1px solid var(--line);
  985. border-radius: var(--radius-md);
  986. }
  987. .anti-grid article.seen {
  988. border-color: #9ccfbe;
  989. }
  990. .anti-check {
  991. position: absolute;
  992. z-index: 2;
  993. top: 8px;
  994. left: 8px;
  995. }
  996. .anti-word {
  997. width: 100%;
  998. min-height: 78px;
  999. padding: 12px 10px 10px 35px;
  1000. overflow-wrap: anywhere;
  1001. color: var(--ink);
  1002. font-weight: 700;
  1003. background: transparent;
  1004. border: 0;
  1005. }
  1006. .anti-grid article.seen .anti-word {
  1007. color: var(--brand-strong);
  1008. background: var(--brand-pale);
  1009. }
  1010. .exam-intro,
  1011. .report {
  1012. display: flex;
  1013. min-height: calc(100dvh - 118px);
  1014. align-items: center;
  1015. padding: 32px 20px;
  1016. text-align: center;
  1017. background: white;
  1018. flex-direction: column;
  1019. }
  1020. .exam-mark,
  1021. .report-icon {
  1022. display: grid;
  1023. width: 74px;
  1024. height: 74px;
  1025. margin-top: 18px;
  1026. color: #8a5b12;
  1027. background: #fff3d9;
  1028. border-radius: 50%;
  1029. place-items: center;
  1030. }
  1031. .exam-intro h2,
  1032. .report h2 {
  1033. margin: 18px 0 5px;
  1034. font-size: 23px;
  1035. letter-spacing: 0;
  1036. }
  1037. .exam-intro p,
  1038. .report p {
  1039. margin: 0;
  1040. color: var(--ink-soft);
  1041. }
  1042. .previous-exam {
  1043. width: min(100%, 520px);
  1044. margin: 24px 0 4px;
  1045. padding: 16px 0;
  1046. border: solid var(--line);
  1047. border-width: 1px 0;
  1048. text-align: left;
  1049. }
  1050. .previous-exam > header {
  1051. display: flex;
  1052. align-items: center;
  1053. justify-content: space-between;
  1054. }
  1055. .previous-exam > header span {
  1056. color: var(--ink-soft);
  1057. }
  1058. .previous-exam > header strong {
  1059. color: var(--brand-strong);
  1060. font-size: 20px;
  1061. }
  1062. .previous-stats {
  1063. display: grid;
  1064. margin: 16px 0;
  1065. grid-template-columns: repeat(4, minmax(0, 1fr));
  1066. }
  1067. .previous-stats span {
  1068. display: flex;
  1069. min-width: 0;
  1070. align-items: center;
  1071. padding: 7px 5px;
  1072. border-right: 1px solid var(--line);
  1073. text-align: center;
  1074. flex-direction: column;
  1075. }
  1076. .previous-stats span:last-child {
  1077. border-right: 0;
  1078. }
  1079. .previous-stats strong {
  1080. font-size: 20px;
  1081. }
  1082. .previous-stats small {
  1083. color: var(--ink-soft);
  1084. }
  1085. .exam-guidance {
  1086. padding-top: 14px;
  1087. border-top: 1px solid var(--line);
  1088. }
  1089. .exam-guidance strong {
  1090. display: block;
  1091. margin: 10px 0 4px;
  1092. color: var(--ink);
  1093. font-size: 14px;
  1094. }
  1095. .exam-guidance p {
  1096. color: var(--ink-soft);
  1097. line-height: 1.7;
  1098. }
  1099. .exam-intro > button,
  1100. .report > button {
  1101. display: flex;
  1102. width: min(100%, 320px);
  1103. min-height: 48px;
  1104. align-items: center;
  1105. justify-content: center;
  1106. margin-top: 18px;
  1107. gap: 7px;
  1108. }
  1109. .report > button + button {
  1110. margin-top: 10px;
  1111. }
  1112. .report-numbers {
  1113. width: 100%;
  1114. margin: 28px 0 4px;
  1115. border: solid var(--line);
  1116. border-width: 1px 0;
  1117. }
  1118. .compact-report {
  1119. min-height: calc(100dvh - 118px);
  1120. }
  1121. .exam-status strong {
  1122. display: flex;
  1123. align-items: center;
  1124. color: #9b6011;
  1125. gap: 5px;
  1126. }
  1127. .question-card {
  1128. margin: 16px;
  1129. padding: 24px 18px;
  1130. background: white;
  1131. border: 1px solid var(--line);
  1132. border-radius: 8px;
  1133. }
  1134. .question-word {
  1135. margin: 0 0 26px;
  1136. color: var(--brand-strong);
  1137. font-size: 32px;
  1138. font-weight: 700;
  1139. line-height: 1.25;
  1140. overflow-wrap: anywhere;
  1141. }
  1142. .exam-options {
  1143. display: grid;
  1144. gap: 9px;
  1145. }
  1146. .empty-state.error > div,
  1147. .empty-state > div {
  1148. display: grid;
  1149. justify-items: center;
  1150. gap: 9px;
  1151. }
  1152. @media (min-width: 760px) {
  1153. .learning-page {
  1154. max-width: 760px;
  1155. margin: 0 auto;
  1156. border-right: 1px solid var(--line);
  1157. border-left: 1px solid var(--line);
  1158. }
  1159. .sticky-actions {
  1160. right: max(0px, calc((100vw - 760px) / 2));
  1161. left: max(0px, calc((100vw - 760px) / 2));
  1162. }
  1163. }
  1164. @media (max-width: 430px) {
  1165. .selection-header {
  1166. align-items: flex-start;
  1167. }
  1168. .header-actions {
  1169. align-items: stretch;
  1170. flex-direction: column-reverse;
  1171. }
  1172. .header-actions button {
  1173. min-height: 30px;
  1174. }
  1175. .calendar-list > button {
  1176. grid-template-columns: 82px minmax(0, 1fr);
  1177. }
  1178. .calendar-list em {
  1179. grid-column: 2;
  1180. }
  1181. }