index.module.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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. .btnClassList {
  13. :global {
  14. .n-base-selection {
  15. width: 200px;
  16. }
  17. .n-base-selection-label {
  18. &::before {
  19. margin-left: 12px;
  20. content: ' ';
  21. width: 24px;
  22. height: 24px;
  23. background: url('../../../images/icon-class-name.png') no-repeat center;
  24. background-size: contain;
  25. }
  26. }
  27. .n-base-selection-input {
  28. padding-left: 8px;
  29. }
  30. .n-base-selection.n-base-selection--disabled {
  31. cursor: pointer;
  32. }
  33. .n-base-selection.n-base-selection--disabled .n-base-selection-label {
  34. background-color: #fff;
  35. cursor: pointer;
  36. }
  37. .n-base-selection.n-base-selection--disabled .n-base-selection-label .n-base-selection-input {
  38. color: var(--n-text-color);
  39. cursor: pointer;
  40. }
  41. .n-base-selection .n-base-selection-overlay {
  42. left: 24px;
  43. }
  44. }
  45. }
  46. .btnSubjectList {
  47. :global {
  48. .n-base-selection-label {
  49. &::before {
  50. margin-left: 12px;
  51. content: ' ';
  52. width: 24px;
  53. height: 24px;
  54. background: url('../../../images/icon-subject-name.png') no-repeat center;
  55. background-size: contain;
  56. }
  57. }
  58. .n-base-selection-input {
  59. padding-left: 8px;
  60. }
  61. .n-base-selection .n-base-selection-overlay {
  62. left: 24px;
  63. }
  64. }
  65. }
  66. :global {
  67. .n-base-selection {
  68. --n-height: 38px !important;
  69. width: 160px;
  70. font-size: 15px;
  71. border-radius: 8px !important;
  72. }
  73. .n-button {
  74. border-radius: 8px;
  75. height: 38px;
  76. font-size: 17px;
  77. font-weight: 600 !important;
  78. padding: 0 27px;
  79. }
  80. .n-button--default-type {
  81. background: #E8F4FF;
  82. color: #0378EC;
  83. &:not(.n-button--disabled):hover {
  84. background: #E8F4FF;
  85. }
  86. .n-button__border {
  87. border: 1px solid #198CFE;
  88. }
  89. }
  90. .n-button--error-type {
  91. background: #FDEBED !important;
  92. color: #EC3A4E !important;
  93. &:not(.n-button--disabled):hover,
  94. &:not(.n-button--disabled):active {
  95. background: #FDEBED;
  96. color: #EC3A4E;
  97. }
  98. .n-button__border {
  99. border: 1px solid #EC3A4E;
  100. }
  101. }
  102. }
  103. .btnClassStart {
  104. background: #F44541 !important;
  105. color: #fff !important;
  106. :global {
  107. .n-button__border {
  108. border: 1px solid #F44541;
  109. }
  110. }
  111. }
  112. .btnItem {
  113. display: flex;
  114. align-items: center;
  115. .btnTitle {
  116. flex-shrink: 0;
  117. font-size: 18px;
  118. font-weight: 600;
  119. }
  120. &:last-child {
  121. margin-left: 12px;
  122. }
  123. }
  124. }
  125. .listContainer {
  126. margin-top: 12px;
  127. // // 52 + 28 + 38 + 38 多余10像素空间
  128. max-height: calc(var(--window-page-lesson-height) - 196px);
  129. .listSection {
  130. min-height: calc(var(--window-page-lesson-height) - 196px);
  131. }
  132. .emptySection {
  133. display: flex;
  134. align-items: center;
  135. }
  136. }
  137. .list {
  138. padding: 12px 22px 12px;
  139. display: flex;
  140. flex-flow: row wrap;
  141. justify-content: flex-start;
  142. gap: 20px;
  143. }
  144. .attendClassModal {
  145. width: 800px;
  146. border-radius: 16px;
  147. overflow: hidden;
  148. }
  149. .itemBlock {
  150. position: relative;
  151. .itemOperation {
  152. position: absolute;
  153. top: 0;
  154. left: 0;
  155. width: 100%;
  156. height: 100%;
  157. text-align: right;
  158. z-index: 98;
  159. cursor: move;
  160. }
  161. .iconDelete {
  162. width: 27px;
  163. height: 27px;
  164. margin-top: 8px;
  165. margin-right: 8px;
  166. cursor: pointer;
  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. }
  226. .subjectSyncModal {
  227. width: 920px;
  228. }