learning-flashcard.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. body{
  2. padding-bottom: 150px;
  3. }
  4. #learning-theory-kontext{
  5. max-width: 100%;
  6. height: 370px;
  7. }
  8. #learning-theory-kontext .flash-card-box{
  9. width: 100%!important;
  10. }
  11. #learning-theory-kontext .flash-card-box .slide{
  12. height: 250px;
  13. width: 100%;
  14. }
  15. .learning-theory-flash-card-content{
  16. height: 100%;
  17. background: #fff;
  18. border-radius: 5px;
  19. box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .2);
  20. padding: 20px 70px 20px 35px;
  21. position: relative;
  22. }
  23. .learning-theory-flash-card-content .card-img{
  24. display: inline-block;
  25. width: 210px;
  26. height: 210px;
  27. padding: 6px;
  28. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .2);
  29. border-radius: 3px;
  30. overflow: hidden;
  31. float: left;
  32. }
  33. .learning-theory-flash-card-content .card-img img{
  34. width: 100%;
  35. height: 100%;
  36. border-radius: 1px;
  37. }
  38. .learning-theory-flash-card-content .card-content{
  39. display: inline-block;
  40. width: calc(100% - 260px - 50px);
  41. float: left;
  42. margin-left: 35px;
  43. }
  44. .learning-theory-flash-card-content .card-number{
  45. display: inline-block;
  46. width: 30px;
  47. height: 30px;
  48. line-height: 28px;
  49. border-radius: 3px;
  50. border: 1px solid #00BAF4;
  51. background: #7FD5FF;
  52. color: #fff;
  53. font-family: opensansbold;
  54. font-size: 15px;
  55. text-align: center;
  56. position: absolute;
  57. right: 30px;
  58. top: 20px;
  59. }
  60. .learning-theory-flash-card-content .card-turn{
  61. display: inline-block;
  62. position: absolute;
  63. right: 30px;
  64. bottom: 15px;
  65. cursor: pointer;
  66. text-align: right;
  67. }
  68. .learning-theory-flash-card-content .card-turn .turn-icon{
  69. display: inline-block;
  70. width: 31px;
  71. height: 31px;
  72. background: url('../imgs/learning-icon-bg.svg') 0px -475px;
  73. margin-bottom: 5px;
  74. }
  75. .learning-theory-flash-card-content .card-turn .turn-text{
  76. display: block;
  77. font-family: opensanssemibold;
  78. font-size: 12px;
  79. color: var(--color-blue-text);
  80. line-height: 15px;
  81. }
  82. .learning-theory-body{
  83. padding: 40px 15px 10px;
  84. }
  85. .learning-theory-flashcard{
  86. max-width: 950px;
  87. margin: auto;
  88. }
  89. .learning-theory-flashcard .card-content-title{
  90. font-family: opensansregular;
  91. font-size: 13px;
  92. color: var(--color-blue-text);
  93. margin-bottom: 10px;
  94. margin-top: 10px;
  95. }
  96. .learning-theory-flashcard .card-content-text{
  97. font-family: opensansregular;
  98. font-size: 16px;
  99. color: #474747;
  100. margin-bottom: 10px;
  101. }
  102. .learning-theory-flashcard .card-content-line{
  103. margin: 0px;
  104. width: 100%;
  105. height: 1px;
  106. background: #E5E5E5;
  107. }
  108. .learning-theory-flashcard .card-content-text.text-blue{
  109. color: var(--color-blue-text);
  110. }
  111. .learning-theory-flashcard .card-content-text-large{
  112. font-family: opensanssemibold;
  113. font-size: 20px;
  114. margin-bottom: 10px;
  115. }
  116. .learning-theory-flashcard .card-content-phonetic{
  117. font-family: segoeui;
  118. font-size: 15px;
  119. color: #474747;
  120. margin-bottom: 10px;
  121. margin-top: 10px;
  122. }
  123. .learning-theory-flashcard .card-content-sound{
  124. display: inline-block;
  125. width: 25px;
  126. height: 25px;
  127. border-radius: 50%;
  128. background: url('../imgs/learning-icon-bg.svg') 0px -245px;
  129. background-color: #00BCEF;
  130. vertical-align: middle;
  131. text-decoration: none;
  132. outline: 0px;
  133. }
  134. .learning-theory-flashcard .card-content-phonetic .card-content-sound{
  135. margin-right: 15px;
  136. }
  137. .card-content-sound.sound-active{
  138. animation: animateSound 1.5s infinite linear;
  139. }
  140. .learning-theory-flashcard .card-content-text-main{
  141. font-family: opensanssemibold;
  142. font-size: 22px;
  143. color: var(--color-blue-text);
  144. margin-bottom: 13px;
  145. margin-top: 2px;
  146. }
  147. .learning-theory-flashcard .card-content-type{
  148. font-family: opensansregular;
  149. font-size: 15px;
  150. color: #474747;
  151. margin: 0px;
  152. margin-left: 30px;
  153. }
  154. .learning-theory-flashcard .card-content-type .card-content-sound{
  155. margin-left: 20px;
  156. }
  157. .learning-theory-flashcard .card-content-example{
  158. font-family: opensanslight;
  159. font-size: 16px;
  160. color: #474747;
  161. margin-top: 18px;
  162. margin-bottom: 17px;
  163. }
  164. .learning-theory-flashcard .card-content-example .example-button{
  165. display: inline-block;
  166. color: var(--color-blue-text);
  167. font-size: 20px;
  168. margin-left: 15px;
  169. cursor: pointer;
  170. text-decoration: none;
  171. outline: 0px;
  172. transition: 0.4s all ease;
  173. }
  174. .learning-theory-flashcard .card-content-example .example-button.example-show{
  175. transform: rotate(180deg);
  176. }
  177. .learning-theory-flashcard .card-content-example .card-content-sound{
  178. margin-right: 15px;
  179. float: left;
  180. }
  181. .learning-theory-flashcard .card-content-example .text-blue{
  182. color: var(--color-blue-text);
  183. font-family: opensansregular;
  184. }
  185. .learning-theory-flashcard .card-content-example-translate{
  186. font-family: opensanslight;
  187. font-size: 14px;
  188. color: #474747;
  189. padding-left: 40px;
  190. display: none;
  191. margin-bottom: 15px;
  192. margin-top: -10px;
  193. }
  194. .learning-theory-flashcard .card-content-collocations{
  195. font-family: opensansregular;
  196. font-size: 13px;
  197. color: var(--color-orange);
  198. margin-top: 15px;
  199. margin-bottom: 15px;
  200. text-decoration: none;
  201. outline: 0px;
  202. cursor: pointer;
  203. }
  204. .learning-theory-flashcard .card-content-collocations::before{
  205. content: "";
  206. display: inline-block;
  207. width: 27px;
  208. height: 27px;
  209. background: url('../imgs/learning-icon-bg.svg') 0px -510px;
  210. vertical-align: middle;
  211. margin-right: 15px;
  212. }
  213. .learning-theory-bottom{
  214. position: fixed;
  215. width: 100%;
  216. height: 80px;
  217. background: #fff;
  218. left: 0px;
  219. right: 0px;
  220. bottom: 0px;
  221. padding: 0px 10px;
  222. }
  223. .learning-theory-bottom-cover{
  224. display: flex;
  225. width: 100%;
  226. height: 100%;
  227. max-width: var(--max-width);
  228. margin: auto;
  229. }
  230. .learning-theory-bottom-cover .learning-theory-button{
  231. display: inline-block;
  232. text-decoration: none;
  233. outline: 0px;
  234. width: 140px;
  235. height: 48px;
  236. line-height: 46px;
  237. border: 1px solid #CFCFCF;
  238. background: transparent;
  239. border-radius: 30px;
  240. font-family: opensanssemibold;
  241. font-size: 13px;
  242. color: var(--color-blue-text);
  243. text-align: center;
  244. margin: auto;
  245. }
  246. .learning-theory-bottom-cover .learning-theory-button.button-back{
  247. margin-left: 0px;
  248. }
  249. .learning-theory-bottom-cover .learning-theory-button.button-next{
  250. margin-right: 0px;
  251. color: #fff;
  252. background: var(--color-blue-bg);
  253. border-color: var(--color-blue-bg);
  254. }
  255. .learning-theory-list-button{
  256. margin: auto;
  257. }
  258. .learning-theory-list-button .button-item{
  259. font-family: opensansregular;
  260. font-size: 13px;
  261. color: var(--color-gray);
  262. text-decoration: none;
  263. outline: 0px;
  264. margin: 10px 20px;
  265. display: inline-block;
  266. }
  267. .learning-theory-list-button .button-item:hover{
  268. color: var(--color-blue-text);
  269. }
  270. .learning-theory-list-button .button-item.item-1:hover{
  271. color: #E43439;
  272. }
  273. .learning-theory-list-button .button-item .item-icon{
  274. display: flex;
  275. height: 45px;
  276. }
  277. .learning-theory-list-button .button-item .item-icon::before{
  278. content: "";
  279. display: inline-block;
  280. margin: auto;
  281. background-image: url('../imgs/learning-icon-bg.svg');
  282. }
  283. .learning-theory-list-button .button-item.item-1 .item-icon::before{
  284. width: 20px;
  285. height: 24px;
  286. background-position: 0px -275px;
  287. }
  288. .learning-theory-list-button .button-item.item-2 .item-icon::before{
  289. width: 20px;
  290. height: 20px;
  291. background-position: 0px -400px;
  292. }
  293. .learning-theory-list-button .button-item.item-3 .item-icon::before{
  294. width: 20px;
  295. height: 20px;
  296. background-position: 0px -325px;
  297. }
  298. .learning-theory-list-button .button-item.item-4 .item-icon::before{
  299. width: 20px;
  300. height: 20px;
  301. background-position: 0px -3025px;
  302. }
  303. .learning-theory-list-button .button-item.item-5 .item-icon::before{
  304. width: 20px;
  305. height: 25px;
  306. background-position: 0px -890px;
  307. }
  308. .learning-theory-list-button .button-item.item-1:hover .item-icon::before{
  309. background-position: 0px -375px;
  310. }
  311. .learning-theory-list-button .button-item.item-2:hover .item-icon::before{
  312. background-position: 0px -400px;
  313. }
  314. .learning-theory-list-button .button-item.item-3:hover .item-icon::before{
  315. background-position: 0px -425px;
  316. }
  317. .learning-theory-list-button .button-item.item-4:hover .item-icon::before{
  318. background-position: 0px -3050px;
  319. }
  320. .kontext.capable.animate .layer.hide1 .dimmer{
  321. background: transparent;
  322. }
  323. @media (max-width: 768px){
  324. .learning-theory-flash-card-content .card-img{
  325. width: 100px;
  326. height: 100px;
  327. }
  328. .learning-theory-flash-card-content .card-content{
  329. width: calc(100% - 100px - 50px);
  330. }
  331. .learning-theory-list-button{
  332. position: absolute;
  333. left: 50%;
  334. bottom: 100%;
  335. transform: translate(-50%);
  336. width: 100%;
  337. text-align: center;
  338. }
  339. }
  340. @media (max-width: 600px){
  341. .learning-theory-flash-card-content .card-img{
  342. width: 80px;
  343. height: 80px;
  344. display: block;
  345. float: none;
  346. margin: auto;
  347. }
  348. .learning-theory-flash-card-content .card-content{
  349. width: 100%;
  350. margin-left: 0px;
  351. }
  352. .learning-theory-flash-card-content{
  353. padding: 10px 20px;
  354. }
  355. }
  356. .learning-fill {
  357. width: 100%;
  358. height: 90px;
  359. background-color: #FFF;
  360. border: 1px solid #D3D3D3;
  361. margin-top: 5px;
  362. padding: 12px 18px;
  363. z-index: 1;
  364. border-radius: 6px;
  365. box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .2);
  366. }
  367. .learning-fill-word {
  368. width: calc(100% - 120px);
  369. display: block;
  370. float: left;
  371. height: 50px;
  372. border-radius: 0;
  373. max-width: 285px;
  374. font-size: 18px;
  375. margin-right: 15px;
  376. border-radius: 4px;
  377. margin-top: 5px;
  378. }
  379. .learning-fill-word:focus {
  380. border: 1px solid var(--color-main-blue-light);
  381. box-shadow: 0 0 0;
  382. }
  383. .learning-fill-word::-webkit-input-placeholder {
  384. font-size: 15px;
  385. }
  386. .learning-fill-word::-moz-placeholder {
  387. font-size: 15px;
  388. }
  389. .learning-fill-word:-ms-input-placeholder {
  390. font-size: 15px;
  391. }
  392. .learning-btn-fill-word {
  393. float: left;
  394. border: 0;
  395. height: 50px;
  396. width: 100px;
  397. background: #7AC60C;
  398. color: #fff;
  399. font-size: 15px;
  400. border-radius: 4px;
  401. margin-top: 5px;
  402. }
  403. .learning-btn-fill-word:active,
  404. .learning-btn-fill-word:focus {
  405. outline: none;
  406. }
  407. .learning-fill-msg {
  408. text-align: center;
  409. font-size: 18px;
  410. font-family: uvnvanbold;
  411. }
  412. .learning-fill-msg img {
  413. height: 25px;
  414. margin-right: 10px;
  415. margin-top: -10px;
  416. }
  417. .learning-view-msg {
  418. text-align: center;
  419. margin-top: 0px;
  420. font-size: 13px;
  421. font-family: opensanssemibold;
  422. }
  423. .learning-right-group {
  424. display: none;
  425. }
  426. .learning-wrong-group {
  427. display: none;
  428. }
  429. .show-answer-right .learning-right-group, .show-answer-wrong .learning-wrong-group{
  430. display: block;
  431. }
  432. .show-answer-right .learning-fill{
  433. background: var(--color-main-green);
  434. }
  435. .show-answer-wrong .learning-fill{
  436. background: var(--color-main-red);
  437. }
  438. .show-answer-wrong .learning-wrong-group, .show-answer-right .learning-right-group{
  439. color: #fff;
  440. }
  441. .show-answer-wrong .learning-btn-fill-word{
  442. background: rgba(0,0,0,0.15);
  443. }
  444. .show-answer-right .learning-btn-fill-word{
  445. background: rgba(0,0,0,0.15);
  446. }