index.module.less 5.2 KB

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