index.module.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. .btnGroup {
  2. display: flex;
  3. align-items: center;
  4. justify-content: space-between;
  5. padding-left: 22px !important;
  6. padding-right: 22px !important;
  7. .tips {
  8. color: #0378EC;
  9. font-size: 16px;
  10. line-height: 38px;
  11. }
  12. :global {
  13. .n-base-selection {
  14. --n-height: 38px !important;
  15. width: 160px;
  16. font-size: 15px;
  17. border-radius: 8px !important;
  18. }
  19. .n-button {
  20. border-radius: 8px;
  21. height: 38px;
  22. font-size: 17px;
  23. font-weight: 600 !important;
  24. padding: 0 27px;
  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. .btnSubjectList {
  51. :global {
  52. .n-base-selection-label {
  53. &::before {
  54. margin-left: 12px;
  55. content: ' ';
  56. width: 24px;
  57. height: 24px;
  58. background: url('../../../images/icon-subject-name.png') no-repeat center;
  59. background-size: contain;
  60. }
  61. }
  62. .n-base-selection-input {
  63. padding-left: 8px;
  64. }
  65. .n-base-selection .n-base-selection-overlay {
  66. left: 24px;
  67. }
  68. }
  69. }
  70. .btnItem {
  71. display: flex;
  72. align-items: center;
  73. .btnTitle {
  74. flex-shrink: 0;
  75. font-size: 18px;
  76. font-weight: 600;
  77. }
  78. &:last-child {
  79. margin-left: 12px;
  80. }
  81. }
  82. .listContainer {
  83. margin-top: 12px;
  84. // // 52 + 28 + 38
  85. max-height: calc(var(--window-page-lesson-height) - 148px);
  86. .listSection {
  87. min-height: calc(var(--window-page-lesson-height) - 148px);
  88. }
  89. .emptySection {
  90. display: flex;
  91. align-items: center;
  92. }
  93. }
  94. .list {
  95. padding: 12px 22px 12px;
  96. display: flex;
  97. flex-flow: row wrap;
  98. justify-content: flex-start;
  99. gap: 20px;
  100. }
  101. .trainEditModal {
  102. width: 494px;
  103. }
  104. .assignHomework {
  105. width: 520px;
  106. }
  107. .assignHomeworkContainer {
  108. padding: 24px 30px;
  109. .updateBtnGroup {
  110. padding: 0;
  111. justify-content: center !important;
  112. :global {
  113. .n-button {
  114. height: 48px !important;
  115. min-width: 156px;
  116. }
  117. }
  118. }
  119. }
  120. .removeVisiable {
  121. width: 432px;
  122. :global {
  123. .n-card-header {
  124. font-size: max(22px, 16Px);
  125. }
  126. }
  127. .studentRemove {
  128. padding: 20px 40px 0;
  129. p {
  130. font-size: max(18px, 14Px);
  131. color: #777777;
  132. line-height: 30px;
  133. text-align: center;
  134. span {
  135. color: #EA4132;
  136. }
  137. }
  138. }
  139. .btnGroupModal {
  140. padding: 32px 0;
  141. :global {
  142. .n-button {
  143. height: 47px;
  144. min-width: 156px;
  145. }
  146. }
  147. }
  148. }
  149. .removeVisiable1 {
  150. width: 432px;
  151. :global {
  152. .n-card-header {
  153. font-size: max(22px, 16Px);
  154. }
  155. }
  156. .studentRemove {
  157. padding: 20px 40px 0;
  158. p {
  159. font-size: max(18px, 14Px);
  160. color: #777777;
  161. line-height: 30px;
  162. span {
  163. color: #EA4132;
  164. }
  165. }
  166. }
  167. .btnGroupModal {
  168. padding: 32px 0;
  169. :global {
  170. .n-button {
  171. height: 47px;
  172. min-width: 156px;
  173. }
  174. }
  175. }
  176. }