index.module.less 5.2 KB

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