Angular LMS app
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Это архивный репозиторий. Вы можете его клонировать или просматривать файлы, но не вносить изменения или открывать задачи/запросы на слияние.
 
 
 
 

330 строки
7.1 KiB

  1. .page {
  2. background-color: var(--black);
  3. height: 100vh;
  4. overflow: auto;
  5. }
  6. .nav-header {
  7. background-color: var(--ash-black);
  8. display: flex;
  9. align-items: center;
  10. padding: 0 5%;
  11. height: 60px;
  12. position: sticky;
  13. position: -webkit-sticky;
  14. top: 0;
  15. z-index: 1;
  16. box-shadow: 0px 0px 5px var(--black);
  17. .close-button {
  18. border: 0px;
  19. background-color: transparent;
  20. .icon {
  21. width: 16px;
  22. height: 16px;
  23. fill: var(--light-grey);
  24. }
  25. }
  26. h5 {
  27. font-size: 16px;
  28. color: white;
  29. font-weight: 400;
  30. margin-left: 20px;
  31. letter-spacing: 1px;
  32. .icon {
  33. width: 15px;
  34. height: 15px;
  35. fill: white;
  36. margin-right: 3px;
  37. vertical-align: middle;
  38. position: relative;
  39. top: -1px;
  40. }
  41. }
  42. }
  43. .question-status {
  44. background-color: var(--ash-black);
  45. padding: 10px 0% 5px;
  46. display: block;
  47. width: 100%;
  48. overflow: auto;
  49. margin-bottom: -10px;
  50. position: relative;
  51. .container {
  52. width: 100%;
  53. padding: 0 5%;
  54. white-space: nowrap;
  55. display: inline-block;
  56. overflow: auto;
  57. }
  58. &::before {
  59. content: '';
  60. position: absolute;
  61. left: 0;
  62. top: 0;
  63. width: 10px;
  64. height: 100%;
  65. box-shadow: 10px 0px 10px 10px var(--ash-black);
  66. opacity: 0.8;
  67. background-color: var(--ash-black);
  68. }
  69. &::after {
  70. content: '';
  71. position: absolute;
  72. right: 0;
  73. top: 0;
  74. width: 10px;
  75. height: 100%;
  76. box-shadow: -10px 0px 10px 10px var(--ash-black);
  77. opacity: 0.8;
  78. background-color: var(--ash-black);
  79. }
  80. .question-number {
  81. width: 17px;
  82. height: 17px;
  83. background-color: var(--dark-grey);
  84. color: white;
  85. align-items: center;
  86. justify-content: center;
  87. display: inline-block;
  88. margin-right: 10px;
  89. border-radius: 50%;
  90. overflow: hidden;
  91. border: 1px solid var(--dark-grey);
  92. box-sizing: content-box;
  93. span {
  94. display: flex;
  95. width: 100%;
  96. height: 100%;
  97. align-items: center;
  98. justify-content: center;
  99. }
  100. label {
  101. font-size: 10px;
  102. }
  103. .icon {
  104. width: 100%;
  105. height: 100%;
  106. fill: white;
  107. display: none;
  108. }
  109. &.current {
  110. border-color: var(--light-grey);
  111. background-color: var(--black);
  112. &.wrong {
  113. background-color: var(--danger-dark);
  114. .icon {
  115. fill: var(--black) !important;
  116. }
  117. }
  118. &.correct {
  119. background-color: var(--green);
  120. .icon {
  121. fill: var(--black) !important;
  122. }
  123. }
  124. }
  125. &.correct {
  126. border-color: var(--green);
  127. background-color: white;
  128. label {
  129. display: none;
  130. }
  131. .icon {
  132. fill: var(--green);
  133. display: block;
  134. }
  135. }
  136. &.wrong {
  137. border-color: var(--danger-dark);
  138. background-color: var(--danger-dark);
  139. label {
  140. display: none;
  141. }
  142. .icon {
  143. fill: white;
  144. width: 7px;
  145. height: 7px;
  146. display: block;
  147. }
  148. }
  149. }
  150. }
  151. ngx-siema-slide {
  152. display: block;
  153. .question {
  154. line-height: 1.5;
  155. color: white;
  156. font-size: 13px;
  157. background-color: var(--ash-black);
  158. padding: 15px 5%;
  159. }
  160. .timer-holder {
  161. background-color: var(--black);
  162. height: 70px;
  163. display: flex;
  164. align-items: flex-end;
  165. justify-content: center;
  166. overflow: hidden;
  167. position: relative;
  168. &::before {
  169. content: '';
  170. width: 200vw;
  171. height: 100vw;
  172. border-radius: 50%;
  173. position: absolute;
  174. bottom: 25px;
  175. background-color: var(--ash-black);
  176. }
  177. .timer {
  178. width: 60px;
  179. height: 60px;
  180. border-radius: 50%;
  181. background-color: white;
  182. display: flex;
  183. align-items: center;
  184. justify-content: center;
  185. font-size: 12px;
  186. font-weight: 600;
  187. position: relative;
  188. color: var(--ash-black);
  189. svg {
  190. position: absolute;
  191. left: 0;
  192. top: 0;
  193. width: 100%;
  194. height: 100%;
  195. transform: rotate(-90deg);
  196. #progress {
  197. stroke: var(--green);
  198. }
  199. }
  200. }
  201. }
  202. }
  203. .option-list {
  204. width: 90%;
  205. margin: 20px auto;
  206. list-style: none;
  207. li {
  208. display: flex;
  209. width: 100%;
  210. border: 1px solid var(--light-grey);
  211. color: white;
  212. border-radius: 15px;
  213. align-items: center;
  214. min-height: 50px;
  215. margin: 20px auto;
  216. justify-content: space-between;
  217. padding: 0 15px;
  218. label {
  219. font-size: 14px;
  220. }
  221. .icon-holder {
  222. width: 23px;
  223. height: 23px;
  224. border: 1px solid var(--light-grey);
  225. border-radius: 50%;
  226. overflow: hidden;
  227. display: flex;
  228. align-items: center;
  229. justify-content: center;
  230. .icon {
  231. width: 100%;
  232. height: 100%;
  233. fill: white;
  234. display: none;
  235. }
  236. }
  237. &.correct {
  238. box-shadow: 0px 0px 5px var(--green);
  239. border-color: var(--green);
  240. label {
  241. color: var(--green);
  242. }
  243. .icon-holder {
  244. border-color: var(--green);
  245. background-color: white;
  246. .icon {
  247. fill: var(--green);
  248. display: block;
  249. }
  250. }
  251. }
  252. &.wrong {
  253. box-shadow: 0px 0px 5px var(--danger-dark);
  254. border-color: var(--danger-dark);
  255. label {
  256. color: var(--danger-dark);
  257. }
  258. .icon-holder {
  259. border-color: var(--danger-dark);
  260. background-color: var(--danger-dark);
  261. .icon {
  262. fill: white;
  263. width: 10px;
  264. height: 10px;
  265. display: block;
  266. }
  267. }
  268. }
  269. }
  270. }
  271. .next-button {
  272. width: 100px;
  273. height: 50px;
  274. border-radius: 30px;
  275. background-color: var(--teal-green);
  276. color: white;
  277. font-size: 14px;
  278. border: 0px;
  279. display: block;
  280. position: sticky;
  281. position: -webkit-sticky;
  282. bottom: 20px;
  283. margin: 10px auto 40px;
  284. box-shadow: 0px 0px 10px var(--teal-green);
  285. }