Angular LMS app
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
Bu depo arşivlendi. Dosyaları görüntüleyebilir ve klonlayabilirsiniz ama işlem gönderemez ve konu/değişiklik isteği açamazsınız.
 
 
 
 

874 satır
18 KiB

  1. .page-container {
  2. padding-bottom: 0;
  3. }
  4. .nav-header {
  5. button.list-button {
  6. margin-left: auto;
  7. .icon {
  8. width: 20px;
  9. height: 20px;
  10. fill: white;
  11. }
  12. }
  13. }
  14. .question-status {
  15. background-color: var(--ash-black);
  16. padding: 10px 0;
  17. display: block;
  18. width: 100%;
  19. overflow: auto;
  20. position: relative;
  21. .container {
  22. width: 100%;
  23. padding: 0 5%;
  24. white-space: nowrap;
  25. display: flex;
  26. flex-wrap: wrap;
  27. align-items: center;
  28. overflow: auto;
  29. }
  30. &::before {
  31. content: '';
  32. position: absolute;
  33. left: 0;
  34. top: 0;
  35. width: 10px;
  36. height: 100%;
  37. box-shadow: 10px 0px 10px 10px var(--ash-black);
  38. opacity: 0.8;
  39. background-color: var(--ash-black);
  40. }
  41. &::after {
  42. content: '';
  43. position: absolute;
  44. right: 0;
  45. top: 0;
  46. width: 10px;
  47. height: 100%;
  48. box-shadow: -10px 0px 10px 10px var(--ash-black);
  49. opacity: 0.8;
  50. background-color: var(--ash-black);
  51. }
  52. .question-number {
  53. width: 17px;
  54. height: 17px;
  55. background-color: var(--dark-grey);
  56. color: white;
  57. margin-right: 7px;
  58. border-radius: 50%;
  59. overflow: hidden;
  60. border: 1px solid var(--dark-grey);
  61. box-sizing: content-box;
  62. span {
  63. display: flex;
  64. width: 100%;
  65. height: 100%;
  66. align-items: center;
  67. justify-content: center;
  68. }
  69. label {
  70. font-size: 10px;
  71. }
  72. .icon {
  73. width: 100%;
  74. height: 100%;
  75. fill: white;
  76. display: none;
  77. }
  78. &.current {
  79. border-color: var(--light-grey);
  80. background-color: var(--black);
  81. &.correct {
  82. background-color: var(--green);
  83. .correct-icon {
  84. fill: var(--black);
  85. }
  86. }
  87. &.wrong {
  88. background-color: var(--danger-dark);
  89. .wrong-icon {
  90. fill: var(--black);
  91. }
  92. }
  93. .icon {
  94. fill: white;
  95. }
  96. }
  97. &.correct {
  98. border-color: var(--green);
  99. background-color: white;
  100. label {
  101. display: none;
  102. }
  103. .correct-icon {
  104. fill: var(--green);
  105. display: block;
  106. }
  107. }
  108. &.wrong {
  109. border-color: var(--danger-dark);
  110. background-color: white;
  111. label {
  112. display: none;
  113. }
  114. .wrong-icon {
  115. fill: var(--danger-dark);
  116. display: block;
  117. }
  118. }
  119. }
  120. }
  121. ngx-siema-slide {
  122. display: block;
  123. padding-bottom: 60px;
  124. .question {
  125. line-height: 1.5;
  126. color: white;
  127. font-size: 13px;
  128. background-color: var(--ash-black);
  129. padding: 0 5% 15px 5%;
  130. }
  131. .timer-holder {
  132. background-color: var(--black);
  133. height: 70px;
  134. display: flex;
  135. align-items: flex-end;
  136. justify-content: center;
  137. overflow: hidden;
  138. position: relative;
  139. &::before {
  140. content: '';
  141. width: 200vw;
  142. height: 100vw;
  143. border-radius: 50%;
  144. position: absolute;
  145. bottom: 25px;
  146. background-color: var(--ash-black);
  147. }
  148. .timer {
  149. width: 60px;
  150. height: 60px;
  151. border-radius: 50%;
  152. background-color: white;
  153. display: flex;
  154. align-items: center;
  155. justify-content: center;
  156. font-size: 12px;
  157. font-weight: 600;
  158. position: relative;
  159. color: var(--ash-black);
  160. svg {
  161. position: absolute;
  162. left: 0;
  163. top: 0;
  164. width: 100%;
  165. height: 100%;
  166. transform: rotate(-90deg);
  167. #progress {
  168. stroke: var(--green);
  169. }
  170. }
  171. }
  172. }
  173. }
  174. .option-list {
  175. width: 90%;
  176. margin: 20px auto;
  177. list-style: none;
  178. li {
  179. display: flex;
  180. width: 100%;
  181. border: 1px solid var(--light-grey);
  182. color: white;
  183. border-radius: 15px;
  184. align-items: center;
  185. min-height: 50px;
  186. margin: 20px auto;
  187. justify-content: space-between;
  188. padding: 0 15px;
  189. label {
  190. font-size: 14px;
  191. }
  192. .icon-holder {
  193. width: 23px;
  194. height: 23px;
  195. border: 1px solid var(--light-grey);
  196. border-radius: 50%;
  197. overflow: hidden;
  198. display: flex;
  199. align-items: center;
  200. justify-content: center;
  201. .icon {
  202. width: 100%;
  203. height: 100%;
  204. fill: white;
  205. display: none;
  206. }
  207. }
  208. &.correct, &.show-correct {
  209. box-shadow: 0px 0px 5px var(--green);
  210. border-color: var(--green);
  211. label {
  212. color: var(--green);
  213. }
  214. .icon-holder {
  215. border-color: var(--green);
  216. background-color: white;
  217. .correct-icon {
  218. fill: var(--green);
  219. display: block;
  220. }
  221. }
  222. }
  223. &.wrong {
  224. box-shadow: 0px 0px 5px var(--danger-dark);
  225. border-color: var(--danger-dark);
  226. label {
  227. color: var(--danger-dark);
  228. }
  229. .icon-holder {
  230. border-color: var(--danger-dark);
  231. background-color: white;
  232. .wrong-icon {
  233. fill: var(--danger-dark);
  234. display: block;
  235. }
  236. }
  237. }
  238. }
  239. }
  240. .action-buttons {
  241. display: flex;
  242. width: 100%;
  243. position: fixed;
  244. align-items: stretch;
  245. bottom: 0;
  246. z-index: 1;
  247. background-color: var(--ash-black);
  248. padding: 10px;
  249. border-top-left-radius: 7px;
  250. border-top-right-radius: 7px;
  251. overflow: hidden;
  252. button {
  253. width: 48%;
  254. display: block;
  255. border-radius: 7px;
  256. border: 0px;
  257. height: 40px;
  258. background-color: transparent;
  259. text-transform: uppercase;
  260. letter-spacing: 1px;
  261. font-weight: 500;
  262. font-size: 14px;
  263. &.next-button {
  264. background-color: var(--teal);
  265. color: white;
  266. margin-left: auto;
  267. &.skip {
  268. background-color: var(--dark-grey);
  269. }
  270. }
  271. &.prev-button {
  272. border: 2px solid var(--teal);
  273. color: var(--teal);
  274. }
  275. }
  276. }
  277. .upfold {
  278. overflow: hidden;
  279. padding: 0px 5% 20px;
  280. height: 50vh;
  281. display: flex;
  282. align-items: flex-end;
  283. justify-content: center;
  284. background-color: var(--ash-black);
  285. .upfold-container {
  286. width: 100%;
  287. }
  288. figure {
  289. display: block;
  290. width: 100%;
  291. img {
  292. width: 150px;
  293. height: 150px;
  294. display: block;
  295. margin-left: auto;
  296. }
  297. }
  298. header {
  299. color: white;
  300. margin-top: -60px;
  301. img {
  302. display: block;
  303. width: 50px;
  304. height: 50px;
  305. margin: 0 0 10px;
  306. }
  307. }
  308. h3 {
  309. font-size: 22px;
  310. font-weight: 500;
  311. margin: 5px auto;
  312. }
  313. h2 {
  314. font-size: 30px;
  315. font-weight: 500;
  316. margin: 5px auto;
  317. }
  318. p {
  319. font-size: 16px;
  320. color: var(--light-grey);
  321. }
  322. }
  323. .quiz-details-holder {
  324. background-color: var(--ash-black);
  325. height: calc(50vh - 60px);
  326. }
  327. .quiz-details {
  328. height: 100%;
  329. width: 100%;
  330. padding: 25px 5% 80px 5%;
  331. background-color: white;
  332. border-top-right-radius: 30px;
  333. border-top-left-radius: 30px;
  334. position: relative;
  335. header {
  336. margin-bottom: 10px;
  337. p {
  338. font-size: 14px;
  339. margin: 0;
  340. color: var(--dark-grey);
  341. font-weight: 400;
  342. }
  343. h3 {
  344. font-size: 22px;
  345. font-weight: 500;
  346. margin: 5px auto;
  347. color: var(--teal-green);
  348. line-height: 1.1;
  349. }
  350. }
  351. .people-count {
  352. font-size: 14px;
  353. color: var(--danger-dark);
  354. }
  355. .play-button {
  356. display: block;
  357. position: absolute;
  358. bottom: 10px;
  359. left: 5%;
  360. width: 90%;
  361. border-radius: 30px;
  362. height: 45px;
  363. color: white;
  364. background: linear-gradient(180deg, var(--teal), var(--teal-green));
  365. border: 0px;
  366. font-size: 14px;
  367. letter-spacing: 1px;
  368. font-weight: 500;
  369. margin: 15px auto;
  370. }
  371. }
  372. .quiz-list-slideup {
  373. width: 100%;
  374. background-color: white;
  375. overflow: hidden;
  376. border-top-left-radius: 30px;
  377. border-top-right-radius: 30px;
  378. position: fixed;
  379. z-index: 1;
  380. bottom: 0;
  381. left: 0;
  382. transform: translateY(100vh);
  383. transition: transform 0.5s;
  384. &.active {
  385. transform: translateY(0vh);
  386. }
  387. &::before {
  388. content: '';
  389. position: absolute;
  390. width: 60px;
  391. height: 4px;
  392. border-radius: 30px;
  393. background-color: var(--light-grey);
  394. left: calc(50% - 30px);
  395. top: 20px;
  396. }
  397. header {
  398. color: var(--dark-grey);
  399. font-size: 16px;
  400. font-weight: 700;
  401. margin: 40px auto 10px;
  402. padding: 0 5%;
  403. display: flex;
  404. align-items: center;
  405. justify-content: space-between;
  406. button {
  407. border: 0px;
  408. background-color: var(--light-grey);
  409. border-radius: 5px;
  410. width: 30px;
  411. height: 30px;
  412. .icon {
  413. width: 10px;
  414. height: 10px;
  415. fill: white;
  416. }
  417. }
  418. }
  419. ul {
  420. list-style: none;
  421. max-height: 60vh;
  422. overflow: auto;
  423. padding-bottom: 40px;
  424. }
  425. li {
  426. display: flex;
  427. width: 90%;
  428. align-items: center;
  429. justify-content: space-between;
  430. margin: 0px auto;
  431. padding: 10px 0;
  432. position: relative;
  433. overflow: visible;
  434. .icon {
  435. z-index: 1;
  436. position: relative;
  437. width: 20px;
  438. height: 20px;
  439. fill: var(--light-grey);
  440. background-color: white;
  441. border-radius: 50%;
  442. display: none;
  443. }
  444. &.correct {
  445. .icon.correct-icon {
  446. fill: var(--green);
  447. display: block;
  448. }
  449. &::before {
  450. border-color: var(--green);
  451. }
  452. }
  453. &.wrong {
  454. .icon.wrong-icon {
  455. fill: var(--danger);
  456. display: block;
  457. }
  458. &::before {
  459. border-color: var(--danger);
  460. }
  461. }
  462. &.none {
  463. .icon.progress-icon {
  464. fill: var(--light-grey);
  465. display: block;
  466. }
  467. &::before {
  468. border-color: var(--light-grey);
  469. }
  470. }
  471. &.current {
  472. .icon.progress-icon {
  473. fill: var(--teal);
  474. animation: ripple 1.5s infinite;
  475. display: block;
  476. }
  477. &::before {
  478. border-color: var(--teal);
  479. }
  480. }
  481. &:last-child::before {
  482. display: none;
  483. }
  484. @keyframes ripple {
  485. 50% {
  486. box-shadow: 0px 0px 1px 10px transparent;
  487. }
  488. 0% {
  489. box-shadow: 0px 0px 1px 0px var(--teal);
  490. }
  491. }
  492. &::before {
  493. content: '';
  494. position: absolute;
  495. left: 8px;
  496. top: 50%;
  497. height: 100%;
  498. width: 1px;
  499. border-right: 1px dashed var(--light-grey);
  500. }
  501. .content-holder {
  502. width: calc(100% - 40px);
  503. display: flex;
  504. padding: 15px 15px;
  505. align-items: center;
  506. box-shadow: 1px 1px 5px var(--light-grey);
  507. border-radius: 7px;
  508. margin-left: auto;
  509. overflow: hidden;
  510. .content {
  511. flex-grow: 1;
  512. max-width: 100%;
  513. }
  514. .status {
  515. font-size: 14px;
  516. text-align: right;
  517. margin-left: auto;
  518. }
  519. }
  520. label {
  521. display: block;
  522. font-size: 14px;
  523. color: var(--dark-grey);
  524. overflow: hidden;
  525. white-space: nowrap;
  526. text-overflow: ellipsis;
  527. max-width: 100%;
  528. }
  529. p {
  530. font-size: 12px;
  531. color: var(--light-grey);
  532. white-space: nowrap;
  533. overflow: hidden;
  534. text-overflow: ellipsis;
  535. }
  536. }
  537. }
  538. .end-upfold {
  539. background-image: url('https://mini.webtrigon.com/static-v1.1.0/home/images/png/pattern.png');
  540. background-size: cover;
  541. background-position: center;
  542. background-color: var(--ash-black);
  543. height: 50vh;
  544. display: flex;
  545. align-items: center;
  546. justify-content: center;
  547. }
  548. .end-upfold-container {
  549. width: 100%;
  550. .subject {
  551. color: var(--teal-green);
  552. letter-spacing: 1px;
  553. width: 90%;
  554. overflow: hidden;
  555. white-space: nowrap;
  556. overflow: hidden;
  557. text-overflow: ellipsis;
  558. text-align: center;
  559. padding: 10px 20px;
  560. border-radius: 40px;
  561. position: relative;
  562. z-index: 0;
  563. margin: 0 auto 20px;
  564. font-size: 14px;
  565. font-weight: 400;
  566. &::before {
  567. content: '';
  568. position: absolute;
  569. left: 0;
  570. top: 0;
  571. width: 100%;
  572. height: 100%;
  573. background-color: var(--black);
  574. opacity: 0.6;
  575. }
  576. span {
  577. z-index: 1;
  578. position: relative;
  579. }
  580. }
  581. .rank-holder {
  582. width: 130px;
  583. height: 130px;
  584. margin: 25px auto 20px;
  585. border-radius: 50%;
  586. position: relative;
  587. display: flex;
  588. align-items: center;
  589. justify-content: center;
  590. &::before {
  591. content: '';
  592. position: absolute;
  593. left: 10%;
  594. top: 10%;
  595. width: 80%;
  596. height: 80%;
  597. background-color: var(--dark-grey);
  598. opacity: 0.5;
  599. z-index: 1;
  600. border-radius: 50%;
  601. }
  602. &::after {
  603. content: '';
  604. position: absolute;
  605. left: 0;
  606. top: 0;
  607. width: 100%;
  608. height: 100%;
  609. background-color: var(--black);
  610. opacity: 0.7;
  611. z-index: 0;
  612. border-radius: 50%;
  613. }
  614. label, span {
  615. z-index: 2;
  616. }
  617. label {
  618. color: white;
  619. position: absolute;
  620. top: -5px;
  621. left: calc(50% - 50px);
  622. width: 100px;
  623. height: 30px;
  624. display: flex;
  625. align-items: center;
  626. justify-content: center;
  627. border-radius: 30px;
  628. font-size: 14px;
  629. text-align: center;
  630. background-color: var(--teal-green);
  631. }
  632. span {
  633. font-weight: 500;
  634. color: white;
  635. font-size: 60px;
  636. }
  637. }
  638. p {
  639. font-size: 16px;
  640. color: white;
  641. margin-bottom: 20px;
  642. text-align: center;
  643. }
  644. .calculated-progress {
  645. height: 15px;
  646. width: 70%;
  647. margin: 0 auto;
  648. border-radius: 30px;
  649. overflow: hidden;
  650. position: relative;
  651. display: flex;
  652. align-items: stretch;
  653. justify-content: flex-start;
  654. background-color: white;
  655. .correct {
  656. background-color: var(--green);
  657. }
  658. .wrong {
  659. background-color: var(--danger-dark);
  660. }
  661. .none {
  662. background-color: rgba(orange, 0.8);
  663. }
  664. }
  665. }
  666. .answers-report-container {
  667. background-color: var(--ash-black);
  668. height: 50vh;
  669. }
  670. .answers-report {
  671. background-color: white;
  672. border-top-right-radius: 30px;
  673. border-top-left-radius: 30px;
  674. height: 100%;
  675. padding: 10px 0 20px;
  676. position: relative;
  677. ul {
  678. list-style: none;
  679. width: 100%;
  680. padding: 0 5%;
  681. margin: 0 auto;
  682. }
  683. li {
  684. border: 1px solid #cecece;
  685. border-radius: 5px;
  686. margin: 15px auto;
  687. &.correct {
  688. .count {
  689. color: var(--green);
  690. }
  691. }
  692. &.wrong {
  693. .count {
  694. color: var(--danger-dark);
  695. }
  696. }
  697. &.skipped {
  698. .count {
  699. color: rgba(orange, 0.8);
  700. }
  701. }
  702. }
  703. .content {
  704. display: flex;
  705. width: 100%;
  706. height: 40px;
  707. align-items: center;
  708. padding: 0 5%;
  709. justify-content: space-between;
  710. }
  711. label {
  712. font-size: 14px;
  713. color: var(--dark-grey);
  714. font-weight: 500;
  715. }
  716. .count {
  717. font-weight: 600;
  718. font-size: 16px;
  719. margin-left: auto;
  720. span {
  721. font-size: 13px;
  722. }
  723. }
  724. .icon {
  725. width: 12px;
  726. height: 12px;
  727. fill: var(--light-grey);
  728. transform: rotate(-45deg);
  729. }
  730. .answer-action-buttons {
  731. position: absolute;
  732. width: 100%;
  733. bottom: 20px;
  734. left: 0;
  735. padding: 0 5%;
  736. display: flex;
  737. align-items: stretch;
  738. justify-content: space-between;
  739. button {
  740. width: 48%;
  741. border: 0px;
  742. background-color: var(--light-grey);
  743. color: white;
  744. font-size: 14px;
  745. height: 40px;
  746. border-radius: 5px;
  747. &:last-child {
  748. background-color: var(--teal-green);
  749. }
  750. }
  751. }
  752. }