index.module.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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: 38px !important;
  11. width: 160px;
  12. font-size: 15px;
  13. border-radius: 8px !important;
  14. }
  15. .n-button {
  16. border-radius: 8px;
  17. height: 38px;
  18. font-size: 17px;
  19. font-weight: 600 !important;
  20. padding: 0 27px;
  21. }
  22. .n-button--default-type {
  23. background: #E8F4FF;
  24. color: #0378EC;
  25. &:not(.n-button--disabled):hover {
  26. background: #E8F4FF;
  27. }
  28. .n-button__border {
  29. border: 1px solid #198CFE;
  30. }
  31. }
  32. .n-button--error-type {
  33. background: #FDEBED !important;
  34. color: #EC3A4E !important;
  35. &:not(.n-button--disabled):hover,
  36. &:not(.n-button--disabled):active {
  37. background: #FDEBED;
  38. color: #EC3A4E;
  39. }
  40. .n-button__border {
  41. border: 1px solid #EC3A4E;
  42. }
  43. }
  44. }
  45. }
  46. .tipsContainer {
  47. display: flex;
  48. align-items: center;
  49. justify-content: space-between;
  50. flex: 1 auto;
  51. margin-right: 30px;
  52. height: 40px;
  53. padding: 0 16px;
  54. background: #EDF7FF;
  55. border-radius: 9px;
  56. max-width: 600px;
  57. .tipsLeft {
  58. display: flex;
  59. align-items: center;
  60. font-size: 16px;
  61. color: rgba(0, 0, 0, 0.88);
  62. .tips {
  63. line-height: 38px;
  64. }
  65. }
  66. .iconTips {
  67. margin-right: 9px;
  68. width: 18px;
  69. height: 18px;
  70. }
  71. .btnNoTips {
  72. font-size: 16px;
  73. font-weight: 500;
  74. color: #1677FF;
  75. cursor: pointer;
  76. }
  77. }
  78. .btnSubjectList {
  79. :global {
  80. .n-base-selection-label {
  81. &::before {
  82. margin-left: 12px;
  83. content: ' ';
  84. width: 24px;
  85. height: 24px;
  86. background: url('../../../images/icon-subject-name.png') no-repeat center;
  87. background-size: contain;
  88. }
  89. }
  90. .n-base-selection-input {
  91. padding-left: 8px !important;
  92. }
  93. .n-base-selection .n-base-selection-overlay {
  94. left: 24px;
  95. }
  96. }
  97. }
  98. .btnItem {
  99. display: flex;
  100. align-items: center;
  101. .btnTitle {
  102. flex-shrink: 0;
  103. font-size: 18px;
  104. font-weight: 600;
  105. }
  106. &:last-child {
  107. margin-left: 12px;
  108. }
  109. }
  110. .btnGroupClass {
  111. padding-top: 10px;
  112. }
  113. .listContainer {
  114. margin-top: 12px;
  115. // // 52 + 28 + 38
  116. // max-height: calc(var(--window-page-lesson-height) - 148px);
  117. // .listSection {
  118. // min-height: calc(var(--window-page-lesson-height) - 148px);
  119. // }
  120. max-height: calc(var(--window-page-lesson-height) - 196px);
  121. .listSection {
  122. min-height: calc(var(--window-page-lesson-height) - 196px);
  123. }
  124. &.listContainerDrag {
  125. max-height: calc(var(--window-page-lesson-height) - 148px);
  126. .listSection {
  127. min-height: calc(var(--window-page-lesson-height) - 148px);
  128. }
  129. }
  130. .emptySection {
  131. display: flex;
  132. align-items: center;
  133. }
  134. }
  135. .list {
  136. padding: 12px 22px 12px;
  137. display: flex;
  138. flex-flow: row wrap;
  139. justify-content: flex-start;
  140. gap: 20px 2%;
  141. &>div {
  142. width: 49% !important;
  143. }
  144. .itemBlock {
  145. &>div {
  146. width: 100% !important;
  147. }
  148. }
  149. }
  150. .trainEditModal {
  151. width: 494px;
  152. }
  153. .assignHomework {
  154. width: 520px;
  155. }
  156. .assignHomeworkContainer {
  157. padding: 24px 30px;
  158. .updateBtnGroup {
  159. padding: 0;
  160. justify-content: center !important;
  161. :global {
  162. .n-button {
  163. height: 48px !important;
  164. min-width: 156px;
  165. }
  166. }
  167. }
  168. }
  169. .removeVisiable {
  170. width: 432px;
  171. :global {
  172. .n-card-header {
  173. font-size: max(22px, 16Px);
  174. }
  175. }
  176. .studentRemove {
  177. padding: 20px 40px 0;
  178. p {
  179. font-size: max(18px, 14Px);
  180. color: #777777;
  181. line-height: 30px;
  182. text-align: center;
  183. span {
  184. color: #EA4132;
  185. }
  186. }
  187. }
  188. .btnGroupModal {
  189. padding: 32px 0;
  190. :global {
  191. .n-button {
  192. height: 47px;
  193. min-width: 156px;
  194. }
  195. }
  196. }
  197. }
  198. .removeVisiable1 {
  199. width: 432px;
  200. :global {
  201. .n-card-header {
  202. font-size: max(22px, 16Px);
  203. }
  204. }
  205. .studentRemove {
  206. padding: 20px 40px 0;
  207. p {
  208. font-size: max(18px, 14Px);
  209. color: #777777;
  210. line-height: 30px;
  211. span {
  212. color: #EA4132;
  213. }
  214. }
  215. }
  216. .btnGroupModal {
  217. padding: 32px 0;
  218. :global {
  219. .n-button {
  220. height: 47px;
  221. min-width: 156px;
  222. }
  223. }
  224. }
  225. }