testing.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  1. .testing-container-cover {
  2. max-width: 980px;
  3. margin: auto;
  4. }
  5. .testing-process {
  6. background: #CFCFCF;
  7. width: 100%;
  8. height: 6px;
  9. position: relative;
  10. }
  11. .testing-process .testing-process-bar {
  12. display: inline-block;
  13. width: 0%;
  14. height: 100%;
  15. position: absolute;
  16. left: 0px;
  17. top: 0;
  18. transition: 0.5s all ease-out;
  19. background: linear-gradient(to right, #F8D323 0%, #FAAB00 100%);
  20. }
  21. .testing-countdown {
  22. display: inline-block;
  23. width: 34px;
  24. height: 34px;
  25. text-align: center;
  26. margin: auto 0px auto auto;
  27. position: absolute;
  28. right: 8px;
  29. top: 38px;
  30. z-index: 4;
  31. }
  32. .testing-countdown-number {
  33. color: #000000;
  34. display: inline-block;
  35. line-height: 34px;
  36. width: 100%;
  37. height: 100%;
  38. border: 0px;
  39. border-radius: 50%;
  40. font-family: opensanssemibold;
  41. font-size: 14px;
  42. }
  43. .testing-countdown svg {
  44. position: absolute;
  45. top: 0;
  46. right: 0;
  47. width: 100%;
  48. height: 100%;
  49. transform: rotate(90deg) rotateY(180deg);
  50. }
  51. .testing-countdown svg circle.circle-shadow {
  52. width: 100%;
  53. height: 100%;
  54. stroke-width: 2px;
  55. stroke: rgba(0, 0, 0, .1);
  56. fill: none;
  57. }
  58. .testing-countdown svg circle.circle {
  59. width: 100%;
  60. height: 100%;
  61. stroke-dasharray: 101px;
  62. stroke-dashoffset: 0px;
  63. stroke-linecap: round;
  64. stroke-width: 2px;
  65. fill: none;
  66. }
  67. .testing-body {
  68. display: flex;
  69. overflow-x: hidden;
  70. overflow-y: auto;
  71. height: calc(100vh - 80px);
  72. max-height: calc(430px + 70px + 70px);
  73. padding: 0px 15px;
  74. }
  75. .testing-body-cover {
  76. padding: 30px 0px;
  77. margin: auto;
  78. width: 100%;
  79. min-height: calc(430px + 30px + 30px);
  80. position: relative;
  81. }
  82. .testing-exercise.exercise-current {
  83. position: relative;
  84. z-index: 3;
  85. top: auto;
  86. left: auto;
  87. }
  88. .testing-exercise {
  89. position: absolute;
  90. width: 100%;
  91. left: 0px;
  92. top: 30px;
  93. display: none;
  94. z-index: 4;
  95. border-radius: 7px;
  96. }
  97. .testing-exercise-flashcard {
  98. border-radius: 7px;
  99. margin-bottom: 6px;
  100. }
  101. .testing-exercise-answer {
  102. position: relative;
  103. border-radius: 7px;
  104. background: #fff;
  105. padding: 15px;
  106. box-shadow: 0px 0px 15px 2px #CFCFCF;
  107. min-height: 160px;
  108. }
  109. .testing-exercise-content {
  110. position: relative;
  111. width: 100%;
  112. height: 100%;
  113. display: inline-block;
  114. }
  115. .testing-exercise-result-cover {
  116. width: 100%;
  117. margin: auto;
  118. height: 100%;
  119. padding: 22px 70px 20px 30px;
  120. position: relative;
  121. }
  122. .testing-exercise-title {
  123. font-family: opensanssemibold;
  124. font-size: 18px;
  125. color: #4C4C4C;
  126. margin-top: 35px;
  127. margin-bottom: 0px;
  128. text-align: center;
  129. margin-top: 50px;
  130. }
  131. .testing-exercise.show-answer .testing-exercise-answer::after {
  132. content: "";
  133. display: inline-block;
  134. width: 100%;
  135. height: 100%;
  136. left: 0px;
  137. top: 0px;
  138. z-index: 10;
  139. position: absolute;
  140. }
  141. .testing-exercise-quesiton .question-phonetic {
  142. font-family: segoeui;
  143. font-size: 15px;
  144. color: var(--color-blue-text);
  145. margin-bottom: 0px;
  146. line-height: 20px;
  147. position: relative;
  148. text-align: center;
  149. }
  150. .testing-exercise-quesiton .question-sound {
  151. display: block;
  152. width: 35px;
  153. height: 35px;
  154. background: url('../imgs/learning-icon-bg.svg?n=103') 0px -165px;
  155. background-color: var(--color--blue-text);
  156. border-radius: 50%;
  157. vertical-align: middle;
  158. text-decoration: none;
  159. outline: 0px;
  160. margin: 45px auto 15px;
  161. }
  162. .testing-exercise-quesiton .question-sound.sound-large {
  163. background-position: 0px -3280px;
  164. width: 80px;
  165. height: 80px;
  166. position: relative;
  167. margin-top: 30px;
  168. }
  169. .testing-exercise-quesiton .question-sound.sound-active {
  170. animation: animateSound 1.5s infinite linear;
  171. }
  172. .testing-exercise-answer .answer-cover {
  173. /*width: 410px;*/
  174. text-align: center;
  175. margin: auto;
  176. }
  177. .testing-exercise-answer.answer-long .answer-cover {
  178. width: 100%;
  179. text-align: left;
  180. margin: auto;
  181. }
  182. .testing-exercise-answer.answer-writing {
  183. display: flex;
  184. }
  185. .testing-exercise-answer.answer-writing .answer-cover {
  186. width: 100%;
  187. max-width: 470px;
  188. margin: auto;
  189. display: flex;
  190. }
  191. .testing-exercise-answer .answer-guessing {
  192. width: calc(50% - 20px);
  193. height: 70px;
  194. border: 1px solid #CFCFCF;
  195. border-bottom-width: 2px;
  196. border-radius: 4px;
  197. display: inline-flex;
  198. margin: 7px;
  199. text-decoration: none;
  200. outline: 0px;
  201. transition: 0.2s all ease;
  202. vertical-align: bottom;
  203. overflow: hidden;
  204. }
  205. .testing-exercise-answer .answer-guessing:active {
  206. border-bottom-width: 1px;
  207. height: 49px;
  208. }
  209. @media (max-width: 767px) {
  210. .testing-exercise-answer .answer-guessing {
  211. width: calc(100% - 20px) !important;
  212. }
  213. }
  214. .testing-exercise-quesiton .question-word {
  215. font-family: opensansregular;
  216. font-size: 16px;
  217. color: var(--color-blue-text);
  218. padding-top: 50px;
  219. margin: 0px;
  220. text-align: center;
  221. line-height: 22px;
  222. }
  223. .testing-exercise-quesiton .question-word span {
  224. font-family: opensanslight;
  225. color: var(--color-gray);
  226. }
  227. .testing-exercise-quesiton .question-hint {
  228. text-align: center;
  229. }
  230. .testing-exercise-quesiton .question-hint .hint-image {
  231. width: 108px;
  232. height: 108px;
  233. border: 3px solid #fff;
  234. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .1);
  235. margin-top: 15px;
  236. }
  237. .testing-exercise-quesiton .question-hint .hint-word {
  238. font-family: opensansregular;
  239. font-size: 16px;
  240. color: var(--color-blue-text);
  241. margin: 15px auto auto;
  242. line-height: 22px;
  243. text-align: center;
  244. }
  245. .testing-exercise-quesiton .question-hint .hint-word span {
  246. color: var(--color-gray);
  247. font-family: opensanslight;
  248. }
  249. .testing-exercise-quesiton .question-hint .question-sound {
  250. position: relative;
  251. margin: auto 0px;
  252. }
  253. .testing-exercise-quesiton .question-hint .hint-missing-sentence {
  254. font-family: opensansregular;
  255. font-size: 16px;
  256. line-height: 22px;
  257. color: var(--color-default-text);
  258. margin: auto 0px auto auto;
  259. width: calc(100% - 45px - 30px);
  260. }
  261. .testing-exercise-quesiton .question-definition {
  262. font-family: opensansregular;
  263. font-size: 16px;
  264. color: var(--color-blue-text);
  265. line-height: 22px;
  266. margin: 0px;
  267. margin-top: 60px;
  268. text-align: center;
  269. }
  270. .testing-exercise-quesiton .question-definition span {
  271. color: var(--color-gray);
  272. font-family: opensanslight;
  273. margin-right: 10px;
  274. }
  275. .testing-exercise-quesiton .question-sample-sentence {
  276. font-family: opensansregular;
  277. font-size: 16px;
  278. color: var(--color-blue-text);
  279. line-height: 22px;
  280. margin: auto;
  281. margin-bottom: 0px;
  282. margin-top: 60px;
  283. text-align: center;
  284. max-width: 430px;
  285. }
  286. .testing-exercise-quesiton .question-missing-sentence {
  287. font-family: opensansregular;
  288. font-size: 16px;
  289. color: var(--color-blue-text);
  290. line-height: 22px;
  291. margin-bottom: 15px;
  292. margin-top: 35px;
  293. text-align: center;
  294. }
  295. .testing-exercise-quesiton .question-missing-sentence.sentence-second {
  296. font-family: opensanslight;
  297. color: var(--color-text-default);
  298. margin-top: 0px;
  299. }
  300. .testing-exercise-quesiton .question-translate-sentence {
  301. font-family: opensanslight;
  302. font-size: 16px;
  303. color: var(--color-default-text);
  304. line-height: 22px;
  305. max-width: 430px;
  306. margin: auto;
  307. text-align: center;
  308. }
  309. .testing-exercise[type='13'] .testing-exercise-quesiton .question-translate-sentence {
  310. font-family: segoeui;
  311. }
  312. .testing-exercise-quesiton .question-translate-sentence span {
  313. font-family: opensanslight;
  314. color: var(--color-gray);
  315. margin-right: 15px;
  316. }
  317. .testing-exercise.show-answer .testing-exercise-answer .answer-guessing {
  318. opacity: 0.3;
  319. transition: all 0.3s linear;
  320. }
  321. .testing-exercise.show-answer .testing-exercise-answer .answer-guessing.choose-right {
  322. border-color: var(--color-green-bg);
  323. background: var(--color-green-bg);
  324. transition: all 0.3s linear;
  325. opacity: 1;
  326. border-bottom: 1px solid #66BF10;
  327. }
  328. .testing-exercise.show-answer .testing-exercise-answer .answer-guessing.choose-wrong {
  329. border-color: var(--color-wrong);
  330. background: var(--color-wrong);
  331. transition: all 0.3s linear;
  332. opacity: 1;
  333. border-bottom: 1px solid #C93540;
  334. }
  335. .choose-answer {
  336. border-color: var(--color-green-bg);
  337. background: var(--color-green-bg);
  338. transition: all 0.3s linear;
  339. opacity: 1;
  340. border-bottom: 1px solid #C93540;
  341. }
  342. .testing-exercise-answer .answer-guessing .guessing-icon {
  343. display: inline-block;
  344. width: 32px;
  345. height: 32px;
  346. margin: auto 0px auto 8px;
  347. position: relative;
  348. border-radius: 50%;
  349. }
  350. .testing-exercise-answer .answer-guessing.choose-right .guessing-icon, .testing-exercise-answer .answer-guessing.choose-wrong .guessing-icon {
  351. background: #fff;
  352. transition: all 0.1s;
  353. }
  354. .testing-exercise-answer .answer-guessing .guessing-icon::after {
  355. content: "";
  356. display: inline-block;
  357. width: 100%;
  358. height: 100%;
  359. border: 2px solid #CFCFCF;
  360. border-radius: 50%;
  361. position: absolute;
  362. left: 0px;
  363. top: 0px;
  364. }
  365. .testing-exercise-answer .answer-guessing.choose-right .guessing-icon::after {
  366. animation: showAnswer 0.3s linear forwards;
  367. }
  368. .testing-exercise-answer .answer-guessing.choose-wrong .guessing-icon::after {
  369. animation: showAnswer 0.3s linear forwards;
  370. }
  371. .testing-exercise-answer .answer-guessing .guessing-icon::before {
  372. content: "";
  373. display: inline-block;
  374. font: normal normal normal 14px/1 FontAwesome;
  375. font-size: 15px;
  376. text-rendering: auto;
  377. -webkit-font-smoothing: antialiased;
  378. -moz-osx-font-smoothing: grayscale;
  379. position: absolute;
  380. left: 50%;
  381. top: 50%;
  382. transform: translate(-50%, -50%);
  383. opacity: 0;
  384. transition: opacity 0.15s 0.15s linear;
  385. }
  386. .testing-exercise-answer .answer-guessing.choose-right .guessing-icon::before {
  387. content: "\f00c";
  388. opacity: 1;
  389. color: var(--color-green-text);
  390. }
  391. .testing-exercise-answer .answer-guessing.choose-wrong .guessing-icon::before {
  392. content: "\f00d";
  393. opacity: 1;
  394. color: var(--color-wrong);
  395. }
  396. .testing-exercise-answer .answer-guessing .guessing-text {
  397. font-family: opensanssemibold;
  398. font-size: 15px;
  399. color: #282828;
  400. margin: auto auto auto 0px;
  401. width: calc(100% - 0px);
  402. padding: 0px 15px;
  403. line-height: 19px;
  404. transition: all 0.15s linear;
  405. overflow: hidden;
  406. -webkit-line-clamp: 3;
  407. display: -webkit-box;
  408. -webkit-box-orient: vertical;
  409. }
  410. .testing-exercise-answer.answer-phonetic .answer-guessing .guessing-text {
  411. font-family: segoeui !important;
  412. font-weight: bold;
  413. }
  414. .testing-exercise-answer.answer-long .answer-guessing .guessing-text {
  415. font-family: opensansregular;
  416. }
  417. .testing-exercise-answer .answer-guessing:hover .guessing-text {
  418. color: var(--color-blue-text);
  419. }
  420. .testing-exercise-answer .answer-guessing.choose-right .guessing-text {
  421. color: #fff;
  422. font-family: opensanssemibold;
  423. }
  424. .testing-exercise-answer .answer-guessing.choose-wrong .guessing-text {
  425. color: #fff;
  426. }
  427. .testing-exercise-answer .answer-writing {
  428. height: 48px;
  429. width: calc(100% - 115px - 20px);
  430. padding: 0px 20px;
  431. border: 1px solid var(--color-blue-text);
  432. border-radius: 3px;
  433. outline: 0px;
  434. background: #fff;
  435. color: #282828;
  436. font-family: opensanssemibold;
  437. font-size: 16px;
  438. line-height: 22px;
  439. resize: none;
  440. }
  441. .testing-exercise-answer .answer-writing.answer-right {
  442. border-color: var(--color-green-text);
  443. background: var(--color-green-text);
  444. color: #fff;
  445. font-family: opensanssemibold;
  446. }
  447. .testing-exercise-answer .answer-writing.answer-wrong {
  448. border-color: var(--color-wrong);
  449. background: var(--color-wrong);
  450. color: #fff;
  451. }
  452. .testing-exercise-answer .answer-writing::placeholder {
  453. font-size: 15px;
  454. color: #777777;
  455. }
  456. .testing-exercise-answer .answer-check {
  457. display: inline-block;
  458. width: 115px;
  459. height: 48px;
  460. line-height: 48px;
  461. text-decoration: none;
  462. outline: 0px;
  463. border: 0px;
  464. text-align: center;
  465. font-family: opensanssemibold;
  466. font-size: 13px;
  467. color: #5D5D5D;
  468. background: #DDDDDD;
  469. border-radius: 3px;
  470. transition: all 0.2s ease;
  471. margin-left: auto;
  472. }
  473. .testing-exercise-answer .answer-check.check-active {
  474. background: var(--color-green-bg);
  475. color: #fff;
  476. }
  477. .testing-exercise-result .result-img {
  478. display: inline-block;
  479. width: 210px;
  480. height: 210px;
  481. padding: 5px;
  482. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .2);
  483. border-radius: 0px;
  484. overflow: hidden;
  485. float: left;
  486. }
  487. .testing-exercise-result .result-img img {
  488. width: 100%;
  489. height: 100%;
  490. border-radius: 1px;
  491. }
  492. .testing-exercise-result .result-content {
  493. display: inline-block;
  494. width: calc(100% - 260px - 50px);
  495. float: left;
  496. margin-left: 35px;
  497. }
  498. .testing-exercise-result .result-content-label {
  499. font-family: opensanssemibold;
  500. font-size: 12px;
  501. color: #707070;
  502. margin-bottom: 10px;
  503. }
  504. .testing-exercise-result .result-content-text-main {
  505. font-family: opensanssemibold;
  506. font-size: 18px;
  507. color: var(--color-blue-text);
  508. margin-bottom: 7px;
  509. }
  510. .testing-exercise-result .result-content-phonetic {
  511. font-family: segoeui;
  512. font-size: 14px;
  513. color: #9E9E9E;
  514. margin-bottom: 10px;
  515. }
  516. .testing-exercise-result .result-content-definition-vi {
  517. font-family: opensanssemibold;
  518. font-size: 15px;
  519. color: #4C4C4C;
  520. margin-bottom: 0px;
  521. }
  522. .testing-exercise-result .result-content-type {
  523. font-family: opensansregular;
  524. font-size: 15px;
  525. color: #474747;
  526. margin: 0px;
  527. margin-left: 30px;
  528. }
  529. .testing-exercise-result .result-content-sound {
  530. display: none;
  531. width: 25px;
  532. height: 25px;
  533. border-radius: 50%;
  534. background: url('../imgs/learning-icon-bg.svg') 0px -245px;
  535. background-color: var(--color-blue-text);
  536. vertical-align: middle;
  537. text-decoration: none;
  538. outline: 0px;
  539. }
  540. .testing-exercise-result .result-content-sound.sound-active {
  541. animation: animateSound 1.5s infinite linear;
  542. }
  543. .testing-exercise-result .result-content-line {
  544. margin: 0px;
  545. width: 100%;
  546. height: 1px;
  547. background: #E5E5E5;
  548. }
  549. .testing-exercise-result .result-content-example {
  550. font-family: opensansregular;
  551. font-size: 18px;
  552. color: var(--color-blue-text);
  553. margin-bottom: 5px;
  554. text-align: center;
  555. }
  556. .testing-exercise-result .result-content-example .text-blue {
  557. font-family: opensanssemibold;
  558. }
  559. .testing-exercise-result .result-content-example-translate {
  560. font-family: opensanslight;
  561. font-size: 16px;
  562. color: #474747;
  563. margin: 0px;
  564. text-align: center;
  565. }
  566. .testing-exercise-flashcard .flash-card-box {
  567. width: 100% !important;
  568. }
  569. .testing-exercise-flashcard .flash-card-box .slide {
  570. height: 260px;
  571. width: 100%;
  572. border-radius: 7px;
  573. background: #fff;
  574. box-shadow: 0px 0px 15px 2px #CFCFCF;
  575. }
  576. .testing-exercise-result {
  577. height: 100%;
  578. }
  579. .testing-exercise-result.result-text {
  580. padding: 15px;
  581. display: flex;
  582. }
  583. .testing-exercise-result.result-text .testing-exercise-result-cover {
  584. height: auto;
  585. padding: 0px;
  586. }
  587. @media (max-width: 767px) {
  588. .testing-exercise-result .result-img {
  589. width: 100px;
  590. height: 100px;
  591. float: none;
  592. display: block;
  593. margin: auto;
  594. }
  595. .testing-exercise-result .result-content {
  596. width: 100%;
  597. margin: auto;
  598. float: none;
  599. }
  600. .testing-body {
  601. max-height: calc(550px + 40px + 40px);
  602. }
  603. .testing-exercise-answer.answer-long .answer-guessing {
  604. width: 100%;
  605. margin-left: 0px;
  606. margin-right: 0px;
  607. }
  608. }
  609. @keyframes showAnswer {
  610. 0% {
  611. border-width: 2px;
  612. }
  613. 50% {
  614. border-width: 15px;
  615. }
  616. 100% {
  617. border-width: 0px;
  618. }
  619. }
  620. .learning-theory-flashcard .card-content-sound {
  621. display: inline-block;
  622. border-radius: 50%;
  623. width: 90px;
  624. height: 90px;
  625. background: url('../imgs/learning-voca-icon.svg') 0px -80px;
  626. background-color: #00BCEF;
  627. vertical-align: middle;
  628. text-decoration: none;
  629. outline: 0px;
  630. margin: auto;
  631. /* width: 90px;
  632. height: 90px;
  633. background: url('../imgs/learning-icon-bg.svg') 0px -80px;
  634. margin: auto;
  635. margin-top: 30px;
  636. cursor: pointer;
  637. border-radius: 50%;*/
  638. }
  639. .learning-theory-flashcard .card-content-phonetic .card-content-sound {
  640. margin-right: 15px;
  641. }
  642. .card-content-sound.sound-active {
  643. animation: animateSound 1.5s infinite linear;
  644. }