index.module.less 5.6 KB

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