index.module.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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 !important;
  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 2%;
  100. &>div {
  101. width: 49% !important;
  102. }
  103. .itemBlock {
  104. &>div {
  105. width: 100% !important;
  106. }
  107. }
  108. }
  109. .trainEditModal {
  110. width: 494px;
  111. }
  112. .assignHomework {
  113. width: 520px;
  114. }
  115. .assignHomeworkContainer {
  116. padding: 24px 30px;
  117. .updateBtnGroup {
  118. padding: 0;
  119. justify-content: center !important;
  120. :global {
  121. .n-button {
  122. height: 48px !important;
  123. min-width: 156px;
  124. }
  125. }
  126. }
  127. }
  128. .removeVisiable {
  129. width: 432px;
  130. :global {
  131. .n-card-header {
  132. font-size: max(22px, 16Px);
  133. }
  134. }
  135. .studentRemove {
  136. padding: 20px 40px 0;
  137. p {
  138. font-size: max(18px, 14Px);
  139. color: #777777;
  140. line-height: 30px;
  141. text-align: center;
  142. span {
  143. color: #EA4132;
  144. }
  145. }
  146. }
  147. .btnGroupModal {
  148. padding: 32px 0;
  149. :global {
  150. .n-button {
  151. height: 47px;
  152. min-width: 156px;
  153. }
  154. }
  155. }
  156. }
  157. .removeVisiable1 {
  158. width: 432px;
  159. :global {
  160. .n-card-header {
  161. font-size: max(22px, 16Px);
  162. }
  163. }
  164. .studentRemove {
  165. padding: 20px 40px 0;
  166. p {
  167. font-size: max(18px, 14Px);
  168. color: #777777;
  169. line-height: 30px;
  170. span {
  171. color: #EA4132;
  172. }
  173. }
  174. }
  175. .btnGroupModal {
  176. padding: 32px 0;
  177. :global {
  178. .n-button {
  179. height: 47px;
  180. min-width: 156px;
  181. }
  182. }
  183. }
  184. }