Angular LMS app
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Den här utvecklingskatalogen är arkiverad. Du kan se filer och klona katalogen, men inte öppna ärenden eller genomföra push- eller pull-förfrågningar.
 
 
 
 

269 rader
5.2 KiB

  1. .page {
  2. height: 100vh;
  3. overflow: auto;
  4. background-color: var(--ash-black);
  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. .close-button {
  13. border: 0px;
  14. background-color: transparent;
  15. .icon {
  16. width: 16px;
  17. height: 16px;
  18. fill: var(--light-grey);
  19. }
  20. }
  21. .profile-button {
  22. background-color: transparent;
  23. margin-left: auto;
  24. border: 0px;
  25. margin-top: 5px;
  26. }
  27. img {
  28. width: 35px;
  29. height: 35px;
  30. border-radius: 50%;
  31. overflow: hidden;
  32. }
  33. }
  34. .calendar-holder {
  35. position: sticky;
  36. position: -webkit-sticky;
  37. top: 0;
  38. background-color: var(--ash-black);
  39. left: 0;
  40. padding-top: 15px;
  41. }
  42. .calendar-header {
  43. color: white;
  44. font-size: 18px;
  45. font-weight: 500;
  46. padding: 0 5%;
  47. }
  48. .mini-calendar {
  49. width: 100%;
  50. margin: 10px auto;
  51. .days {
  52. display: flex;
  53. width: 100vw;
  54. margin: 0 auto 10px;
  55. padding: 10px 0;
  56. position: relative;
  57. &::before {
  58. content: '';
  59. position: absolute;
  60. bottom: 0;
  61. left: 5%;
  62. width: 90%;
  63. height: 1px;
  64. background-color: rgba(white, 0.1);
  65. }
  66. span {
  67. width: calc(100vw / 7);
  68. text-align: center;
  69. font-size: 12px;
  70. color: var(--light-grey);
  71. }
  72. }
  73. .dates {
  74. display: flex;
  75. width: 100vw;
  76. margin: 0 auto;
  77. flex-wrap: wrap;
  78. span {
  79. display: block;
  80. font-size: 13px;
  81. width: calc(100vw / 7);
  82. color: var(--light-grey);
  83. font-weight: 500;
  84. position: relative;
  85. text-align: center;
  86. transition: background-color 0.3s, color 0.3s;
  87. height: calc(100vw / 7);
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. border-radius: 50%;
  92. &.current-date {
  93. color: white;
  94. font-weight: 600;
  95. }
  96. &.active {
  97. background-color: var(--black);
  98. color: white;
  99. }
  100. &.non-current-date {
  101. color: var(--dark-grey);
  102. }
  103. }
  104. }
  105. }
  106. .schedule-details {
  107. max-height: calc(100vh - 60px);
  108. background-color: white;
  109. padding: 40px 5% 100px;
  110. overflow: auto;
  111. border-top-left-radius: 30px;
  112. border-top-right-radius: 30px;
  113. position: relative;
  114. &::before {
  115. content: '';
  116. position: absolute;
  117. width: 60px;
  118. height: 4px;
  119. border-radius: 30px;
  120. background-color: var(--light-grey);
  121. left: calc(50% - 30px);
  122. top: 20px;
  123. }
  124. header {
  125. color: var(--dark-grey);
  126. font-size: 16px;
  127. font-weight: 700;
  128. }
  129. ul {
  130. list-style: none;
  131. }
  132. li {
  133. display: flex;
  134. width: 100%;
  135. align-items: center;
  136. justify-content: space-between;
  137. margin: 0px auto;
  138. padding-top: 20px;
  139. position: relative;
  140. &.attended {
  141. .status-icon {
  142. fill: var(--green);
  143. }
  144. &::before {
  145. border-color: var(--green);
  146. }
  147. }
  148. &.absent {
  149. .status-icon {
  150. fill: rgba(red, 0.5);
  151. }
  152. &::before {
  153. border-color: rgba(red, 0.5);
  154. }
  155. }
  156. &.late {
  157. .status-icon {
  158. fill: rgba(orange, 0.5);
  159. }
  160. &::before {
  161. border-color: rgba(orange, 0.5);
  162. }
  163. }
  164. &.progress {
  165. .status-icon {
  166. fill: var(--teal);
  167. }
  168. &::before {
  169. border-color: var(--teal);
  170. }
  171. }
  172. &:last-child::before {
  173. display: none;
  174. }
  175. &::before {
  176. content: '';
  177. position: absolute;
  178. left: 8px;
  179. top: 50%;
  180. height: 100%;
  181. width: 1px;
  182. border-right: 1px dashed var(--light-grey);
  183. }
  184. .icon {
  185. z-index: 1;
  186. position: relative;
  187. width: 20px;
  188. height: 20px;
  189. fill: var(--light-grey);
  190. background-color: white;
  191. }
  192. .content {
  193. width: calc(100% - 40px);
  194. }
  195. label {
  196. display: block;
  197. font-size: 14px;
  198. color: var(--dark-grey);
  199. white-space: nowrap;
  200. overflow: hidden;
  201. text-overflow: ellipsis;
  202. }
  203. p {
  204. font-size: 12px;
  205. color: var(--light-grey);
  206. white-space: nowrap;
  207. overflow: hidden;
  208. text-overflow: ellipsis;
  209. }
  210. }
  211. }
  212. .add-button {
  213. position: fixed;
  214. right: 5%;
  215. bottom: 20px;
  216. z-index: 1;
  217. width: 50px;
  218. height: 50px;
  219. border-radius: 50%;
  220. border: 0px;
  221. background-color: var(--teal-green);
  222. box-shadow: 0px 0px 5px var(--teal-green);
  223. display: flex;
  224. align-items: center;
  225. justify-content: center;
  226. .icon {
  227. width: 20px;
  228. height: 20px;
  229. fill: white;
  230. }
  231. }