index.module.less 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. .listWrap {
  2. padding: 32px;
  3. background-color: #fff;
  4. border-radius: 20px;
  5. }
  6. .searchList {
  7. .searchInput {
  8. max-width: 260px;
  9. }
  10. // .CDatePickerItem {
  11. // :global {
  12. // .n-input {
  13. // width: 303px;
  14. // }
  15. // }
  16. // }
  17. :global {
  18. .n-form.n-form--inline {
  19. flex-wrap: wrap;
  20. }
  21. .n-form.n-form--inline .n-form-item {
  22. margin-right: 18px;
  23. }
  24. // .n-form-item-blank>div {
  25. // .n-select {
  26. // min-width: 150px !important;
  27. // width: 150px !important;
  28. // }
  29. // }
  30. }
  31. }
  32. .infoListWrap {
  33. min-height: calc(100vh - 150px) !important
  34. }
  35. .addBtnIcon {
  36. width: 13Px !important;
  37. height: 14Px !important;
  38. }
  39. .addBtn {
  40. margin-bottom: 30px;
  41. background: #198cfe !important;
  42. border-radius: 7Px !important;
  43. padding: 0 18Px !important;
  44. font-weight: 600 !important;
  45. }
  46. .btnGroup {
  47. padding: 40px 0;
  48. :global {
  49. .n-button {
  50. height: 47px;
  51. min-width: 156px;
  52. }
  53. }
  54. }
  55. .addClass {
  56. display: flex;
  57. flex-direction: column;
  58. align-items: center;
  59. padding-top: 50px;
  60. }
  61. .listWrap {
  62. min-height: 100%;
  63. padding: 32px;
  64. background-color: #fff;
  65. border-radius: 20px;
  66. }
  67. .workVisiable {
  68. width: 1258px;
  69. }
  70. .workContainer {
  71. display: flex;
  72. align-items: center;
  73. .workTrain {
  74. flex: 1;
  75. height: 75vh;
  76. &>div {
  77. padding-top: 15px;
  78. }
  79. }
  80. :global {
  81. .train-container {
  82. // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
  83. max-height: calc(var(--window-page-lesson-height) - 100px) !important;
  84. .train-listSection {
  85. min-height: calc(var(--window-page-lesson-height) - 100px) !important;
  86. }
  87. }
  88. }
  89. .resourceMain {
  90. flex: 0 0 360px;
  91. height: 75vh;
  92. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  93. }
  94. }
  95. .removeVisiable {
  96. width: 432px;
  97. :global {
  98. .n-card-header {
  99. font-size: max(22px, 16Px);
  100. }
  101. }
  102. .studentRemove {
  103. padding: 0 40px;
  104. p {
  105. font-size: max(18px, 14Px);
  106. color: #777777;
  107. line-height: 30px;
  108. span {
  109. color: #EA4132;
  110. }
  111. }
  112. }
  113. .btnGroup {
  114. padding: 32px 0;
  115. :global {
  116. .n-button {
  117. height: 47px;
  118. min-width: 156px;
  119. }
  120. }
  121. }
  122. }
  123. .listSection {
  124. padding: 0 0 12px;
  125. display: flex;
  126. flex-flow: row wrap;
  127. justify-content: flex-start;
  128. gap: 20px 2%;
  129. &>div {
  130. width: 49% !important;
  131. }
  132. }
  133. .item {
  134. cursor: pointer;
  135. background: #F7F9FF;
  136. border-radius: 13px;
  137. padding: 0 17px 17px;
  138. position: relative;
  139. .header {
  140. display: flex;
  141. align-items: center;
  142. padding: 13px 0;
  143. .navatar {
  144. width: 60px;
  145. height: 60px;
  146. border-radius: 50%;
  147. padding: 2px;
  148. border: 1px solid #198CFE;
  149. margin-right: 15px;
  150. flex-shrink: 0;
  151. background-color: #fff !important;
  152. :global {
  153. img {
  154. border-radius: 50%;
  155. }
  156. }
  157. }
  158. .userInfo {
  159. padding-top: 4px;
  160. flex: 1;
  161. h2 {
  162. font-size: max(17px, 14Px);
  163. font-weight: 600;
  164. color: #131415;
  165. line-height: 28px;
  166. }
  167. p {
  168. font-size: max(16px, 12Px);
  169. color: #777777;
  170. line-height: 28px;
  171. }
  172. }
  173. .ing,
  174. .over {
  175. position: absolute;
  176. top: 0;
  177. right: 0;
  178. width: 121px;
  179. height: 38px;
  180. display: inline-block;
  181. }
  182. .ing {
  183. background: url('./images/icon-ing.png') no-repeat center;
  184. background-size: contain;
  185. }
  186. .over {
  187. background: url('./images/icon-over.png') no-repeat center;
  188. background-size: contain;
  189. }
  190. }
  191. .content {
  192. // display: flex;
  193. // justify-content: space-between;
  194. // align-items: flex-end;
  195. padding: 13px;
  196. background: #FFFFFF;
  197. border-radius: 10px;
  198. .homeTitle {
  199. font-size: max(17px, 14Px);
  200. font-family: PingFangSC, PingFang SC;
  201. font-weight: 600;
  202. color: #000000;
  203. padding-bottom: 5px;
  204. display: flex;
  205. align-items: center;
  206. justify-content: space-between;
  207. :global {
  208. .n-space {
  209. flex-shrink: 0;
  210. }
  211. }
  212. &>p {
  213. display: flex;
  214. align-items: center;
  215. }
  216. .CLASSWORK,
  217. .HOMEWORK {
  218. padding: 2px 8px 1px;
  219. border-radius: 4px;
  220. font-size: max(13px, 11Px);
  221. line-height: 18px;
  222. margin-right: 7px;
  223. }
  224. .CLASSWORK {
  225. color: #E24F4F;
  226. background: #FFD2D2;
  227. }
  228. .HOMEWORK {
  229. color: #3F8ADF;
  230. background: #D2E9FF;
  231. }
  232. }
  233. .homeContent {
  234. padding-bottom: 5px;
  235. }
  236. .homeworkText {
  237. display: flex;
  238. align-items: flex-start;
  239. .pSection {
  240. max-width: 650px;
  241. }
  242. .p1,
  243. .p2 {
  244. white-space: nowrap;
  245. overflow: hidden;
  246. text-overflow: ellipsis;
  247. }
  248. .p1::before,
  249. .p2::before {
  250. content: '';
  251. display: inline-block;
  252. width: 5px;
  253. height: 5px;
  254. background: #198CFE;
  255. margin-right: 7px;
  256. border-radius: 50%;
  257. flex-shrink: 0;
  258. transform: translateY(-3px);
  259. }
  260. .p1 {
  261. padding-bottom: 6px;
  262. }
  263. .p2::before {
  264. background: #F44040;
  265. }
  266. }
  267. .title {
  268. font-size: max(13px, 12Px);
  269. color: #777777;
  270. flex-shrink: 0;
  271. }
  272. .text {
  273. font-size: max(13px, 12Px);
  274. font-weight: 500;
  275. color: #333333;
  276. line-height: 22px;
  277. }
  278. .errorBtn {
  279. // min-width: 93px;
  280. // height: 30px;
  281. --n-height: 24px !important;
  282. // background: #F94D50;
  283. // border-radius: 7px;
  284. --n-font-size: max(15px, 13Px);
  285. font-weight: 500 !important;
  286. // color: #FFFFFF;
  287. line-height: 18px;
  288. }
  289. }
  290. }