learning-theory-test.css 15 KB

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