index.module.less 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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: 1358px;
  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. width: 360px;
  92. height: 75vh;
  93. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  94. }
  95. }
  96. .removeVisiable {
  97. width: 432px;
  98. :global {
  99. .n-card-header {
  100. font-size: max(22px, 16Px);
  101. }
  102. }
  103. .studentRemove {
  104. padding: 0 40px;
  105. p {
  106. font-size: max(18px, 14Px);
  107. color: #777777;
  108. line-height: 30px;
  109. span {
  110. color: #EA4132;
  111. }
  112. }
  113. }
  114. .btnGroup {
  115. padding: 32px 0;
  116. :global {
  117. .n-button {
  118. height: 47px;
  119. min-width: 156px;
  120. }
  121. }
  122. }
  123. }
  124. .listSection {
  125. padding: 0 0 12px;
  126. display: flex;
  127. flex-flow: row wrap;
  128. justify-content: flex-start;
  129. gap: 20px 2%;
  130. &>div {
  131. width: 49% !important;
  132. }
  133. }
  134. .theTooltip {
  135. max-width: 650px !important;
  136. }
  137. .item {
  138. cursor: pointer;
  139. background: #F4F7FD;
  140. border-radius: 13px;
  141. padding: 0 17px 17px;
  142. position: relative;
  143. display: flex;
  144. flex-direction: column;
  145. .header {
  146. display: flex;
  147. align-items: center;
  148. padding: 13px 0;
  149. .navatar {
  150. width: 60px;
  151. height: 60px;
  152. border-radius: 50%;
  153. padding: 2px;
  154. border: 1px solid #198CFE;
  155. margin-right: 15px;
  156. flex-shrink: 0;
  157. background-color: #fff !important;
  158. :global {
  159. img {
  160. border-radius: 50%;
  161. }
  162. }
  163. }
  164. .userInfo {
  165. padding-top: 4px;
  166. flex: 1;
  167. h2 {
  168. font-size: max(17px, 14Px);
  169. font-weight: 600;
  170. color: #131415;
  171. line-height: 28px;
  172. }
  173. p {
  174. font-size: max(16px, 12Px);
  175. color: #777777;
  176. line-height: 28px;
  177. }
  178. }
  179. .ing,
  180. .over {
  181. position: absolute;
  182. top: 0;
  183. right: 0;
  184. width: 121px;
  185. height: 38px;
  186. display: inline-block;
  187. }
  188. .ing {
  189. background: url('./images/icon-ing.png') no-repeat center;
  190. background-size: contain;
  191. }
  192. .over {
  193. background: url('./images/icon-over.png') no-repeat center;
  194. background-size: contain;
  195. }
  196. }
  197. .content {
  198. // display: flex;
  199. // justify-content: space-between;
  200. // align-items: flex-end;
  201. flex: 1;
  202. padding: 13px;
  203. background: #FFFFFF;
  204. border-radius: 10px;
  205. .homeTitle {
  206. font-size: max(17px, 14Px);
  207. font-family: PingFangSC, PingFang SC;
  208. font-weight: 600;
  209. color: #000000;
  210. padding-bottom: 5px;
  211. display: flex;
  212. align-items: center;
  213. justify-content: space-between;
  214. :global {
  215. .n-space {
  216. flex-shrink: 0;
  217. }
  218. }
  219. &>p {
  220. display: flex;
  221. align-items: center;
  222. }
  223. .CLASSWORK,
  224. .HOMEWORK {
  225. padding: 2px 8px 1px;
  226. border-radius: 4px;
  227. font-size: max(13px, 11Px);
  228. line-height: 18px;
  229. margin-right: 7px;
  230. }
  231. .CLASSWORK {
  232. color: #E24F4F;
  233. background: #FFD2D2;
  234. }
  235. .HOMEWORK {
  236. color: #3F8ADF;
  237. background: #D2E9FF;
  238. }
  239. }
  240. .homeContent {
  241. padding-bottom: 5px;
  242. }
  243. .homeworkText {
  244. display: flex;
  245. align-items: flex-start;
  246. .pSection {
  247. max-width: 650px;
  248. }
  249. .p1,
  250. .p2 {
  251. white-space: nowrap;
  252. overflow: hidden;
  253. text-overflow: ellipsis;
  254. }
  255. .p1::before,
  256. .p2::before {
  257. content: '';
  258. display: inline-block;
  259. width: 5px;
  260. height: 5px;
  261. background: #198CFE;
  262. margin-right: 7px;
  263. border-radius: 50%;
  264. flex-shrink: 0;
  265. transform: translateY(-3px);
  266. }
  267. .p1 {
  268. padding-bottom: 6px;
  269. }
  270. .p2::before {
  271. background: #F44040;
  272. }
  273. }
  274. .title {
  275. font-size: max(13px, 12Px);
  276. color: #777777;
  277. flex-shrink: 0;
  278. }
  279. .text {
  280. font-size: max(13px, 12Px);
  281. font-weight: 500;
  282. color: #333333;
  283. line-height: 22px;
  284. :global {
  285. .showContentWidthWrap {
  286. max-width: 100% !important;
  287. display: inline;
  288. }
  289. }
  290. }
  291. .errorBtn {
  292. // min-width: 93px;
  293. // height: 30px;
  294. --n-height: 24px !important;
  295. // background: #F94D50;
  296. // border-radius: 7px;
  297. --n-font-size: max(15px, 13Px);
  298. font-weight: 500 !important;
  299. // color: #FFFFFF;
  300. line-height: 18px;
  301. }
  302. }
  303. }