index.module.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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. font-weight: 500;
  12. }
  13. .btnClassList {
  14. :global {
  15. .n-base-selection {
  16. width: 200px;
  17. }
  18. .n-base-selection-label {
  19. &::before {
  20. margin-left: 12px;
  21. content: ' ';
  22. width: 24px;
  23. height: 24px;
  24. background: url('../../../images/icon-class-name.png') no-repeat center;
  25. background-size: contain;
  26. }
  27. }
  28. .n-base-selection-input {
  29. padding-left: 8px;
  30. }
  31. .n-base-selection.n-base-selection--disabled {
  32. cursor: pointer;
  33. }
  34. .n-base-selection.n-base-selection--disabled .n-base-selection-label {
  35. background-color: #fff;
  36. cursor: pointer;
  37. }
  38. .n-base-selection.n-base-selection--disabled .n-base-selection-label .n-base-selection-input {
  39. color: var(--n-text-color);
  40. cursor: pointer;
  41. }
  42. .n-base-selection .n-base-selection-overlay {
  43. left: 24px;
  44. }
  45. }
  46. }
  47. .btnSubjectList {
  48. :global {
  49. .n-base-selection-label {
  50. &::before {
  51. margin-left: 12px;
  52. content: ' ';
  53. width: 24px;
  54. height: 24px;
  55. background: url('../../../images/icon-subject-name.png') no-repeat center;
  56. background-size: contain;
  57. }
  58. }
  59. .n-base-selection-input {
  60. padding-left: 8px;
  61. }
  62. .n-base-selection .n-base-selection-overlay {
  63. left: 24px;
  64. }
  65. }
  66. }
  67. :global {
  68. .n-base-selection {
  69. --n-height: 38px !important;
  70. width: 160px;
  71. font-size: 15px;
  72. border-radius: 8px !important;
  73. }
  74. .n-button {
  75. border-radius: 8px;
  76. height: 38px;
  77. font-size: 17px;
  78. font-weight: 600 !important;
  79. padding: 0 27px;
  80. }
  81. .n-button--default-type {
  82. background: #E8F4FF;
  83. color: #0378EC;
  84. &:not(.n-button--disabled):hover {
  85. background: #E8F4FF;
  86. }
  87. .n-button__border {
  88. border: 1px solid #198CFE;
  89. }
  90. }
  91. .n-button--error-type {
  92. background: #FDEBED !important;
  93. color: #EC3A4E !important;
  94. &:not(.n-button--disabled):hover,
  95. &:not(.n-button--disabled):active {
  96. background: #FDEBED;
  97. color: #EC3A4E;
  98. }
  99. .n-button__border {
  100. border: 1px solid #EC3A4E;
  101. }
  102. }
  103. }
  104. .btnClassStart {
  105. background: #F44541 !important;
  106. color: #fff !important;
  107. :global {
  108. .n-button__border {
  109. border: 1px solid #F44541;
  110. }
  111. }
  112. }
  113. .btnItem {
  114. display: flex;
  115. align-items: center;
  116. .btnTitle {
  117. flex-shrink: 0;
  118. font-size: 18px;
  119. font-weight: 600;
  120. }
  121. &:last-child {
  122. margin-left: 12px;
  123. }
  124. }
  125. }
  126. .btnGroupClass {
  127. padding-top: 10px;
  128. }
  129. .listContainer {
  130. margin-top: 12px;
  131. // // 52 + 28 + 38 + 38 多余10像素空间
  132. max-height: calc(var(--window-page-lesson-height) - 196px);
  133. .listSection {
  134. min-height: calc(var(--window-page-lesson-height) - 196px);
  135. }
  136. &.listContainerDrag {
  137. max-height: calc(var(--window-page-lesson-height) - 148px);
  138. .listSection {
  139. min-height: calc(var(--window-page-lesson-height) - 148px);
  140. }
  141. }
  142. .emptySection {
  143. display: flex;
  144. align-items: center;
  145. }
  146. }
  147. .list {
  148. display: flex;
  149. flex-flow: row wrap;
  150. justify-content: flex-start;
  151. padding: 12px 22px 12px;
  152. display: flex;
  153. flex-flow: row wrap;
  154. justify-content: flex-start;
  155. gap: 20px 0;
  156. .itemWrap {
  157. width: calc(100% / 3);
  158. padding-bottom: calc(100% / 3 * 0.73333);
  159. position: relative;
  160. .itemWrapBox {
  161. position: absolute;
  162. left: 0;
  163. top: 0;
  164. width: 100%;
  165. height: 100%;
  166. padding: 0 10px;
  167. }
  168. }
  169. :global {
  170. .card-section-container {
  171. width: 100%;
  172. height: 100%;
  173. }
  174. }
  175. }
  176. .attendClassModal {
  177. width: 800px;
  178. border-radius: 16px;
  179. overflow: hidden;
  180. }
  181. .itemBlock {
  182. position: relative;
  183. .itemOperation {
  184. position: absolute;
  185. top: 0;
  186. left: 10px;
  187. width: calc(100% - 20px);
  188. height: 100%;
  189. text-align: right;
  190. z-index: 98;
  191. cursor: move;
  192. }
  193. .iconDelete {
  194. width: 27px;
  195. height: 27px;
  196. margin-top: 8px;
  197. margin-right: 8px;
  198. cursor: pointer;
  199. }
  200. }
  201. .removeVisiable {
  202. width: 432px;
  203. :global {
  204. .n-card-header {
  205. font-size: max(22px, 16Px);
  206. }
  207. }
  208. .studentRemove {
  209. padding: 20px 40px 0;
  210. p {
  211. font-size: max(18px, 14Px);
  212. color: #777777;
  213. line-height: 30px;
  214. text-align: center;
  215. span {
  216. color: #EA4132;
  217. }
  218. }
  219. }
  220. .btnGroupModal {
  221. padding: 32px 0;
  222. :global {
  223. .n-button {
  224. height: 47px;
  225. min-width: 156px;
  226. }
  227. }
  228. }
  229. }
  230. .removeVisiable1 {
  231. width: 432px;
  232. :global {
  233. .n-card-header {
  234. font-size: max(22px, 16Px);
  235. }
  236. }
  237. .studentRemove {
  238. padding: 20px 40px 0;
  239. p {
  240. font-size: max(18px, 14Px);
  241. color: #777777;
  242. line-height: 30px;
  243. span {
  244. color: #EA4132;
  245. }
  246. }
  247. }
  248. .btnGroupModal {
  249. padding: 32px 0;
  250. :global {
  251. .n-button {
  252. height: 47px;
  253. min-width: 156px;
  254. }
  255. }
  256. }
  257. }
  258. .addMusicItem {
  259. position: relative;
  260. box-sizing: border-box;
  261. width: 100%;
  262. height: 100%;
  263. border-radius: 14px;
  264. background: #F9FAFD;
  265. display: inline-flex;
  266. transition: all .3s ease-in-out;
  267. border: 2px solid rgba(209, 216, 235, 1) !important;
  268. cursor: pointer;
  269. display: flex;
  270. align-items: center;
  271. justify-content: center;
  272. flex-direction: column;
  273. img {
  274. width: 50px;
  275. height: 50px;
  276. }
  277. .addMusicName {
  278. padding-top: 16px;
  279. font-size: 16px;
  280. color: #131415;
  281. }
  282. // 鼠标经过时样式
  283. &:hover {
  284. transform: scale(1.01);
  285. transition: all .3s ease-in-out;
  286. border: 2px solid rgba(0, 122, 254, 1) !important;
  287. }
  288. }
  289. .subjectSyncModal {
  290. width: 920px;
  291. }