index.module.less 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. .btnGroup {
  2. display: flex;
  3. align-items: center;
  4. justify-content: space-between;
  5. padding-left: 36px !important;
  6. height: 40px;
  7. padding-right: 36px !important;
  8. :global {
  9. .n-base-selection {
  10. --n-height: max(40px, 36Px) !important;
  11. width: 160px;
  12. font-size: 15px;
  13. border-radius: 8px !important;
  14. }
  15. .n-base-selection-input__content {
  16. font-size: max(15px, 13Px);
  17. }
  18. .n-button {
  19. border-radius: 8px;
  20. height: 38px;
  21. font-size: max(18px, 13Px);
  22. font-weight: 600 !important;
  23. padding: 0 27px;
  24. margin-left: 14px;
  25. }
  26. .n-button--default-type {
  27. background: #E8F4FF !important;
  28. color: #0378EC !important;
  29. &:not(.n-button--disabled):hover {
  30. background: #E8F4FF;
  31. }
  32. .n-button__border {
  33. border: 1px solid #198CFE;
  34. }
  35. }
  36. .n-button--error-type {
  37. background: #FDEBED !important;
  38. color: #EC3A4E !important;
  39. &:not(.n-button--disabled):hover,
  40. &:not(.n-button--disabled):active {
  41. background: #FDEBED;
  42. color: #EC3A4E;
  43. }
  44. .n-button__border {
  45. border: 1px solid #EC3A4E;
  46. }
  47. }
  48. }
  49. }
  50. :global {
  51. .assignHomeworkStuBoxClass_drag {
  52. .assignStudent {
  53. >div {
  54. padding-bottom: 36px;
  55. }
  56. }
  57. }
  58. .assignHomeworkStuBoxClass_drag,
  59. .workSetingBoxClass_drag,
  60. .workClearBoxClass_drag,
  61. .workSaveBoxClass_drag,
  62. .workArrangeImmediatelyBoxClass_drag {
  63. .bom_drag {
  64. position: absolute;
  65. left: 0;
  66. bottom: 0;
  67. z-index: 1;
  68. }
  69. }
  70. }
  71. .tipsContainer {
  72. display: flex;
  73. align-items: center;
  74. justify-content: space-between;
  75. flex: 1 auto;
  76. margin-right: 30px;
  77. height: 40px;
  78. padding: 0 16px;
  79. background: #EDF7FF;
  80. border-radius: 9px;
  81. max-width: 600px;
  82. .tipsLeft {
  83. display: flex;
  84. align-items: center;
  85. font-size: 16px;
  86. color: rgba(0, 0, 0, 0.88);
  87. .tips {
  88. line-height: 38px;
  89. }
  90. }
  91. .iconTips {
  92. margin-right: 9px;
  93. width: 18px;
  94. height: 18px;
  95. }
  96. .btnNoTips {
  97. font-size: 16px;
  98. font-weight: 500;
  99. color: #1677FF;
  100. cursor: pointer;
  101. }
  102. }
  103. .btnItem {
  104. display: flex;
  105. align-items: center;
  106. .btnTitle {
  107. flex-shrink: 0;
  108. font-size: max(18px, 13Px);
  109. font-weight: 600;
  110. }
  111. // &:last-child {
  112. // margin-left: 12px;
  113. // }
  114. :global {
  115. .n-input {
  116. --n-height: 42px !important;
  117. width: 280px;
  118. }
  119. }
  120. }
  121. .btnGroupClass {
  122. margin-top: 10px;
  123. }
  124. .listContainer {
  125. margin-top: 12px;
  126. // // 52 + 28 + 38
  127. max-height: calc(var(--window-page-lesson-height) - 196px);
  128. .listSection {
  129. min-height: calc(var(--window-page-lesson-height) - 196px);
  130. }
  131. &.listContainerDrag {
  132. max-height: calc(var(--window-page-lesson-height) - 148px);
  133. .listSection {
  134. min-height: calc(var(--window-page-lesson-height) - 148px);
  135. }
  136. }
  137. .emptySection {
  138. display: flex;
  139. align-items: center;
  140. }
  141. }
  142. .list {
  143. padding: 12px 36px 12px;
  144. display: flex;
  145. flex-flow: row wrap;
  146. justify-content: flex-start;
  147. gap: 20px 2%;
  148. &>div {
  149. width: 32% !important;
  150. }
  151. .itemBlock {
  152. &>div {
  153. width: 100% !important;
  154. }
  155. }
  156. }
  157. .trainEditModal {
  158. width: 524px;
  159. }
  160. .assignHomework {
  161. width: 620px;
  162. }
  163. .assignHomeworkContainer {
  164. padding: 24px 30px;
  165. .expireDateTip {
  166. display: flex;
  167. align-items: center;
  168. padding: 9px 12px;
  169. background: #E6F4FF;
  170. border-radius: 7px;
  171. width: 100%;
  172. .expireDateIcon {
  173. width: max(13px, 12Px);
  174. height: max(13px, 12Px);
  175. display: inline-block;
  176. background: url('../../../images/icon-expiredate.svg') no-repeat center;
  177. background-size: contain;
  178. margin-right: 7px;
  179. }
  180. span {
  181. font-size: 12Px;
  182. color: #1677FF;
  183. }
  184. }
  185. .updateBtnGroup {
  186. padding: 0;
  187. justify-content: center !important;
  188. :global {
  189. .n-button {
  190. height: 48px !important;
  191. min-width: 156px;
  192. }
  193. }
  194. }
  195. .switch {
  196. height: 37px !important;
  197. border-radius: 8px;
  198. &.active {
  199. background: #198CFE;
  200. color: #fff;
  201. }
  202. }
  203. .studentSection {
  204. :global {
  205. .n-form-item-blank {
  206. flex-direction: column;
  207. align-items: flex-start;
  208. }
  209. }
  210. }
  211. .selectStudentBtn {
  212. // padding-top: 9px;
  213. // padding-bottom: 4px;
  214. font-size: max(15px, 13Px);
  215. height: max(40px, 36Px) !important;
  216. line-height: max(40px, 36Px) !important;
  217. font-weight: 500;
  218. color: #1677FF;
  219. text-decoration: underline;
  220. cursor: pointer;
  221. &.disabled {
  222. color: #bbb;
  223. cursor: not-allowed;
  224. }
  225. }
  226. .firstName {
  227. padding-left: 4px;
  228. }
  229. .studentList {
  230. // margin-top: 10px;
  231. color: #333333;
  232. font-size: max(13px, 12Px);
  233. padding: 10px 6px;
  234. border-radius: 8px;
  235. background: #F7F7F8;
  236. width: 100%;
  237. .studentItem {
  238. background: #FFFFFF;
  239. height: 28px;
  240. border-radius: 7px;
  241. padding: 5px 10px;
  242. color: #333333;
  243. line-height: 18px;
  244. margin: 3px 4px;
  245. display: inline-block;
  246. i {
  247. display: inline-block;
  248. width: 13px;
  249. height: 13px;
  250. background: url('../../../images/icon-close.png') no-repeat center;
  251. background-size: contain;
  252. cursor: pointer;
  253. }
  254. }
  255. }
  256. }
  257. .removeVisiable {
  258. width: 432px;
  259. :global {
  260. .n-card-header {
  261. font-size: max(22px, 16Px);
  262. }
  263. }
  264. .studentRemove {
  265. padding: 20px 40px 0;
  266. p {
  267. font-size: max(18px, 14Px);
  268. color: #777777;
  269. line-height: 30px;
  270. text-align: center;
  271. span {
  272. color: #EA4132;
  273. }
  274. }
  275. }
  276. .btnGroupModal {
  277. padding: 32px 0;
  278. :global {
  279. .n-button {
  280. height: 47px;
  281. min-width: 156px;
  282. }
  283. }
  284. }
  285. }
  286. .removeVisiable1 {
  287. width: 432px;
  288. :global {
  289. .n-card-header {
  290. font-size: max(22px, 16Px);
  291. }
  292. }
  293. .studentRemove {
  294. padding: 20px 40px 0;
  295. p {
  296. text-align: center;
  297. font-size: max(18px, 14Px);
  298. color: #777777;
  299. line-height: 30px;
  300. span {
  301. color: #EA4132;
  302. }
  303. }
  304. }
  305. .btnGroupModal {
  306. padding: 32px 0;
  307. :global {
  308. .n-button {
  309. height: 47px;
  310. min-width: 156px;
  311. }
  312. }
  313. }
  314. }