index.module.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. .listContainer {
  51. margin-top: 12px;
  52. // // 52 + 28 + 38
  53. max-height: calc(var(--window-page-lesson-height) - 148px);
  54. .listSection {
  55. min-height: calc(var(--window-page-lesson-height) - 148px);
  56. }
  57. .emptySection {
  58. display: flex;
  59. align-items: center;
  60. }
  61. }
  62. .list {
  63. padding: 12px 22px 12px;
  64. display: flex;
  65. flex-flow: row wrap;
  66. justify-content: flex-start;
  67. gap: 20px;
  68. }
  69. .trainEditModal {
  70. width: 494px;
  71. }
  72. .assignHomework {
  73. width: 520px;
  74. }
  75. .assignHomeworkContainer {
  76. padding: 24px 30px;
  77. .updateBtnGroup {
  78. padding: 0;
  79. justify-content: center !important;
  80. :global {
  81. .n-button {
  82. height: 48px !important;
  83. min-width: 156px;
  84. }
  85. }
  86. }
  87. }
  88. .removeVisiable {
  89. width: 432px;
  90. :global {
  91. .n-card-header {
  92. font-size: max(22px, 16Px);
  93. }
  94. }
  95. .studentRemove {
  96. padding: 20px 40px 0;
  97. p {
  98. font-size: max(18px, 14Px);
  99. color: #777777;
  100. line-height: 30px;
  101. text-align: center;
  102. span {
  103. color: #EA4132;
  104. }
  105. }
  106. }
  107. .btnGroupModal {
  108. padding: 32px 0;
  109. :global {
  110. .n-button {
  111. height: 47px;
  112. min-width: 156px;
  113. }
  114. }
  115. }
  116. }
  117. .removeVisiable1 {
  118. width: 432px;
  119. :global {
  120. .n-card-header {
  121. font-size: max(22px, 16Px);
  122. }
  123. }
  124. .studentRemove {
  125. padding: 20px 40px 0;
  126. p {
  127. font-size: max(18px, 14Px);
  128. color: #777777;
  129. line-height: 30px;
  130. span {
  131. color: #EA4132;
  132. }
  133. }
  134. }
  135. .btnGroupModal {
  136. padding: 32px 0;
  137. :global {
  138. .n-button {
  139. height: 47px;
  140. min-width: 156px;
  141. }
  142. }
  143. }
  144. }