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

209 рядки
3.8 KiB

  1. .page-container {
  2. height: 100%;
  3. overflow: auto;
  4. }
  5. .header-bar {
  6. display: flex;
  7. align-items: center;
  8. height: 60px;
  9. position: relative;
  10. padding: 0 5%;
  11. img {
  12. width: 35px;
  13. height: 35px;
  14. border-radius: 50%;
  15. overflow: hidden;
  16. }
  17. .icon {
  18. width: 20px;
  19. height: 20px;
  20. fill: white;
  21. }
  22. button {
  23. margin-left: 25px;
  24. border: 0px;
  25. background-color: transparent;
  26. &.profile-button {
  27. margin-left: 0;
  28. margin-right: auto;
  29. }
  30. }
  31. }
  32. .video-section {
  33. position: relative;
  34. text-align: center;
  35. background-color: var(--dark-grey);
  36. height: 30vh;
  37. width: 90%;
  38. margin: 10px auto;
  39. border-radius: 5px;
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. color: white;
  44. position: sticky;
  45. position: -webkit-sticky;
  46. top: 0;
  47. z-index: 1;
  48. transition: width 0.5s;
  49. &.expand {
  50. width: 100%;
  51. }
  52. .tutor {
  53. position: absolute;
  54. left: 10px;
  55. bottom: 10px;
  56. color: white;
  57. img {
  58. width: 20px;
  59. height: 20px;
  60. border-radius: 50%;
  61. margin-right: 5px;
  62. vertical-align: middle;
  63. overflow: hidden;
  64. }
  65. span {
  66. font-size: 12px;
  67. }
  68. }
  69. h2 {
  70. font-size: 20px;
  71. margin-bottom: 5px;
  72. }
  73. p {
  74. font-size: 16px;
  75. }
  76. .counter {
  77. font-size: 28px;
  78. font-weight: 500;
  79. letter-spacing: 1px;
  80. }
  81. }
  82. .subject-list {
  83. position: relative;
  84. width: 88%;
  85. margin: 0 auto;
  86. list-style: none;
  87. header {
  88. color: var(--black);
  89. h5 {
  90. font-size: 14px;
  91. margin-top: 30px;
  92. font-weight: 500;
  93. }
  94. &:first-child h5 {
  95. margin-top: 20px;
  96. }
  97. }
  98. li {
  99. background-color: white;
  100. border-radius: 15px;
  101. overflow: hidden;
  102. display: flex;
  103. align-items: center;
  104. padding: 15px 10px;
  105. margin-top: 15px;
  106. box-shadow: 0px 0px 5px -2px var(--black);
  107. justify-content: space-between;
  108. position: relative;
  109. &::before {
  110. content: '';
  111. position: absolute;
  112. left: 0;
  113. top: 0;
  114. width: 7px;
  115. height: 100%;
  116. background-color: transparent;
  117. }
  118. &.attended::before {
  119. background-color: var(--teal-green);
  120. }
  121. &.absent::before {
  122. background-color: var(--danger);
  123. }
  124. &.late::before {
  125. background-color: rgba(orange, 0.5);
  126. }
  127. }
  128. .schedule {
  129. width: 80px;
  130. padding: 0 5px;
  131. text-align: center;
  132. }
  133. .subject {
  134. width: calc(100% - 180px);
  135. border-left: 1px solid #cecece;
  136. padding-left: 15px;
  137. overflow: hidden;
  138. p {
  139. margin-top: 10px;
  140. }
  141. }
  142. .view-button {
  143. height: 33px;
  144. border-radius: 5px;
  145. border: 0px;
  146. background-color: var(--teal-green);
  147. color: white;
  148. font-size: 14px;
  149. width: 80px;
  150. }
  151. label {
  152. font-size: 16px;
  153. color: var(--black);
  154. font-weight: 500;
  155. }
  156. p {
  157. font-size: 13px;
  158. color: var(--dark-grey);
  159. margin-top: 2px;
  160. white-space: nowrap;
  161. text-overflow: ellipsis;
  162. overflow: hidden;
  163. img {
  164. width: 20px;
  165. height: 20px;
  166. border-radius: 50%;
  167. overflow: hidden;
  168. object-fit: cover;
  169. object-position: top;
  170. vertical-align: middle;
  171. }
  172. span {
  173. vertical-align: middle;
  174. margin-left: 3px;
  175. }
  176. }
  177. }