Angular LMS app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

420 line
8.2 KiB

  1. .page-container {
  2. padding-bottom: 0;
  3. }
  4. .upfold {
  5. background-color: var(--black);
  6. padding: 20px 10%;
  7. .close-button {
  8. background-color: transparent;
  9. border: 0px;
  10. .icon {
  11. width: 15px;
  12. height: 15px;
  13. fill: var(--white);
  14. }
  15. }
  16. h3 {
  17. color: var(--teal);
  18. font-size: 20px;
  19. margin-top: 20px;
  20. font-weight: 500;
  21. }
  22. p {
  23. margin-top: 10px;
  24. color: var(--white);
  25. font-size: 13px;
  26. }
  27. label {
  28. color: var(--light-grey);
  29. font-size: 14px;
  30. margin-top: 20px;
  31. display: block;
  32. font-weight: 500;
  33. }
  34. }
  35. .progress-holder {
  36. height: 7px;
  37. background-color: #cecece;
  38. position: relative;
  39. .progress {
  40. position: absolute;
  41. left: 0;
  42. top: 0;
  43. height: 100%;
  44. width: 30%;
  45. background-color: var(--green);
  46. }
  47. }
  48. .segment-header {
  49. position: sticky;
  50. position: -webkit-sticky;
  51. z-index: 1;
  52. left: 0;
  53. top: 0;
  54. background-color: var(--ash-black);
  55. display: flex;
  56. align-items: stretch;
  57. height: 50px;
  58. box-shadow: 0px 0px 5px var(--black);
  59. &.hide-grades {
  60. button {
  61. width: calc(100% / 3);
  62. &:nth-child(3) {
  63. display: none;
  64. }
  65. }
  66. }
  67. button {
  68. font-size: 14px;
  69. width: calc(100% / 4);
  70. border: 0px;
  71. background-color: transparent;
  72. color: var(--light-grey);
  73. &.active {
  74. color: var(--white);
  75. }
  76. }
  77. }
  78. .test-prompt {
  79. background-color: var(--black);
  80. padding: 20px;
  81. .prompt {
  82. border-radius: 15px;
  83. background-color: var(--ash-black);
  84. padding: 20px;
  85. }
  86. p {
  87. color: var(--white);
  88. font-size: 13px;
  89. }
  90. button {
  91. margin-top: 10px;
  92. display: block;
  93. width: 100%;
  94. height: 40px;
  95. color: var(--white);
  96. font-size: 14px;
  97. background-color: var(--teal-green);
  98. border-radius: 5px;
  99. border: 0px;
  100. }
  101. }
  102. .chapter-list {
  103. list-style: none;
  104. .chapter {
  105. .chapter-action-buttons {
  106. display: none;
  107. align-items: stretch;
  108. width: 100%;
  109. justify-content: space-around;
  110. padding: 10px 0;
  111. button {
  112. width: 48%;
  113. border-radius: 5px;
  114. height: 35px;
  115. font-size: 14px;
  116. color: var(--light-grey);
  117. border: 1px solid var(--light-grey);
  118. background-color: transparent;
  119. &:first-child {
  120. border-color: var(--teal-green);
  121. color: var(--teal-green);
  122. }
  123. }
  124. }
  125. &.completed {
  126. .checkmark {
  127. fill: var(--green);
  128. }
  129. }
  130. &.active {
  131. .chapter-action-buttons {
  132. display: flex;
  133. }
  134. .container {
  135. position: sticky;
  136. position: -webkit-sticky;
  137. top: 48px;
  138. z-index: 1;
  139. border-bottom: 0px;
  140. border-top: 1px solid var(--dark-grey);
  141. }
  142. .arrow {
  143. transform: rotate(90deg);
  144. }
  145. .topic-list {
  146. display: block;
  147. }
  148. }
  149. }
  150. .container {
  151. display: flex;
  152. align-items: center;
  153. justify-content: space-between;
  154. width: 100%;
  155. padding: 15px 5%;
  156. background-color: var(--ash-black);
  157. border-bottom: 1px solid var(--dark-grey);
  158. .icon {
  159. width: 20px;
  160. height: 20px;
  161. fill: var(--light-grey);
  162. &.checkmark {
  163. width: 25px;
  164. height: 25px;
  165. background-color: var(--white);
  166. border-radius: 50%;
  167. }
  168. }
  169. .chapter-heading {
  170. width: calc(100% - 100px);
  171. }
  172. label {
  173. font-size: 16px;
  174. font-weight: 500;
  175. color: var(--white);
  176. }
  177. p {
  178. color: var(--white);
  179. font-size: 14px;
  180. }
  181. }
  182. }
  183. .topic-list {
  184. list-style: none;
  185. position: relative;
  186. z-index: 0;
  187. display: none;
  188. .topic {
  189. display: flex;
  190. width: 100%;
  191. padding-left: 5%;
  192. justify-content: space-between;
  193. background-color: #333333;
  194. position: relative;
  195. overflow: visible;
  196. &::before {
  197. content: '';
  198. position: absolute;
  199. left: calc(5% + 9px);
  200. top: 50%;
  201. height: 100%;
  202. width: 2px;
  203. background-color: var(--light-grey);
  204. z-index: 1;
  205. }
  206. &:last-child {
  207. &::before {
  208. display: none;
  209. }
  210. }
  211. &.completed {
  212. .checkmark {
  213. fill: var(--green);
  214. }
  215. &::before {
  216. background-color: var(--green);
  217. }
  218. }
  219. }
  220. .topic-container {
  221. display: flex;
  222. width: 90%;
  223. padding: 15px;
  224. background-color: var(--black);
  225. border-bottom: 1px solid #333333;
  226. .action-button {
  227. background-color: transparent;
  228. border: 0px;
  229. }
  230. .icon {
  231. margin-top: 5px;
  232. }
  233. p {
  234. font-size: 14px;
  235. color: var(--light-grey);
  236. padding-right: 10px;
  237. height: 55px;
  238. display: -webkit-box;
  239. -webkit-line-clamp: 3;
  240. -webkit-box-orient: vertical;
  241. overflow: hidden;
  242. .type {
  243. color: var(--white);
  244. font-weight: 500;
  245. }
  246. .type-icon {
  247. width: 15px;
  248. height: 15px;
  249. fill: var(--white);
  250. }
  251. }
  252. }
  253. .icon {
  254. width: 20px;
  255. height: 20px;
  256. fill: var(--light-grey);
  257. align-self: flex-start;
  258. position: relative;
  259. z-index: 2;
  260. overflow: visible;
  261. &.checkmark {
  262. align-self: center;
  263. background-color: var(--white);
  264. border-radius: 50%;
  265. }
  266. &.delete {
  267. fill: var(--danger-dark);
  268. }
  269. &.download {
  270. fill: var(--teal-green);
  271. }
  272. &.downloading {
  273. fill: var(--teal-green);
  274. overflow: visible;
  275. #download-arrow {
  276. animation: verticalMovement 1s infinite;
  277. fill: var(--light-grey);
  278. }
  279. }
  280. }
  281. .progress-button {
  282. transform: scale(0.6)translateX(17px);
  283. }
  284. #progress {
  285. stroke: var(--green);
  286. animation: fill 2s forwards;
  287. }
  288. @keyframes fill {
  289. 0% {
  290. stroke-dashoffset: calc(116.8 * (1 - 0.2));
  291. }
  292. 50% {
  293. stroke-dashoffset: calc(116.8 * (1 - 0.5));
  294. }
  295. 100% {
  296. stroke-dashoffset: calc(116.8 * (1 - 0.999999));
  297. }
  298. }
  299. }
  300. @keyframes verticalMovement {
  301. 0% {
  302. transform: translateY(0px);
  303. }
  304. 50% {
  305. transform: translateY(20px);
  306. }
  307. 0% {
  308. transform: translateY(0px);
  309. }
  310. }
  311. .resources-list {
  312. list-style: none;
  313. width: 90%;
  314. margin: 0 auto;
  315. header {
  316. font-size: 16px;
  317. color: var(--light-grey);
  318. font-weight: 500;
  319. margin: 30px 0 15px 0;
  320. }
  321. a {
  322. text-decoration: none;
  323. display: block;
  324. }
  325. li {
  326. padding: 15px 20px;
  327. background-color: var(--ash-black);
  328. display: flex;
  329. align-items: center;
  330. justify-content: space-between;
  331. border-radius: 10px;
  332. overflow: hidden;
  333. margin-bottom: 15px;
  334. }
  335. .content {
  336. width: calc(100% - 80px);
  337. }
  338. label {
  339. color: var(--white);
  340. font-size: 15px;
  341. display: block;
  342. }
  343. p {
  344. color: var(--light-grey);
  345. font-size: 12px;
  346. }
  347. .icon {
  348. width: 20px;
  349. height: 20px;
  350. fill: var(--light-grey);
  351. &.arrow {
  352. transform: rotate(-45deg);
  353. }
  354. }
  355. }